Advanced Shipment Tracking for WooCommerce - Version 3.0.5

Version Description

  • Fix - Fixed issue with custom order number generated by Booster for WooCommerce plugin
  • Fix - Fixed issue with custom order number in TrackShip tracking page
  • Dev - Moved Tracking Per Item addon license from this plugin to Tracking Per Item addon
  • Enhancement - Change default background color of tracking display table to #f5f5f5
Download this release

Release Info

Developer zorem
Plugin Icon 128x128 Advanced Shipment Tracking for WooCommerce
Version 3.0.5
Comparing to
See all releases

Code changes from version 3.2.8 to 3.0.5

Files changed (366) hide show
  1. assets/css/admin.css +1566 -1781
  2. assets/css/customizer-styles.css +125 -28
  3. assets/css/customizer.css +4 -4
  4. assets/css/front.css +565 -248
  5. assets/css/icons/Branded-Tracking-Page.png +0 -0
  6. assets/css/icons/Delivered-512.png +0 -0
  7. assets/css/icons/Delivered-o.png +0 -0
  8. assets/css/icons/In-Transit--o.png +0 -0
  9. assets/css/icons/In-Transit-512.png +0 -0
  10. assets/css/icons/Late-Shipments-512.png +0 -0
  11. assets/css/icons/Multi-Carrier-Support.png +0 -0
  12. assets/css/icons/On-hold-v1.png +0 -0
  13. assets/css/icons/{on-hold.png → On-hold-v3.png} +0 -0
  14. assets/css/icons/Out-for-Delivery-512.png +0 -0
  15. assets/css/icons/Pre-Transit-512.png +0 -0
  16. assets/css/icons/ast-icon.png +0 -0
  17. assets/css/icons/available-for-picup-512.png +0 -0
  18. assets/css/icons/available-for-picup-o.png +0 -0
  19. assets/css/icons/available-for-picup-v3.png +0 -0
  20. assets/css/icons/available-for-picup-v4.png +0 -0
  21. assets/css/icons/available-for-picup.png +0 -0
  22. assets/css/icons/cancel-o.png +0 -0
  23. assets/css/icons/cancel-v3.png +0 -0
  24. assets/css/icons/cancel-v4.png +0 -0
  25. assets/css/icons/carrier-unsupported-o.png +0 -0
  26. assets/css/icons/carrier-unsupported-v3.png +0 -0
  27. assets/css/icons/carrier-unsupported-v4.png +0 -0
  28. assets/css/icons/carrier-unsupported.png +0 -0
  29. assets/css/icons/customer-support.png +0 -0
  30. assets/css/icons/delivered-grey-v3.png +0 -0
  31. assets/css/icons/delivered-o.png +0 -0
  32. assets/css/icons/delivered-v3.png +0 -0
  33. assets/css/icons/delivered-v4.png +0 -0
  34. assets/css/icons/delivered.png +0 -0
  35. assets/css/icons/delivery-email-2.png +0 -0
  36. assets/css/icons/failure-512.png +0 -0
  37. assets/css/icons/failure-o.png +0 -0
  38. assets/css/icons/failure-v3.png +0 -0
  39. assets/css/icons/failure-v4.png +0 -0
  40. assets/css/icons/failure.png +0 -0
  41. assets/css/icons/in-transit-grey-v3.png +0 -0
  42. assets/css/icons/in-transit-o.png +0 -0
  43. assets/css/icons/in-transit-v3.png +0 -0
  44. assets/css/icons/in-transit-v4.png +0 -0
  45. assets/css/icons/in-transit.png +0 -0
  46. assets/css/icons/invalid-o.png +0 -0
  47. assets/css/icons/invalid-tracking-number-o.png +0 -0
  48. assets/css/icons/invalid-tracking-number.png +0 -0
  49. assets/css/icons/invalid-user-key-o.png +0 -0
  50. assets/css/icons/invalid-user-key-v4.png +0 -0
  51. assets/css/icons/{invalid-user-key.png → invalid-v3.png} +0 -0
  52. assets/css/icons/invalid.png +0 -0
  53. assets/css/icons/label_cancelled-o.png +0 -0
  54. assets/css/icons/label_cancelled.png +0 -0
  55. assets/css/icons/late-shipment-v3.png +0 -0
  56. assets/css/icons/on-hold-o.png +0 -0
  57. assets/css/icons/out-for-delivery-grey-v3.png +0 -0
  58. assets/css/icons/out-for-delivery-o.png +0 -0
  59. assets/css/icons/out-for-delivery-v3.png +0 -0
  60. assets/css/icons/out-for-delivery-v4.png +0 -0
  61. assets/css/icons/out-for-delivery.png +0 -0
  62. assets/css/icons/partial-shipped-icon.png +0 -0
  63. assets/css/icons/pending-trackship-o.png +0 -0
  64. assets/css/icons/pending-trackship-v4.png +0 -0
  65. assets/css/icons/pending-trackship.png +0 -0
  66. assets/css/icons/pre-transit-o.png +0 -0
  67. assets/css/icons/pre-transit-v3.png +0 -0
  68. assets/css/icons/pre-transit-v4.png +0 -0
  69. assets/css/icons/pre-transit.png +0 -0
  70. assets/css/icons/return-to-sender-512.png +0 -0
  71. assets/css/icons/return-to-sender-o.png +0 -0
  72. assets/css/icons/return-to-sender-v3.png +0 -0
  73. assets/css/icons/return-to-sender-v4.png +0 -0
  74. assets/css/icons/return-to-sender.png +0 -0
  75. assets/css/icons/shipped-o.png +0 -0
  76. assets/css/icons/unknown-o.png +0 -0
  77. assets/css/icons/unknown-v4.png +0 -0
  78. assets/css/icons/unknown.png +0 -0
  79. assets/css/icons/updated-tracking-icon.png +0 -0
  80. assets/css/icons/wrong-shipiing-provider-o.png +0 -0
  81. assets/css/icons/wrong-shipiing-provider.png +0 -0
  82. assets/css/material.css +11358 -0
  83. assets/css/trackship.css +0 -640
  84. assets/images/AOSM-addons-icon.jpg +0 -0
  85. assets/images/AST-banner.png +0 -0
  86. assets/images/Tracking-Per-Item-addon.jpg +0 -0
  87. assets/images/WooCommerce-PDF-Invoices-Packing-Slips.png +0 -0
  88. assets/images/WooCommerce-PDF-Invoices.png +0 -0
  89. assets/images/aliexpress.png +0 -0
  90. assets/images/alp-icon.png +0 -0
  91. assets/images/ast-addons-notice-image.jpg +0 -0
  92. assets/images/ast-logo.png +0 -0
  93. assets/images/ast-pro-banner.png +0 -0
  94. assets/images/cbr-icon.png +0 -0
  95. assets/images/cev-icon.png +0 -0
  96. assets/images/customcat.png +0 -0
  97. assets/images/dear-system.png +0 -0
  98. assets/images/ordoro.png +0 -0
  99. assets/images/paypal-addon-banner.png +0 -0
  100. assets/images/quickbooks.png +0 -0
  101. assets/images/readytoship.png +0 -0
  102. assets/images/royal-mail.png +0 -0
  103. assets/images/shipstation.png +0 -0
  104. assets/images/smswoo-addons-icon.jpg +0 -0
  105. assets/images/smswoo-icon.png +0 -0
  106. assets/images/smswoo.png +0 -0
  107. assets/images/sre-icon.png +0 -0
  108. assets/images/t_layout_1.jpg +0 -0
  109. assets/images/t_layout_2.jpg +0 -0
  110. assets/images/timeline-round.png +0 -0
  111. assets/images/tpi-addon-icon.png +0 -0
  112. assets/images/trackship-ast-banner.png +0 -0
  113. assets/images/trackship-banner.png +0 -0
  114. assets/images/ts-banner.jpg +0 -0
  115. assets/images/ts-header-banner.png +0 -0
  116. assets/images/ts_bg.png +0 -0
  117. assets/images/woo-UPS-shipping.png +0 -0
  118. assets/images/woo-shipping.png +0 -0
  119. assets/images/zorem-logo.png +0 -0
  120. assets/js/admin.js +5 -18
  121. assets/js/admin.min.js +1 -0
  122. assets/js/amcharts/amcharts.js +403 -0
  123. assets/js/amcharts/light.js +1 -0
  124. assets/js/amcharts/serial.js +9 -0
  125. assets/js/customizer-scripts.js +473 -146
  126. assets/js/front.js +20 -69
  127. assets/js/material.min.js +10 -0
  128. assets/js/preview-scripts.js +11 -57
  129. assets/js/settings.js +59 -67
  130. assets/js/shipping_row.js +749 -571
  131. assets/js/trackship.js +0 -337
  132. assets/shipment-provider-img/4px.png +0 -0
  133. assets/shipment-provider-img/7-eleven.png +0 -0
  134. assets/shipment-provider-img/abf.png +0 -0
  135. assets/shipment-provider-img/acs-courier.png +0 -0
  136. assets/shipment-provider-img/aliexpress-standard-shipping.png +0 -0
  137. assets/shipment-provider-img/an-post.png +0 -0
  138. assets/shipment-provider-img/apc-overnight.png +0 -0
  139. assets/shipment-provider-img/apc.png +0 -0
  140. assets/shipment-provider-img/aramex.png +0 -0
  141. assets/shipment-provider-img/aras-kargo.png +0 -0
  142. assets/shipment-provider-img/arrowxl.png +0 -0
  143. assets/shipment-provider-img/asendia-uk.png +0 -0
  144. assets/shipment-provider-img/associated-global-systems.png +0 -0
  145. assets/shipment-provider-img/australia-ems.png +0 -0
  146. assets/shipment-provider-img/australia-post.png +0 -0
  147. assets/shipment-provider-img/bangladesh-ems.png +0 -0
  148. assets/shipment-provider-img/bluedart.png +0 -0
  149. assets/shipment-provider-img/border-express.png +0 -0
  150. assets/shipment-provider-img/boxberry.png +0 -0
  151. assets/shipment-provider-img/bpost.png +0 -0
  152. assets/shipment-provider-img/brazil-correios.png +0 -0
  153. assets/shipment-provider-img/bring.png +0 -0
  154. assets/shipment-provider-img/brt.png +0 -0
  155. assets/shipment-provider-img/bulgaria-post.png +0 -0
  156. assets/shipment-provider-img/canada-post.png +0 -0
  157. assets/shipment-provider-img/canpar.png +0 -0
  158. assets/shipment-provider-img/castle-parcels.png +0 -0
  159. assets/shipment-provider-img/ceska-posta.png +0 -0
  160. assets/shipment-provider-img/china-post.png +0 -0
  161. assets/shipment-provider-img/chit-chats.png +0 -0
  162. assets/shipment-provider-img/chronopost.png +0 -0
  163. assets/shipment-provider-img/cj-logistics.png +0 -0
  164. assets/shipment-provider-img/cjpacket.png +0 -0
  165. assets/shipment-provider-img/cne-express.png +0 -0
  166. assets/shipment-provider-img/colis-prive.png +0 -0
  167. assets/shipment-provider-img/colissimo.png +0 -0
  168. assets/shipment-provider-img/collectplus.png +0 -0
  169. assets/shipment-provider-img/colombia-post.png +0 -0
  170. assets/shipment-provider-img/correos-chile.png +0 -0
  171. assets/shipment-provider-img/correos-costa-rica.png +0 -0
  172. assets/shipment-provider-img/correos-espana.png +0 -0
  173. assets/shipment-provider-img/correos-express.png +0 -0
  174. assets/shipment-provider-img/costa-rica-post.png +0 -0
  175. assets/shipment-provider-img/courierpost.png +0 -0
  176. assets/shipment-provider-img/couriersplease.png +0 -0
  177. assets/shipment-provider-img/croatia-post.png +0 -0
  178. assets/shipment-provider-img/cyprus-post.png +0 -0
  179. assets/shipment-provider-img/dai-post.png +0 -0
  180. assets/shipment-provider-img/dawn-wing.png +0 -0
  181. assets/shipment-provider-img/db-schenker.png +0 -0
  182. assets/shipment-provider-img/delhivery.png +0 -0
  183. assets/shipment-provider-img/deliv.png +0 -0
  184. assets/shipment-provider-img/dellin.png +0 -0
  185. assets/shipment-provider-img/denmark-post.png +0 -0
  186. assets/shipment-provider-img/deppon.png +0 -0
  187. assets/shipment-provider-img/deutsche-post-dhl.png +0 -0
  188. assets/shipment-provider-img/deutsche-post.png +0 -0
  189. assets/shipment-provider-img/dhl-at.png +0 -0
  190. assets/shipment-provider-img/dhl-cz.png +0 -0
  191. assets/shipment-provider-img/dhl-ecommerce.png +0 -0
  192. assets/shipment-provider-img/dhl-express-uk.png +0 -0
  193. assets/shipment-provider-img/dhl-express.png +0 -0
  194. assets/shipment-provider-img/dhl-freight.png +0 -0
  195. assets/shipment-provider-img/dhl-intraship-de.png +0 -0
  196. assets/shipment-provider-img/dhl-paket.png +0 -0
  197. assets/shipment-provider-img/dhl-parcel-uk.png +0 -0
  198. assets/shipment-provider-img/dhl-parcel.png +0 -0
  199. assets/shipment-provider-img/dhl-poland.png +0 -0
  200. assets/shipment-provider-img/dhl-se.png +0 -0
  201. assets/shipment-provider-img/dhl-spain.png +0 -0
  202. assets/shipment-provider-img/dhl-us.png +0 -0
  203. assets/shipment-provider-img/dhlparcel-nl.png +0 -0
  204. assets/shipment-provider-img/dicom.png +0 -0
  205. assets/shipment-provider-img/direct-link.png +0 -0
  206. assets/shipment-provider-img/dotzot.png +0 -0
  207. assets/shipment-provider-img/dpd-at.png +0 -0
  208. assets/shipment-provider-img/dpd-cz.png +0 -0
  209. assets/shipment-provider-img/dpd-de.png +0 -0
  210. assets/shipment-provider-img/dpd-fr.png +0 -0
  211. assets/shipment-provider-img/dpd-ie.png +0 -0
  212. assets/shipment-provider-img/dpd-nl.png +0 -0
  213. assets/shipment-provider-img/dpd-poland.png +0 -0
  214. assets/shipment-provider-img/dpd-portugal.png +0 -0
  215. assets/shipment-provider-img/dpd-romania.png +0 -0
  216. assets/shipment-provider-img/dpd-slovenia.png +0 -0
  217. assets/shipment-provider-img/dpd-uk.png +0 -0
  218. assets/shipment-provider-img/dtdc-plus.png +0 -0
  219. assets/shipment-provider-img/dtdc.png +0 -0
  220. assets/shipment-provider-img/dx-mail.png +0 -0
  221. assets/shipment-provider-img/ec-firstclass.png +0 -0
  222. assets/shipment-provider-img/ecom-express.png +0 -0
  223. assets/shipment-provider-img/ekart.png +0 -0
  224. assets/shipment-provider-img/elta-courier.png +0 -0
  225. assets/shipment-provider-img/ems.png +0 -0
  226. assets/shipment-provider-img/epacket.png +0 -0
  227. assets/shipment-provider-img/estonia-post.png +0 -0
  228. assets/shipment-provider-img/ethiopia-post.png +0 -0
  229. assets/shipment-provider-img/fastway-au.png +0 -0
  230. assets/shipment-provider-img/fastway-ireland.png +0 -0
  231. assets/shipment-provider-img/fastway-nz.png +0 -0
  232. assets/shipment-provider-img/fedex-freight.png +0 -0
  233. assets/shipment-provider-img/fedex-ground.png +0 -0
  234. assets/shipment-provider-img/fedex-poland.png +0 -0
  235. assets/shipment-provider-img/fedex-sameday.png +0 -0
  236. assets/shipment-provider-img/fedex-uk.png +0 -0
  237. assets/shipment-provider-img/fedex.png +0 -0
  238. assets/shipment-provider-img/finland-post.png +0 -0
  239. assets/shipment-provider-img/gati.png +0 -0
  240. assets/shipment-provider-img/gig-logistics.png +0 -0
  241. assets/shipment-provider-img/global-order-tracking.png +0 -0
  242. assets/shipment-provider-img/gls-denmark.png +0 -0
  243. assets/shipment-provider-img/gls-europe.png +0 -0
  244. assets/shipment-provider-img/gls-france.png +0 -0
  245. assets/shipment-provider-img/gls-italy.png +0 -0
  246. assets/shipment-provider-img/gls-netherlands.png +0 -0
  247. assets/shipment-provider-img/gls-paket.png +0 -0
  248. assets/shipment-provider-img/gls-slovenia.png +0 -0
  249. assets/shipment-provider-img/gls-spain.png +0 -0
  250. assets/shipment-provider-img/gso.png +0 -0
  251. assets/shipment-provider-img/hermes-germany.png +0 -0
  252. assets/shipment-provider-img/hermes-world.png +0 -0
  253. assets/shipment-provider-img/hfd.png +0 -0
  254. assets/shipment-provider-img/hong-kong-post.png +0 -0
  255. assets/shipment-provider-img/india-post.png +0 -0
  256. assets/shipment-provider-img/interlink.png +0 -0
  257. assets/shipment-provider-img/israel-post.png +0 -0
  258. assets/shipment-provider-img/ivory-coast-ems.png +0 -0
  259. assets/shipment-provider-img/jcex.png +0 -0
  260. assets/shipment-provider-img/jet-express.png +0 -0
  261. assets/shipment-provider-img/jne.png +0 -0
  262. assets/shipment-provider-img/jp-post.png +0 -0
  263. assets/shipment-provider-img/jt.png +0 -0
  264. assets/shipment-provider-img/kerry-express.png +0 -0
  265. assets/shipment-provider-img/korea-post.png +0 -0
  266. assets/shipment-provider-img/la-poste.png +0 -0
  267. assets/shipment-provider-img/landmark-global.png +0 -0
  268. assets/shipment-provider-img/laos-post.png +0 -0
  269. assets/shipment-provider-img/lasership.png +0 -0
  270. assets/shipment-provider-img/latvijas-pasts.png +0 -0
  271. assets/shipment-provider-img/lion-parcel.png +0 -0
  272. assets/shipment-provider-img/lithuania-post.png +0 -0
  273. assets/shipment-provider-img/loomis-express.png +0 -0
  274. assets/shipment-provider-img/luxembourg-post.png +0 -0
  275. assets/shipment-provider-img/magyar-posta.png +0 -0
  276. assets/shipment-provider-img/mail-boxes-etc.png +0 -0
  277. assets/shipment-provider-img/malaysia-post.png +0 -0
  278. assets/shipment-provider-img/mng-kargo.png +0 -0
  279. assets/shipment-provider-img/monaco-ems.png +0 -0
  280. assets/shipment-provider-img/mondial-relay.png +0 -0
  281. assets/shipment-provider-img/mrw-portugal.png +0 -0
  282. assets/shipment-provider-img/mrw.png +0 -0
  283. assets/shipment-provider-img/nacex.png +0 -0
  284. assets/shipment-provider-img/naqel.png +0 -0
  285. assets/shipment-provider-img/new-zealand-post.png +0 -0
  286. assets/shipment-provider-img/ninja-express.png +0 -0
  287. assets/shipment-provider-img/ninja-van.png +0 -0
  288. assets/shipment-provider-img/now-couriers.png +0 -0
  289. assets/shipment-provider-img/nz-couriers.png +0 -0
  290. assets/shipment-provider-img/ontime.png +0 -0
  291. assets/shipment-provider-img/ontrac.png +0 -0
  292. assets/shipment-provider-img/overseas-territory-fr-ems.png +0 -0
  293. assets/shipment-provider-img/palletways.png +0 -0
  294. assets/shipment-provider-img/parcelforce.png +0 -0
  295. assets/shipment-provider-img/poland-post.png +0 -0
  296. assets/shipment-provider-img/portugal-post-ctt.png +0 -0
  297. assets/shipment-provider-img/pos-indonesia.png +0 -0
  298. assets/shipment-provider-img/post-at.png +0 -0
  299. assets/shipment-provider-img/post-haste.png +0 -0
  300. assets/shipment-provider-img/poste-italiane.png +0 -0
  301. assets/shipment-provider-img/poste-maroc.png +0 -0
  302. assets/shipment-provider-img/posten-norge.png +0 -0
  303. assets/shipment-provider-img/postnl-international-3s.png +0 -0
  304. assets/shipment-provider-img/postnl.png +0 -0
  305. assets/shipment-provider-img/postnord-sverige-ab.png +0 -0
  306. assets/shipment-provider-img/ptt-kargo.png +0 -0
  307. assets/shipment-provider-img/purolator.png +0 -0
  308. assets/shipment-provider-img/raben.png +0 -0
  309. assets/shipment-provider-img/redpack.png +0 -0
  310. assets/shipment-provider-img/redur-spain.png +0 -0
  311. assets/shipment-provider-img/royal-mail.png +0 -0
  312. assets/shipment-provider-img/russian-post.png +0 -0
  313. assets/shipment-provider-img/s-f-express.png +0 -0
  314. assets/shipment-provider-img/sagawa.png +0 -0
  315. assets/shipment-provider-img/saudi-post.png +0 -0
  316. assets/shipment-provider-img/sda.png +0 -0
  317. assets/shipment-provider-img/sendle.png +0 -0
  318. assets/shipment-provider-img/serbia-post.png +0 -0
  319. assets/shipment-provider-img/shadowfax.png +0 -0
  320. assets/shipment-provider-img/shree-maruti-courier.png +0 -0
  321. assets/shipment-provider-img/shree-tirupati-courier.png +0 -0
  322. assets/shipment-provider-img/sicepat.png +0 -0
  323. assets/shipment-provider-img/singapore-post.png +0 -0
  324. assets/shipment-provider-img/skynet-worldwide-express.png +0 -0
  325. assets/shipment-provider-img/skynet.png +0 -0
  326. assets/shipment-provider-img/smsa-express.png +0 -0
  327. assets/shipment-provider-img/south-african-post-office.png +0 -0
  328. assets/shipment-provider-img/spee-dee.png +0 -0
  329. assets/shipment-provider-img/speedex-courier.png +0 -0
  330. assets/shipment-provider-img/startrack.png +0 -0
  331. assets/shipment-provider-img/swiss-post.png +0 -0
  332. assets/shipment-provider-img/thailand-post.png +0 -0
  333. assets/shipment-provider-img/the-professional-couriers.png +0 -0
  334. assets/shipment-provider-img/tiki.png +0 -0
  335. assets/shipment-provider-img/tipsa.png +0 -0
  336. assets/shipment-provider-img/tnt-australia.png +0 -0
  337. assets/shipment-provider-img/tnt-click.png +0 -0
  338. assets/shipment-provider-img/tnt-france.png +0 -0
  339. assets/shipment-provider-img/tnt-italy.png +0 -0
  340. assets/shipment-provider-img/tnt-reference.png +0 -0
  341. assets/shipment-provider-img/tnt-sweden.png +0 -0
  342. assets/shipment-provider-img/tnt-uk.png +0 -0
  343. assets/shipment-provider-img/tnt.png +0 -0
  344. assets/shipment-provider-img/toll-ipec.png +0 -0
  345. assets/shipment-provider-img/toll.png +0 -0
  346. assets/shipment-provider-img/trackon.png +0 -0
  347. assets/shipment-provider-img/turkey-post.png +0 -0
  348. assets/shipment-provider-img/turkish-post.png +0 -0
  349. assets/shipment-provider-img/ubi-smart-parcel.png +0 -0
  350. assets/shipment-provider-img/ukraine-ems.png +0 -0
  351. assets/shipment-provider-img/ukrposhta.png +0 -0
  352. assets/shipment-provider-img/ups-germany.png +0 -0
  353. assets/shipment-provider-img/ups-i-parcel.png +0 -0
  354. assets/shipment-provider-img/ups-se.png +0 -0
  355. assets/shipment-provider-img/ups.png +0 -0
  356. assets/{images → shipment-provider-img}/usps.png +0 -0
  357. assets/shipment-provider-img/vietnam-post.png +0 -0
  358. assets/shipment-provider-img/wahana.png +0 -0
  359. assets/shipment-provider-img/xpressbees.png +0 -0
  360. assets/shipment-provider-img/yamato.png +0 -0
  361. assets/shipment-provider-img/yanwen.png +0 -0
  362. assets/shipment-provider-img/yodel.png +0 -0
  363. assets/shipment-provider-img/yun-express-tracking.png +0 -0
  364. assets/shipment-provider-img/yurtici-kargo.png +0 -0
  365. ast-shipping-providers.zip +0 -0
  366. includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php +3 -142
assets/css/admin.css CHANGED
@@ -1,222 +1,31 @@
1
  /* fallback */
2
- .zorem-layout__header {
3
- margin: 0;
4
- padding: 0;
5
- }
6
- .zorem-layout__header {
7
- background: #fff;
8
- display: flex;
9
- justify-content: space-between;
10
- flex-direction: row;
11
- box-sizing: border-box;
12
- padding: 0;
13
- width: 100%;
14
- z-index: 1001;
15
- align-items: center;
16
- position: relative;
17
- }
18
- .zorem-layout__header .zorem-layout__header-logo{
19
- padding: 0 0 0 30px;
20
- margin: 0;
21
- width: 120px;
22
- }
23
- .zorem-layout__header * {
24
- box-sizing: border-box;
25
- }
26
- .woocommerce-layout__activity-panel-tabs {
27
- width: 100%;
28
- display: flex;
29
- height: 60px;
30
- justify-content: flex-end;
31
- }
32
- .woocommerce-layout__activity-panel-tabs .dashicons{
33
- width: 24px;
34
- height: 24px;
35
- font-size: 24px;
36
- color: #74c1e0;
37
- }
38
- .woocommerce-layout__activity-panel-tabs label {
39
- color: #005b9a;
40
- }
41
- .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab {
42
- display: flex;
43
- flex-direction: column;
44
- justify-content: center;
45
- align-items: center;
46
- position: relative;
47
- border: none;
48
- outline: none;
49
- cursor: pointer;
50
- background-color: #fff;
51
- max-width: -webkit-min-content;
52
- max-width: min-content;
53
- min-width: 80px;
54
- width: 100%;
55
- height: 60px;
56
- color: #757575;
57
- white-space: nowrap;
58
- }
59
- .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:before {
60
- background-color: #005b9a;
61
- bottom: 0;
62
- content: "";
63
- height: 0;
64
- opacity: 0;
65
- transition-property: height,opacity;
66
- transition-duration: .3s;
67
- transition-timing-function: ease-in-out;
68
- left: 0;
69
- position: absolute;
70
- right: 0;
71
- }
72
- .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover {
73
- background-color: #f0f0f0;
74
- box-shadow: none;
75
- }
76
- .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active{
77
- color: #1e1e1e;
78
- box-shadow: none;
79
- }
80
- .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active:before{
81
- height: 3px;
82
- opacity: 1;
83
- }
84
- .woocommerce-layout__activity-panel-wrapper {
85
- height: calc(100vh - 60px);
86
- background: #f0f0f0;
87
- width: 510px;
88
- transition-property: transform box-shadow;
89
- transition-duration: .3s;
90
- transition-timing-function: ease-in-out;
91
- position: absolute;
92
- right: 0;
93
- top: 60px;
94
- z-index: 1000;
95
- overflow-x: hidden;
96
- overflow-y: auto;
97
- visibility: hidden;
98
- opacity: 0;
99
- }
100
-
101
- .woocommerce-layout__activity-panel-wrapper.is-open {
102
- box-shadow: 0 12px 12px 0 rgb(85 93 102 / 30%);
103
- }
104
- .woocommerce-layout__activity-panel-wrapper.is-switching {
105
- animation: tabSwitch;
106
- animation-duration: .3s;
107
- visibility: visible;
108
- opacity: 1;
109
- }
110
- .woocommerce-layout__activity-panel-header {
111
- height: 50px;
112
- background: #e0e0e0;
113
- padding: 16px;
114
- display: flex;
115
- justify-content: space-between;
116
- align-items: center;
117
- }
118
- .woocommerce-layout__inbox-title {
119
- color: #1e1e1e;
120
- display: flex;
121
- align-items: center;
122
- }
123
- .css-activity-panel-Text {
124
- box-sizing: border-box;
125
- margin: 0px;
126
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
127
- font-weight: 400;
128
- font-size: 20px;
129
- line-height: 28px;
130
- }
131
- .woocommerce-list {
132
- margin: 0;
133
- padding: 0;
134
- }
135
- .woocommerce-list__item {
136
- display: flex;
137
- align-items: center;
138
- margin-bottom: 0;
139
- background-color: #fff;
140
- }
141
- .woocommerce-list__item:not(:first-child) {
142
- border-top: 1px solid #f0f0f0;
143
- }
144
- .woocommerce-list__item.has-action {
145
- cursor: pointer;
146
- }
147
- .woocommerce-list__item > .woocommerce-list__item-inner {
148
- text-decoration: none;
149
- width: 100%;
150
- display: flex;
151
- align-items: center;
152
- padding: 16px 24px;
153
- }
154
- .woocommerce-list__item .woocommerce-list__item-before {
155
- margin-right: 20px;
156
- display: flex;
157
- align-items: center;
158
- }
159
- .woocommerce-list__item .woocommerce-list__item-title {
160
- color: #005b9a;
161
- }
162
- .woocommerce-list-Text {
163
- box-sizing: border-box;
164
- margin: 0px;
165
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
166
- font-weight: 600;
167
- font-size: 14px;
168
- line-height: 20px;
169
- }
170
- .woocommerce-list__item .woocommerce-list__item-after {
171
- margin-left: 16px;
172
- display: flex;
173
- align-items: center;
174
- margin-left: auto;
175
- }
176
- @media (min-width: 783px) {
177
- .woocommerce-layout__activity-panel-header {
178
- padding: 16px 24px;
179
- }
180
- }
181
- .zorem-layout__header .zorem-layout__docs-panel{
182
- display: flex;
183
- flex-direction: row;
184
- align-items: center;
185
- right: 0;
186
- height: 56px;
187
- padding: 0 30px 0 0;
188
- }
189
- .wp-core-ui .button-primary.ast-pro-btn {
190
- line-height: 34px;
191
- }
192
- .ast-pro-btn span.dashicons{
193
- margin-left: 2px;
194
- vertical-align: middle;
195
- height: 22px;
196
- }
197
- .nav_doc_section {
198
- float: right;
199
- padding: 11px 0;
200
- margin-right: 15px;
201
- }
202
- .nav_doc_section a {
203
- color: #005b9a;
204
- text-decoration: none;
205
- font-size: 14px;
206
- }
207
- .nav_doc_section a:hover{
208
- color: #212121;
209
- }
210
- .nav_doc_section a:focus{
211
- outline: none;
212
- box-shadow: none;
213
  }
214
  #woocommerce-advanced-shipment-tracking .inside {
215
- padding: 0 12px 12px;
216
  margin: 0
217
  }
218
- #woocommerce-advanced-shipment-tracking .button-show-tracking-form {
219
- margin-top: 12px;
220
  }
221
  #woocommerce-advanced-shipment-tracking #shipment-tracking-form {
222
  display: none
@@ -228,8 +37,10 @@
228
  width: 100%
229
  }
230
  #woocommerce-advanced-shipment-tracking input[type=checkbox]{
231
- margin: 0px 8px 0 0px;
232
- vertical-align: bottom;
 
 
233
  }
234
  #woocommerce-advanced-shipment-tracking #change_order_to_shipped_field{
235
  margin: 0px 4px 0 4px;
@@ -260,9 +71,6 @@
260
  position: relative;
261
  margin: 0
262
  }
263
- #woocommerce-advanced-shipment-tracking #tracking-items .tracking-item:first-child {
264
- margin-top: 10px;
265
- }
266
  #woocommerce-advanced-shipment-tracking .tracking-content:after {
267
  content: "";
268
  display: block;
@@ -276,71 +84,47 @@
276
  border-color: #efefef transparent
277
  }
278
  section.tab_section {
279
- display: none;
280
- padding: 25px 30px;
281
- margin-bottom: 20px;
282
- margin-top: -1px;
283
- background: #fff;
284
- border-radius: 5px;
285
- border-top-left-radius: 0;
286
- border: 1px solid #e0e0e0;
287
  }
288
  section.inner_tab_section {
289
  display: none;
290
- padding: 0;
291
- border-top: 1px solid #ddd;
 
292
  }
293
  input.tab_input,input.inner_tab_input {
294
  display: none;
295
  }
296
  label.tab_label {
297
  text-decoration: none;
298
- padding: 15px 20px;
299
  font-size: 14px;
300
  color: #005b9a;
301
  display: inline-block;
302
- margin-left: 0;
303
  line-height: 1;
304
  outline: none;
305
- border-top-right-radius: 5px;
306
- border-top-left-radius: 5px;
307
- background: #fafafa;
308
- border: 1px solid #e0e0e0;
309
- border-bottom: 0;
310
  }
311
  label.inner_tab_label {
312
  text-decoration: none;
313
- padding: 12px 12px 8px;
314
- font-size: 14px;
315
  color: #005b9a;
316
- display: inline-block;
 
317
  line-height: 1;
318
  outline: none;
319
- font-weight: 600;
320
- }
321
- .ts_notifications_outer_table label.inner_tab_label{
322
- padding: 15px 12px 15px;
323
- }
324
- .ts_notifications_outer_table input.inner_tab_input:checked + label {
325
- border-bottom: 3px solid #005b9a;
326
- padding: 15px 12px 12px;
327
- }
328
- label.inner_tab_label.single_tab_label {
329
- font-size: 17px;
330
  }
331
  label.tab_label:hover {
332
- color: #000;
333
  cursor: pointer;
334
  }
335
- input.tab_input:checked + label {
336
- color: #212121;
337
- background: #fff;
338
- }
339
- input.inner_tab_input:checked + label{
340
- color: #000;
341
- }
342
- input.inner_tab_input:checked + label.ts_tabs_label{
343
- border-bottom: 3px solid #59c889;
344
  }
345
  input.tab_input_1 {
346
  display: none;
@@ -356,54 +140,110 @@ input.tab_input_1:checked + label{
356
  }
357
  .tab_inner_container {
358
  padding: 0;
359
- margin: 0 auto;
360
- max-width: 1000px;
361
- }
362
- .provider_settings_icon {
363
- text-decoration: none;
364
- margin: 5px;
365
- line-height: 30px;
366
- }
367
- .provider_settings_icon span{
368
- width: 26px;
369
- height: 26px;
370
- font-size: 26px;
371
- vertical-align: middle;
372
- }
373
- .provider_settings .tgl-btn{
374
- margin-left: 5px;
375
- vertical-align: middle;
376
  }
377
- .addons_page_dtable{
378
- max-width: 930px;
379
- margin: 0 auto;
380
  }
381
  .tab_inner_container h4 {
382
  margin-top: 0;
383
  }
384
- #tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4, #tab5:checked ~ #content5, #tab6:checked ~ #content6, #tab7:checked ~ #content7, #tab8:checked ~ #content8, #tab9:checked ~ #content9, #tab10:checked ~ #content10,#tab_trackship_dashboard:checked ~ #content_trackship_dashboard,#tab_trackship_settings:checked ~ #content_trackship_settings,#tab_tracking_page:checked ~ #content_tracking_page,#tab_status_notifications:checked ~ #content_status_notifications,#tab_tools:checked ~ #content_tools, #tab_license:checked ~ #content_tab_license, #tab_addons:checked ~ #content_tab_addons, #tab_osm:checked ~ #content_osm, #trackship_tab:checked ~ #content_trackship_dashboard, #trackship:checked ~ #trackship_landing,#integrations_tab:checked ~ #integrations_content {
385
- display: block !important;
386
  }
387
- #tab_email_notifications:checked ~ .shipment-status-email-section,#tab_sms_notifications:checked ~ .shipment-status-sms-section{
388
- display: block !important;
389
  }
 
390
  .ast_admin_content {
391
- vertical-align: top;
392
- margin: 30px auto 0;
393
- padding: 0 30px;
394
  }
395
- .zorem_admin_layout .settings_ul_submit .spinner{
396
- display: none;
397
- float: none;
 
 
398
  }
399
- .spinner.active {
400
- visibility: visible;
 
401
  }
402
- .zorem_admin_layout .settings_ul_submit .spinner.active{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
403
  display: inline-block;
404
- vertical-align: sub;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
405
  }
406
- .success_msg{
407
  border-left: 3px solid;
408
  border-color: green;
409
  background: #fff;
@@ -417,23 +257,28 @@ input.tab_input_1:checked + label{
417
  .ast_admin_content .form-table th.titledesc {
418
  width: 40%;
419
  }
420
- .ast_admin_content .get_shipment_status_tool .form-table th.titledesc{
421
- width: 70%;
422
- }
423
- .ast_admin_content .get_shipment_status_tool .form-table td:last-child{
424
- text-align: right;
425
  }
426
- .ast_admin_content .get_shipment_status_tool .form-table.heading-table td:last-child{
427
- text-align: left;
 
428
  }
429
- .ast_admin_content table.form-table.upload_csv_table th{
430
- width: 40%;
431
  }
432
  .woocommerce .ast_admin_content table.form-table th label .woocommerce-help-tip{
433
  margin: -4px 0 0 5px;
434
  position: relative;
435
  font-size: 21px;
436
  }
 
 
 
 
 
 
437
 
438
  .woocommerce .ast_admin_content table.form-table select{
439
  width: 100%;
@@ -445,38 +290,57 @@ input.tab_input_1:checked + label{
445
  #wc_ast_status_label_color,#wc_ast_status_partial_shipped_label_color,#wc_ast_status_updated_tracking_label_color,#wc_ast_select_primary_color,#wc_ast_select_border_color,#wc_ast_shipped_status_label_color {
446
  width: 80px;
447
  }
448
- .tab_page_heading {
449
- font-size: 22px;
450
- font-weight: 600;
451
- color: #212121;
452
- margin: 0 0 15px;
453
- padding-bottom: 10px;
454
- text-align: left;
455
  }
456
- .tab_section_heading {
457
- font-size: 18px;
458
- font-weight: 600;
459
- color: #212121;
460
- margin: 0 0 10px;
461
- padding-bottom: 10px;
462
- text-align: left;
463
  }
464
- .tab_section_heading.clear_spacing, .tab_page_heading.clear_spacing {
465
- margin: 0;
466
- padding: 0;
 
 
 
 
 
 
 
 
 
 
467
  }
468
- .botton_border {
469
- border-bottom: 1px solid #e0e0e0;
 
 
 
 
 
 
 
 
470
  }
471
  .wp-core-ui .btn_green2 {
472
- background: #59c889;
 
 
 
 
 
 
 
 
 
 
473
  text-shadow: none;
474
- border-color: #59c889;
475
  box-shadow: none;
476
  font-size: 14px;
477
  line-height: 32px;
478
  height: 35px;
479
- padding: 0 10px;
480
  }
481
  .wp-core-ui .btn_ast2{
482
  background: #005B9A;
@@ -486,12 +350,8 @@ input.tab_input_1:checked + label{
486
  font-size: 14px;
487
  line-height: 32px;
488
  height: 35px;
489
- padding: 0 10px;
490
- }
491
- .wp-core-ui .btn_full{
492
- width: 100%;
493
  }
494
-
495
  .wp-core-ui .btn_red {
496
  background: red;
497
  text-shadow: none;
@@ -501,50 +361,15 @@ input.tab_input_1:checked + label{
501
  line-height: 30px;
502
  height: 35px;
503
  }
504
- .wp-core-ui .btn_ts_transparent{
505
- background: transparent;
506
- text-shadow: none;
507
- border-color: #59c889;
508
- color: #59c889;
509
- box-shadow: none;
510
- font-size: 14px;
511
- line-height: 32px;
512
- height: 35px;
513
- padding: 0 10px;
514
- }
515
- .wp-core-ui .btn_ast_transparent{
516
- background: transparent;
517
- text-shadow: none;
518
- border-color: #74c2e1;
519
- box-shadow: none;
520
- font-size: 14px;
521
- line-height: 32px;
522
- height: 35px;
523
- padding: 0 10px;
524
- color: #005B9A;
525
- }
526
  .wp-core-ui .btn_large {
527
  line-height: 36px;
528
  height: 40px;
529
  padding: 0 20px;
530
  font-size: 15px;
531
  }
532
- .wp-core-ui .btn_icon {
533
- padding: 0 15px 0 0;
534
- }
535
- .launch_customizer_label{
536
- line-height: 40px;
537
- }
538
- .wp-core-ui .launch_customizer_btn{
539
- float: right;
540
- }
541
- .wp-core-ui .btn_green2 .dashicons{
542
  vertical-align: middle;
543
- line-height: 0.9;
544
- }
545
- .wp-core-ui .btn_large.add_custom_provider .dashicons {
546
- margin-left: 0;
547
- margin-right: 5px;
548
  }
549
  .wp-core-ui .btn_red:hover, .wp-core-ui .btn_red:focus {
550
  background: red;
@@ -560,24 +385,26 @@ input.tab_input_1:checked + label{
560
  text-shadow: none;
561
  box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
562
  }
563
- .wp-core-ui .btn_ast2:hover, .wp-core-ui .btn_ast2:focus {
564
- background: #005B9A;
565
  border-color: rgba(0,0,0,0.05);
566
  color: #fff;
567
  text-shadow: none;
568
  box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
569
  }
570
- .wp-core-ui .btn_ts_transparent:hover, .wp-core-ui .btn_ts_transparent:focus {
571
- background: transparent;
572
- border-color: #59c889;
573
- color: #59c889;
574
  text-shadow: none;
 
575
  }
576
- .wp-core-ui .btn_ast_transparent:hover, .wp-core-ui .btn_ast_transparent:focus {
577
- background: transparent;
578
- border-color: #74c2e1;
579
- color: #005B9A;
580
  text-shadow: none;
 
581
  }
582
  .shipment_tracking_admin_settings.wp-core-ui .button-primary:disabled{
583
  color: #fff!important;
@@ -588,36 +415,28 @@ input.tab_input_1:checked + label{
588
 
589
  #wc_ast_upload_csv_form .mdl-progress {
590
  width: 100%;
591
- margin-top: 0 0 20px;
592
- height: 30px;
593
- }
594
- .csv_upload_status li{
595
- padding: 0 0 5px;
596
- border-bottom: 1px solid #e0e0e0;
597
  }
598
- .csv_upload_status li:before{
599
- font-family: dashicons;
600
- vertical-align: sub;
601
- margin-right: 5px;
602
- font-size: 18px;
603
- font-weight: 600;
604
- content: "\f153";
605
- color: #f44336;
606
  }
607
- .csv_upload_status li.success:before {
608
- content: "\f12a";
609
- color: #59c889;
610
  }
611
- .bulk_upload_status_td h2{
612
- color: #005b9a;
613
- font-size: 20px;
614
- margin: 0;
615
  }
616
  .form-table td p{
617
  margin: 0;
618
  }
619
-
620
- #wc_ast_addons_form .license_div .form-table tr:first-child{
 
 
 
 
 
621
  border-top: 0;
622
  }
623
  #wc_ast_trackship_form .trackship_status_section .form-table tr{
@@ -632,7 +451,155 @@ input.tab_input_1:checked + label{
632
  #wc_ast_settings_form .form-table tr.multiple_checkbox_title_tr th{
633
  padding-bottom: 0;
634
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
635
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
636
  .tracking-content-div{
637
  margin-bottom: 5px;
638
  }
@@ -648,66 +615,314 @@ input.tab_input_1:checked + label{
648
  .ast-shipment-status i {
649
  font-size: 18px;
650
  }
651
- .ast-shipment-status .shipment-icon:before{
652
- content: ' ';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
653
  width: 16px;
654
  height: 16px;
655
  background-size: cover;
656
  display: inline-block;
657
- vertical-align: text-bottom;
658
  }
659
- .ast-shipment-status .icon-default:before{
660
- background-image: url(icons/invalid.png);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
661
  }
662
- .ast-shipment-status .icon-INVALID_TRACKING_NUM:before{
663
- background-image: url(icons/invalid-tracking-number.png);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
664
  }
665
- .ast-shipment-status .icon-wrong_shipping_provider:before{
666
- background-image: url(icons/wrong-shipiing-provider.png);
 
 
 
 
 
 
 
667
  }
668
- .ast-shipment-status .icon-carrier_unsupported:before{
669
- background-image: url(icons/carrier-unsupported.png);
 
 
 
 
 
 
 
670
  }
671
- .ast-shipment-status .icon-delivered:before{
672
- background-image: url(icons/delivered.png);
 
 
 
 
 
 
 
673
  }
674
- .ast-shipment-status .icon-in_transit:before{
675
- background-image: url(icons/in-transit.png);
 
 
 
 
 
 
 
676
  }
677
- .ast-shipment-status .icon-on_hold:before{
678
- background-image: url(icons/on-hold.png);
 
 
 
 
 
 
 
679
  }
680
- .ast-shipment-status .icon-pre_transit:before{
681
- background-image: url(icons/pre-transit.png);
 
 
 
 
 
 
 
682
  }
683
- .ast-shipment-status .icon-out_for_delivery:before{
684
- background-image: url(icons/out-for-delivery.png);
 
 
 
 
 
 
 
685
  }
686
- .ast-shipment-status .icon-available_for_pickup:before{
687
- background-image: url(icons/available-for-picup.png);
 
 
 
 
 
 
 
688
  }
689
- .ast-shipment-status .icon-return_to_sender:before{
690
- background-image: url(icons/return-to-sender.png);
 
 
 
 
 
 
 
691
  }
692
  .ast-shipment-status .icon-failure:before{
693
- background-image: url(icons/failure.png);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
694
  }
695
- .ast-shipment-status .icon-exception:before{
696
- background-image: url(icons/failure.png);
697
  }
698
- .ast-shipment-status .icon-unknown:before{
699
- background-image: url(icons/unknown.png);
700
  }
701
- .ast-shipment-status .icon-pending_trackship:before{
702
- background-image: url(icons/pending-trackship.png);
703
  }
704
- .ast-shipment-status .icon-invalid_user_key:before{
705
- background-image: url(icons/invalid-user-key.png);
706
  }
707
  .wcast-shipment-status-list .wcast-shipment-est-delivery {
708
  display: block;
709
  }
710
-
 
 
 
 
 
711
  .has_est_delivery_0 .showif_has_est_delivery_0 {
712
  display: block;
713
  }
@@ -727,10 +942,11 @@ input.tab_input_1:checked + label{
727
  }
728
  .wcast-tracking-number-list li, .wcast-shipment-status-list li {
729
  position: relative;
730
- padding: 5px;
 
731
  min-height: 50px;
732
  box-sizing: border-box;
733
- margin-bottom: 0;
734
  }
735
  a.inline_tracking_delete{
736
  display:none;
@@ -757,30 +973,77 @@ ul.wcast-tracking-number-list, ul.wcast-shipment-status-list {
757
  .select2-results .select2-results__group, .select2-results .select2-results__option{
758
  padding: 4px;
759
  }
 
 
 
 
760
  .edit_customizer_a{
761
  margin-left: 10px;
762
  line-height: 20px;
763
- font-size: 13px;
764
- float:right;
765
  }
766
  .edit_customizer_a:focus,.edit_customizer_a:hover{
767
  outline:none;
768
  box-shadow:none;
769
  }
 
 
 
 
 
 
 
 
 
 
 
770
  .woocommerce_page_woocommerce-advanced-shipment-tracking #wpcontent{
 
771
  padding-left: 0;
772
- background: #f5f7fb;
773
  }
774
  .woocommerce_page_woocommerce-advanced-shipment-tracking #wpbody-content{
775
  padding-bottom: 40px;
776
  }
777
- .multiple_label{
778
- font-weight:400;
779
- line-height: 23px;
780
  }
781
-
782
- @media screen and (max-width: 650px) {
783
- label.tab_label:before {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
784
  margin: 0;
785
  font-size: 18px;
786
  }
@@ -808,72 +1071,254 @@ ul.wcast-tracking-number-list, ul.wcast-shipment-status-list {
808
  padding: 10px 5px 0px 10px;
809
  }
810
  table.wp-list-table img.provider-thumb{
811
- margin: 1px 0 1px 0;
812
- height: 45px;
813
- vertical-align: middle;
 
 
 
 
 
 
 
 
 
814
  }
815
  span.provider_name {
816
  font-weight: 500;
817
  font-size: 14px;
818
- margin-bottom: 5px;
 
 
 
 
 
 
 
 
819
  display: block;
820
  }
821
- .default_label {
822
- font-size: 12px;
823
- vertical-align: top;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
824
  }
825
-
826
  #search_provider{
827
- width: 250px;
828
- min-width: 250px;
829
- font-size: 13px;
830
- border: 1px solid #e0e0e0;
831
- padding: 0 0 0 45px;
832
  line-height: 2;
833
- min-height: 35px;
834
- border-radius: 0;
835
  }
836
  .search_section .search-icon{
837
  position: absolute;
838
- padding: 8px 8px 8px 12px;
839
  color: #005b9a;
840
- border-right: 1px solid #e0e0e0;
841
  }
 
 
 
 
 
 
 
842
  .provider_top:after{
843
  content:'';
844
  clear:both;
845
  display:block;
846
  }
847
- .search_section{
848
- float: left;
 
849
  }
850
- .provider_settings{
851
- float: right;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
852
  }
 
 
 
 
853
  .popupwrapper {
854
  position: fixed;
855
  top: 0;
856
  left: 0;
857
- background: rgb(250 250 250 / 0.8);
858
- border: 1px solid #e0e0e0;
859
- z-index: 100000;
860
  width: 100%;
861
  height: 100%;
862
  text-align: center;
863
  }
864
- .popupwrapper.add_provider_popup .popuprow,.popupwrapper.custom_provider .popuprow{
865
- max-width: 600px;
866
- }
867
- .popupwrapper.ts_video_popup{
868
- background: rgb(250 250 250 / 0.8);
869
- }
870
  .trackingpopup_wrapper {
871
  position: fixed;
872
  top: 0;
873
  left: 0;
874
- background: rgb(250 250 250 / 0.8);
875
- border: 1px solid #e0e0e0;
876
- z-index: 100000;
877
  width: 100%;
878
  height: 100%;
879
  text-align: center;
@@ -893,30 +1338,22 @@ span.provider_name {
893
  }
894
  .popuprow {
895
  display: inline-block;
896
- vertical-align: middle;
897
- max-width: 400px;
898
- background: #fff;
899
- padding: 0;
900
- position: relative;
901
- z-index: 10;
902
- border-radius: 3px;
903
- width: 97%;
904
- width: calc(100% - 5px);
905
- max-height: 90%;
906
- overflow-y: overlay;
907
- text-align: left;
908
- border: 1px solid #e0e0e0;
909
- }
910
- .uninstall_popup .popuprow{
911
- max-width: 520px;
912
- }
913
- .uninstall_popup .popuprow .popup_body {
914
- padding: 10px 30px 20px;
915
  }
916
- .tracking_details_popup .popuprow{
917
- max-width: 700px;
918
- margin-top: 90px;
919
- max-height: 80%;
920
  }
921
  .zorem_admin_layout .sync_provider_popup h3.popup_title{
922
  margin: 0 0 1em;
@@ -928,88 +1365,25 @@ span.provider_name {
928
  color: green;
929
  font-size: 16px;
930
  }
931
- .how_to_video_popup .popuprow,.ts_video_popup .popuprow,.import_tracking_video_popup .popuprow{
932
  max-width: 700px;
933
  padding: 0;
934
  }
935
  .trackingpopup_row {
936
  display: inline-block;
937
  vertical-align: middle;
938
- max-width: 600px;
939
  text-align:left;
940
- background: #fff;
941
- border: 1px solid #e0e0e0;
942
- padding: 0;
943
  position: relative;
944
  z-index: 10;
945
- border-radius: 5px;
946
  width: 97%;
947
  width: calc(100% - 5px);
948
  max-height: 90%;
949
  overflow-y: overlay;
950
  }
951
- .trackingpopup_row .popup_header{
952
- border-bottom: 1px solid #e0e0e0;
953
- padding: 15px 30px;
954
- }
955
- .popuprow .popup_header {
956
- border-bottom: 1px solid #e0e0e0;
957
- padding: 15px 20px;
958
- }
959
-
960
- .trackingpopup_row .popup_header h3.popup_title,.popuprow .popup_header h3.popup_title{
961
- font-size: 16px;
962
- display: inline-block;
963
- margin: 0;
964
- color: #005b9a;
965
- font-weight: 400;
966
- }
967
- .trackingpopup_row .popup_header img,.popuprow .popup_header img{
968
- width: 55px;
969
- position: absolute;
970
- right: 70px;
971
- }
972
- .trackingpopup_row .popup_header .popup_close_icon,.popuprow .popup_header .popup_close_icon{
973
- color: #005b9a;
974
- width: 60px;
975
- height: 50px;
976
- font-size: 30px;
977
- border-left: 1px solid #e0e0e0;
978
- position: absolute;
979
- right: 0;
980
- top: 0px;
981
- cursor: pointer;
982
- line-height: 22px;
983
- }
984
- .trackingpopup_row .popup_body{
985
- padding: 10px 30px;
986
- }
987
- .popuprow .popup_body{
988
- padding: 20px 25px;
989
- }
990
- .popup_body .sync_message{
991
- margin-top: 0;
992
- }
993
- .popuprow .popup_body button{
994
- margin-bottom: 5px;
995
- }
996
- .popuprow .popup_body .synch_result{
997
- display: none;
998
- margin: 0 0 20px;
999
- }
1000
- .synch_result li {
1001
- border-bottom: 1px solid #ccc;
1002
- padding-bottom: 10px;
1003
- font-size: 15px;
1004
- }
1005
- .sync_provider_popup .spinner{
1006
- display:none;
1007
- height: 25px;
1008
- float: none;
1009
- }
1010
- .sync_provider_popup .spinner.active{
1011
- display: inline-block;
1012
- }
1013
  .popupclose {
1014
  position: absolute;
1015
  width: 100%;
@@ -1018,132 +1392,53 @@ span.provider_name {
1018
  top: 0;
1019
  left: 0;
1020
  }
1021
- .popupclose_btn {
1022
- position: absolute;
1023
- right: 20px;
1024
- top: 20px;
1025
- border: 1px solid #7e8993;
1026
- color: #7e8993;
1027
- border-radius: 2px;
1028
- cursor: pointer;
1029
- }
1030
- .popup_header .popup_close_icon:before {
1031
- vertical-align: middle;
1032
- vertical-align: -webkit-baseline-middle;
1033
- }
1034
- .popupwrapper input[type=text]{
1035
- line-height: 24px;
1036
- color: #424242;
1037
- width: 100%;
1038
- border-color: #e0e0e0;
1039
- border-radius: 3px;
1040
- padding: 5px 10px;
1041
- }
1042
- .trackingpopup_wrapper input[type=text]{
1043
  line-height: 24px;
1044
- color: #424242;
1045
- width: 90%;
1046
- margin: 5px 0 10px;
1047
- border-radius: 3px;
1048
- border-color: #e0e0e0;
1049
- padding: 5px 10px;
1050
- }
1051
-
1052
- .popupwrapper .form-field{
1053
- margin-bottom: 10px;
1054
- }
1055
- .popupwrapper .form-field.form-50{
1056
- width: 47%;
1057
- display: inline-block;
1058
- margin-right:25px;
1059
- }
1060
- .popupwrapper.default_provider .form-field.form-50{
1061
- width: 100%;
1062
- }
1063
- .popupwrapper .form-field.form-50.margin-0{
1064
- margin-right: 0;
1065
- }
1066
-
1067
- .popupwrapper .form-field label{
1068
- margin-bottom: 5px;
1069
- display: block;
1070
- }
1071
- .popupwrapper input[type=text].image_path{
1072
- width: calc(100% - 71px);
1073
- }
1074
- .wp-core-ui .popupwrapper .upload_image_button{
1075
- padding: 3px 10px;
1076
- border-color: #e0e0e0;
1077
- background: #fafafa;
1078
- color: #005b9a;
1079
- }
1080
- p.form-field.form-50 {
1081
- width: 49%;
1082
- display: inline-block;
1083
- }
1084
- .trackingpopup_wrapper input[type=text].image_path{
1085
  width: 100%;
 
1086
  }
1087
- .popupwrapper select,.popupwrapper .select2{
1088
- line-height: 24px;
1089
- color: #424242;
1090
- width: 100%;
1091
- max-width: 100%;
1092
- border-color: #e0e0e0;
1093
- border-radius: 3px;
1094
- padding: 5px 10px;
1095
- }
1096
- .popupwrapper.uninstall_popup select{
1097
- width: auto;
1098
- margin-bottom: 0px;
1099
  }
1100
- .trackingpopup_wrapper select,.trackingpopup_wrapper .select2{
1101
- line-height: 24px;
1102
  color: #0d0d0d;
1103
  width: 100%;
1104
- max-width: 100%;
1105
- margin: 5px 0 10px;
1106
- height: 30px;
1107
- }
1108
- .trackingpopup_wrapper hr{
1109
- margin: 5px -30px;
1110
- }
1111
- .trackingpopup_wrapper .select2-container .select2-selection--single {
1112
- border-color: #e0e0e0;
1113
- border-radius: 3px;
1114
- color: #424242;
1115
- padding: 3px 10px;
1116
- height: 36px;
1117
- }
1118
- .popupwrapper .popuprow .popup_title,.trackingpopup_wrapper .trackingpopup_row .popup_title{
1119
- color: #005B9A;
1120
  }
1121
  .custom_provider_instruction{
1122
  text-align:left;
1123
  margin-bottom: 10px;
1124
  }
1125
- .custom_provider_instruction p{
1126
- margin: 0 0 1em;
 
1127
  }
1128
  .popupwrapper #upload_image_button{
1129
  min-height: 30px;
1130
  }
1131
- .edit_provider_msg{
1132
- margin: 0 0 10px;
1133
- }
1134
- a.reset_default_provider {
1135
- margin-left: 10px;
 
 
 
 
 
1136
  }
1137
  .change_order_to_shipped_field ul{
1138
- margin: 5px 0 0 10px;
1139
- display: inline-block;
1140
- }
1141
- .postbox .change_order_to_shipped_field ul{
1142
- margin: 0;
1143
  }
1144
  .change_order_to_shipped_field ul li {
1145
  display: inline-block;
1146
- margin: 0 5px 8px;
 
 
 
1147
  }
1148
  .provider .edit_provider,.provider .remove{
1149
  display:none;
@@ -1159,12 +1454,42 @@ a.reset_default_provider {
1159
  text-decoration: none;
1160
  color: #444;
1161
  }
 
 
 
 
 
 
 
 
 
1162
  .disable_label span {
1163
  color: #999;
1164
  }
 
 
 
 
1165
  .wp-core-ui .button-primary.close_synch_popup{
1166
  display:none;
1167
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1168
  .disabled_link{
1169
  pointer-events: none;
1170
  cursor: default;
@@ -1174,39 +1499,39 @@ a.reset_default_provider {
1174
  margin:0;
1175
  line-height: 20px;
1176
  }
1177
- .woocommerce.zorem_admin_layout table.form-table{
 
 
 
 
 
 
 
 
 
 
 
 
 
1178
  border: 0;
1179
  margin-top: 0;
1180
  margin-bottom: 0px;
1181
  }
1182
- .woocommerce.zorem_admin_layout table.form-table.order-status-table{
1183
- table-layout: auto;
1184
- }
1185
- .woocommerce.zorem_admin_layout table.form-table.upload_csv_table{
1186
- table-layout: auto;
1187
- }
1188
  .woocommerce.zorem_admin_layout table.form-table.heading-table{
1189
  margin: 0;
1190
- border: 0;
1191
- }
1192
- .woocommerce.zorem_admin_layout table.form-table.heading-table td{
1193
- padding: 12px 25px;
1194
- border-bottom: 1px solid #e0e0e0;
1195
- height: 40px;
1196
- }
1197
- .woocommerce.zorem_admin_layout .border_0 table.form-table.heading-table tr{
1198
- border-bottom: 1px solid #e0e0e0;
1199
  }
1200
- #wc_ast_upload_csv_form table.form-table.heading-table tr{
1201
  border-bottom: 0;
1202
  }
1203
- .woocommerce.zorem_admin_layout .border_0 table.form-table.heading-table td{
1204
- padding: 0 0 10px;
1205
  }
1206
  .woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
1207
  margin: 0;
1208
  color:#005B9A;
1209
- font-weight: 500;
1210
  }
1211
  .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1212
  text-align:right;
@@ -1224,18 +1549,10 @@ a.reset_default_provider {
1224
  clear:both;
1225
  }
1226
  .ast_admin_content div.submit{
1227
- padding: 0;
1228
- margin: 10px 0 0;
1229
- }
1230
- .ast_admin_content #wc_ast_upload_csv_form div.submit{
1231
- margin: 0 0 15px;
1232
  }
1233
  .woocommerce.zorem_admin_layout table.form-table th{
1234
- padding: 20px;
1235
- }
1236
- .woocommerce.zorem_admin_layout table.form-table.settings-form-table th.titledesc{
1237
- padding: 5px 20px 0 0;
1238
- width: 25%;
1239
  }
1240
  .woocommerce.zorem_admin_layout table.form-table.table-layout-2 th.titledesc{
1241
  padding: 20px 15px 20px 15px;
@@ -1244,120 +1561,28 @@ a.reset_default_provider {
1244
  margin-top: 10px;
1245
  }
1246
  .woocommerce.zorem_admin_layout table.form-table td{
1247
- padding: 15px;
1248
- }
1249
- .woocommerce.zorem_admin_layout .border_0 table.form-table td {
1250
- padding: 15px 15px 15px 0;
1251
- }
1252
- .woocommerce.zorem_admin_layout .border_0 table.form-table.settings-form-table{
1253
- border-collapse: separate;
1254
- border-spacing: 0 20px;
1255
- }
1256
- .woocommerce.zorem_admin_layout .border_0 table.form-table.settings-form-table td {
1257
- padding: 15px 23px;
1258
- background: #fff;
1259
- border: 1px solid #e0e0e0;
1260
- }
1261
- .woocommerce.zorem_admin_layout .border_0 table.form-table.settings-form-table td.status-label-column{
1262
- border-right: 0;
1263
  }
1264
  .woocommerce.zorem_admin_layout table.form-table td.button-column{
1265
- padding: 0px 15px 15px;
1266
- }
1267
- .woocommerce.zorem_admin_layout .border_0 table.form-table td.button-column{
1268
- padding: 5px 0;
1269
  }
1270
  .woocommerce.zorem_admin_layout table.form-table td.multiple_checkbox_td{
1271
  padding: 10px 15px 15px;
1272
  }
1273
  .woocommerce.zorem_admin_layout table.form-table.order-status-table td{
1274
- padding: 10px 0 10px 15px;
1275
- }
1276
- .woocommerce.zorem_admin_layout table.form-table.order-status-table td:first-child{
1277
- padding:10px 0 10px;
1278
- width: 37px;
1279
  }
1280
  .woocommerce.zorem_admin_layout table.form-table th label{
1281
- font-weight: 600;
1282
  color: #444;
1283
  cursor: auto;
1284
  }
1285
- span.radio_section {
1286
- margin-right: 10px;
1287
- }
1288
- span.multiple_checkbox {
1289
- display: inline-block;
1290
- line-height: 30px;
1291
- width: 49%;
1292
- }
1293
- .woocommerce.zorem_admin_layout table.form-table p.inline_checkbox{
1294
- line-height: 30px;
1295
- }
1296
  .woocommerce.zorem_admin_layout table.form-table p.description{
1297
- font-size: 12px;
1298
- font-weight: 400;
1299
- margin-top: 5px;
1300
- }
1301
- .settings_ul_submit{
1302
- text-align: right;
1303
- }
1304
- .settings_ul{
1305
- margin: 0;
1306
- }
1307
- .settings_ul li> input[type=checkbox] {
1308
- vertical-align: -webkit-baseline-middle;
1309
- }
1310
- .settings_ul>li{
1311
- padding: 5px 0;
1312
- margin: 0;
1313
- min-height: 30px;
1314
- line-height: 25px;
1315
- position: relative;
1316
- }
1317
- .settings_ul li:last-child {
1318
- border-bottom: 0;
1319
- }
1320
- .settings_ul .settings_radio_li>label,.settings_ul .multiple_select_li>label {
1321
- width: 20%;
1322
- display: inline-block;
1323
- }
1324
- .settings_ul .settings_radio_li .radio_section{
1325
- display: inline-block;
1326
- padding: 0 10px;
1327
- }
1328
- .settings_ul fieldset {
1329
- display: inline-block;
1330
- vertical-align: middle;
1331
- }
1332
- .settings_ul fieldset input[type=text]{
1333
- min-width: 500px;
1334
- }
1335
- .multiple_checkbox_parent {
1336
- display: inline-block;
1337
- vertical-align: top;
1338
- width: 58%;
1339
- }
1340
- span.ast-tgl-btn-parent {
1341
- vertical-align: middle;
1342
- }
1343
- .setting_ul_tgl_checkbox_label{
1344
- margin-left: 15px;
1345
- display: inline-block;
1346
- vertical-align: middle;
1347
- width: calc(100% - 100px);
1348
- }
1349
- .tgl_checkbox_desc {
1350
- line-height: 18px;
1351
  }
1352
- .multiple_checkbox_label {
1353
- display: inline-block;
1354
- width: 40%;
1355
- margin-right: 10px;
1356
- }
1357
- .multiple_checkbox_description{
1358
- display: block;
1359
- margin-top: 5px;
1360
- max-width: 250px;
1361
  }
1362
 
1363
  .updated_details {
@@ -1389,16 +1614,18 @@ span.ast-tgl-btn-parent {
1389
  min-width: 90px;
1390
  line-height: 20px;
1391
  }
 
 
 
1392
  .add_tracking_number_form .form-field{
1393
  margin: 0;
1394
  text-align:left;
1395
  }
1396
- .add_tracking_number_form .form-field span {
1397
- vertical-align: middle;
1398
- }
1399
  .add_tracking_number_form input[type=checkbox]{
1400
  margin: 0px 4px 0 0px;
1401
- vertical-align: text-bottom;
 
 
1402
  }
1403
  .d_table{
1404
  display:table;
@@ -1410,6 +1637,17 @@ span.ast-tgl-btn-parent {
1410
  .zorem_admin_layout h3{
1411
  margin: 1em 0;
1412
  }
 
 
 
 
 
 
 
 
 
 
 
1413
  .ast_admin_content div.submit .spinner{
1414
  display: none;
1415
  float: none;
@@ -1418,6 +1656,71 @@ span.ast-tgl-btn-parent {
1418
  .ast_admin_content div.submit .spinner.active{
1419
  display: inline-block;
1420
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1421
  .videoWrapper {
1422
  position: relative;
1423
  padding-bottom: 56.25%; /* 16:9 */
@@ -1443,11 +1746,86 @@ span.dashicons.dashicons-edit.edit_provider {
1443
  cursor: pointer;
1444
  }
1445
  span.dashicons.dashicons-trash.remove {
1446
- cursor: pointer;
1447
- text-decoration: none;
1448
- height: 17px;
1449
- font-size: 15px;
1450
- vertical-align: middle;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1451
  }
1452
 
1453
  /*** Dashboard Widget CSS ***/
@@ -1504,11 +1882,13 @@ section.widget_tab_section {
1504
  overflow-y: auto;
1505
  }
1506
  /**** -------- ****/
1507
- .woocommerce_page_woocommerce-advanced-shipment-tracking .zorem-layout .woocommerce-help-tip{
 
 
 
 
 
1508
  color: #005B9A;
1509
- font-size: 20px;
1510
- height: 20px;
1511
- vertical-align: middle;
1512
  }
1513
  .woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_content{
1514
  background:#005B9A;
@@ -1521,7 +1901,13 @@ section.widget_tab_section {
1521
  .woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_holder.tip_bottom #tiptip_arrow_inner{
1522
  border-bottom-color: #005B9A;
1523
  }
1524
-
 
 
 
 
 
 
1525
  #trackship_dashboard_widget .inside h3{
1526
  font-weight:600;
1527
  }
@@ -1529,12 +1915,117 @@ section.widget_tab_section {
1529
  padding: 0;
1530
  margin: 0;
1531
  }
 
 
 
 
1532
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1533
  #woocommerce-advanced-shipment-tracking.postbox{
1534
  background: #f9f9f9;
1535
  }
 
1536
  .order-status-table tr.disable_row{
1537
- background: transparent;
1538
  opacity: 0.7;
1539
  }
1540
  .order-status-table tr.disable_row td{
@@ -1543,8 +2034,8 @@ section.widget_tab_section {
1543
  .order-status-table tr.disable_row td:first-child{
1544
  pointer-events: auto;
1545
  }
1546
- .woocommerce.zorem_admin_layout table.form-table.order-status-table td.status_shipped_label{
1547
- text-align:left;
1548
  }
1549
  .order-status-table .order-label{
1550
  display: -webkit-inline-box;
@@ -1570,108 +2061,132 @@ section.widget_tab_section {
1570
  }
1571
  .form-table.order-status-table td .send_email_label {
1572
  margin: 0 5px !important;
 
1573
  }
1574
- .form-table.order-status-table td a.settings_edit {
1575
- background: #fafafa;
1576
- color: #005b9a;
1577
- border: 1px solid #005b9a;
1578
- padding: 5px 10px 7px;
1579
- text-decoration: none;
1580
- border-radius: 4px;
1581
- }
1582
-
1583
- .ast_radio_label {
1584
- min-width: 125px;
1585
- display: inline-block;
1586
- }
1587
- .tracking_product_code_field{
1588
- display:none;
1589
  }
1590
- .outer_form_table{
1591
- border: 1px solid #e0e0e0;
1592
- margin-top: 25px;
1593
- border-radius: 3px;
 
 
 
 
 
 
 
1594
  background: #fff;
 
 
1595
  }
1596
- .tabs_outer_form_table{
1597
- border: 1px solid #e0e0e0;
1598
- margin-top: 25px;
1599
- border-radius: 3px;
1600
- background: #fff;
1601
- padding: 10px 15px 0;
1602
- position: relative;
1603
  }
1604
- .tabs_inner_section {
1605
- margin: 20px 0 0;
1606
  }
1607
- #tab_general_settings:checked ~ #content_general_settings,#tab_order_status:checked ~ #content_osm_settings{
1608
- display: block !important;
 
1609
  }
1610
- .tabs_submit {
1611
- position: absolute;
1612
- top: 10px;
1613
- right: 20px;
 
1614
  }
1615
- .tabs_submit .spinner{
1616
- float:none;
 
1617
  }
1618
- #wc_ast_upload_csv_form .outer_form_table{
1619
- margin-top: 20px;
1620
- background-color: #fff;
1621
- border-radius: 3px;
1622
  }
1623
- #wc_ast_upload_csv_form .csv_import_done .outer_form_table{
1624
- padding: 50px 0;
1625
  }
1626
- .outer_form_table.border_0{
1627
- border: 0;
 
 
 
1628
  }
1629
- .tab_inner_container hr{
1630
- margin: 0;
 
 
 
 
 
 
 
 
1631
  }
1632
- .provider_list .pagination{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1633
  display: inline-block;
1634
  padding-left: 0;
1635
  margin: 0;
1636
  border-radius: 4px;
1637
  }
1638
- .provider_list .pagination>li {
1639
- margin-left: 5px;
1640
- display: inline-block;
1641
  }
1642
-
1643
- .provider_list .pagination>li>a, .provider_list .pagination>li>span {
 
 
 
 
1644
  position: relative;
1645
  float: left;
1646
- padding: 8px 12px;
1647
  margin-left: -1px;
1648
  line-height: 1.42857143;
1649
- color: #005b9a;
1650
  text-decoration: none;
1651
- background-color: #f5f5f5;
1652
- border: 1px solid #e0e0e0;
1653
- border-radius: 3px;
1654
  cursor: pointer;
1655
  }
1656
- .provider_list .pagination>.active>a, .provider_list .pagination>.active>a:focus, .provider_list .pagination>.active>a:hover, .provider_list .pagination>.active>span, .provider_list .pagination>.active>span:focus, .provider_list .pagination>.active>span:hover {
 
 
 
 
1657
  z-index: 2;
1658
- color: #424242;
1659
  cursor: default;
1660
- background-color: transparent;
 
1661
  }
1662
  table.provder_table{
1663
- border: 0;
1664
- border-bottom: 0;
1665
- box-shadow: none;
1666
- border-collapse: separate;
1667
- border-spacing: 0 8px;
1668
- background: transparent;
1669
  }
1670
  table.provder_table thead{
1671
- display: none;
1672
- }
1673
- table.provder_table tr {
1674
- background: #fff;
1675
  }
1676
  table.provder_table tbody tr:hover{
1677
  background: #f9f9f9;
@@ -1679,58 +2194,44 @@ table.provder_table tbody tr:hover{
1679
  table.provder_table th{
1680
  border-bottom: 1px solid #ddd;
1681
  border-right: 1px solid #ddd;
1682
- background: #fafeff;
1683
  font-weight: 500;
1684
  }
1685
  table.provder_table th:last-child{
1686
  border-right: 0;
1687
  }
1688
  table.provder_table td{
1689
- vertical-align: middle;
1690
- padding: 10px;
1691
- border-top: 1px solid #e0e0e0;
1692
- border-bottom: 1px solid #e0e0e0;
1693
- border-radius: 3px;
1694
- }
1695
- table.provder_table tr td:nth-last-child(2) span.dashicons {
1696
- font-size: 17px;
1697
- width: 17px;
1698
- height: 17px;
1699
- margin-right: 5px;
1700
- }
1701
- table.provder_table tr td:nth-last-child(2) span.dashicons.dashicons-yes-alt{
1702
- color: #59c889;
1703
- }
1704
- table td.provider_trackship_td span{
1705
  vertical-align: middle;
 
 
1706
  }
1707
- table.provder_table td:first-child{
1708
- width: 30px;
1709
- border-left: 1px solid #e0e0e0;
1710
  }
1711
- table.provder_table td:last-child{
1712
- border-right: 1px solid #e0e0e0;
1713
- width: 40px;
1714
  }
1715
- table.provder_table td:nth-last-child(2){
1716
- width: 90px;
1717
  }
1718
- table.provder_table .provider_actions_btn{
 
 
1719
  color: #005b9a;
1720
- font-size: 12px;
1721
- text-decoration: underline;
1722
- cursor: pointer;
1723
- margin: 0 5px;
 
1724
  }
1725
  .provider_table_hc {
1726
- padding: 10px 0 2px;
1727
  }
1728
  .shipping_provider_counter {
1729
  display: inline-block;
1730
  line-height: 32px;
1731
  }
1732
- .paging.shipping_provider_paging{
1733
- float: right;
1734
  }
1735
  .shipping_provider_paging::after {
1736
  content: "";
@@ -1754,9 +2255,13 @@ table.provder_table .provider_actions_btn{
1754
  content: "";
1755
  color: #005B9A;
1756
  position: static;
1757
- font-size: 40px;
1758
- display: block;
 
 
 
1759
  text-align:center;
 
1760
  }
1761
  .ast_admin_content .border-bottom-0{
1762
  border-bottom:0 !important;
@@ -1779,883 +2284,195 @@ table.provder_table .provider_actions_btn{
1779
  background: #005b9a;
1780
  }
1781
  .ast_admin_content .woocommerce-progress-form-wrapper{
1782
- margin: 25px 10px;
1783
- max-width: 100%;
1784
  }
1785
- .bulk_upload_documentation_ul{
1786
- text-align: left;
1787
  }
1788
  .bulk_upload_documentation_ul li {
1789
- padding: 0 10px 0 0;
1790
- display: inline-block;
1791
- color: #005b9a;
1792
  }
1793
  .woocommerce.zorem_admin_layout table.form-table td.bulk_upload_status_td {
1794
- text-align: center;
1795
- padding-top: 30px;
1796
- }
1797
- .woocommerce.zorem_admin_layout table.form-table .bulk_upload_status_tr td{
1798
- padding: 15px 15px 30px;
1799
  }
1800
- #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_heading_tr{
1801
  border-top: 0;
1802
  }
1803
- #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td{
1804
- text-align: center;
1805
- padding: 5px 0;
1806
- display: none;
1807
- }
1808
- #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td span:before{
1809
- font-family: dashicons;
1810
- vertical-align: sub;
1811
- margin-right: 5px;
1812
- font-size: 18px;
1813
- font-weight: 600;
1814
- }
1815
- #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td.csv_success_msg span:before{
1816
- content: "\f12a";
1817
- color: #59c889;
1818
- }
1819
- #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td.csv_fail_msg span:before{
1820
- content: "\f153";
1821
- color: #f44336;
1822
- }
1823
- #wc_ast_upload_csv_form .form-table .bulk_upload_status_action{
1824
- text-align:center;
1825
- }
1826
- #wc_ast_upload_csv_form .form-table .bulk_upload_status_action td{
1827
- padding: 15px 15px 0;
1828
- }
1829
  .woocommerce-help-tip.dashicons::after{
1830
  content:none;
1831
  }
1832
  .woocommerce_page_woocommerce-advanced-shipment-tracking .woocommerce-help-tip.dashicons{
1833
  font-size: 20px;
1834
  }
1835
-
1836
- .open_tracking_details{
1837
- cursor:pointer;
1838
- }
1839
-
1840
-
1841
-
1842
- img.zorem_logo {
1843
- width: 150px;
1844
- margin-top: 20px;
1845
- }
1846
- p.zorem_description {
1847
- color: #3c4858;
1848
- font-size: 16px;
1849
- }
1850
- .plugins_section.pro_plugin_section,.plugins_section.free_plugin_section {
1851
- display: flex;
1852
- flex-wrap: wrap;
1853
- }
1854
- .single_plugin {
1855
- flex-grow: 1;
1856
- padding: 20px 20px 0 0;
1857
- box-sizing: border-box;
1858
- }
1859
- .single_plugin.as-col-6:nth-child(2n){
1860
- padding-right: 0;
1861
- }
1862
- .single_plugin.as-col-4:nth-child(3n){
1863
- padding-right: 0;
1864
- }
1865
- .plugins_section.pro_plugin_section .plugin_image {
1866
- border: 1px solid #e0e0e0;
1867
- border-radius: 3px;
1868
- }
1869
- .plugins_section.pro_plugin_section .plugin_image img {
1870
- width: 100%;
1871
- border-radius: 3px;
1872
- }
1873
- .plugins_section.free_plugin_section .plugin_image{
1874
- max-width: 128px;
1875
- display: inline-block;
1876
- margin: 0 4% 0 0;
1877
- vertical-align: top;
1878
- }
1879
- .plugins_section.free_plugin_section .paid_plugin_image{
1880
- text-align: center;
1881
- margin: 0 -15px;
1882
- background: #fafafa;
1883
- border-bottom: 1px solid #e0e0e0;
1884
- padding: 15px 0;
1885
- height: 80px;
1886
- display: flex;
1887
- justify-content: center;
1888
- align-items: center;
1889
- }
1890
- .plugins_section.free_plugin_section .paid_plugin_image img{
1891
- height: 80px;
1892
- }
1893
- .plugins_section.free_plugin_section .ast_paid_plugin_image{
1894
- text-align: center;
1895
- margin: 0 -15px;
1896
- border-bottom: 1px solid #e0e0e0;
1897
- padding: 0 0 15px;
1898
- height: 45px;
1899
- display: flex;
1900
- justify-content: center;
1901
- align-items: center;
1902
- }
1903
-
1904
- .plugins_section.free_plugin_section .ast_paid_plugin_image img{
1905
- height: 35px;
1906
- }
1907
- .plugins_section.free_plugin_section .plugin_image img{
1908
- width: 100%;
1909
- }
1910
- .plugins_section.free_plugin_section .plugin_description{
1911
- width: -webkit-calc(95% - 130px);
1912
- width: calc(95% - 130px);
1913
- margin: auto;
1914
- vertical-align: top;
1915
- display: -webkit-inline-box;
1916
- -webkit-box-orient: vertical;
1917
- }
1918
- .plugins_section.free_plugin_section .plugin_description h3{
1919
- margin: 0;
1920
- }
1921
- .plugins_section.free_plugin_section .paid_plugin_description h3{
1922
- margin: 1em 0 0;
1923
- }
1924
- .plugins_section.free_plugin_section .plugin_description p{
1925
- display: -webkit-inline-box;
1926
- -webkit-line-clamp: 4;
1927
- -webkit-box-orient: vertical;
1928
- overflow: hidden;
1929
- text-overflow: ellipsis;
1930
- }
1931
- .plugins_section.free_plugin_section .single_plugin .free_plugin_inner{
1932
- border: 1px solid #e0e0e0;
1933
- border-radius: 3px;
1934
- background: #fff;
1935
- padding: 0 15px 15px;
1936
- }
1937
- .zorem_plugin_section {
1938
- border: 1px solid #e0e0e0;
1939
- margin-top: 20px;
1940
- background: #fff;
1941
- }
1942
- .addons_page_header{
1943
- padding: 20px;
1944
- border-bottom: 1px solid #e0e0e0;
1945
- }
1946
- .addons_page_header p{
1947
- margin-bottom: 0;
1948
- }
1949
- .addons_page_title{
1950
- color: #333333;
1951
- margin: 0;
1952
- font-size: 20px;
1953
- }
1954
- .zorem_plugin_container {
1955
- display: flex;
1956
- flex-wrap: wrap;
1957
- }
1958
- .zorem_single_plugin {
1959
- width: 50%;
1960
- max-width: 50%;
1961
- flex-grow: 1;
1962
- padding: 20px;
1963
- box-sizing: border-box;
1964
- border-bottom: 1px solid #e0e0e0;
1965
- }
1966
- .zorem_single_plugin:nth-child(odd) {
1967
- border-right: 1px solid #e0e0e0;
1968
- }
1969
- .zorem_single_plugin:nth-last-child(-n+2) {
1970
- border-bottom: 0;
1971
- }
1972
- .zorem_single_plugin .plugin_image {
1973
- max-width: 128px;
1974
- display: inline-block;
1975
- margin: 0 4% 0 0;
1976
- vertical-align: top;
1977
- }
1978
- .zorem_single_plugin .plugin_image img{
1979
- width: 100%;
1980
- }
1981
- .zorem_single_plugin .plugin_description {
1982
- width: -webkit-calc(95% - 130px);
1983
- width: calc(95% - 130px);
1984
- margin: auto;
1985
- vertical-align: top;
1986
- display: -webkit-inline-box;
1987
- -webkit-box-orient: vertical;
1988
- }
1989
- .zorem_single_plugin .plugin_description h3 {
1990
- margin: 0;
1991
- }
1992
- .zorem_single_plugin .plugin_description p {
1993
- display: -webkit-inline-box;
1994
- -webkit-line-clamp: 4;
1995
- -webkit-box-orient: vertical;
1996
- overflow: hidden;
1997
- text-overflow: ellipsis;
1998
- }
1999
- .addons_title_divider{
2000
- background-color: #005B9A;
2001
- height: 3px;
2002
- display: block;
2003
- margin: 0 0 30px;
2004
- width: 100%;
2005
- max-width: 30px;
2006
- }
2007
-
2008
- .zorem_admin_layout .csv_heading_section{
2009
- text-align:left;
2010
- margin-bottom: 25px;
2011
- }
2012
- .border-bottom-1{
2013
- border-bottom:1px solid #eee;
2014
- }
2015
-
2016
- /** Toggle CSS **/
2017
- input[type=checkbox].ast-tgl {
2018
- display: none;
2019
- }
2020
- .ast-tgl, .ast-tgl:after, .ast-tgl:before, .ast-tgl *, .ast-tgl *:after, .ast-tgl *:before, .ast-tgl + .ast-tgl-btn {
2021
- box-sizing: border-box;
2022
- }
2023
- .ast-tgl::-moz-selection, .ast-tgl:after::-moz-selection, .ast-tgl:before::-moz-selection, .ast-tgl *::-moz-selection, .ast-tgl *:after::-moz-selection, .ast-tgl *:before::-moz-selection, .ast-tgl + .ast-tgl-btn::-moz-selection {
2024
- background: none;
2025
- }
2026
- .ast-tgl::selection, .ast-tgl:after::selection, .ast-tgl:before::selection, .ast-tgl *::selection, .ast-tgl *:after::selection, .ast-tgl *:before::selection, .ast-tgl + .ast-tgl-btn::selection {
2027
- background: none;
2028
- }
2029
- .ast-tgl + .ast-tgl-btn {
2030
- outline: 0;
2031
- display: inline-block;
2032
- width: 36px;
2033
- height: 18px;
2034
- position: relative;
2035
- cursor: pointer;
2036
- -webkit-user-select: none;
2037
- -moz-user-select: none;
2038
- -ms-user-select: none;
2039
- user-select: none;
2040
- }
2041
- .ast-tgl + .ast-tgl-btn:after, .ast-tgl + .ast-tgl-btn:before {
2042
- position: relative;
2043
- display: block;
2044
- content: "";
2045
- width: 40%;
2046
- height: 100%;
2047
- }
2048
- .ast-tgl + .ast-tgl-btn:after {
2049
- left: 0;
2050
- }
2051
- .ast-tgl + .ast-tgl-btn:before {
2052
- display: none;
2053
- }
2054
- .ast-tgl:checked + .ast-tgl-btn:after {
2055
- left: 50%;
2056
- }
2057
- .ast-tgl-flat + .ast-tgl-btn {
2058
- padding: 2px;
2059
- -webkit-transition: all .3s ease;
2060
- transition: all .3s ease;
2061
- background: rgba(0,0,0, 0.26);
2062
- border: 1px solid #ccc;
2063
- border-radius: 2em;
2064
- }
2065
- .ast-tgl-flat:disabled + .ast-tgl-btn {
2066
- opacity: 0.5;
2067
- }
2068
- .ast-tgl-flat + .ast-tgl-btn:after {
2069
- -webkit-transition: all .2s ease;
2070
- transition: all .2s ease;
2071
- background: #f2f2f2;
2072
- content: "";
2073
- border-radius: 1em;
2074
- }
2075
- .ast-tgl-flat:checked + .ast-tgl-btn {
2076
- border: 1px solid #ccc;
2077
- background: #74C2E1;
2078
- }
2079
- .ast-tgl-flat:checked + .ast-tgl-btn:after {
2080
- left: 55%;
2081
- background: #005B9A;
2082
- }
2083
-
2084
- /** Snackbar CSS **/
2085
- @-webkit-keyframes fadein {
2086
- from {
2087
- right: 0;
2088
- opacity: 0;
2089
- }
2090
- to {
2091
- right: 20px;
2092
- opacity: 1;
2093
- }
2094
- }
2095
- @keyframes fadein {
2096
- from {
2097
- right: 0;
2098
- opacity: 0;
2099
- }
2100
- to {
2101
- right: 20px;
2102
- opacity: 1;
2103
- }
2104
- }
2105
- .snackbar-logs {
2106
- position: fixed;
2107
- z-index: 5000;
2108
- top: 95px;
2109
- right: 10px;
2110
- width: 300px;
2111
- }
2112
- .snackbar-log {
2113
- -webkit-animation: fadein 0.5s;
2114
- animation: fadein 0.5s;
2115
- }
2116
- .snackbar-log {
2117
- display: block;
2118
- margin-top: 10px;
2119
- position: relative;
2120
- right: -300px;
2121
- opacity: 0;
2122
- }
2123
- .snackbar-log-show {
2124
- right: 0;
2125
- opacity: 1;
2126
- }
2127
- .snackbar-log {
2128
- background: #3c4758;
2129
- padding: 15px;
2130
- border-radius: 4px;
2131
- color: #FFF;
2132
- }
2133
- .snackbar-log-success {
2134
- background: #3c4758;
2135
- }
2136
- .snackbar-log-error {
2137
- background: #FE1A00;
2138
- }
2139
-
2140
- /** Progress Bar CSS **/
2141
- .upload_csv_table .progress2 {
2142
- background-image: linear-gradient(to right, rgba(255,255,255, 0.7), rgba(255,255,255, 0.7)), linear-gradient(to right, rgb(63,81,181), rgb(63,81,181));
2143
- }
2144
- .upload_csv_table .progress-bar2 {
2145
- height: 30px;
2146
- transition: 0.4s linear;
2147
- transition-property: width, background-color;
2148
- }
2149
-
2150
- .upload_csv_table .progress-moved .progress-bar2 {
2151
- width: 0%;
2152
- background-color: #005b9a;
2153
- }
2154
-
2155
- /** Licensing System CSS **/
2156
- table.ast-license-form{
2157
- border: 1px solid #e0e0e0;
2158
- margin-top: 20px;
2159
- }
2160
- .ast-license-form .wp-list-table__row {
2161
- background-color: rgba(0,0,0,0);
2162
- }
2163
- .ast-license-form .wp-list-table__row td {
2164
- -webkit-box-align: center;
2165
- align-items: center;
2166
- background-color: #fff;
2167
- border: 0;
2168
- padding: 16px 20px 16px 0;
2169
- vertical-align: middle;
2170
- }
2171
- .ast-license-form .wp-list-table__row td.wp-list-table__ext-details {
2172
- padding: 26px 20px;
2173
- }
2174
- .ast-license-form .wp-list-table__ext-actions {
2175
- min-width: 150px;
2176
- position: relative;
2177
- text-align: right;
2178
- position: relative;
2179
- }
2180
- .ast-license-form .wp-list-table__ext-actions .ast_licence_key{
2181
- width: 100%;
2182
- height: 35px;
2183
- vertical-align: middle;
2184
- border: 1px solid #e0e0e0;
2185
- }
2186
- .ast-license-form .wp-list-table__row td .wp-list-table__ext-title {
2187
- color: #005b9a;
2188
- font-size: 15px;
2189
- line-height: 25px;
2190
- font-weight: 600;
2191
- }
2192
- .ast-license-form .wp-list-table__row td .wp-list-table__ext-description {
2193
- color: #333;
2194
- padding-left: 0;
2195
- display: inline-block;
2196
- width: calc(100% - 110px);
2197
- }
2198
- .ast_admin_content .ast-license-form div.submit{
2199
- margin: 0;
2200
- display: inline-block;
2201
- }
2202
- .ast_admin_content .ast-license-form div.submit .pesan{
2203
- display:none;
2204
- margin-bottom: 0;
2205
- position: absolute;
2206
- width: 100%;
2207
- left: 0;
2208
- text-align: left;
2209
- }
2210
- .ast_admin_content .ast-license-form div.submit .button-primary{
2211
- vertical-align: middle;
2212
- }
2213
- .tab_inner_container.center{
2214
- max-width: 930px;
2215
- margin: 0 auto;
2216
- display: block;
2217
- }
2218
- .woocommerce.zorem_admin_layout .border_0 table.form-table.settings-form-table .order-status-table td{
2219
- border: 0;
2220
- }
2221
- .woocommerce.zorem_admin_layout .border_0 table.form-table.settings-form-table .order-status-table td:first-child{
2222
- border-right: 1px solid #e0e0e0;
2223
- }
2224
- a.view_csv_error_details {
2225
- margin-left: 10px;
2226
- }
2227
- .woocommerce.zorem_admin_layout table.form-table tr.bulk_upload_status_detail_error_tr{
2228
- display: none;
2229
- }
2230
- .woocommerce.zorem_admin_layout table.form-table tr.bulk_upload_status_detail_error_tr td {
2231
- padding-top: 0;
2232
- text-align: center;
2233
- }
2234
- ul.csv_error_details_ul {
2235
- text-align: center;
2236
- display: inline-block;
2237
- margin-top: 5px;
2238
- }
2239
- ul.csv_error_details_ul li {
2240
- border-bottom: 1px solid #eeee;
2241
- padding: 0 0 5px;
2242
- }
2243
- ul.csv_error_details_ul li:before{
2244
- font-family: dashicons;
2245
- vertical-align: sub;
2246
- margin-right: 5px;
2247
- font-size: 18px;
2248
- font-weight: 600;
2249
- content: "\f153";
2250
- color: #f44336;
2251
- }
2252
- .provider_message{
2253
- padding-left: 10px;
2254
- }
2255
- .wp-core-ui .button-primary.add_custom_provider{
2256
- margin-left: 10px;
2257
- }
2258
- .popupwrapper input[type=text].api_provider_name{
2259
- margin-bottom: 5px;
2260
- }
2261
- .woocommerce_page_woocommerce-advanced-shipment-tracking .popupwrapper .add_more_api_provider{
2262
- vertical-align: text-top;
2263
- cursor: pointer;
2264
- color: #005b9a;
2265
- font-size: 25px;
2266
- height: 25px;
2267
- width: 25px;
2268
- }
2269
- .popupwrapper .remove_more_api_provider {
2270
- vertical-align: middle;
2271
- cursor: pointer;
2272
- margin-left: 3px;
2273
- color: red;
2274
- font-size: 25px;
2275
- height: 25px;
2276
- width: 25px;
2277
- }
2278
-
2279
- .ast-row {
2280
- -js-display: flex;
2281
- display: -ms-flexbox;
2282
- display: flex;
2283
- -ms-flex-flow: row wrap;
2284
- flex-flow: row wrap;
2285
- padding: 0 15px;
2286
- align-items: center;
2287
- justify-content: center;
2288
- }
2289
- .as-col-4 {
2290
- max-width: 33.33%;
2291
- -ms-flex-preferred-size: 33.33%;
2292
- flex-basis: 33.33%;
2293
- }
2294
- .as-col-6 {
2295
- max-width: 50%;
2296
- -ms-flex-preferred-size: 50%;
2297
- flex-basis: 50%;
2298
- }
2299
- .as-col-8 {
2300
- max-width: 66%;
2301
- -ms-flex-preferred-size: 66%;
2302
- flex-basis: 66%;
2303
- }
2304
- .ast_pro_landing_header {
2305
- font-size: 20px;
2306
- line-height: 25px;
2307
- margin: 0;
2308
- font-weight: 500;
2309
  }
2310
- .trackship_addon_section{
2311
  background: #fff;
2312
- border: 1px solid #e0e0e0;
2313
- padding: 25px 20px;
2314
- margin: 20px 0 0;
2315
- }
2316
- .ast_ts_landing_banner{
2317
- max-width: 400px;
2318
- }
2319
- .ast_ts_landing_banner img{
2320
- width: 100%;
2321
- }
2322
- .ts_addon_logo_section img{
2323
- max-width: 150px;
2324
- }
2325
- .paid_plugin_description p{
2326
- display: -webkit-inline-box;
2327
- -webkit-line-clamp: 3;
2328
- -webkit-box-orient: vertical;
2329
- overflow: hidden;
2330
- text-overflow: ellipsis;
2331
- }
2332
- .ast_pro_features_list{
2333
- margin: 20px 0;
2334
- }
2335
- .ast_pro_features_list li{
2336
- margin: 0 0 10px;
2337
- padding: 0 0 0 30px;
2338
- line-height: 20px;
2339
- position: relative;
2340
- }
2341
- .ast_pro_features_list li:before{
2342
- content: "\f147";
2343
- font-family: dashicons;
2344
- font-size: 28px;
2345
- vertical-align: middle;
2346
- color: #3bc4e4;
2347
- padding-right: 5px;
2348
- position: absolute;
2349
- left: 0;
2350
- top: 3px;
2351
- }
2352
-
2353
- .multiple_select_container {
2354
- display: inline-block;
2355
- }
2356
- .multiple_select_container .select2-container{
2357
- width: 500px !important;
2358
- }
2359
- .multiple_select_container .select2-container .select2-selection--multiple .select2-selection__choice{
2360
- line-height: 21px;
2361
- height: 23px;
2362
  }
2363
- .multiple_select_container .select2-container .select2-search__field{
2364
- min-width: 50px;
2365
  }
2366
- .wc-wp-version-gte-53 .multiple_select_container .select2-container .select2-selection--multiple{
2367
- border-color: #e0e0e0;
2368
- }
2369
- .popupwrapper input[type=text].api_provider_name {
2370
- width: calc(100% - 33px);
2371
- }
2372
- .ui-datepicker{
2373
- z-index: 1000000 !important;
2374
- }
2375
-
2376
- /** Integration Panel CSS ***/
2377
- .integration-grid-row {
2378
- display: flex;
2379
- flex-flow: row wrap;
2380
- justify-content: flex-start;
2381
- border-top: 1px solid #e0e0e0;
2382
- padding-top: 5px;
2383
- }
2384
- .integration-grid-row .grid-item {
2385
- flex-basis: 20%;
2386
- -ms-flex: auto;
2387
- width: 250px;
2388
- position: relative;
2389
- padding: 10px 15px 10px 0;
2390
- box-sizing: border-box;
2391
- }
2392
- .integration-grid-row .grid-item-wrapper {
2393
- border: 1px solid #e0e0e0;
2394
- text-align:center;
2395
  }
2396
- .integration-grid-row .grid-item-wrapper img {
2397
- width: 85%;
2398
- padding: 15px 0;
2399
  }
2400
- .integration-grid-row .grid-img-bottom {
2401
- border-top: 1px solid #e0e0e0;
2402
- padding: 10px;
2403
- text-align:left;
2404
  }
2405
- .integration-grid-row .integration-more-info{
2406
- float: right;
2407
- color: #005b9a;
2408
- cursor: pointer;
2409
- text-decoration: none;
2410
  }
2411
- @media(max-width: 1333px) {
2412
- .integration-grid-row .grid-item {
2413
- flex-basis: 33.33%;
2414
- }
2415
  }
2416
-
2417
- @media(max-width: 1073px) {
2418
- .integration-grid-row .grid-item {
2419
- flex-basis: 33.33%;
2420
- }
2421
  }
2422
-
2423
- @media(max-width: 815px) {
2424
- .integration-grid-row .grid-item {
2425
- flex-basis: 50%;
2426
- }
2427
  }
2428
-
2429
- @media(max-width: 555px) {
2430
- .integration-grid-row .grid-item {
2431
- flex-basis: 100%;
2432
- }
2433
  }
2434
- /** End CSS ***/
2435
-
2436
- .upgrade_to_pro_popup .popuprow{
2437
- max-width: 400px;
2438
  }
2439
- .upgrade_title{
2440
- font-size: 26px;
2441
- font-weight: 700;
2442
- text-align: center;
2443
- margin: 10px 0 30px;
2444
- color: #3c4758;
2445
  }
2446
- .wp-core-ui .upgrade_to_pro_popup .btn_large{
2447
- font-weight: 600;
2448
- font-size: 18px;
2449
- width: 100%;
2450
- text-align: center;
2451
- height: 50px;
2452
- line-height: 47px;
2453
  }
2454
-
2455
- /*** RTL CSS ***/
2456
- .rtl .tabs_submit{
2457
- left: 20px;
2458
- right: auto;
2459
- }
2460
- .rtl .zorem-layout__header .zorem-layout__header-breadcrumbs{
2461
- padding: 0 30px 0 0;
2462
- }
2463
- .rtl.shipment_tracking_admin_settings #wpcontent {
2464
- padding-right: 0;
2465
- }
2466
- .rtl label.tab_label.first_label{
2467
- margin-right: 30px;
2468
- margin-left: 0;
2469
  }
2470
  .rtl #search_provider{
2471
  padding-left:0;
2472
  padding-right: 30px;
2473
  }
2474
  .rtl .provider_settings{
2475
- margin-left:0;
2476
- margin-right: 11px;
2477
- }
2478
- .rtl .paging.shipping_provider_paging {
2479
- float: left;
2480
- }
2481
- .rtl table.wp-list-table img.provider-thumb {
2482
- margin: 1px 1px 1px 10px;
2483
- }
2484
- .rtl .ast_admin_content table.form-table.upload_csv_table tr td{
2485
- text-align: right;
2486
- }
2487
- .rtl .popupwrapper .popuprow .popup_title, .rtl .trackingpopup_wrapper .trackingpopup_row .popup_title{
2488
- text-align: right;
2489
- }
2490
- .rtl .popupclose_btn{
2491
- right: auto;
2492
- left: 20px;
2493
- }
2494
- .rtl .popupwrapper .popuprow .button-primary, .rtl .trackingpopup_wrapper .trackingpopup_row .button-primary{
2495
- float: right;
2496
- }
2497
- .rtl a.reset_default_provider{
2498
- float: right;
2499
- margin-right: 10px;
2500
- line-height: 37px;
2501
- }
2502
- .rtl .popupwrapper .popuprow p{
2503
- text-align: right;
2504
- }
2505
- .rtl .popupwrapper .popuprow .reset_db_fieldset{
2506
- text-align: right;
2507
- }
2508
- .rtl .trackingpopup_wrapper .trackingpopup_row p{
2509
- text-align: right;
2510
- }
2511
- .rtl .trackingpopup_wrapper .trackingpopup_row .ast_tracking_item_div{
2512
- text-align:right;
2513
- }
2514
- .rtl .trackingpopup_wrapper .trackingpopup_row .add_tracking_number_form .form-field{
2515
- text-align: right;
2516
  }
2517
- .rtl .trackingpopup_wrapper .trackingpopup_row .add_tracking_number_form input[type=checkbox] {
2518
- margin: 0px 0 0 4px;
2519
  }
2520
- .rtl input.tab_input:checked + label, .rtl input.inner_tab_input:checked + label{
2521
- margin-bottom: 0px;
2522
- }
2523
- .rtl .order-status-table td:last-child{
2524
- text-align: left;
2525
- }
2526
- .rtl #content_tab_addons .single_plugin{
2527
- text-align: left;
2528
- }
2529
- .rtl .zorem_admin_layout .csv_heading_section{
2530
- text-align: right;
2531
- }
2532
- .rtl .select_t_layout_section{
2533
- margin-right: 0;
2534
- margin-left: 10px;
2535
- }
2536
- .rtl .ast-tgl-flat:checked + .rtl .ast-tgl-btn:after {
2537
- left: 55%;
2538
- }
2539
- .rtl .ast-tgl + .ast-tgl-btn:after{
2540
- right:0;
2541
- }
2542
- .rtl .woocommerce.zorem_admin_layout table.form-table.settings-form-table th.titledesc{
2543
- padding: 20px 0 20px 20px;
2544
- }
2545
- .rtl .single_plugin{
2546
- padding: 20px 0 0 20px;
2547
- }
2548
- .rtl .single_plugin.as-col-4:nth-child(3n) {
2549
- padding-left: 0;
2550
- }
2551
- .rtl .single_plugin.as-col-6:nth-child(2n){
2552
- padding-left: 0;
2553
- }
2554
- .rtl .ast-license-form .wp-list-table__row td{
2555
- padding: 16px 0 16px 20px;
2556
- }
2557
- .rtl .ast-license-form .wp-list-table__row td.wp-list-table__ext-details{
2558
- padding: 26px 20px;
2559
- }
2560
- .rtl .ast-license-form .wp-list-table__ext-actions{
2561
- text-align: left;
2562
- }
2563
- .rtl.wp-core-ui .btn_large .dashicons{
2564
  margin-right: 5px;
2565
- margin-left: auto;
2566
  }
2567
- .rtl .ast-license-form .wp-list-table__row td .wp-list-table__ext-description{
2568
- padding-left: 0;
2569
- padding-right: 12px;
2570
  }
2571
- .rtl .settings_ul_submit {
2572
- text-align: left;
2573
  }
2574
- .rtl.wp-core-ui .launch_customizer_btn {
2575
- float: left;
 
 
2576
  }
2577
- .rtl .status_shipped_label{
2578
- text-align:right !important;
 
2579
  }
2580
- .rtl .wp-core-ui .launch_customizer_btn{
2581
  float: left;
2582
  }
2583
- .rtl table.provder_table td:first-child{
2584
- border-right: 1px solid #e0e0e0;
2585
- border-left: 0;
2586
- }
2587
- .rtl table.provder_table td:last-child{
2588
- border-right: 0;
2589
- border-left: 1px solid #e0e0e0;
2590
- }
2591
- .rtl .zorem_single_plugin:nth-child(odd) {
2592
- border-right: 0;
2593
- border-left: 1px solid #e0e0e0;
2594
- }
2595
- .rtl .zorem_single_plugin .plugin_image{
2596
- margin: 0 0 0 4%;
2597
- }
2598
- .rtl .zorem-layout__header .zorem-layout__docs-panel{
2599
- padding: 0 0 0 30px;
2600
- }
2601
- .rtl .order-status-table td:last-child{
2602
- text-align:left;
2603
- }
2604
- .rtl .woocommerce.zorem_admin_layout table.form-table.order-status-table td:first-child{
2605
- padding: 20px 0 20px 15px;
2606
  }
2607
- .rtl .woocommerce-layout__activity-panel-wrapper{
2608
- left: 0;
2609
- right: auto;
2610
  }
2611
 
 
 
 
 
 
 
2612
  @media screen and (min-width: 768px) and (max-width: 1269px) {
 
 
 
 
 
 
 
2613
  .provider-thumb {
2614
  height: 40px;
2615
  }
 
 
 
2616
  span.provider_name {
2617
  font-size: 12px;
2618
- }
2619
- }
2620
- @media screen and (max-width: 1070px) {
2621
- .order-status-table td:last-child {
2622
- text-align: left;
2623
- }
2624
- a.settings_edit {
2625
- line-height: 30px;
2626
- }
2627
- .form-table.order-status-table td .send_email_label {
2628
- line-height: 30px;
2629
  }
2630
  }
2631
- @media screen and (max-width: 820px) {
2632
- .woocommerce.zorem_admin_layout table.form-table.heading-table td{
2633
- display: table-cell;
 
 
2634
  }
2635
- .multiple_checkbox_label{
2636
- width: 100%;
 
 
 
2637
  }
2638
- .multiple_checkbox_description{
2639
- max-width: 100%;
2640
  }
2641
- .multiple_checkbox_parent{
 
 
 
2642
  width: 100%;
2643
- margin-top: 10px;
2644
- }
2645
- .wp-core-ui .launch_customizer_btn {
2646
- float: none;
2647
  }
2648
  }
2649
- @media screen and (max-width: 768px) {
2650
  .provider{
2651
  width: 33.3%;
2652
  }
2653
  .search_section .search-icon{
2654
  padding: 8px 5px;
2655
- }
 
 
 
 
 
 
 
 
2656
  .status_filter{
2657
  width: auto;
2658
- }
 
 
 
 
 
 
2659
  table.provder_table td:nth-last-child(2) {
2660
  text-align: left;
2661
  }
@@ -2663,55 +2480,23 @@ ul.csv_error_details_ul li:before{
2663
  width: 100%;
2664
  margin: 0 0 5px;
2665
  }
2666
- .single_plugin{
2667
- width: 100%;
2668
- max-width: 100%
2669
- }
2670
- .plugins_section.free_plugin_section .single_plugin{
2671
- width: 100%;
2672
- max-width: 100%
2673
- }
2674
-
2675
- .zorem-layout__header .zorem-layout__header-breadcrumbs{
2676
- padding: 0 0 0 20px;
2677
- }
2678
- .settings_ul .settings_radio_li .radio_section{
2679
- padding: 0;
2680
- margin-top: 10px;
2681
- display: block;
2682
- }
2683
- .woocommerce.zorem_admin_layout table.form-table.order-status-table td{
2684
- padding: 12px 15px !important;
2685
- }
2686
- .woocommerce.zorem_admin_layout table.form-table.order-status-table td:first-child{
2687
- width: auto;
2688
- }
2689
- .order-status-table tr td.status-label-column{
2690
- width: auto;
2691
- }
2692
- .order-status-table td:last-child {
2693
- text-align: unset;
2694
- }
2695
- .woocommerce.zorem_admin_layout table.form-table.order-status-table select{
2696
- margin: 15px 0;
2697
- }
2698
- .ast_admin_content table.form-table.upload_csv_table th{
2699
- width: auto;
2700
- }
2701
- .addons_page_dtable{
2702
- padding: 0 10px;
2703
  }
2704
- .zorem_single_plugin{
2705
  width: 100%;
2706
- max-width: 100%;
2707
  }
2708
- .single_plugin:nth-child(2n){
2709
- padding-right: 20px;
2710
- }
2711
- .tab_inner_container{
2712
- padding: 0 10px;
2713
  }
2714
  }
 
 
 
 
 
2715
  @media screen and (min-width: 1300px){
2716
  content .woocommerce-progress-form-wrapper {
2717
  max-width: 60%;
1
  /* fallback */
2
+ @font-face {
3
+ font-family: 'Material Icons';
4
+ font-style: normal;
5
+ font-weight: 400;
6
+ src: url(https://fonts.gstatic.com/s/materialicons/v43/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
7
+ }
8
+ .material-icons {
9
+ font-family: 'Material Icons';
10
+ font-weight: normal;
11
+ font-style: normal;
12
+ font-size: 24px;
13
+ line-height: 1;
14
+ letter-spacing: normal;
15
+ text-transform: none;
16
+ display: inline-block;
17
+ white-space: nowrap;
18
+ word-wrap: normal;
19
+ direction: ltr;
20
+ -webkit-font-feature-settings: 'liga';
21
+ -webkit-font-smoothing: antialiased;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  }
23
  #woocommerce-advanced-shipment-tracking .inside {
24
+ padding: 12px;
25
  margin: 0
26
  }
27
+ #woocommerce-advanced-shipment-tracking .button-show-form {
28
+ margin: 0
29
  }
30
  #woocommerce-advanced-shipment-tracking #shipment-tracking-form {
31
  display: none
37
  width: 100%
38
  }
39
  #woocommerce-advanced-shipment-tracking input[type=checkbox]{
40
+ margin: 0px 4px 0 0px;
41
+ }
42
+ #woocommerce-advanced-shipment-tracking .ast-product-table input[type=checkbox]{
43
+ margin: 0px 4px 0 4px;
44
  }
45
  #woocommerce-advanced-shipment-tracking #change_order_to_shipped_field{
46
  margin: 0px 4px 0 4px;
71
  position: relative;
72
  margin: 0
73
  }
 
 
 
74
  #woocommerce-advanced-shipment-tracking .tracking-content:after {
75
  content: "";
76
  display: block;
84
  border-color: #efefef transparent
85
  }
86
  section.tab_section {
87
+ display: none;
88
+ padding: 0 30px 30px;
89
+ border-top: 1px solid #ddd;
 
 
 
 
 
90
  }
91
  section.inner_tab_section {
92
  display: none;
93
+ }
94
+ section.tpage_section{
95
+ display: none;
96
  }
97
  input.tab_input,input.inner_tab_input {
98
  display: none;
99
  }
100
  label.tab_label {
101
  text-decoration: none;
102
+ padding: 17px 0 15px;
103
  font-size: 14px;
104
  color: #005b9a;
105
  display: inline-block;
106
+ margin-left: 30px;
107
  line-height: 1;
108
  outline: none;
 
 
 
 
 
109
  }
110
  label.inner_tab_label {
111
  text-decoration: none;
112
+ padding: 15px 0 5px;
113
+ font-size: 13px;
114
  color: #005b9a;
115
+ display: inline-block;
116
+ margin-right: 15px;
117
  line-height: 1;
118
  outline: none;
 
 
 
 
 
 
 
 
 
 
 
119
  }
120
  label.tab_label:hover {
121
+ color: #74C2E1;
122
  cursor: pointer;
123
  }
124
+ input.tab_input:checked + label,input.inner_tab_input:checked + label {
125
+ color: #74C2E1;
126
+ border-bottom: 2px solid #74C2E1;
127
+ margin-bottom: -1px;
 
 
 
 
 
128
  }
129
  input.tab_input_1 {
130
  display: none;
140
  }
141
  .tab_inner_container {
142
  padding: 0;
143
+ display: table-cell;
144
+ vertical-align: top;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  }
146
+ #wc_ast_trackship_form {
147
+ border-top: 1px solid #eee;
 
148
  }
149
  .tab_inner_container h4 {
150
  margin-top: 0;
151
  }
152
+ #tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4, #tab5:checked ~ #content5, #tab6:checked ~ #content6, #tab7:checked ~ #content7, #tab8:checked ~ #content8, #tab9:checked ~ #content9, #tab10:checked ~ #content10,#tab_trackship_dashboard:checked ~ #wc_ast_trackship_form #content_trackship_dashboard,#tab_tracking_page:checked ~ #wc_ast_trackship_form #content_tracking_page,#tab_status_notifications:checked ~ #wc_ast_trackship_form #content_status_notifications,#tab_tools:checked ~ #wc_ast_trackship_form #content_tools {
153
+ display: block;
154
  }
155
+ .shipping_add_field {
156
+ width: 300px;
157
  }
158
+
159
  .ast_admin_content {
160
+ width: 100%;
161
+ vertical-align: top;
162
+ border-top: 1px solid #ddd;
163
  }
164
+ .zorem_admin_sidebar {
165
+ width: 280px;
166
+ display: table-cell;
167
+ vertical-align: top;
168
+ padding: 25px 0px 25px 20px;
169
  }
170
+ .zorem_admin_sidebar_inner {
171
+ border-left: 1px solid #eee;
172
+ padding-left: 20px;
173
  }
174
+ .zorem_admin_layout .zorem_admin_sidebar h3{
175
+ margin: 0 0 5px 0;
176
+ color: #005B9A;
177
+ border-bottom: 1px solid #eee;
178
+ padding: 0 0 10px;
179
+ }
180
+ .zorem_admin_layout .zorem_admin_sidebar h3.top-border{
181
+ padding: 10px 0 10px;
182
+ }
183
+ .zorem_admin_layout .zorem_admin_sidebar p,.zorem_admin_layout .zorem_admin_sidebar a{
184
+ margin: 0px 10px 0 0;
185
+ }
186
+ .zorem-sidebar-title {
187
+ padding: 10px 0;
188
+ border-bottom: 1px solid #1ead94;
189
+ color: #1ead94;
190
+ line-height: 15px;
191
+ }
192
+ .zorem-sidebar__section {
193
+ margin-bottom: 20px;
194
+ }
195
+ ..zorem-sidebar__section li:before {
196
+ position: absolute;
197
+ left: 0;
198
+ font-weight: 700;
199
+ }
200
+ .zorem-sidebar__section ul {
201
+ position: relative;
202
+ margin: 10px 0 10px 0;
203
+ }
204
+ .zorem-sidebar__section li {
205
+ list-style: none;
206
+ margin-bottom: 10px;
207
+ }
208
+ .zorem-sidebar__section li img.plugin_thumbnail {
209
+ width: 60px;
210
+ display: inline-block;
211
+ }
212
+ .zorem-sidebar__section li a.plugin_url {
213
+ width: 70%;
214
+ vertical-align: middle;
215
  display: inline-block;
216
+ margin-left: 10px;
217
+ margin-right: 0;
218
+ line-height: 20px;
219
+ }
220
+ .zorem-sidebar__section div a {
221
+ color: #0085ba;
222
+ }
223
+ .sidebar_addon_inner {
224
+ border: 1px solid #e9e9e9;
225
+ padding: 0;
226
+ margin-top: 10px;
227
+ }
228
+ .sidebar_addon_logo{
229
+ max-width: 100%;
230
+ }
231
+ .addon_button_div {
232
+ padding: 10px 15px;
233
+ border-top: 1px solid #e9e9e9;
234
+ background-color: #fff;
235
+ }
236
+ .addon_widget_button .dashicons{
237
+ vertical-align:middle;
238
+ }
239
+ .wcast_shipping_country {
240
+ max-width: 100%;
241
+ width: 100%;
242
+ }
243
+ .spinner.active {
244
+ visibility: visible;
245
  }
246
+ .success_msg {
247
  border-left: 3px solid;
248
  border-color: green;
249
  background: #fff;
257
  .ast_admin_content .form-table th.titledesc {
258
  width: 40%;
259
  }
260
+ .ast_admin_content .form-table.table-layout-2 th.titledesc {
261
+ width: 2.5%;
262
+ border-right:1px solid #eee;
 
 
263
  }
264
+ .ast_admin_content .trackship_status_section .form-table th.titledesc{
265
+ width: 20%;
266
+ padding: 10px 24px 10px 15px;
267
  }
268
+ .woocommerce.zorem_admin_layout .trackship_status_section table.form-table td {
269
+ padding: 10px 15px;
270
  }
271
  .woocommerce .ast_admin_content table.form-table th label .woocommerce-help-tip{
272
  margin: -4px 0 0 5px;
273
  position: relative;
274
  font-size: 21px;
275
  }
276
+ .woocommerce.zorem_admin_layout table.form-table th.th_80 {
277
+ width: 80%;
278
+ }
279
+ .ast_admin_content .form-table .th_20 {
280
+ width: 20%;
281
+ }
282
 
283
  .woocommerce .ast_admin_content table.form-table select{
284
  width: 100%;
290
  #wc_ast_status_label_color,#wc_ast_status_partial_shipped_label_color,#wc_ast_status_updated_tracking_label_color,#wc_ast_select_primary_color,#wc_ast_select_border_color,#wc_ast_shipped_status_label_color {
291
  width: 80px;
292
  }
293
+ .color_field input[type=text] {
294
+ width: 80px !important;
 
 
 
 
 
295
  }
296
+
297
+ thead .mdl-list__item-secondary-action {
298
+ margin-right: 9px;
 
 
 
 
299
  }
300
+
301
+ #demo-toast-example.mdl-snackbar {
302
+ background: #83bd31;
303
+ z-index: 100000;
304
+ bottom: 10px;
305
+ }
306
+ #demo-toast-example .mdl-snackbar__text {
307
+ float: unset;
308
+ width: 100%;
309
+ text-align: center;
310
+ }
311
+ #demo-toast-example .mdl-snackbar__action {
312
+ display: none;
313
  }
314
+
315
+ .wp-core-ui .btn_green {
316
+ background: rgb(35, 54, 152);
317
+ text-shadow: none;
318
+ border-color: rgb(35, 54, 152);
319
+ box-shadow: none;
320
+ font-size: 14px;
321
+ line-height: 30px;
322
+ height: 35px;
323
+ padding: 0 20px;
324
  }
325
  .wp-core-ui .btn_green2 {
326
+ background: #83bd31;
327
+ text-shadow: none;
328
+ border-color: #83bd31;
329
+ box-shadow: none;
330
+ font-size: 14px;
331
+ line-height: 32px;
332
+ height: 35px;
333
+ padding: 0 20px;
334
+ }
335
+ .wp-core-ui .btn_ast1{
336
+ background: #74C2E1;
337
  text-shadow: none;
338
+ border-color: #74C2E1;
339
  box-shadow: none;
340
  font-size: 14px;
341
  line-height: 32px;
342
  height: 35px;
343
+ padding: 0 20px;
344
  }
345
  .wp-core-ui .btn_ast2{
346
  background: #005B9A;
350
  font-size: 14px;
351
  line-height: 32px;
352
  height: 35px;
353
+ padding: 0 20px;
 
 
 
354
  }
 
355
  .wp-core-ui .btn_red {
356
  background: red;
357
  text-shadow: none;
361
  line-height: 30px;
362
  height: 35px;
363
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  .wp-core-ui .btn_large {
365
  line-height: 36px;
366
  height: 40px;
367
  padding: 0 20px;
368
  font-size: 15px;
369
  }
370
+ .wp-core-ui .btn_large .dashicons{
 
 
 
 
 
 
 
 
 
371
  vertical-align: middle;
372
+ margin-left: 5px;
 
 
 
 
373
  }
374
  .wp-core-ui .btn_red:hover, .wp-core-ui .btn_red:focus {
375
  background: red;
385
  text-shadow: none;
386
  box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
387
  }
388
+ .wp-core-ui .btn_ast1:hover, .wp-core-ui .btn_ast1:focus {
389
+ background: #74C2E1;
390
  border-color: rgba(0,0,0,0.05);
391
  color: #fff;
392
  text-shadow: none;
393
  box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
394
  }
395
+ .wp-core-ui .btn_ast2:hover, .wp-core-ui .btn_ast2:focus {
396
+ background: #005B9A;
397
+ border-color: rgba(0,0,0,0.05);
398
+ color: #fff;
399
  text-shadow: none;
400
+ box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
401
  }
402
+ .wp-core-ui .btn_green2:hover, .wp-core-ui .btn_green2:focus {
403
+ background: rgba(131, 189, 49, 0.8);
404
+ border-color: rgba(131, 189, 49, 0.8);
405
+ color: #fff;
406
  text-shadow: none;
407
+ box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
408
  }
409
  .shipment_tracking_admin_settings.wp-core-ui .button-primary:disabled{
410
  color: #fff!important;
415
 
416
  #wc_ast_upload_csv_form .mdl-progress {
417
  width: 100%;
418
+ margin-top: 10px;
419
+ height: 20px;
 
 
 
 
420
  }
421
+ .csv_upload_status {
422
+ margin-left: 1em;
 
 
 
 
 
 
423
  }
424
+ .csv_upload_status li.success {
425
+ color: green;
 
426
  }
427
+ .csv_upload_status li.error {
428
+ color: red;
 
 
429
  }
430
  .form-table td p{
431
  margin: 0;
432
  }
433
+ #wc_ast_settings_form .form-table tr,#wc_ast_trackship_form .form-table tr,#wc_ast_upload_csv_form .form-table tr,#wc_ast_addons_form .form-table tr{
434
+ border-bottom: 1px solid #eee;
435
+ }
436
+ #wc_ast_settings_form .form-table tr:first-child,#wc_ast_trackship_form .form-table tr:first-child,#wc_ast_upload_csv_form .form-table tr:first-child,#wc_ast_addons_form .form-table tr:first-child{
437
+ border-top: 1px solid #eee;
438
+ }
439
+ #wc_ast_addons_form .license_div .form-table tr:first-child{
440
  border-top: 0;
441
  }
442
  #wc_ast_trackship_form .trackship_status_section .form-table tr{
451
  #wc_ast_settings_form .form-table tr.multiple_checkbox_title_tr th{
452
  padding-bottom: 0;
453
  }
454
+ input#wc_ast_api_key {
455
+ width: 260px;
456
+ }
457
+ .api_connected {
458
+ color: #83bd31;
459
+ text-decoration:none;
460
+ font-weight: 800;
461
+ font-size: 15px;
462
+ margin-top: 5px;
463
+ display: block;
464
+ padding-left: 20px;
465
+ }
466
+ ul.trackship_dashboard_ul {
467
+ margin: 0;
468
+ }
469
+ ul.trackship_dashboard_ul li {
470
+ width: 32%;
471
+ display: inline-block;
472
+ margin: 0 5px 0 0;
473
+ border: 1px solid #eee;
474
+ text-align: left;
475
+ padding: 10px 0;
476
+ background: #eaf8fb;
477
+ -webkit-box-shadow: 0 1px 3px -2px rgba(234,248,251,.12), 0 1px 2px rgba(234,248,251,.24);
478
+ -moz-box-shadow: 0 1px 3px -2px rgba(234,248,251,.12), 0 1px 2px rgba(234,248,251,.24);
479
+ box-shadow: 0 1px 3px -2px rgba(234,248,251,.12), 0 1px 2px rgba(234,248,251,.24);
480
+ }
481
+ ul.trackship_dashboard_ul li label {
482
+ padding-left: 20px;
483
+ }
484
+ ul.trackship_dashboard_ul li strong{
485
+ font-weight: 800;
486
+ font-size: 15px;
487
+ display: block;
488
+ margin-top: 5px;
489
+ padding-left: 20px;
490
+ }
491
+ .trackship_doc_div {
492
+ margin-top: 25px;
493
+ }
494
+ .api_connected .dashicons{
495
+ height: 18px;
496
+ width: 18px;
497
+ }
498
+ .ac-container {
499
+ margin: 0 auto 30px auto;
500
+ text-align: left;
501
+ display: table;
502
+ width: 100%;
503
+ table-layout: fixed;
504
+ }
505
+ .ac-container .headig_label {
506
+ padding: 15px 20px 15px 60px;
507
+ margin-bottom: 0;
508
+ position: relative;
509
+ display: block;
510
+ cursor: default;
511
+ color: #777;
512
+ text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
513
+ font-size: 14px;
514
+ border-bottom: 1px solid #eee;
515
+ }
516
+ .email_heading{
517
+ font-size: 14px!important;
518
+ font-weight: 600;
519
+ text-decoration: none;
520
+ line-height: 20px;
521
+ }
522
+ .email_heading:focus,.email_heading:hover{
523
+ outline:none;
524
+ box-shadow: none;
525
+ }
526
+ .ac-container .headig_label.enable {
527
+ background: #ffffff;
528
+ }
529
+ .ac-container .headig_label.disable {
530
+ background: #f9f9f9;
531
+ }
532
+
533
+ .ac-container input.accordion-radio {
534
+ display: none;
535
+ }
536
+ .ac-container article {
537
+ background: rgba(255, 255, 255, 0.5);
538
+ margin-top: -1px;
539
+ overflow: hidden;
540
+ height: 0px;
541
+ position: relative;
542
+ z-index: 10;
543
+ -webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
544
+ -moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
545
+ -o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
546
+ -ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
547
+ transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
548
+ }
549
+ .ac-container article table.form-table {
550
+ width: 65%;
551
+ float: left;
552
+ }
553
+ .ac-container article .variable_div {
554
+ width: 30%;
555
+ float: right;
556
+ }
557
+ .ac-container input:checked ~ article {
558
+ -webkit-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
559
+ -moz-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
560
+ -o-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
561
+ -ms-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
562
+ transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
563
+ box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3);
564
+ }
565
+ .ac-container input:checked ~ article.ac-small {
566
+ height: 930px;
567
+ overflow: auto;
568
+ }
569
+ .ac-container table.form-table td input[type=text] {
570
+ width: 100%;
571
+ }
572
+ .ac-container table.form-table td select {
573
+ width: 100%;
574
+ }
575
+ .ac-container table.form-table td textarea {
576
+ width: 100%;
577
+ height: 150px;
578
+ }
579
+ .ac-container table.form-table th {
580
+ padding-left: 24px;
581
+ }
582
 
583
+ .mdl-switch.is-checked .mdl-switch__track {
584
+ background: #74C2E1 !important;
585
+ }
586
+ .mdl-switch__ripple-container .mdl-ripple {
587
+ background: #005B9A !important;
588
+ }
589
+ .mdl-switch.is-checked .mdl-switch__thumb {
590
+ background: #005B9A !important;
591
+ }
592
+ span.email_status_span i {
593
+ vertical-align: middle;
594
+ cursor:default;
595
+ line-height: 1.5;
596
+ }
597
+ span.email_status_span i:hover,span.email_status_span i:focus{
598
+ outline:none;
599
+ }
600
+ span.email_status_span i.enable {
601
+ color: #83bd31;
602
+ }
603
  .tracking-content-div{
604
  margin-bottom: 5px;
605
  }
615
  .ast-shipment-status i {
616
  font-size: 18px;
617
  }
618
+ .label_content {
619
+ font-weight: 600;
620
+ padding: 12px;
621
+ }
622
+ .ac-container article .variable_div.variable_before_content {
623
+ display: none;
624
+ }
625
+ .wcast-shipment-status-icon {
626
+ float: left;
627
+ margin-bottom: 1px;
628
+ margin-right: 10px;
629
+ }
630
+ .wcast-shipment-status-icon span{
631
+ margin-top: 0px;
632
+ display: inline-block;
633
+ }
634
+ .wcast-shipment-status-icon .icon-invalid_user_key:before{
635
+ content: ' ';
636
+ background-image: url(icons/invalid-user-key-v4.png);
637
  width: 16px;
638
  height: 16px;
639
  background-size: cover;
640
  display: inline-block;
641
+ vertical-align: middle;
642
  }
643
+ .wcast-shipment-status-icon .icon-delivered:before{
644
+ content: ' ';
645
+ background-image: url(icons/delivered-v4.png);
646
+ width: 16px;
647
+ height: 16px;
648
+ background-size: cover;
649
+ display: inline-block;
650
+ vertical-align: middle;
651
+ }
652
+ .wcast-shipment-status-icon .icon-in_transit:before{
653
+ content: ' ';
654
+ background-image: url(icons/in-transit-v4.png);
655
+ width: 16px;
656
+ height: 16px;
657
+ background-size: cover;
658
+ display: inline-block;
659
+ vertical-align: middle;
660
+ }
661
+ .wcast-shipment-status-icon .icon-on_hold:before{
662
+ content: ' ';
663
+ background-image: url(icons/On-hold-v3.png);
664
+ width: 16px;
665
+ height: 16px;
666
+ background-size: cover;
667
+ display: inline-block;
668
+ vertical-align: middle;
669
+ }
670
+ .wcast-shipment-status-icon .icon-pre_transit:before{
671
+ content: ' ';
672
+ background-image: url(icons/pre-transit-v4.png);
673
+ width: 16px;
674
+ height: 16px;
675
+ background-size: cover;
676
+ display: inline-block;
677
+ vertical-align: middle;
678
+ }
679
+ .wcast-shipment-status-icon .icon-out_for_delivery:before{
680
+ content: ' ';
681
+ background-image: url(icons/out-for-delivery-v4.png);
682
+ width: 16px;
683
+ height: 16px;
684
+ background-size: cover;
685
+ display: inline-block;
686
+ vertical-align: middle;
687
+ }
688
+ .wcast-shipment-status-icon .icon-available_for_pickup:before{
689
+ content: ' ';
690
+ background-image: url(icons/available-for-picup-v4.png);
691
+ width: 16px;
692
+ height: 16px;
693
+ background-size: cover;
694
+ display: inline-block;
695
+ vertical-align: middle;
696
+ }
697
+ .wcast-shipment-status-icon .icon-return_to_sender:before{
698
+ content: ' ';
699
+ background-image: url(icons/return-to-sender-v4.png);
700
+ width: 16px;
701
+ height: 16px;
702
+ background-size: cover;
703
+ display: inline-block;
704
+ vertical-align: middle;
705
+ }
706
+ .wcast-shipment-status-icon .icon-failure:before{
707
+ content: ' ';
708
+ background-image: url(icons/failure-v4.png);
709
+ width: 16px;
710
+ height: 16px;
711
+ background-size: cover;
712
+ display: inline-block;
713
+ vertical-align: middle;
714
+ }
715
+ .wcast-shipment-status-icon .icon-unknown:before{
716
+ content: ' ';
717
+ background-image: url(icons/unknown-v4.png);
718
+ width: 16px;
719
+ height: 16px;
720
+ background-size: cover;
721
+ display: inline-block;
722
+ vertical-align: middle;
723
+ }
724
+ .wcast-shipment-status-icon .icon-pending_trackship:before{
725
+ content: ' ';
726
+ background-image: url(icons/pending-trackship-v4.png);
727
+ width: 16px;
728
+ height: 16px;
729
+ background-size: cover;
730
+ display: inline-block;
731
+ vertical-align: middle;
732
+ }
733
+ .wcast-shipment-status-icon .icon-INVALID_TRACKING_NUM:before{
734
+ content: ' ';
735
+ background-image: url(icons/invalid-v3.png);
736
+ width: 16px;
737
+ height: 16px;
738
+ background-size: cover;
739
+ display: inline-block;
740
+ vertical-align: middle;
741
+ }
742
+ .wcast-shipment-status-icon .icon-wrong_shipping_provider:before{
743
+ content: ' ';
744
+ background-image: url(icons/invalid-v3.png);
745
+ width: 16px;
746
+ height: 16px;
747
+ background-size: cover;
748
+ display: inline-block;
749
+ vertical-align: middle;
750
  }
751
+ .wcast-shipment-status-icon .icon-default:before{
752
+ content: ' ';
753
+ background-image: url(icons/invalid-v3.png);
754
+ width: 16px;
755
+ height: 16px;
756
+ background-size: cover;
757
+ display: inline-block;
758
+ vertical-align: middle;
759
+ }
760
+ .ast-shipment-status .icon-default:before{
761
+ content: ' ';
762
+ background-image: url(icons/invalid-v3.png);
763
+ width: 16px;
764
+ height: 16px;
765
+ background-size: cover;
766
+ display: inline-block;
767
+ vertical-align: sub;
768
+ margin-right: 5px;
769
  }
770
+ .ast-shipment-status .icon-INVALID_TRACKING_NUM:before{
771
+ content: ' ';
772
+ background-image: url(icons/invalid-v3.png);
773
+ width: 16px;
774
+ height: 16px;
775
+ background-size: cover;
776
+ display: inline-block;
777
+ vertical-align: sub;
778
+ margin-right: 5px;
779
  }
780
+ .ast-shipment-status .icon-wrong_shipping_provider:before{
781
+ content: ' ';
782
+ background-image: url(icons/invalid-v3.png);
783
+ width: 16px;
784
+ height: 16px;
785
+ background-size: cover;
786
+ display: inline-block;
787
+ vertical-align: sub;
788
+ margin-right: 5px;
789
  }
790
+ .ast-shipment-status .icon-delivered:before{
791
+ content: ' ';
792
+ background-image: url(icons/delivered-v4.png);
793
+ width: 16px;
794
+ height: 16px;
795
+ background-size: cover;
796
+ display: inline-block;
797
+ vertical-align: sub;
798
+ margin-right: 5px;
799
  }
800
+ .ast-shipment-status .icon-in_transit:before{
801
+ content: ' ';
802
+ background-image: url(icons/in-transit-v4.png);
803
+ width: 16px;
804
+ height: 16px;
805
+ background-size: cover;
806
+ display: inline-block;
807
+ vertical-align: sub;
808
+ margin-right: 5px;
809
  }
810
+ .ast-shipment-status .icon-on_hold:before{
811
+ content: ' ';
812
+ background-image: url(icons/On-hold-v3.png);
813
+ width: 16px;
814
+ height: 16px;
815
+ background-size: cover;
816
+ display: inline-block;
817
+ vertical-align: sub;
818
+ margin-right: 5px;
819
  }
820
+ .ast-shipment-status .icon-pre_transit:before{
821
+ content: ' ';
822
+ background-image: url(icons/pre-transit-v4.png);
823
+ width: 16px;
824
+ height: 16px;
825
+ background-size: cover;
826
+ display: inline-block;
827
+ vertical-align: sub;
828
+ margin-right: 5px;
829
  }
830
+ .ast-shipment-status .icon-out_for_delivery:before{
831
+ content: ' ';
832
+ background-image: url(icons/out-for-delivery-v4.png);
833
+ width: 16px;
834
+ height: 16px;
835
+ background-size: cover;
836
+ display: inline-block;
837
+ vertical-align: sub;
838
+ margin-right: 5px;
839
  }
840
+ .ast-shipment-status .icon-available_for_pickup:before{
841
+ content: ' ';
842
+ background-image: url(icons/available-for-picup-v4.png);
843
+ width: 16px;
844
+ height: 16px;
845
+ background-size: cover;
846
+ display: inline-block;
847
+ vertical-align: sub;
848
+ margin-right: 5px;
849
  }
850
+ .ast-shipment-status .icon-return_to_sender:before{
851
+ content: ' ';
852
+ background-image: url(icons/return-to-sender-v4.png);
853
+ width: 16px;
854
+ height: 16px;
855
+ background-size: cover;
856
+ display: inline-block;
857
+ vertical-align: sub;
858
+ margin-right: 5px;
859
  }
860
  .ast-shipment-status .icon-failure:before{
861
+ content: ' ';
862
+ background-image: url(icons/failure-v4.png);
863
+ width: 16px;
864
+ height: 16px;
865
+ background-size: cover;
866
+ display: inline-block;
867
+ vertical-align: sub;
868
+ margin-right: 5px;
869
+ }
870
+ .ast-shipment-status .icon-unknown:before{
871
+ content: ' ';
872
+ background-image: url(icons/unknown-v4.png);
873
+ width: 16px;
874
+ height: 16px;
875
+ background-size: cover;
876
+ display: inline-block;
877
+ vertical-align: sub;
878
+ margin-right: 5px;
879
+ }
880
+ .ast-shipment-status .icon-pending_trackship:before{
881
+ content: ' ';
882
+ background-image: url(icons/pending-trackship-v4.png);
883
+ width: 16px;
884
+ height: 16px;
885
+ background-size: cover;
886
+ display: inline-block;
887
+ vertical-align: sub;
888
+ margin-right: 5px;
889
+ }
890
+ .ast-shipment-status .icon-invalid_user_key:before{
891
+ content: ' ';
892
+ background-image: url(icons/invalid-user-key-v4.png);
893
+ width: 16px;
894
+ height: 16px;
895
+ background-size: cover;
896
+ display: inline-block;
897
+ vertical-align: sub;
898
+ margin-right: 5px;
899
+ }
900
+
901
+ .wcast-shipment-status-icon i {
902
+ font-size: 25px;
903
+ margin-top: 7px;
904
  }
905
+ .icon-delivered {
906
+ color: #4cae51;
907
  }
908
+ .icon-in_transit {
909
+ color: #01a9f4;
910
  }
911
+ .icon-return_to_sender {
912
+ color: #f44336;
913
  }
914
+ .icon-pending_trackship {
915
+ color: #CCCC00;
916
  }
917
  .wcast-shipment-status-list .wcast-shipment-est-delivery {
918
  display: block;
919
  }
920
+ .showif_has_est_delivery_0, .showif_has_est_delivery_1 {
921
+ display: none;
922
+ }
923
+ .has_est_delivery_1 .showif_has_est_delivery_1 {
924
+ display: inline;
925
+ }
926
  .has_est_delivery_0 .showif_has_est_delivery_0 {
927
  display: block;
928
  }
942
  }
943
  .wcast-tracking-number-list li, .wcast-shipment-status-list li {
944
  position: relative;
945
+ border: 1px solid #eee;
946
+ padding: 10px;
947
  min-height: 50px;
948
  box-sizing: border-box;
949
+ background-color: #fff;
950
  }
951
  a.inline_tracking_delete{
952
  display:none;
973
  .select2-results .select2-results__group, .select2-results .select2-results__option{
974
  padding: 4px;
975
  }
976
+ .email_status_span{
977
+ float: right;
978
+ padding-top: 7px;
979
+ }
980
  .edit_customizer_a{
981
  margin-left: 10px;
982
  line-height: 20px;
983
+ font-size: 13px;
984
+ text-decoration: none
985
  }
986
  .edit_customizer_a:focus,.edit_customizer_a:hover{
987
  outline:none;
988
  box-shadow:none;
989
  }
990
+ .row-actions{
991
+ position: relative;
992
+ left: -9999em;
993
+ }
994
+ .ac-container .headig_label .edit_customizer_a{
995
+ float: right;
996
+ margin: 0 20px 0 10px;
997
+ }
998
+ .ac-container .headig_label:hover .edit_customizer_a{
999
+ display:inline-block;
1000
+ }
1001
  .woocommerce_page_woocommerce-advanced-shipment-tracking #wpcontent{
1002
+ background: #fff;
1003
  padding-left: 0;
 
1004
  }
1005
  .woocommerce_page_woocommerce-advanced-shipment-tracking #wpbody-content{
1006
  padding-bottom: 40px;
1007
  }
1008
+ .woocommerce_page_woocommerce-advanced-shipment-tracking .white-bg{
1009
+ background: #fff;
 
1010
  }
1011
+ .trackship_logo{
1012
+ width: 200px;
1013
+ height: auto;
1014
+ }
1015
+ .text-center{
1016
+ text-align:center;
1017
+ }
1018
+ .trackship_section .heading{
1019
+ font-size: 25px;
1020
+ }
1021
+
1022
+ .multiple_checkbox .mdl-switch.is-upgraded{
1023
+ padding-left: 42px;
1024
+ margin-bottom: 6px;
1025
+ }
1026
+ .multiple_label{
1027
+ font-weight:400;
1028
+ line-height: 23px;
1029
+ }
1030
+
1031
+ @media screen and (max-width: 1150px) {
1032
+ .ast_admin_content {
1033
+ display: block;
1034
+ }
1035
+ .zorem_admin_sidebar {
1036
+ width: auto;
1037
+ display: block;
1038
+ padding: 25px 0px 25px 0;
1039
+ }
1040
+ #content1 .tab_inner_container{
1041
+ display: block;
1042
+ }
1043
+ }
1044
+
1045
+ @media screen and (max-width: 650px) {
1046
+ label.tab_label:before {
1047
  margin: 0;
1048
  font-size: 18px;
1049
  }
1071
  padding: 10px 5px 0px 10px;
1072
  }
1073
  table.wp-list-table img.provider-thumb{
1074
+ margin: 1px 10px 1px 0px;
1075
+ }
1076
+ .provider-thumb{
1077
+ height: 35px;
1078
+ }
1079
+ .left-div {
1080
+ box-sizing: border-box;
1081
+ display: block;
1082
+ }
1083
+ .right-div {
1084
+ width: 100%;
1085
+ display: block;
1086
  }
1087
  span.provider_name {
1088
  font-weight: 500;
1089
  font-size: 14px;
1090
+ }
1091
+ .provider_list .row-1 {
1092
+ margin-bottom: 0;
1093
+ display: flex;
1094
+ align-items: start;
1095
+ }
1096
+ .provider_list .row-1:after {
1097
+ content: '';
1098
+ clear: both;
1099
  display: block;
1100
  }
1101
+ .provider_list .row-2 {
1102
+ margin-top: 15px;
1103
+ border-top: 1px solid #ccc;
1104
+ padding-top: 10px;
1105
+ }
1106
+ .active_provider .row-2{
1107
+ border-top: 1px solid #eee;
1108
+ }
1109
+ .default-provider {
1110
+ float: left;
1111
+ }
1112
+ .checked-img {
1113
+ width: 18px;
1114
+ display: inline-block;
1115
+ vertical-align: bottom;
1116
+ }
1117
+ .provider-status {
1118
+ float: right;
1119
+ padding-right: 10px;
1120
+ }
1121
+ .provider_list .row-2:after{
1122
+ content:'';
1123
+ clear:both;
1124
+ display: block;
1125
+ }
1126
+ .active_provider .provider_inner{
1127
+ border: 1px solid rgba(116, 194, 225, 0.5);
1128
+ background: #fff;
1129
+ }
1130
+ .status_filter {
1131
+ margin: 10px 8px 10px 0;
1132
+ display:inline-block;
1133
+ float: left;
1134
+ }
1135
+ .status_filter a{
1136
+ text-decoration: none;
1137
+ color: #32373c;
1138
+ font-weight: 500;
1139
+ font-size: 11px;
1140
+ border: 1px solid #e5e5e5;
1141
+ background: #eee;
1142
+ padding: 5px 9px;
1143
+ line-height: 1;
1144
+ margin-right: 4px;
1145
+ border-radius: 34px;
1146
+ }
1147
+ .status_filter a:focus{
1148
+ outline: none;
1149
+ box-shadow: none;
1150
+ }
1151
+ a.active{
1152
+ color:#74C2E1;
1153
+ }
1154
+ .search_section {
1155
+ display: inline-block;
1156
+ margin: 5px 0px 5px 0;
1157
+ float: right;
1158
  }
 
1159
  #search_provider{
1160
+ width: 264px;
1161
+ min-width: 280px;
1162
+ border: 1px solid #ccc;
1163
+ border-radius: 3px;
1164
+ padding: 0 0 0 30px;
1165
  line-height: 2;
1166
+ min-height: 30px;
 
1167
  }
1168
  .search_section .search-icon{
1169
  position: absolute;
1170
+ padding: 5px 6px;
1171
  color: #005b9a;
 
1172
  }
1173
+ .provider_settings {
1174
+ display: inline-block;
1175
+ float: right;
1176
+ margin-top: 5px;
1177
+ margin-left: 15px;
1178
+ }
1179
+
1180
  .provider_top:after{
1181
  content:'';
1182
  clear:both;
1183
  display:block;
1184
  }
1185
+ .provider_top {
1186
+ position: relative;
1187
+ margin: 10px auto 0;
1188
  }
1189
+ /* Tooltip container */
1190
+ .provider_settings .tooltip {
1191
+ position: relative;
1192
+ display: inline-block;
1193
+ }
1194
+
1195
+ /* Tooltip text */
1196
+ .provider_settings .tooltip .tooltiptext {
1197
+ visibility: hidden;
1198
+ width: 100px;
1199
+ background-color: black;
1200
+ color: #fff;
1201
+ text-align: center;
1202
+ padding: 5px 0;
1203
+ border-radius: 6px;
1204
+ position: absolute;
1205
+ z-index: 1;
1206
+ }
1207
+ .provider_settings .tooltip-top{
1208
+ bottom: 125%;
1209
+ left: 20%;
1210
+ margin-left: -52px;
1211
+ }
1212
+ .provider_settings .tooltip .tooltiptext::after {
1213
+ content: " ";
1214
+ position: absolute;
1215
+ top: 100%; /* At the bottom of the tooltip */
1216
+ left: 58%;
1217
+ margin-left: -5px;
1218
+ border-width: 5px;
1219
+ border-style: solid;
1220
+ border-color: black transparent transparent transparent;
1221
+ }
1222
+ /* Show the tooltip text when you mouse over the tooltip container */
1223
+ .provider_settings .tooltip:hover .tooltiptext {
1224
+ visibility: visible;
1225
+ }
1226
+
1227
+ ul.provider_settings_ul {
1228
+ margin: 5px 0 0;
1229
+ }
1230
+ .provider_settings_ul li {
1231
+ display: inline-block;
1232
+ margin: 0 5px;
1233
+ }
1234
+ .provider_settings_ul li a {
1235
+ text-decoration: none;
1236
+ }
1237
+
1238
+ .dropdown {
1239
+ position: relative;
1240
+ display: inline-block;
1241
+ }
1242
+
1243
+ .dropdown-content {
1244
+ display: none;
1245
+ position: absolute;
1246
+ right: 0;
1247
+ background-color: #f9f9f9;
1248
+ min-width: 220px;
1249
+ box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
1250
+ z-index: 100;
1251
+ border: 1px solid #ccc;
1252
+ padding: .5rem;
1253
+ margin-top: 0;
1254
+ text-align: left;
1255
+ top: 45px;
1256
+ }
1257
+ .dropdown-content li {
1258
+ margin-bottom: 0;
1259
+ border-bottom: 1px solid #ebeef2;
1260
+ padding: .5rem;
1261
+ }
1262
+ .dropdown-content li a {
1263
+ color: black;
1264
+ text-decoration: none;
1265
+ display: block;
1266
+
1267
+ }
1268
+ .dropdown-content li a.reset_active,.dropdown-content li a.reset_inactive{
1269
+ display: inline-block;
1270
+ color: #0073aa;
1271
+ }
1272
+ .dropdown-content li:last-child{
1273
+ border-bottom: none;
1274
+ }
1275
+ .dropdown-content li:hover {background-color: #f1f1f1;}
1276
+
1277
+ .dropdown_menu{
1278
+ cursor: pointer;
1279
+ padding: 4px 5px 10px;
1280
+ color: #005b9a;
1281
+ }
1282
+ .dropdown-content:before{
1283
+ content: '';
1284
+ width: .75rem;
1285
+ height: .75rem;
1286
+ position: absolute;
1287
+ z-index: 1;
1288
+ top: -0.375rem;
1289
+ right: 8px;
1290
+ background-color: #fff;
1291
+ transform: rotate(45deg);
1292
+ /* box-shadow: -1px -1px 1px rgba(0,0,0,0.125); */
1293
+ border: 1px solid #aebacc;
1294
+ border-width: 1px 0 0 1px;
1295
+ margin-top: -1px;
1296
+ }
1297
+
1298
+ .mdl-dialog.add_custom_dialog{
1299
+ width: 600px;
1300
  }
1301
+ .add_custom_dialog .mdl-dialog__title{
1302
+ font-size: 30px;
1303
+ }
1304
+
1305
  .popupwrapper {
1306
  position: fixed;
1307
  top: 0;
1308
  left: 0;
1309
+ background: rgba(0, 0, 0, 0.4);
1310
+ z-index: 10;
 
1311
  width: 100%;
1312
  height: 100%;
1313
  text-align: center;
1314
  }
1315
+
 
 
 
 
 
1316
  .trackingpopup_wrapper {
1317
  position: fixed;
1318
  top: 0;
1319
  left: 0;
1320
+ background: rgba(0, 0, 0, 0.4);
1321
+ z-index: 10;
 
1322
  width: 100%;
1323
  height: 100%;
1324
  text-align: center;
1338
  }
1339
  .popuprow {
1340
  display: inline-block;
1341
+ vertical-align: middle;
1342
+ max-width: 310px;
1343
+ background: #f9f9f9;
1344
+ padding: 15px 30px;
1345
+ position: relative;
1346
+ z-index: 10;
1347
+ border-radius: 2px;
1348
+ width: 97%;
1349
+ width: calc(100% - 5px);
1350
+ max-height: 90%;
1351
+ overflow-y: overlay;
1352
+ text-align: left;
 
 
 
 
 
 
 
1353
  }
1354
+ .sync_provider_popup .popuprow{
1355
+ max-width: 400px;
1356
+ padding: 25px 30px;
 
1357
  }
1358
  .zorem_admin_layout .sync_provider_popup h3.popup_title{
1359
  margin: 0 0 1em;
1365
  color: green;
1366
  font-size: 16px;
1367
  }
1368
+ .how_to_video_popup .popuprow,.ts_video_popup .popuprow,.tracking_item_video_popup .popuprow{
1369
  max-width: 700px;
1370
  padding: 0;
1371
  }
1372
  .trackingpopup_row {
1373
  display: inline-block;
1374
  vertical-align: middle;
1375
+ max-width: 310px;
1376
  text-align:left;
1377
+ background: #f9f9f9;
1378
+ padding: 15px 30px;
 
1379
  position: relative;
1380
  z-index: 10;
1381
+ border-radius: 2px;
1382
  width: 97%;
1383
  width: calc(100% - 5px);
1384
  max-height: 90%;
1385
  overflow-y: overlay;
1386
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1387
  .popupclose {
1388
  position: absolute;
1389
  width: 100%;
1392
  top: 0;
1393
  left: 0;
1394
  }
1395
+ .popupwrapper input[type=text],.trackingpopup_wrapper input[type=text]{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1396
  line-height: 24px;
1397
+ color: #0d0d0d;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1398
  width: 100%;
1399
+ margin-bottom: 10px;
1400
  }
1401
+ .popupwrapper input[type=text].image_path,.trackingpopup_wrapper input[type=text].image_path{
1402
+ width: 77.5%;
 
 
 
 
 
 
 
 
 
 
1403
  }
1404
+ .popupwrapper select,.popupwrapper .select2,.trackingpopup_wrapper select,.trackingpopup_wrapper .select2{
1405
+ line-height: 24px;
1406
  color: #0d0d0d;
1407
  width: 100%;
1408
+ margin-bottom: 10px;
1409
+ height: 32px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1410
  }
1411
  .custom_provider_instruction{
1412
  text-align:left;
1413
  margin-bottom: 10px;
1414
  }
1415
+ .add_provider_popup .popuprow{
1416
+ max-width: 310px;
1417
+ text-align: left;
1418
  }
1419
  .popupwrapper #upload_image_button{
1420
  min-height: 30px;
1421
  }
1422
+ .close-button{
1423
+ background: #000 none repeat scroll 0 0;
1424
+ height: 50px;
1425
+ margin-top: 10px;
1426
+ padding: 10px;
1427
+ color: #fff;
1428
+ position: absolute;
1429
+ bottom: 8px;
1430
+ right: 10px;
1431
+ height: 34px;
1432
  }
1433
  .change_order_to_shipped_field ul{
1434
+ margin: 5px 0 0 0;
 
 
 
 
1435
  }
1436
  .change_order_to_shipped_field ul li {
1437
  display: inline-block;
1438
+ margin-right: 5px;
1439
+ }
1440
+ .provider-status .mdl-switch{
1441
+ width: auto;
1442
  }
1443
  .provider .edit_provider,.provider .remove{
1444
  display:none;
1454
  text-decoration: none;
1455
  color: #444;
1456
  }
1457
+ h1.plugin-title {
1458
+ padding: 20px 30px 10px 30px;
1459
+ font-size: 1.7em;
1460
+ color: #071d57;
1461
+ }
1462
+ .plugin-logo{
1463
+ max-width: 400px;
1464
+ padding: 15px 0px 15px 30px;
1465
+ }
1466
  .disable_label span {
1467
  color: #999;
1468
  }
1469
+ .synch_result{
1470
+ display:none;
1471
+ margin: 20px 0;
1472
+ }
1473
  .wp-core-ui .button-primary.close_synch_popup{
1474
  display:none;
1475
  }
1476
+ .synch_result li {
1477
+ border-bottom: 1px solid #ccc;
1478
+ padding-bottom: 10px;
1479
+ font-size: 15px;
1480
+ }
1481
+ .sync_provider_popup .spinner{
1482
+ display:none;
1483
+ height: 25px;
1484
+ float: none;
1485
+ }
1486
+ .sync_provider_popup .spinner.active{
1487
+ display: inline-block;
1488
+ }
1489
+ .shipment_about{
1490
+ margin:0;
1491
+ line-height: 20px;
1492
+ }
1493
  .disabled_link{
1494
  pointer-events: none;
1495
  cursor: default;
1499
  margin:0;
1500
  line-height: 20px;
1501
  }
1502
+ .delivered_enabel p.shipment_about{
1503
+ display: none;
1504
+ }
1505
+ p.delivered_message {
1506
+ display: none;
1507
+ }
1508
+ .email-icon{
1509
+ position: absolute;
1510
+ left: 15px;
1511
+ top: 17px;
1512
+ width: 35px;
1513
+ }
1514
+ .woocommerce.zorem_admin_layout table.form-table{
1515
+ background: #fff;
1516
  border: 0;
1517
  margin-top: 0;
1518
  margin-bottom: 0px;
1519
  }
 
 
 
 
 
 
1520
  .woocommerce.zorem_admin_layout table.form-table.heading-table{
1521
  margin: 0;
1522
+ border: 0;
1523
+ background: #fafeff;
 
 
 
 
 
 
 
1524
  }
1525
+ #wc_ast_trackship_form table.form-table.heading-table tr,#wc_ast_upload_csv_form table.form-table.heading-table tr{
1526
  border-bottom: 0;
1527
  }
1528
+ .woocommerce.zorem_admin_layout table.form-table.heading-table td{
1529
+ padding: 12px 15px;
1530
  }
1531
  .woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
1532
  margin: 0;
1533
  color:#005B9A;
1534
+ font-weight: 400;
1535
  }
1536
  .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1537
  text-align:right;
1549
  clear:both;
1550
  }
1551
  .ast_admin_content div.submit{
1552
+ padding: 0;
 
 
 
 
1553
  }
1554
  .woocommerce.zorem_admin_layout table.form-table th{
1555
+ padding: 20px 24px 20px 15px;
 
 
 
 
1556
  }
1557
  .woocommerce.zorem_admin_layout table.form-table.table-layout-2 th.titledesc{
1558
  padding: 20px 15px 20px 15px;
1561
  margin-top: 10px;
1562
  }
1563
  .woocommerce.zorem_admin_layout table.form-table td{
1564
+ padding: 15px 15px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1565
  }
1566
  .woocommerce.zorem_admin_layout table.form-table td.button-column{
1567
+ padding: 5px 15px;
 
 
 
1568
  }
1569
  .woocommerce.zorem_admin_layout table.form-table td.multiple_checkbox_td{
1570
  padding: 10px 15px 15px;
1571
  }
1572
  .woocommerce.zorem_admin_layout table.form-table.order-status-table td{
1573
+ padding: 20px 15px;
 
 
 
 
1574
  }
1575
  .woocommerce.zorem_admin_layout table.form-table th label{
1576
+ font-weight: 500;
1577
  color: #444;
1578
  cursor: auto;
1579
  }
 
 
 
 
 
 
 
 
 
 
 
1580
  .woocommerce.zorem_admin_layout table.form-table p.description{
1581
+ font-size: 0.9em;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1582
  }
1583
+ p.tracking-preview-desc {
1584
+ font-style: italic;
1585
+ font-size: 0.9em;
 
 
 
 
 
 
1586
  }
1587
 
1588
  .updated_details {
1614
  min-width: 90px;
1615
  line-height: 20px;
1616
  }
1617
+ .trackship-icon{
1618
+ width: 70px;
1619
+ }
1620
  .add_tracking_number_form .form-field{
1621
  margin: 0;
1622
  text-align:left;
1623
  }
 
 
 
1624
  .add_tracking_number_form input[type=checkbox]{
1625
  margin: 0px 4px 0 0px;
1626
+ }
1627
+ .add_tracking_number_form .ast-product-table input[type=checkbox]{
1628
+ margin: 0px 4px 0 4px;
1629
  }
1630
  .d_table{
1631
  display:table;
1637
  .zorem_admin_layout h3{
1638
  margin: 1em 0;
1639
  }
1640
+ .ts_description{
1641
+ width: 80%;
1642
+ margin: 1em auto;
1643
+ }
1644
+ .description-below-table{
1645
+ background: #fff;
1646
+ margin-top: 0;
1647
+ margin-bottom: 0;
1648
+ padding: 20px 24px 20px 15px;
1649
+ border-top: 0;
1650
+ }
1651
  .ast_admin_content div.submit .spinner{
1652
  display: none;
1653
  float: none;
1656
  .ast_admin_content div.submit .spinner.active{
1657
  display: inline-block;
1658
  }
1659
+
1660
+ /*** AST Notice CSS ***/
1661
+ .ast-notice {
1662
+ position: relative;
1663
+ color: #444;
1664
+ }
1665
+ .ast-notice .ast-notice-inner {
1666
+ margin-top: 25px;
1667
+ padding: 20px;
1668
+ background: #fff;
1669
+ border-left: 3px solid;
1670
+ line-height: 1.5;
1671
+ font-size: 14px;
1672
+ border-left-color: #83bd31;
1673
+ }
1674
+ .ast-notice .dismiss-notice {
1675
+ border: none;
1676
+ background: none;
1677
+ padding: 0;
1678
+ margin: 0;
1679
+ display: inline-block;
1680
+ cursor: pointer;
1681
+ color: #acbdc9;
1682
+ position: relative;
1683
+ float: right;
1684
+ }
1685
+ .ast-notice .ast-notice-inner .notice-title {
1686
+ color: #061c58;
1687
+ font-weight: 700;
1688
+ display: block;
1689
+ margin: 0 0 6px;
1690
+ padding: 0;
1691
+ }
1692
+ .ast-notice .notice-content {
1693
+ margin-right: 20px;
1694
+ margin-bottom: 20px;
1695
+ }
1696
+
1697
+
1698
+ .nav_doc_section {
1699
+ float: right;
1700
+ padding: 15px 0 15px;
1701
+ margin-right: 30px;
1702
+ }
1703
+
1704
+ .nav_doc_section a {
1705
+ color: #005b9a;
1706
+ text-decoration: none;
1707
+ font-size: 14px;
1708
+ }
1709
+ .nav_doc_section a:hover{
1710
+ color: #74C2E1;
1711
+ }
1712
+ .nav_doc_section a:focus{
1713
+ outline: none;
1714
+ box-shadow: none;
1715
+ }
1716
+ .nav_doc_section a.open_video_popup:after {
1717
+ content: "\f236";
1718
+ font-family: dashicons;
1719
+ font-size: 18px;
1720
+ vertical-align: bottom;
1721
+ margin-left: 5px;
1722
+ clear: both;
1723
+ }
1724
  .videoWrapper {
1725
  position: relative;
1726
  padding-bottom: 56.25%; /* 16:9 */
1746
  cursor: pointer;
1747
  }
1748
  span.dashicons.dashicons-trash.remove {
1749
+ cursor: pointer;
1750
+ }
1751
+ @media (max-width: 767px) {
1752
+ .notice.ast-admin-notice {
1753
+ padding: 10px;
1754
+ }
1755
+ .notice.ast-admin-notice .ast-admin-notice-inner {
1756
+ display: block;
1757
+ }
1758
+ .notice.ast-admin-notice .ast-admin-notice-inner .ast-admin-notice-content {
1759
+ display: block;
1760
+ padding: 0;
1761
+ }
1762
+ .notice.ast-admin-notice .ast-admin-notice-inner .ast-admin-notice-icon,
1763
+ .notice.ast-admin-notice .ast-admin-notice-inner .trackship-install-now {
1764
+ display: none;
1765
+ }
1766
+ }
1767
+
1768
+ /*** Trackship Upsell CSS ***/
1769
+ .trackship-upsell-overlay {
1770
+ width: 750px;
1771
+ max-width: 100%;
1772
+ -webkit-box-shadow: 0 5px 25px 0 rgba(0,0,0,.15);
1773
+ box-shadow: 0 5px 25px 0 rgba(0,0,0,.15);
1774
+ background-color: #fff;
1775
+ border: 1px solid #eee;
1776
+ margin: 70px auto 50px;
1777
+ }
1778
+ .trackship-upsell-overlay .trackship-upsell-top {
1779
+ padding: 0 40px;
1780
+ }
1781
+ .trackship-upsell-overlay h3 {
1782
+ text-align: center;
1783
+ color: #393f4c;
1784
+ font-size: 20px;
1785
+ margin: 32px 0 20px;
1786
+ line-height: 1.4;
1787
+ }
1788
+ .trackship-upsell-overlay .trackship-upsell-subtitle {
1789
+ color: #071d57;
1790
+ font-size: 16px;
1791
+ text-align: center;
1792
+ }
1793
+ .trackship-upsell-overlay .trackship-upsell-content {
1794
+ border-top: 1px solid #eee;
1795
+ background: #f9fbff;
1796
+ padding: 40px;
1797
+ }
1798
+ .trackship-upsell-overlay .trackship-upsell-content ul {
1799
+ margin: 0 auto;
1800
+ max-width: 520px;
1801
+ }
1802
+ .trackship-upsell-overlay .trackship-upsell-content ul li {
1803
+ color: #071d57;
1804
+ font-size: 16px;
1805
+ margin: 0 0 20px;
1806
+ padding-left: 40px;
1807
+ position: relative;
1808
+ line-height: 1.5;
1809
+ }
1810
+ .trackship-upsell-overlay .trackship-upsell-content ul li:before {
1811
+ position: absolute;
1812
+ content: "\f147";
1813
+ width: 20px;
1814
+ height: 20px;
1815
+ background: #83bd31;
1816
+ left: 0;
1817
+ border-radius: 50%;
1818
+ display: inline-block;
1819
+ font-family: dashicons;
1820
+ font-style: normal;
1821
+ font-weight: 400;
1822
+ -webkit-font-smoothing: antialiased;
1823
+ -moz-osx-font-smoothing: grayscale;
1824
+ color: #f9fbff;
1825
+ font-size: 14px;
1826
+ text-align: center;
1827
+ line-height: 20px;
1828
+ top: 4px;
1829
  }
1830
 
1831
  /*** Dashboard Widget CSS ***/
1882
  overflow-y: auto;
1883
  }
1884
  /**** -------- ****/
1885
+
1886
+ .bulk_shipment_status_success{
1887
+ color:#83bd31;
1888
+ margin-top:10px;
1889
+ }
1890
+ .woocommerce_page_woocommerce-advanced-shipment-tracking .woocommerce-help-tip{
1891
  color: #005B9A;
 
 
 
1892
  }
1893
  .woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_content{
1894
  background:#005B9A;
1901
  .woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_holder.tip_bottom #tiptip_arrow_inner{
1902
  border-bottom-color: #005B9A;
1903
  }
1904
+ .trackship_section{
1905
+ background-image: url(../images/ts_bg.png);
1906
+ min-height: 100vh;
1907
+ }
1908
+ .doc_link{
1909
+ margin-right: 25px;
1910
+ }
1911
  #trackship_dashboard_widget .inside h3{
1912
  font-weight:600;
1913
  }
1915
  padding: 0;
1916
  margin: 0;
1917
  }
1918
+ span.tracking_product_list {
1919
+ display: list-item;
1920
+ list-style: none;
1921
+ }
1922
 
1923
+ .addons_inner_container{
1924
+ display: -webkit-box;
1925
+ display: -ms-flexbox;
1926
+ display: flex;
1927
+ -ms-flex-flow: wrap;
1928
+ flex-flow: wrap;
1929
+ -webkit-box-pack: justify;
1930
+ -ms-flex-pack: justify;
1931
+ justify-content: space-between;
1932
+ }
1933
+ .addons_inner_container .ast_addons_section{
1934
+ width: calc(50% - 12.5px);
1935
+ position: relative;
1936
+ padding: 0 0 0;
1937
+ }
1938
+ .ast_admin_content .ast_addons_section .form-table th.titledesc{
1939
+ width: 35%;
1940
+ }
1941
+ .ast_admin_content .ast_addons_section span.api_connected{
1942
+ line-height: 36px;
1943
+ height: 40px;
1944
+ padding: 10px 20px;
1945
+ font-size: 15px;
1946
+ }
1947
+ .woocommerce.zorem_admin_layout table.form-table.heading-table tr.addons_header td{
1948
+ padding:0;
1949
+ }
1950
+ .woocommerce.zorem_admin_layout table.form-table.heading-table tr.addons_header td img{
1951
+ width:100%;
1952
+ }
1953
+ .ast_addons_section .submit .btn_ast2{
1954
+ display: inline-block;
1955
+ float: none;
1956
+ }
1957
+ .ast_addons_section .submit .pesan{
1958
+ width: 65%;
1959
+ /*display: inline-block;*/
1960
+ vertical-align: bottom;
1961
+ margin-left: 5px;
1962
+ line-height: 15px;
1963
+ }
1964
+ .ast_addons_section .submit{
1965
+ margin: 0;
1966
+ }
1967
+ .ast_addons_section .submit .pesan.license_active{
1968
+ color:green;
1969
+ }
1970
+ .ast_addons_section .submit:after{
1971
+ display: block;
1972
+ content: '';
1973
+ clear: both;
1974
+ }
1975
+ .ts_addons_header,.tracking_item_addons_header{
1976
+ position: relative;
1977
+ display: inline-block;
1978
+ cursor: pointer;
1979
+ }
1980
+ .ts_addons_header:before,.tracking_item_addons_header:before{
1981
+ color: #eee;
1982
+ }
1983
+ .ts_addons_header:after,.tracking_item_addons_header:after{
1984
+ position:absolute;
1985
+ top: 50%;
1986
+ left: 50%;
1987
+ transform: translate(-50%, -50%);
1988
+ -webkit-transform: translate(-50%, -50%);
1989
+ content: "\f236";
1990
+ font-family: dashicons;
1991
+ font-size: 70px;
1992
+ color: #fff;
1993
+ opacity: .8;
1994
+ text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
1995
+ }
1996
+ .woocommerce.zorem_admin_layout .license_div{
1997
+ /*height: 118px;*/
1998
+ background: #fff;
1999
+ border: 1px solid #eee;
2000
+ margin-top: 0;
2001
+ margin-bottom: 0px;
2002
+ vertical-align: middle;
2003
+ padding-top: 20px;
2004
+ padding-bottom: 20px;
2005
+ }
2006
+ .woocommerce.zorem_admin_layout .license_div table.form-table{
2007
+ background: 0;
2008
+ border: 0;
2009
+ }
2010
+ /*.woocommerce.zorem_admin_layout .license_div table.form-table tr{
2011
+ height:50px;
2012
+ }*/
2013
+ .ast_admin_content .ast_addons_section .license_div .form-table th.titledesc {
2014
+ padding: 0px 24px 0px 15px;
2015
+ vertical-align: middle;
2016
+ }
2017
+ .ast_admin_content .ast_addons_section .license_div .form-table td {
2018
+ padding: 0 15px;
2019
+ }
2020
+ #wc_ast_addons_form .license_div .form-table tr{
2021
+ border-bottom:0;
2022
+ }
2023
  #woocommerce-advanced-shipment-tracking.postbox{
2024
  background: #f9f9f9;
2025
  }
2026
+
2027
  .order-status-table tr.disable_row{
2028
+ background: #eee;
2029
  opacity: 0.7;
2030
  }
2031
  .order-status-table tr.disable_row td{
2034
  .order-status-table tr.disable_row td:first-child{
2035
  pointer-events: auto;
2036
  }
2037
+ .order-status-table td:last-child{
2038
+ text-align:right;
2039
  }
2040
  .order-status-table .order-label{
2041
  display: -webkit-inline-box;
2061
  }
2062
  .form-table.order-status-table td .send_email_label {
2063
  margin: 0 5px !important;
2064
+ vertical-align: inherit;
2065
  }
2066
+ .add_custom_p_a{
2067
+ font-weight: 500;
2068
+ font-size: 14px;
2069
+ display: block;
2070
+ text-align: center;
2071
+ margin-top: 14px;
 
 
 
 
 
 
 
 
 
2072
  }
2073
+ .add_custom_inner .dashicons{
2074
+ display: block;
2075
+ text-align: center;
2076
+ margin: 10px auto;
2077
+ font-size: 35px;
2078
+ width: 40px;
2079
+ height: 38px;
2080
+ cursor: pointer;
2081
+ color:#005B9A;
2082
+ }
2083
+ .add_custom_provider_div{
2084
  background: #fff;
2085
+ border: 1px solid rgba(116, 194, 225, 0.5);
2086
+ padding: 10px 10px 0px 10px;
2087
  }
2088
+ .ast_admin_content .tracking-layout-table.form-table th.titledesc{
2089
+ width: 50%;
 
 
 
 
 
2090
  }
2091
+ .tracking_color_label{
2092
+ line-height:30px;
2093
  }
2094
+ .tracking_layout_options_div label{
2095
+ margin-bottom: 5px;
2096
+ display: block;
2097
  }
2098
+ span.select_t_layout_section {
2099
+ display: inline-block;
2100
+ width: 45%;
2101
+ margin-right: 10px;
2102
+ margin-top: 5px;
2103
  }
2104
+ .tracking-layout-table .radio-img {
2105
+ position: absolute;
2106
+ left: -9999px;
2107
  }
2108
+
2109
+ .tracking-layout-table .radio-img:checked + label>img {
2110
+ border: 1px solid #74C2E1;
 
2111
  }
2112
+ .wp-core-ui .btn_large.launch_customizer_btn{
2113
+ margin-top: 10px;
2114
  }
2115
+ /* Stuff after this is only to make things more pretty */
2116
+ .tracking-layout-table .radio-img + label>img {
2117
+ border: 1px solid #bdbdbd;
2118
+ width: 100%;
2119
+ border-radius: 5px;
2120
  }
2121
+ .tracking_layout_preview_1,.tracking_layout_preview_2{
2122
+ text-align:center;
2123
+ }
2124
+ table.form-table.heading-table.disable_tracking_page {
2125
+ background: #f5f8fa;
2126
+ color: #222629;
2127
+ }
2128
+ .tracking_preview_iframe{
2129
+ width:100%;
2130
+ display:none;
2131
  }
2132
+ .ast_radio_label {
2133
+ min-width: 125px;
2134
+ display: inline-block;
2135
+ }
2136
+ .tracking_product_code_field{
2137
+ display:none;
2138
+ }
2139
+ .outer_form_table {
2140
+ -webkit-box-shadow: 0 1px 3px -2px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
2141
+ -moz-box-shadow: 0 1px 3px -2px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
2142
+ box-shadow: 0 1px 3px -2px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
2143
+ margin-top: 25px;
2144
+ }
2145
+ .border-top{
2146
+ border-top: 1px solid #eee;
2147
+ }
2148
+ .pagination{
2149
  display: inline-block;
2150
  padding-left: 0;
2151
  margin: 0;
2152
  border-radius: 4px;
2153
  }
2154
+ .pagination>li {
2155
+ display: inline;
 
2156
  }
2157
+ .pagination>li:first-child>a, .pagination>li:first-child>span {
2158
+ margin-left: 0;
2159
+ border-top-left-radius: 4px;
2160
+ border-bottom-left-radius: 4px;
2161
+ }
2162
+ .pagination>li>a, .pagination>li>span {
2163
  position: relative;
2164
  float: left;
2165
+ padding: 6px 12px;
2166
  margin-left: -1px;
2167
  line-height: 1.42857143;
2168
+ color: #005B9A;
2169
  text-decoration: none;
2170
+ background-color: #fff;
2171
+ border: 1px solid #ddd;
 
2172
  cursor: pointer;
2173
  }
2174
+ .pagination>li:last-child>a, .pagination>li:last-child>span {
2175
+ border-top-right-radius: 4px;
2176
+ border-bottom-right-radius: 4px;
2177
+ }
2178
+ .pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
2179
  z-index: 2;
2180
+ color: #fff;
2181
  cursor: default;
2182
+ background-color: #005B9A;
2183
+ border-color: #005B9A;
2184
  }
2185
  table.provder_table{
2186
+ border: 1px solid #ddd;
 
 
 
 
 
2187
  }
2188
  table.provder_table thead{
2189
+ background: #f9f9f9;
 
 
 
2190
  }
2191
  table.provder_table tbody tr:hover{
2192
  background: #f9f9f9;
2194
  table.provder_table th{
2195
  border-bottom: 1px solid #ddd;
2196
  border-right: 1px solid #ddd;
 
2197
  font-weight: 500;
2198
  }
2199
  table.provder_table th:last-child{
2200
  border-right: 0;
2201
  }
2202
  table.provder_table td{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2203
  vertical-align: middle;
2204
+ border-bottom: 1px solid #eee;
2205
+ padding: 5px 10px;
2206
  }
2207
+ table.provder_table th.provider_actions_th{
2208
+ text-align:right;
 
2209
  }
2210
+ table.provder_table td:nth-last-child(2){
2211
+ text-align:right;
 
2212
  }
2213
+ table.provder_table td:last-child .mdl-switch{
2214
+ width: 80%;
2215
  }
2216
+ table.provder_table .provider_actions_btn{
2217
+ border: 1px solid #005b9a;
2218
+ padding: 5px;
2219
  color: #005b9a;
2220
+ border-radius: 3px;
2221
+ font-size: 18px;
2222
+ vertical-align: middle;
2223
+ height: 18px;
2224
+ width: 18px;
2225
  }
2226
  .provider_table_hc {
2227
+ margin: 10px 0;
2228
  }
2229
  .shipping_provider_counter {
2230
  display: inline-block;
2231
  line-height: 32px;
2232
  }
2233
+ .paging.shipping_provider_paging{
2234
+ float: right;
2235
  }
2236
  .shipping_provider_paging::after {
2237
  content: "";
2255
  content: "";
2256
  color: #005B9A;
2257
  position: static;
2258
+ font-size: 70px;
2259
+ display: block;
2260
+ float: none;
2261
+ margin: 0 0 10px;
2262
+ padding-top:10px;
2263
  text-align:center;
2264
+ border-top: 1px solid #eee;
2265
  }
2266
  .ast_admin_content .border-bottom-0{
2267
  border-bottom:0 !important;
2284
  background: #005b9a;
2285
  }
2286
  .ast_admin_content .woocommerce-progress-form-wrapper{
2287
+ max-width: 80%;
 
2288
  }
2289
+ .provder_table_mobile{
2290
+ display:none;
2291
  }
2292
  .bulk_upload_documentation_ul li {
2293
+ display: inline-block;
2294
+ padding: 0 5px;
 
2295
  }
2296
  .woocommerce.zorem_admin_layout table.form-table td.bulk_upload_status_td {
2297
+ text-align: center;
 
 
 
 
2298
  }
2299
+ #wc_ast_upload_csv_form .csv_import_done .form-table tr.bulk_upload_status_heading_tr{
2300
  border-top: 0;
2301
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2302
  .woocommerce-help-tip.dashicons::after{
2303
  content:none;
2304
  }
2305
  .woocommerce_page_woocommerce-advanced-shipment-tracking .woocommerce-help-tip.dashicons{
2306
  font-size: 20px;
2307
  }
2308
+ /*** RTL CSS ***/
2309
+ .rtl.shipment_tracking_admin_settings #wpcontent {
2310
+ padding-right: 0;
2311
+ background: rgb(245, 248, 250);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2312
  }
2313
+ .rtl.shipment_tracking_admin_settings .white-bg {
2314
  background: #fff;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2315
  }
2316
+ .rtl .plugin-logo {
2317
+ padding: 15px 30px 15px 0px;
2318
  }
2319
+ .rtl .nav_doc_section {
2320
+ float: left;
2321
+ margin-left: 30px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2322
  }
2323
+ .rtl .doc_link{
2324
+ margin-left: 25px;
2325
+ margin-right: 0;
2326
  }
2327
+ .rtl .nav_doc_section a.open_video_popup:after{
2328
+ margin-right: 5px;
2329
+ margin-left: 0;
 
2330
  }
2331
+ .rtl label.tab_label.first_label{
2332
+ margin-right: 30px;
2333
+ margin-left: 0;
 
 
2334
  }
2335
+ .rtl .zorem_admin_sidebar{
2336
+ padding: 25px 30px 25px 0px;
 
 
2337
  }
2338
+ .rtl .zorem-sidebar__section li a.plugin_url{
2339
+ margin-right: 10px;
2340
+ margin-left: 0;
 
 
2341
  }
2342
+ .rtl .multiple_checkbox .mdl-switch.is-upgraded{
2343
+ padding-right: 42px;
2344
+ margin-left: 0;
 
 
2345
  }
2346
+ .rtl .mdl-switch__track{
2347
+ right: 0;
2348
+ left: auto;
 
 
2349
  }
2350
+ .rtl .mdl-switch__thumb{
2351
+ right: 0;
2352
+ left: auto;
 
2353
  }
2354
+ .rtl .mdl-switch__ripple-container{
2355
+ right: -14px;
2356
+ left: auto;
 
 
 
2357
  }
2358
+ .rtl .mdl-switch.is-checked .mdl-switch__ripple-container {
2359
+ right: 2px;
2360
+ left: auto;
 
 
 
 
2361
  }
2362
+ .rtl .search_section{
2363
+ float:left;
 
 
 
 
 
 
 
 
 
 
 
 
 
2364
  }
2365
  .rtl #search_provider{
2366
  padding-left:0;
2367
  padding-right: 30px;
2368
  }
2369
  .rtl .provider_settings{
2370
+ float:left;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2371
  }
2372
+ .rtl .dropdown_menu{
2373
+ padding: 0 5px 10px;
2374
  }
2375
+ .rtl .provider_settings{
2376
+ margin-left:0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2377
  margin-right: 5px;
 
2378
  }
2379
+ .rtl .right-div{
2380
+ margin-right: 15px;
 
2381
  }
2382
+ .rtl .provider_inner{
2383
+ min-height: 110px;
2384
  }
2385
+ .rtl .dropdown-content{
2386
+ left: 0;
2387
+ right:auto;
2388
+ top: 35px;
2389
  }
2390
+ .rtl .dropdown-content:before{
2391
+ left: 8px;
2392
+ right:auto;
2393
  }
2394
+ .rtl .email_status_span{
2395
  float: left;
2396
  }
2397
+ .rtl .ac-container .headig_label{
2398
+ padding: 15px 60px 15px 20px;
2399
+ text-align: right;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2400
  }
2401
+ .rtl .email-icon{
2402
+ right: 15px;
2403
+ left: auto;
2404
  }
2405
 
2406
+
2407
+ @media screen and (min-width: 1270px) and (max-width: 1465px) {
2408
+ .provider {
2409
+ width: 20%;
2410
+ }
2411
+ }
2412
  @media screen and (min-width: 768px) and (max-width: 1269px) {
2413
+ .provider{
2414
+ width: 25%;
2415
+ }
2416
+ #search_provider{
2417
+ width: 210px;
2418
+ min-width: 210px;
2419
+ }
2420
  .provider-thumb {
2421
  height: 40px;
2422
  }
2423
+ .right-div{
2424
+ width: 60%;
2425
+ }
2426
  span.provider_name {
2427
  font-size: 12px;
 
 
 
 
 
 
 
 
 
 
 
2428
  }
2429
  }
2430
+ @media screen and (max-width: 820px) {
2431
+ .nav_doc_section{
2432
+ float: none;
2433
+ margin-left: 30px;
2434
+ margin-right: 0;
2435
  }
2436
+ }
2437
+ @media screen and (max-width: 650px) {
2438
+ .search_section {
2439
+ margin: 10px 0px 5px 0;
2440
+ float: none;
2441
  }
2442
+ .dropdown-content{
2443
+ top: 40px;
2444
  }
2445
+ }
2446
+ @media screen and (max-width: 750px) {
2447
+ .d_table{
2448
+ display:block;
2449
  width: 100%;
 
 
 
 
2450
  }
2451
  }
2452
+ @media screen and (max-width: 767px) {
2453
  .provider{
2454
  width: 33.3%;
2455
  }
2456
  .search_section .search-icon{
2457
  padding: 8px 5px;
2458
+ }
2459
+ .provider_top {
2460
+ margin-bottom: 10px;
2461
+ }
2462
+ .nav_doc_section{
2463
+ float: none;
2464
+ padding: 15px 0 15px;
2465
+ margin-left: 30px;
2466
+ }
2467
  .status_filter{
2468
  width: auto;
2469
+ }
2470
+ .provder_table_mobile{
2471
+ display:table;
2472
+ }
2473
+ .provder_table_desktop{
2474
+ display:none;
2475
+ }
2476
  table.provder_table td:nth-last-child(2) {
2477
  text-align: left;
2478
  }
2480
  width: 100%;
2481
  margin: 0 0 5px;
2482
  }
2483
+ }
2484
+ @media screen and (max-width: 500px) {
2485
+ .provider{
2486
+ width: 50%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2487
  }
2488
+ #search_provider{
2489
  width: 100%;
 
2490
  }
2491
+ .plugin-logo{
2492
+ max-width: 300px;
 
 
 
2493
  }
2494
  }
2495
+ @media screen and (min-width: 768px) and (max-width: 1050px) {
2496
+ .provider{
2497
+ width: 33.3%;
2498
+ }
2499
+ }
2500
  @media screen and (min-width: 1300px){
2501
  content .woocommerce-progress-form-wrapper {
2502
  max-width: 60%;
assets/css/customizer-styles.css CHANGED
@@ -1,15 +1,34 @@
1
- #accordion-section-custom_order_status_email>h3:before{
2
- font-family: 'Dashicons';
3
- font-size: 20px;
4
- font-weight: thin !important;
5
- position: relative;
6
- line-height: 0;
 
7
  vertical-align: middle;
8
- opacity: .6;
9
- top: -1px;
10
- content: "\f465";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  }
12
- #accordion-section-trackship_shipment_status_email>h3:before{
13
  font-family: 'Dashicons';
14
  font-size: 20px;
15
  font-weight: thin !important;
@@ -20,7 +39,7 @@
20
  top: -1px;
21
  content: "\f465";
22
  }
23
- #accordion-section-ast_tracking_general_section>h3:before{
24
  font-family: 'Dashicons';
25
  font-size: 20px;
26
  font-weight: thin !important;
@@ -31,7 +50,98 @@
31
  top: -1px;
32
  content: "\f231";
33
  }
34
- #accordion-section-ast_tracking_page_section>h3:before{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  font-family: 'Dashicons';
36
  font-size: 20px;
37
  font-weight: thin !important;
@@ -95,31 +205,18 @@
95
  display: block;
96
  background: #f9f9f9;
97
  color: #505050;
98
- font-size: 12px;
99
  }
100
  #customize-controls li.customize-control h3{
101
  margin-top: 0px;
102
  margin-bottom: 0;
103
  }
 
 
 
104
  .customize-control-description{
105
  font-size: 12px;
106
  }
107
  .customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-display_shipment_provider_name,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-table_header_block,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-hide_table_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-table_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-table_padding,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-shipment_link_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-tracking_link_font_color,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-table_content_header{
108
  border-top: 0;
109
  padding-top: 0;
110
- }
111
- #customize-control-wcast_availableforpickup_email_settings-wcast_availableforpickup_email_content,#customize-control-wcast_intransit_email_settings-wcast_intransit_email_content,#customize-control-wcast_onhold_email_settings-wcast_onhold_email_content,#customize-control-wcast_returntosender_email_settings-wcast_returntosender_email_content,#customize-control-wcast_outfordelivery_email_settings-wcast_outfordelivery_email_content,#customize-control-wcast_delivered_email_settings-wcast_delivered_status_email_content,#customize-control-wcast_failure_email_settings-wcast_failure_email_content,#customize-control-late_shipments_email_settings-wcast_late_shipments_email_content,#customize-control-woocommerce_customer_updated_tracking_order_settings-wcast_updated_tracking_email_content,#customize-control-woocommerce_customer_partial_shipped_order_settings-wcast_partial_shipped_email_content,#customize-control-woocommerce_customer_delivered_order_settings-wcast_delivered_email_content {
112
- margin-bottom: 0;
113
- }
114
- #customize-control-wcast_availableforpickup_email_settings-wcast_availableforpickup_email_code_block,#customize-control-wcast_intransit_email_settings-wcast_intransit_email_code_block,#customize-control-wcast_onhold_email_settings-wcast_onhold_email_code_block,#customize-control-wcast_returntosender_email_code_block,#customize-control-wcast_outfordelivery_email_settings-wcast_outfordelivery_email_code_block,#customize-control-wcast_delivered_email_settings-wcast_delivered_status_email_code_block,#customize-control-wcast_failure_email_settings-wcast_failure_email_code_block,#customize-control-late_shipments_email_settings-wcast_late_shipments_email_code_block,#customize-control-wcast_updated_tracking_code_block,#customize-control-wcast_partial_shipped_code_block,#customize-control-wcast_email_code_block {
115
- margin-top: 0;
116
- padding-top: 0;
117
- border-top: 0;
118
- }
119
- li#accordion-panel-widgets {
120
- display: none !important;
121
- }
122
- .customize-control+.customize-control {
123
- border-top: 1px solid #ddd;
124
- padding-top: 10px;
125
  }
1
+ #accordion-section-default_controls_section>h3:before{
2
+ content: ' ';
3
+ background-image: url(icons/ast-icon.png);
4
+ width: 20px;
5
+ height: 20px;
6
+ background-size: contain;
7
+ display: inline-block;
8
  vertical-align: middle;
9
+ background-repeat: no-repeat;
10
+ }
11
+ #accordion-section-customer_partial_shipped_email>h3:before{
12
+ content: ' ';
13
+ background-image: url(icons/partial-shipped-icon.png);
14
+ width: 20px;
15
+ height: 20px;
16
+ background-size: contain;
17
+ display: inline-block;
18
+ vertical-align: middle;
19
+ background-repeat: no-repeat;
20
+ }
21
+ #accordion-section-customer_updated_tracking_email>h3:before{
22
+ content: ' ';
23
+ background-image: url(icons/updated-tracking-icon.png);
24
+ width: 20px;
25
+ height: 20px;
26
+ background-size: contain;
27
+ display: inline-block;
28
+ vertical-align: middle;
29
+ background-repeat: no-repeat;
30
  }
31
+ #accordion-panel-wcast_emails_panel>h3:before,#accordion-panel-wcast_admin_emails_panel>h3:before,#accordion-panel-wcast_naviation_panel>h3:before{
32
  font-family: 'Dashicons';
33
  font-size: 20px;
34
  font-weight: thin !important;
39
  top: -1px;
40
  content: "\f465";
41
  }
42
+ #accordion-panel-ast_tracking_display_panel>h3:before{
43
  font-family: 'Dashicons';
44
  font-size: 20px;
45
  font-weight: thin !important;
50
  top: -1px;
51
  content: "\f231";
52
  }
53
+ #accordion-section-customer_delivered_email>h3:before{
54
+ content: ' ';
55
+ background-image: url(icons/Delivered-o.png);
56
+ width: 20px;
57
+ height: 20px;
58
+ background-size: cover;
59
+ display: inline-block;
60
+ vertical-align: middle;
61
+ }
62
+ #accordion-section-customer_shipped_email>h3:before{
63
+ content: ' ';
64
+ background-image: url(icons/shipped-o.png);
65
+ width: 20px;
66
+ height: 20px;
67
+ background-size: cover;
68
+ display: inline-block;
69
+ vertical-align: middle;
70
+ }
71
+ #accordion-section-customer_failure_email>h3:before{
72
+ content: ' ';
73
+ background-image: url(icons/failure-v4.png);
74
+ width: 20px;
75
+ height: 20px;
76
+ background-size: cover;
77
+ display: inline-block;
78
+ vertical-align: middle;
79
+ }
80
+ #accordion-section-customer_intransit_email>h3:before{
81
+ content: ' ';
82
+ background-image: url(icons/in-transit-v4.png);
83
+ width: 20px;
84
+ height: 20px;
85
+ background-size: cover;
86
+ display: inline-block;
87
+ vertical-align: middle;
88
+ }
89
+ #accordion-section-customer_onhold_email>h3:before{
90
+ content: ' ';
91
+ background-image: url(icons/On-hold-v3.png);
92
+ width: 20px;
93
+ height: 20px;
94
+ background-size: cover;
95
+ display: inline-block;
96
+ vertical-align: middle;
97
+ }
98
+ #accordion-section-customer_outfordelivery_email>h3:before{
99
+ content: ' ';
100
+ background-image: url(icons/out-for-delivery-v4.png);
101
+ width: 20px;
102
+ height: 20px;
103
+ background-size: cover;
104
+ display: inline-block;
105
+ vertical-align: middle;
106
+ }
107
+ #accordion-section-customer_delivered_status_email>h3:before{
108
+ content: ' ';
109
+ background-image: url(icons/delivered-v4.png);
110
+ width: 20px;
111
+ height: 20px;
112
+ background-size: cover;
113
+ display: inline-block;
114
+ vertical-align: middle;
115
+ }
116
+ #accordion-section-customer_returntosender_email>h3:before{
117
+ content: ' ';
118
+ background-image: url(icons/return-to-sender-v4.png);
119
+ width: 20px;
120
+ height: 20px;
121
+ background-size: cover;
122
+ display: inline-block;
123
+ vertical-align: middle;
124
+ }
125
+ #accordion-section-customer_availableforpickup_email>h3:before{
126
+ content: ' ';
127
+ background-image: url(icons/available-for-picup-v4.png);
128
+ width: 20px;
129
+ height: 20px;
130
+ background-size: cover;
131
+ display: inline-block;
132
+ vertical-align: middle;
133
+ }
134
+ #accordion-section-admin_late_shipments_email>h3:before{
135
+ content: ' ';
136
+ background-image: url(icons/late-shipment-v3.png);
137
+ width: 20px;
138
+ height: 20px;
139
+ background-size: cover;
140
+ display: inline-block;
141
+ vertical-align: middle;
142
+ }
143
+
144
+ #accordion-section-tracking_page_section>h3:before{
145
  font-family: 'Dashicons';
146
  font-size: 20px;
147
  font-weight: thin !important;
205
  display: block;
206
  background: #f9f9f9;
207
  color: #505050;
 
208
  }
209
  #customize-controls li.customize-control h3{
210
  margin-top: 0px;
211
  margin-bottom: 0;
212
  }
213
+ #customize-controls li.customize-control h3.control_heading{
214
+ margin-bottom:14px;
215
+ }
216
  .customize-control-description{
217
  font-size: 12px;
218
  }
219
  .customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-display_shipment_provider_name,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-table_header_block,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-hide_table_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-table_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-table_padding,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-shipment_link_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-tracking_link_font_color,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-table_content_header{
220
  border-top: 0;
221
  padding-top: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  }
assets/css/customizer.css CHANGED
@@ -7,7 +7,8 @@
7
  ========================================================================== */
8
  .customize-control select,
9
  .select2-container--default .selection .select2-selection--single {
10
- border: none;
 
11
  position: relative;
12
  border-radius: 0;
13
  height: 27px;
@@ -94,7 +95,6 @@ input[type="number"]:focus {
94
  .tinymce-control textarea {
95
  width: 100%;
96
  padding: 10px;
97
- height: 95px;
98
  }
99
 
100
  /* ==========================================================================
@@ -247,8 +247,8 @@ input[type="number"]:focus {
247
  .slider-custom-control .ui-button,
248
  .slider-custom-control .ui-button.ui-state-disabled:hover,
249
  .slider-custom-control .ui-button.ui-state-disabled:active {
250
- background: #005b9a none repeat scroll 0 0;
251
- border: 1px solid #005b9a;
252
  color: #454545;
253
  font-weight: normal;
254
  }
7
  ========================================================================== */
8
  .customize-control select,
9
  .select2-container--default .selection .select2-selection--single {
10
+ border: none;
11
+ background: #fcfcff;
12
  position: relative;
13
  border-radius: 0;
14
  height: 27px;
95
  .tinymce-control textarea {
96
  width: 100%;
97
  padding: 10px;
 
98
  }
99
 
100
  /* ==========================================================================
247
  .slider-custom-control .ui-button,
248
  .slider-custom-control .ui-button.ui-state-disabled:hover,
249
  .slider-custom-control .ui-button.ui-state-disabled:active {
250
+ background: #2885bb none repeat scroll 0 0;
251
+ border: 1px solid #2885bb;
252
  color: #454545;
253
  font-weight: normal;
254
  }
assets/css/front.css CHANGED
@@ -1,11 +1,148 @@
1
- form.order_track_form label {
2
- width: 100%;
3
- display: block;
4
- margin-bottom: 5px;
5
  }
6
- form.order_track_form input {
7
- width: 100%;
8
- margin-bottom: 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  }
10
  .progress {
11
  display: -ms-flexbox;
@@ -26,150 +163,221 @@ form.order_track_form input {
26
  background-color: #C1C1C1;
27
  transition: width 0.6s ease
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  .tracking-detail .text-center {
30
  text-align: center;
31
  }
32
  .tracking-detail .text-right {
33
  text-align: right;
34
  }
35
- .col.tracking-detail {
36
- margin: 15px auto 0;
37
- padding: 0;
38
- border: 1px solid #ccc;
39
- max-width: 600px;
40
- position: relative;
41
  }
42
- .ts_tracking_popup .col.tracking-detail{
43
- margin: 0 auto;
44
  }
45
- .trackship_branding {
46
- text-align: center;
47
- border-top: 1px solid #e0e0e0;
48
- padding: 10px;
49
  }
50
- .trackship_branding p{
51
- margin: 0;
52
- color: #3c4758;
53
  }
54
- .trackship_branding img{
55
- width: 80px;
56
- display: inline-block;
57
- vertical-align: middle;
58
  }
59
- .tracking-header {
60
- margin: 20px 0;
61
- padding: 0 20px;
62
  }
63
- .tracking-detail .tracking-number {
64
- font-weight: 400;
65
- color: #757575;
66
- font-size: 14px;
67
  }
68
- .tracking-detail .h4-heading{
69
- border-bottom: 1px solid #eee;
70
- color: #333333;
71
- font-size: 14px;
72
- font-weight: 100;
73
  }
74
- .track-order-section{
75
- text-align: left;
76
  }
77
- .shipment-header{
78
- border-bottom: 1px solid #e0e0e0;
79
- padding: 10px 20px;
80
- font-weight: 600;
81
- display: flex;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  }
83
  .shipment_heading{
84
- margin-bottom: 0;
85
- flex: 1;
 
86
  }
87
  .shipment_status_heading{
88
  font-weight: 600;
89
- color: #35609a;
90
  font-size: 36px;
91
  margin-bottom: 0;
92
  }
93
- .shipment_status_heading.in_transit{
94
- color: #53c3bd;
95
- }
96
- .shipment_status_heading.out_for_delivery{
97
- color: #90ca5e;
98
- }
99
- .shipment_status_heading.return_to_sender{
100
- color: #a8414a;
101
- }
102
- .shipment_status_heading.available_for_pickup{
103
- color: #f49d1d;
104
  }
105
- .shipment_status_heading.delivered{
106
- color: #0f8042;
 
107
  }
108
- .shipment_status_heading.on_hold{
109
- color: #ffde00;
 
110
  }
111
- .shipment_status_heading.failure{
112
- color: #cd2128;
 
113
  }
114
- .tracker-progress-bar{
115
- padding: 0 20px;
116
- margin-bottom: 2rem;
 
117
  }
118
- /**** Layout 1 Progressbar CSS ***/
119
- .tracker-progress-bar.tracking_layout_1 .progress{
120
- height: 15px;
121
- border-radius: 10px;
122
  }
123
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar:before{
124
- display: inline-block;
125
- position: absolute;
126
- width: 30px;
127
- height: 30px;
128
  }
129
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.pre_transit:before{
130
- content: url(icons/pre-transit-o.png);
131
- left: 2%;
132
  }
133
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.in_transit:before{
134
- content: url(icons/in-transit-o.png);
135
- left: 33%;
136
  }
137
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.available_for_pickup:before{
138
- content: url(icons/available-for-picup-o.png);
139
- left: 64%;
140
  }
141
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.on_hold:before{
142
- content: url(icons/on-hold-o.png);
143
- left: 33%;
144
  }
145
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.out_for_delivery:before{
146
- content: url(icons/out-for-delivery-o.png);
147
- left: 64%;
 
 
148
  }
149
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.delivered:before{
150
- content: url(icons/delivered-o.png);
151
- right: 2.5%;
 
152
  }
153
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.return_to_sender:before{
154
- content: url(icons/return-to-sender-o.png);
155
- left: 64%;
156
  }
157
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.failure:before{
158
- content: url(icons/failure-o.png);
159
- left: 4%;
160
  }
161
 
162
  /**** Layout 2 CSS ***/
163
- .tracker-progress-bar .progress {
 
 
 
 
 
 
164
  display: -ms-flexbox;
165
  display: flex;
166
  height: 40px;
167
  overflow: hidden;
168
  background-color: #f5f5f5;
169
  border-radius: 5px;
170
- border: 1px solid #eee;
171
  }
172
- .progress-bar {
173
  display: -ms-flexbox;
174
  display: flex;
175
  -ms-flex-direction: column;
@@ -179,154 +387,106 @@ form.order_track_form input {
179
  color: #fff;
180
  text-align: center;
181
  white-space: nowrap;
182
- background-color: #35609a;
183
  transition: width 0.6s ease;
184
- box-shadow: none;
185
  }
186
- .progress-bar.in_transit{
187
- background-color: #53c3bd;
188
  }
189
- .progress-bar.out_for_delivery{
190
- background-color: #90ca5e;
191
- }
192
- .progress-bar.return_to_sender{
193
- background-color: #a8414a;
194
  }
195
- .progress-bar.available_for_pickup{
196
- background-color: #f49d1d;
197
- }
198
- .progress-bar.delivered{
199
- background-color: #0f8042;
200
- }
201
- .progress-bar.on_hold{
202
- background-color: #ffde00;
203
- }
204
- .progress-bar.failure{
205
- background-color: #cd2128;
206
- }
207
- .tracking_destination_details_by_date {
208
- margin-bottom: 10px;
209
- padding-bottom: 15px;
210
- border-bottom: 1px solid #e0e0e0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  }
212
  .tracking-detail .provider_image{
213
- width: 45px;
214
- border-radius: 5px;
 
 
215
  }
216
  .tracking-detail .tracking-details {
217
- padding: 0 20px 10px;
218
- font-size: 14px;
219
  }
220
- .tracking_details_by_date {
221
- margin-bottom: 10px;
222
- }
223
- .view_old_details,.hide_old_details{
224
- color: #2196f3;
225
- }
226
- ul.timeline {
227
- list-style: none!important;
228
- position: relative;
229
- padding: 0 0 0 20px !important;
230
- margin: 0;
231
- }
232
- ul.timeline:before {
233
- content: ' ';
234
- background: #ccc;
235
- display: inline-block;
236
- position: absolute;
237
- left: 9px;
238
- width: 2px;
239
- height: 100%;
240
- }
241
- ul.timeline > li {
242
- margin: 0;
243
- padding: 10px 20px 0;
244
- }
245
- ul.timeline.new-details > li:first-child{
246
- padding: 0 20px 10px;
247
- }
248
- ul.timeline > li:first-child{
249
- padding: 0 20px 0;
250
- }
251
- ul.timeline.new-details > li:last-child{
252
- padding: 0 20px 10px;
253
- }
254
- ul.timeline > li:before {
255
- content: url('../images/timeline-round.png');
256
- display: inline-block;
257
- position: absolute;
258
- left: 0px;
259
- width: 20px;
260
- height: 20px;
261
- }
262
- ul.timeline > li > p{
263
- margin-bottom: 0;
264
- font-size: 90%;
265
  }
266
- .provider_image_div {
267
- display: inline-block;
268
- vertical-align: middle;
269
- margin: 0 10px 10px 0;
270
  }
271
- .tracking_number_div {
272
- display: inline-block;
273
- vertical-align: middle;
274
- margin-bottom: 10px;
275
  }
276
- .tracking_number_div ul{
277
- list-style: none !important;
278
- margin: 0;
279
  }
280
- .tracking_number_div ul li{
281
- margin: 0;
282
  }
283
-
284
- /**** Tracking Lightbox CSS ***/
285
- .popupwrapper {
286
- position: fixed;
287
- top: 0;
288
- left: 0;
289
- background: rgb(250 250 250 / 0.8);
290
- border: 1px solid #e0e0e0;
291
- z-index: 100000;
292
- width: 100%;
293
- height: 100%;
294
- text-align: center;
295
  }
296
- .popupwrapper:after {
297
- content: '';
298
- display: inline-block;
299
- vertical-align: middle;
300
- height: 100%;
301
- }
302
- .popuprow {
303
- display: inline-block;
304
- vertical-align: middle;
305
- max-width: 600px;
306
- background: #fff;
307
- padding: 0;
308
- position: relative;
309
- z-index: 10;
310
- border-radius: 3px;
311
- width: 97%;
312
- width: calc(100% - 5px);
313
- max-height: 90%;
314
- overflow-y: overlay;
315
- text-align: left;
316
- border: 1px solid #e0e0e0;
317
- }
318
- .popupclose {
319
- position: absolute;
320
- width: 100%;
321
- height: 100%;
322
- z-index: 9;
323
- top: 0;
324
- left: 0;
325
  }
326
- p.pending_message {
327
- padding: 0 20px;
 
 
 
 
 
 
328
  }
329
-
330
  /*** RTL CSS ***/
331
 
332
  .rtl .track-order-section{
@@ -338,21 +498,178 @@ p.pending_message {
338
  .rtl .tracking-detail .text-right{
339
  text-align: left;
340
  }
341
- .rtl .provider_image_div{
342
- margin: 0 0 20px 10px;
343
  }
344
- .rtl ul.timeline{
345
- padding-left: 0;
346
- padding-right: 20px;
347
  }
348
- .rtl ul.timeline:before{
349
- right: 9px;
350
  }
351
- .rtl ul.timeline > li:before{
352
- right: 0px;
353
  }
354
- .rtl ul.timeline > li{
355
- padding-right: 30px;
356
- padding-left: 0;
357
  }
358
- /*** END OF RTL CSS ***/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .tracker-progress-bar-with-dots {
2
+ margin-bottom: 30px;
3
+ margin-top: 50px;
4
+ position: relative
5
  }
6
+ .progress-bar.bg-secondary {
7
+ background-color: #303F9F;
8
+ }
9
+ .progress-bar.bg-success {
10
+ background-color: #0f8042;
11
+ }
12
+ .progress-bar.bg-warning {
13
+ background-color: #f0ad4e;
14
+ }
15
+ @media (max-width: 575.98px) {
16
+ .tracker-progress-bar-with-dots {
17
+ font-size: 12px
18
+ }
19
+ }
20
+ .tracker-progress-bar-with-dots .progress {
21
+ margin-bottom: 35px;
22
+ height: 5px;
23
+ margin-left: 15px;
24
+ }
25
+ .tracker-progress-bar-with-dots .progress .progress-bar {
26
+ box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.15)
27
+ }
28
+ .tracker-progress-bar-with-dots .state-0 {
29
+ position: absolute;
30
+ left: 0
31
+ }
32
+ .tracker-progress-bar-with-dots .state-1 {
33
+ position: absolute;
34
+ left: 33%
35
+ }
36
+ .tracker-progress-bar-with-dots .state-2 {
37
+ position: absolute;
38
+ left: 66%
39
+ }
40
+ .tracker-progress-bar-with-dots .state-3 {
41
+ position: absolute;
42
+ left: 95%
43
+ }
44
+ .tracker-progress-bar-with-dots .state-label {
45
+ width: 75px;
46
+ text-align: center;
47
+ }
48
+ .tracker-progress-bar-with-dots .primary .dot {
49
+ border-color: #303F9F
50
+ }
51
+ .tracker-progress-bar-with-dots .secondary .dot {
52
+ border-color: #303F9F
53
+ }
54
+ .tracker-progress-bar-with-dots .success .dot {
55
+ border-color: #5cb85c
56
+ }
57
+ .tracker-progress-bar-with-dots .warning .dot {
58
+ border-color: #f0ad4e
59
+ }
60
+ .tracker-progress-bar-with-dots .danger .dot {
61
+ border-color: #d9534f
62
+ }
63
+ .tracker-progress-bar-with-dots .dot {
64
+ width: 75px;
65
+ height: 75px;
66
+ top: 0;
67
+ margin-top: -34px;
68
+ box-sizing: border-box;
69
+ background-size: cover;
70
+ }
71
+ .tracker-progress-bar-with-dots .dot.pre_transit{
72
+ background-image: url(icons/Pre-Transit-512.png);
73
+ }
74
+ .tracker-progress-bar-with-dots .dot.pre_transit.past-state{
75
+ background-image: url(icons/pre-transit-v3.png);
76
+ }
77
+ .tracker-progress-bar-with-dots .dot.unknown{
78
+ background-image: url(icons/failure-512.png);
79
+ }
80
+ .tracker-progress-bar-with-dots .dot.unknown.past-state{
81
+ background-image: url(icons/failure-v3.png);
82
+ }
83
+ .tracker-progress-bar-with-dots .dot.in_transit{
84
+ background-image: url(icons/In-Transit-512.png);
85
+ }
86
+ .tracker-progress-bar-with-dots .dot.on_hold{
87
+ background-image: url(icons/On-hold-v1.png);
88
+ }
89
+ .tracker-progress-bar-with-dots .dot.in_transit.past-state{
90
+ background-image: url(icons/in-transit-v3.png);
91
+ }
92
+ .tracker-progress-bar-with-dots .dot.out_for_delivery{
93
+ background-image: url(icons/Out-for-Delivery-512.png);
94
+ }
95
+ .tracker-progress-bar-with-dots .dot.out_for_delivery.past-state{
96
+ background-image: url(icons/out-for-delivery-v3.png);
97
+ }
98
+ .tracker-progress-bar-with-dots .dot.delivered{
99
+ background-image: url(icons/Delivered-512.png);
100
+ }
101
+ .tracker-progress-bar-with-dots .dot.delivered.past-state{
102
+ background-image: url(icons/delivered-v3.png);
103
+ }
104
+ .tracker-progress-bar-with-dots .dot.return_to_sender{
105
+ background-image: url(icons/return-to-sender-512.png);
106
+ }
107
+ .tracker-progress-bar-with-dots .dot.return_to_sender.past-state{
108
+ background-image: url(icons/return-to-sender-v3.png);
109
+ }
110
+ .tracker-progress-bar-with-dots .dot.failure{
111
+ background-image: url(icons/failure-512.png);
112
+ }
113
+ .tracker-progress-bar-with-dots .dot.failure.past-state{
114
+ background-image: url(icons/failure-v3.png);
115
+ }
116
+ .tracker-progress-bar-with-dots .dot.available_for_pickup{
117
+ background-image: url(icons/available-for-picup-512.png);
118
+ }
119
+ .tracker-progress-bar-with-dots .dot.available_for_pickup.past-state{
120
+ background-image: url(icons/available-for-picup-v3.png);
121
+ }
122
+
123
+
124
+ .tracker-progress-bar-with-dots .dot.in_transit.future-state{
125
+ background-image: url(icons/in-transit-grey-v3.png);
126
+ }
127
+ .tracker-progress-bar-with-dots .dot.out_for_delivery.future-state{
128
+ background-image: url(icons/out-for-delivery-grey-v3.png);
129
+ }
130
+ .tracker-progress-bar-with-dots .dot.delivered.future-state{
131
+ background-image: url(icons/delivered-grey-v3.png);
132
+ }
133
+
134
+
135
+ .tracker-progress-bar-with-dots .past-state {
136
+ color: #899DA3
137
+ }
138
+ .tracker-progress-bar-with-dots .current-state {
139
+ font-weight: bold
140
+ }
141
+ .tracker-progress-bar-with-dots .future-state {
142
+ color: #BAC8CC
143
+ }
144
+ .tracker-progress-bar-flat .progress-bar {
145
+ box-shadow: none
146
  }
147
  .progress {
148
  display: -ms-flexbox;
163
  background-color: #C1C1C1;
164
  transition: width 0.6s ease
165
  }
166
+
167
+ @media screen and (prefers-reduced-motion: reduce) {
168
+ .progress-bar {
169
+ transition: none
170
+ }
171
+ }
172
+ .progress-bar-striped {
173
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
174
+ background-size: 1.25rem 1.25rem
175
+ }
176
+ .progress-bar-animated {
177
+ animation: progress-bar-stripes 1s linear infinite
178
+ }
179
+ .status-section {
180
+ max-width: 90%;
181
+ margin: 0px 35px 0 0;
182
+ }
183
+ .tracking-detail .col-md-6 {
184
+ width: 50%;
185
+ }
186
+ .tracking-detail .mb-6, .tracking-detail .my-6 {
187
+ margin-bottom: 4rem;
188
+ }
189
+ .tracking-detail .mb-4, .tracking-detail .my-4 {
190
+ margin-bottom: 2rem;
191
+ }
192
  .tracking-detail .text-center {
193
  text-align: center;
194
  }
195
  .tracking-detail .text-right {
196
  text-align: right;
197
  }
198
+ .tracking-detail .text-secondary,.tracking-header .text-secondary {
199
+ color: #303F9F;
 
 
 
 
200
  }
201
+ .tracking-detail .text-warning,.tracking-header .text-warning {
202
+ color: #f0ad4e;
203
  }
204
+ .tracking-detail .text-success,.tracking-header .text-success {
205
+ color: #0f8042;
 
 
206
  }
207
+ .tracking-detail .border-light {
208
+ border-color: #E4ECEF;
 
209
  }
210
+ .tracking-detail .list-unstyled {
211
+ padding-left: 0;
212
+ list-style: none;
 
213
  }
214
+ .tracking-detail .border {
215
+ border: 2px solid #E4ECEF;
 
216
  }
217
+ .tracking-detail .bg-gray-100 {
218
+ background-color: #F5F8F8;
 
 
219
  }
220
+ .tracking-detail .text-gray-300 {
221
+ color: #777;
 
 
 
222
  }
223
+ .tracking-detail .font-size-h5 {
224
+ font-size: 1.175rem;
225
  }
226
+ .tracking-details-time {
227
+ -ms-flex: 120px 0 0px;
228
+ flex: 120px 0 0;
229
+ }
230
+ .tracking-details-date {
231
+ -ms-flex: 190px 0 0px;
232
+ flex: 190px 0 0;
233
+ }
234
+ .tracking-detail .font-size-h3 {
235
+ font-size: 1.645rem;
236
+ }
237
+ .tracking-detail .align-items-center {
238
+ -ms-flex-align: center !important;
239
+ align-items: center !important;
240
+ }
241
+ .ep-icon-theme1-default:before {
242
+ content: "\E903";
243
+ }
244
+ .ep-icon-theme1-delivered:before {
245
+ content: "\E904";
246
+ }
247
+ .ep-icon-theme1-clock:before {
248
+ content: "\E902";
249
+ }
250
+ .ep-icon-theme1-barcode:before {
251
+ content: "\E901";
252
+ }
253
+ .ep-icon-theme1-exclamation:before {
254
+ content: "\E905";
255
+ }
256
+ .ep-icon-theme1-back-arrow:before {
257
+ content: "\E900";
258
+ }
259
+ .tracking-detail .d-flex {
260
+ display: -ms-flexbox !important;
261
+ display: flex !important;
262
+ }
263
+ .tracking-details li {
264
+ margin-left: 0 !important;
265
+ padding: 10px 0;
266
+ border-bottom: 2px solid #E4ECEF;
267
+ }
268
+ .tracking-details li:last-child {
269
+ border-bottom: 0;
270
+ }
271
+ .tracking-detail .pl-3, .tracking-detail .px-3 {
272
+ padding-left: 1rem !important;
273
+ }
274
+ .tracking-detail .pr-3, .tracking-detail .px-3 {
275
+ padding-right: 1rem !important;
276
+ }
277
+ .tracking-detail .pb-2, .tracking-detail .py-2 {
278
+ padding-bottom: .5rem !important;
279
+ }
280
+ .tracking-detail .pt-2, .tracking-detail .py-2 {
281
+ padding-top: .5rem !important;
282
+ }
283
+ .tracking-detail .mb-3, .tracking-detail .my-3 {
284
+ margin-bottom: 0.3rem !important;
285
+ }
286
+ .col.tracking-detail {
287
+ margin: 20px auto 20px;
288
+ padding: 30px;
289
+ border: 1px solid #f9f9f9;
290
+ max-width: 800px;
291
+ }
292
+ .trackship_branding {
293
+ text-align: center;
294
  }
295
  .shipment_heading{
296
+ border-bottom: 1px solid #E4ECEF;
297
+ padding-bottom: 10px;
298
+ font-weight: 600;
299
  }
300
  .shipment_status_heading{
301
  font-weight: 600;
302
+ color: #303F9F;
303
  font-size: 36px;
304
  margin-bottom: 0;
305
  }
306
+ .tracker-top-level {
307
+ display: flex;
308
+ margin-bottom: 2rem;
 
 
 
 
 
 
 
 
309
  }
310
+ .tracking-table thead tr th{
311
+ padding: 15px 0;
312
+ border-bottom: 0;
313
  }
314
+ .tracking-table tbody tr td{
315
+ padding: .5em .5em .5em .5em;
316
+ border-bottom: 1px solid #eee
317
  }
318
+ .tracking-header {
319
+ display: flex;
320
+ margin-bottom: 30px;
321
  }
322
+ .tracking-detail .tracking-number {
323
+ font-weight: 400;
324
+ color: #757575;
325
+ font-size: 14px;
326
  }
327
+ .mobile-section{
328
+ display:none;
 
 
329
  }
330
+ .desktop-section{
331
+ display:block;
 
 
 
332
  }
333
+ table.tracking-table tr:nth-child(n+3) {
334
+ display: none;
 
335
  }
336
+ table.tracking-table{
337
+ margin-bottom: 5px;
 
338
  }
339
+ .hide_table_rows{
340
+ display:none;
 
341
  }
342
+ .shipment_progress_div {
343
+ margin-top: 60px;
344
+ padding-bottom: 7px;
345
  }
346
+ .tracking-detail .h4-heading{
347
+ border-bottom: 1px solid #eee;
348
+ color: #424242;
349
+ font-size: 14px;
350
+ font-weight: bold;
351
  }
352
+ .tracker-progress-bar-with-dots .dot.past-state,.tracker-progress-bar-with-dots .dot.future-state,.tracker-progress-bar-with-dots .dot.current-state{
353
+ background-size: 60px;
354
+ background-repeat: no-repeat;
355
+ background-position: center center;
356
  }
357
+ .col.tracking-detail{
358
+ text-align: left;
 
359
  }
360
+ .track-order-section{
361
+ text-align: left;
 
362
  }
363
 
364
  /**** Layout 2 CSS ***/
365
+ .tracking-layout-2 .shipment_status_heading{
366
+ padding-top: 0;
367
+ font-weight: 600;
368
+ margin-top: 0;
369
+ font-size: 36px;
370
+ }
371
+ .tracking-layout-2 .tracker-progress-bar .progress {
372
  display: -ms-flexbox;
373
  display: flex;
374
  height: 40px;
375
  overflow: hidden;
376
  background-color: #f5f5f5;
377
  border-radius: 5px;
378
+ border: 1px solid #bdbdbd;
379
  }
380
+ .tracking-layout-2 .progress-bar {
381
  display: -ms-flexbox;
382
  display: flex;
383
  -ms-flex-direction: column;
387
  color: #fff;
388
  text-align: center;
389
  white-space: nowrap;
390
+ background-color: #303F9F;
391
  transition: width 0.6s ease;
 
392
  }
393
+ .tracking-layout-2 .tracker-progress-bar .progress .bg-secondary {
394
+ background-color: #303F9F;
395
  }
396
+ .tracking-layout-2 .tracker-progress-bar .progress .bg-success {
397
+ background-color: #5cb85c;
 
 
 
398
  }
399
+ .tracking-layout-2 .tracker-progress-bar .progress .bg-warning {
400
+ background-color: #f0ad4e;
401
+ }
402
+ .tracking-layout-2 .tracker-progress-bar-flat .progress-bar {
403
+ box-shadow: none;
404
+ }
405
+ .tracking-layout-2 .progress_top{
406
+ display:flex;
407
+ }
408
+ .tracking-layout-2 .col-md-6{
409
+ padding:0;
410
+ }
411
+ .tracking-detail .font-weight-demi-bold{
412
+ font-weight: 500;
413
+ }
414
+ .tracking-detail .font-weight-bold{
415
+ font-weight: 800;
416
+ }
417
+ .tracking-detail .text-uppercase {
418
+ text-transform: uppercase;
419
+ }
420
+ .tracking-detail .mt-6, .tracking-detail .my-6 {
421
+ margin-top: 2rem;
422
+ }
423
+ .tracking-detail .mb-4{
424
+ margin-bottom: 1rem;
425
+ }
426
+ .tracking-detail .tracking-details .date {
427
+ min-width: 160px;
428
+ }
429
+ .tracking-detail .tracking-details .time {
430
+ min-width: 85px;
431
+ margin-left: 10px;
432
+ }
433
+ .tracking-layout-2.tracking-detail .tracking-details .time {
434
+ margin-left: 0px;
435
+ }
436
+ .tracking-detail .tracking-details .location {
437
+ min-width: 200px;
438
+ }
439
+ .tracking-detail .w-100 {
440
+ width: 100%;
441
+ }
442
+ .tracking-detail .ml-auto, .tracking-detail .mx-auto {
443
+ margin-left: auto;
444
+ }
445
+ .tracking-detail .old-details{
446
+ display: none;
447
  }
448
  .tracking-detail .provider_image{
449
+ width: 60px;
450
+ }
451
+ .tracking-detail p.mb-2 {
452
+ margin-bottom: 1em;
453
  }
454
  .tracking-detail .tracking-details {
455
+ font-size: 14px;
 
456
  }
457
+ .tracking-detail .tracking_group_by_date {
458
+ border-bottom: 1px solid #e0e0e0;
459
+ margin-bottom: 0.5rem;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
460
  }
461
+ .tracking-detail .tracking-details {
462
+ margin-top: 4rem;
 
 
463
  }
464
+ .tracking-detail .view_table_rows, .tracking-detail .hide_table_rows, .tracking-detail .view_old_details, .tracking-detail .hide_old_details{
465
+ color: #303F9F;
466
+ border-bottom: 1px solid;
467
+ text-decoration: none;
468
  }
469
+ .tracking-layout-2.tracking-detail .tracking-details {
470
+ margin-top: 2rem;
 
471
  }
472
+ .tracking-detail .tracking-desktop-header{
473
+ display:flex;
474
  }
475
+ .tracking-detail .tracking_details_desktop{
476
+ display:block;
 
 
 
 
 
 
 
 
 
 
477
  }
478
+ .tracking-detail .tracking-mobile-header,.tracking-detail .tracking_details_mobile{
479
+ display:none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
480
  }
481
+ @media (min-width: 768px){
482
+ .tracking-detail .d-md-flex {
483
+ display: -ms-flexbox;
484
+ display: flex;
485
+ }
486
+ .tracking-detail .text-md-right {
487
+ text-align: right;
488
+ }
489
  }
 
490
  /*** RTL CSS ***/
491
 
492
  .rtl .track-order-section{
498
  .rtl .tracking-detail .text-right{
499
  text-align: left;
500
  }
501
+ .rtl .tracker-progress-bar-with-dots .state-0{
502
+ right: 0;
503
  }
504
+ .rtl .tracker-progress-bar-with-dots .state-1{
505
+ right: 33%;
 
506
  }
507
+ .rtl .tracker-progress-bar-with-dots .state-2{
508
+ right: 66%;
509
  }
510
+ .rtl .tracker-progress-bar-with-dots .state-3{
511
+ right: 95%;
512
  }
513
+ .rtl .tracker-progress-bar-with-dots .progress{
514
+ margin-right: 15px;
515
+ margin-left: 0;
516
  }
517
+ .rtl .status-section{
518
+ margin: 0px 0 0 35px;
519
+ }
520
+ /*** END OF RTL CSS ***/
521
+
522
+ @media screen and (max-width: 767px) {
523
+ .col.tracking-detail{
524
+ padding: 20px 15px 10px;
525
+ width: 95%;
526
+ }
527
+ .tracking-detail .col-md-6{
528
+ width: 100%;
529
+ }
530
+ .tracking-detail .text-right{
531
+ text-align: left;
532
+ }
533
+ .tracking-header{
534
+ display: block;
535
+ }
536
+ .status-section{
537
+ max-width: 80%;
538
+ }
539
+ .tracker-progress-bar-with-dots .dot.past-state,.tracker-progress-bar-with-dots .dot.future-state{
540
+ background-size: 45px;
541
+ background-repeat: no-repeat;
542
+ background-position: center center;
543
+ }
544
+
545
+ .tracking-detail .header_top_left {
546
+ margin-right: 1rem;
547
+ width: 50px;
548
+ }
549
+ .tracking-detail .header_top1 {
550
+ margin-bottom: 15px;
551
+ }
552
+ .tracking-detail .tracking-mobile-header{
553
+ display:block;
554
+ }
555
+ .tracking-detail .tracking_details_mobile{
556
+ display:block;
557
+ }
558
+ .tracking-detail .tracking-desktop-header,.tracking-detail .tracking_details_desktop{
559
+ display:none;
560
+ }
561
+ .tracking-detail .tracking_details_mobile_row {
562
+ border-bottom: 1px solid #eee;
563
+ }
564
+ .tracking-detail .tracking-details .time {
565
+ margin-left: 0px;
566
+ }
567
+ /*** RTL CSS ***/
568
+ .rtl .tracking-detail .text-right {
569
+ text-align: right;
570
+ }
571
+ }
572
+ @media screen and (max-width: 550px) {
573
+ .mobile-section{
574
+ display:block;
575
+ }
576
+ .desktop-section{
577
+ display:none;
578
+ }
579
+ .tracker-progress-bar-with-dots .dot{
580
+ width: 60px;
581
+ height: 60px;
582
+ margin-top: -26px;
583
+ }
584
+ .tracker-progress-bar-with-dots .state-label{
585
+ display: inline-block;
586
+ vertical-align: middle;
587
+ width: auto;
588
+ margin-left: 10px;
589
+ }
590
+ .mobile-section .tracker-progress-bar-with-dots .dot{
591
+ background-size: cover;
592
+ width: 45px;
593
+ position: relative;
594
+ display: inline-block;
595
+ vertical-align: middle;
596
+ height: 45px;
597
+ margin: 0 auto;
598
+ }
599
+ .tracker-progress-bar-with-dots .state-1{
600
+ position: relative;
601
+ left:0;
602
+ }
603
+ .tracker-progress-bar-with-dots .state-2{
604
+ position: relative;
605
+ left:0;
606
+ }
607
+ .tracker-progress-bar-with-dots .state-3{
608
+ position: relative;
609
+ left:0;
610
+ }
611
+ .mobile-section .dot-div {
612
+ margin-bottom: 20px;
613
+ }
614
+ .mobile-section .tracker-progress-bar.tracker-progress-bar-with-dots:before {
615
+ content: '';
616
+ height: 93%;
617
+ position: absolute;
618
+ top: 10px;
619
+ left: 40px;
620
+ width: 5px;
621
+ background-color: #C1C1C1;
622
+ }
623
+ /*.progress-bar{
624
+ position: absolute;
625
+ }*/
626
+ .progress-bar.bg-secondary:before{
627
+ content: '';
628
+ height: 100%;
629
+ position: absolute;
630
+ left: 28px;
631
+ width: 5px;
632
+ background-color: #303F9F;
633
+ }
634
+ .tracker-progress-bar-with-dots .progress{
635
+ margin-bottom: 0;
636
+ height: 100%;
637
+ border-radius: 0;
638
+ }
639
+ .tracker-progress-bar-with-dots{
640
+ margin-bottom: 20px;
641
+ margin-top: 20px;
642
+ padding-left: 20px;
643
+ }
644
+ .tracker-progress-bar-with-dots .dot.past-state,.tracker-progress-bar-with-dots .dot.future-state{
645
+ background-size: 45px;
646
+ background-repeat: no-repeat;
647
+ background-position: center center;
648
+ }
649
+ .tracking-detail .tracking-details {
650
+ margin-top: 2rem;
651
+ }
652
+ .mobile-section .tracker-progress-bar .progress{
653
+ position: absolute;
654
+ width: 5px;
655
+ left: 26px;
656
+ }
657
+ .mobile-section .tracker-progress-bar .progress.bg-success{
658
+ background: #0f8042;
659
+ }
660
+ .mobile-section .tracker-progress-bar .progress.bg-warning{
661
+ background: #f0ad4e;
662
+ }
663
+ .rtl .tracker-progress-bar-with-dots .state-1{
664
+ right: 0;
665
+ }
666
+ .rtl .tracker-progress-bar-with-dots .state-2{
667
+ right: 0;
668
+ }
669
+ .rtl .tracker-progress-bar-with-dots .state-3{
670
+ right: 0;
671
+ }
672
+ .rtl .mobile-section .tracker-progress-bar.tracker-progress-bar-with-dots:before{
673
+ right: 27px;
674
+ }
675
+ }
assets/css/icons/Branded-Tracking-Page.png ADDED
Binary file
assets/css/icons/Delivered-512.png ADDED
Binary file
assets/css/icons/Delivered-o.png ADDED
Binary file
assets/css/icons/In-Transit--o.png ADDED
Binary file
assets/css/icons/In-Transit-512.png ADDED
Binary file
assets/css/icons/Late-Shipments-512.png ADDED
Binary file
assets/css/icons/Multi-Carrier-Support.png ADDED
Binary file
assets/css/icons/On-hold-v1.png ADDED
Binary file
assets/css/icons/{on-hold.png → On-hold-v3.png} RENAMED
File without changes
assets/css/icons/Out-for-Delivery-512.png ADDED
Binary file
assets/css/icons/Pre-Transit-512.png ADDED
Binary file
assets/css/icons/ast-icon.png CHANGED
Binary file
assets/css/icons/available-for-picup-512.png ADDED
Binary file
assets/css/icons/available-for-picup-o.png CHANGED
Binary file
assets/css/icons/available-for-picup-v3.png ADDED
Binary file
assets/css/icons/available-for-picup-v4.png ADDED
Binary file
assets/css/icons/available-for-picup.png DELETED
Binary file
assets/css/icons/cancel-o.png ADDED
Binary file
assets/css/icons/cancel-v3.png ADDED
Binary file
assets/css/icons/cancel-v4.png ADDED
Binary file
assets/css/icons/carrier-unsupported-o.png DELETED
Binary file
assets/css/icons/carrier-unsupported-v3.png ADDED
Binary file
assets/css/icons/carrier-unsupported-v4.png ADDED
Binary file
assets/css/icons/carrier-unsupported.png DELETED
Binary file
assets/css/icons/customer-support.png ADDED
Binary file
assets/css/icons/delivered-grey-v3.png ADDED
Binary file
assets/css/icons/delivered-o.png DELETED
Binary file
assets/css/icons/delivered-v3.png ADDED
Binary file
assets/css/icons/delivered-v4.png ADDED
Binary file
assets/css/icons/delivered.png DELETED
Binary file
assets/css/icons/delivery-email-2.png ADDED
Binary file
assets/css/icons/failure-512.png ADDED
Binary file
assets/css/icons/failure-o.png CHANGED
Binary file
assets/css/icons/failure-v3.png ADDED
Binary file
assets/css/icons/failure-v4.png ADDED
Binary file
assets/css/icons/failure.png DELETED
Binary file
assets/css/icons/in-transit-grey-v3.png ADDED
Binary file
assets/css/icons/in-transit-o.png DELETED
Binary file
assets/css/icons/in-transit-v3.png ADDED
Binary file
assets/css/icons/in-transit-v4.png ADDED
Binary file
assets/css/icons/in-transit.png DELETED
Binary file
assets/css/icons/invalid-o.png DELETED
Binary file
assets/css/icons/invalid-tracking-number-o.png DELETED
Binary file
assets/css/icons/invalid-tracking-number.png DELETED
Binary file
assets/css/icons/invalid-user-key-o.png DELETED
Binary file
assets/css/icons/invalid-user-key-v4.png ADDED
Binary file
assets/css/icons/{invalid-user-key.png → invalid-v3.png} RENAMED
File without changes
assets/css/icons/invalid.png DELETED
Binary file
assets/css/icons/label_cancelled-o.png DELETED
Binary file
assets/css/icons/label_cancelled.png DELETED
Binary file
assets/css/icons/late-shipment-v3.png ADDED
Binary file
assets/css/icons/on-hold-o.png DELETED
Binary file
assets/css/icons/out-for-delivery-grey-v3.png ADDED
Binary file
assets/css/icons/out-for-delivery-o.png DELETED
Binary file
assets/css/icons/out-for-delivery-v3.png ADDED
Binary file
assets/css/icons/out-for-delivery-v4.png ADDED
Binary file
assets/css/icons/out-for-delivery.png DELETED
Binary file
assets/css/icons/partial-shipped-icon.png ADDED
Binary file
assets/css/icons/pending-trackship-o.png DELETED
Binary file
assets/css/icons/pending-trackship-v4.png ADDED
Binary file
assets/css/icons/pending-trackship.png DELETED
Binary file
assets/css/icons/pre-transit-o.png DELETED
Binary file
assets/css/icons/pre-transit-v3.png ADDED
Binary file
assets/css/icons/pre-transit-v4.png ADDED
Binary file
assets/css/icons/pre-transit.png DELETED
Binary file
assets/css/icons/return-to-sender-512.png ADDED
Binary file
assets/css/icons/return-to-sender-o.png DELETED
Binary file
assets/css/icons/return-to-sender-v3.png ADDED
Binary file
assets/css/icons/return-to-sender-v4.png ADDED
Binary file
assets/css/icons/return-to-sender.png DELETED
Binary file
assets/css/icons/shipped-o.png ADDED
Binary file
assets/css/icons/unknown-o.png DELETED
Binary file
assets/css/icons/unknown-v4.png ADDED
Binary file
assets/css/icons/unknown.png DELETED
Binary file
assets/css/icons/updated-tracking-icon.png ADDED
Binary file
assets/css/icons/wrong-shipiing-provider-o.png DELETED
Binary file
assets/css/icons/wrong-shipiing-provider.png DELETED
Binary file
assets/css/material.css ADDED
@@ -0,0 +1,11358 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * material-design-lite - Material Design Components in CSS, JS and HTML
3
+ * @version v1.3.0
4
+ * @license Apache-2.0
5
+ * @copyright 2015 Google, Inc.
6
+ * @link https://github.com/google/material-design-lite
7
+ */
8
+ @charset "UTF-8";
9
+ /**
10
+ * Copyright 2015 Google Inc. All Rights Reserved.
11
+ *
12
+ * Licensed under the Apache License, Version 2.0 (the "License");
13
+ * you may not use this file except in compliance with the License.
14
+ * You may obtain a copy of the License at
15
+ *
16
+ * http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software
19
+ * distributed under the License is distributed on an "AS IS" BASIS,
20
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ * See the License for the specific language governing permissions and
22
+ * limitations under the License.
23
+ */
24
+ /* Material Design Lite */
25
+ /**
26
+ * Copyright 2015 Google Inc. All Rights Reserved.
27
+ *
28
+ * Licensed under the Apache License, Version 2.0 (the "License");
29
+ * you may not use this file except in compliance with the License.
30
+ * You may obtain a copy of the License at
31
+ *
32
+ * http://www.apache.org/licenses/LICENSE-2.0
33
+ *
34
+ * Unless required by applicable law or agreed to in writing, software
35
+ * distributed under the License is distributed on an "AS IS" BASIS,
36
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
37
+ * See the License for the specific language governing permissions and
38
+ * limitations under the License.
39
+ */
40
+ /*------------------------------------* $CONTENTS
41
+ \*------------------------------------*/
42
+ /**
43
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
44
+ * -----Typography
45
+ * -----Colors
46
+ * -----Textfield
47
+ * -----Switch
48
+ * -----Spinner
49
+ * -----Radio
50
+ * -----Menu
51
+ * -----List
52
+ * -----Layout
53
+ * -----Icon toggles
54
+ * -----Footer
55
+ * -----Column
56
+ * -----Checkbox
57
+ * -----Card
58
+ * -----Button
59
+ * -----Animation
60
+ * -----Progress
61
+ * -----Badge
62
+ * -----Shadows
63
+ * -----Grid
64
+ * -----Data table
65
+ * -----Dialog
66
+ * -----Snackbar
67
+ * -----Tooltip
68
+ * -----Chip
69
+ *
70
+ * Even though all variables have the `!default` directive, most of them
71
+ * should not be changed as they are dependent one another. This can cause
72
+ * visual distortions (like alignment issues) that are hard to track down
73
+ * and fix.
74
+ */
75
+ /* ========== TYPOGRAPHY ========== */
76
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
77
+ page loading. For important text, such as the body, we want it to load
78
+ immediately and not wait for the web font load, whereas for other sections,
79
+ such as headers and titles, we're OK with things taking a bit longer to load.
80
+ We do have some optional classes and parameters in the mixins, in case you
81
+ definitely want to make sure you're using the preferred font and don't mind
82
+ the performance hit.
83
+ We should be able to improve on this once CSS Font Loading L3 becomes more
84
+ widely available.
85
+ */
86
+ /* ========== COLORS ========== */
87
+ /**
88
+ *
89
+ * Material design color palettes.
90
+ * @see http://www.google.com/design/spec/style/color.html
91
+ *
92
+ **/
93
+ /**
94
+ * Copyright 2015 Google Inc. All Rights Reserved.
95
+ *
96
+ * Licensed under the Apache License, Version 2.0 (the "License");
97
+ * you may not use this file except in compliance with the License.
98
+ * You may obtain a copy of the License at
99
+ *
100
+ * http://www.apache.org/licenses/LICENSE-2.0
101
+ *
102
+ * Unless required by applicable law or agreed to in writing, software
103
+ * distributed under the License is distributed on an "AS IS" BASIS,
104
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
105
+ * See the License for the specific language governing permissions and
106
+ * limitations under the License.
107
+ */
108
+ /* ========== Color Palettes ========== */
109
+ /* colors.scss */
110
+ /**
111
+ * Copyright 2015 Google Inc. All Rights Reserved.
112
+ *
113
+ * Licensed under the Apache License, Version 2.0 (the "License");
114
+ * you may not use this file except in compliance with the License.
115
+ * You may obtain a copy of the License at
116
+ *
117
+ * http://www.apache.org/licenses/LICENSE-2.0
118
+ *
119
+ * Unless required by applicable law or agreed to in writing, software
120
+ * distributed under the License is distributed on an "AS IS" BASIS,
121
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
122
+ * See the License for the specific language governing permissions and
123
+ * limitations under the License.
124
+ */
125
+ /* ========== IMAGES ========== */
126
+ /* ========== Color & Themes ========== */
127
+ /* ========== Typography ========== */
128
+ /* ========== Components ========== */
129
+ /* ========== Standard Buttons ========== */
130
+ /* ========== Icon Toggles ========== */
131
+ /* ========== Radio Buttons ========== */
132
+ /* ========== Ripple effect ========== */
133
+ /* ========== Layout ========== */
134
+ /* ========== Content Tabs ========== */
135
+ /* ========== Checkboxes ========== */
136
+ /* ========== Switches ========== */
137
+ /* ========== Spinner ========== */
138
+ /* ========== Text fields ========== */
139
+ /* ========== Card ========== */
140
+ /* ========== Sliders ========== */
141
+ /* ========== Progress ========== */
142
+ /* ========== List ========== */
143
+ /* ========== Item ========== */
144
+ /* ========== Dropdown menu ========== */
145
+ /* ========== Tooltips ========== */
146
+ /* ========== Footer ========== */
147
+ /* TEXTFIELD */
148
+ /* SWITCH */
149
+ /* SPINNER */
150
+ /* RADIO */
151
+ /* MENU */
152
+ /* LIST */
153
+ /* LAYOUT */
154
+ /* ICON TOGGLE */
155
+ /* FOOTER */
156
+ /*mega-footer*/
157
+ /*mini-footer*/
158
+ /* CHECKBOX */
159
+ /* CARD */
160
+ /* Card dimensions */
161
+ /* Cover image */
162
+ /* BUTTON */
163
+ /**
164
+ *
165
+ * Dimensions
166
+ *
167
+ */
168
+ /* ANIMATION */
169
+ /* PROGRESS */
170
+ /* BADGE */
171
+ /* SHADOWS */
172
+ /* GRID */
173
+ /* DATA TABLE */
174
+ /* DIALOG */
175
+ /* SNACKBAR */
176
+ /* TOOLTIP */
177
+ /* CHIP */
178
+ /**
179
+ * Copyright 2015 Google Inc. All Rights Reserved.
180
+ *
181
+ * Licensed under the Apache License, Version 2.0 (the "License");
182
+ * you may not use this file except in compliance with the License.
183
+ * You may obtain a copy of the License at
184
+ *
185
+ * http://www.apache.org/licenses/LICENSE-2.0
186
+ *
187
+ * Unless required by applicable law or agreed to in writing, software
188
+ * distributed under the License is distributed on an "AS IS" BASIS,
189
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
190
+ * See the License for the specific language governing permissions and
191
+ * limitations under the License.
192
+ */
193
+ /* Typography */
194
+ /* Shadows */
195
+ /* Animations */
196
+ /* Dialog */
197
+ /**
198
+ * Copyright 2015 Google Inc. All Rights Reserved.
199
+ *
200
+ * Licensed under the Apache License, Version 2.0 (the "License");
201
+ * you may not use this file except in compliance with the License.
202
+ * You may obtain a copy of the License at
203
+ *
204
+ * http://www.apache.org/licenses/LICENSE-2.0
205
+ *
206
+ * Unless required by applicable law or agreed to in writing, software
207
+ * distributed under the License is distributed on an "AS IS" BASIS,
208
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
209
+ * See the License for the specific language governing permissions and
210
+ * limitations under the License.
211
+ */
212
+ /**
213
+ * Copyright 2015 Google Inc. All Rights Reserved.
214
+ *
215
+ * Licensed under the Apache License, Version 2.0 (the "License");
216
+ * you may not use this file except in compliance with the License.
217
+ * You may obtain a copy of the License at
218
+ *
219
+ * http://www.apache.org/licenses/LICENSE-2.0
220
+ *
221
+ * Unless required by applicable law or agreed to in writing, software
222
+ * distributed under the License is distributed on an "AS IS" BASIS,
223
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
224
+ * See the License for the specific language governing permissions and
225
+ * limitations under the License.
226
+ */
227
+ /**
228
+ * Copyright 2015 Google Inc. All Rights Reserved.
229
+ *
230
+ * Licensed under the Apache License, Version 2.0 (the "License");
231
+ * you may not use this file except in compliance with the License.
232
+ * You may obtain a copy of the License at
233
+ *
234
+ * http://www.apache.org/licenses/LICENSE-2.0
235
+ *
236
+ * Unless required by applicable law or agreed to in writing, software
237
+ * distributed under the License is distributed on an "AS IS" BASIS,
238
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
239
+ * See the License for the specific language governing permissions and
240
+ * limitations under the License.
241
+ */
242
+ /*------------------------------------* $CONTENTS
243
+ \*------------------------------------*/
244
+ /**
245
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
246
+ * -----Typography
247
+ * -----Colors
248
+ * -----Textfield
249
+ * -----Switch
250
+ * -----Spinner
251
+ * -----Radio
252
+ * -----Menu
253
+ * -----List
254
+ * -----Layout
255
+ * -----Icon toggles
256
+ * -----Footer
257
+ * -----Column
258
+ * -----Checkbox
259
+ * -----Card
260
+ * -----Button
261
+ * -----Animation
262
+ * -----Progress
263
+ * -----Badge
264
+ * -----Shadows
265
+ * -----Grid
266
+ * -----Data table
267
+ * -----Dialog
268
+ * -----Snackbar
269
+ * -----Tooltip
270
+ * -----Chip
271
+ *
272
+ * Even though all variables have the `!default` directive, most of them
273
+ * should not be changed as they are dependent one another. This can cause
274
+ * visual distortions (like alignment issues) that are hard to track down
275
+ * and fix.
276
+ */
277
+ /* ========== TYPOGRAPHY ========== */
278
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
279
+ page loading. For important text, such as the body, we want it to load
280
+ immediately and not wait for the web font load, whereas for other sections,
281
+ such as headers and titles, we're OK with things taking a bit longer to load.
282
+ We do have some optional classes and parameters in the mixins, in case you
283
+ definitely want to make sure you're using the preferred font and don't mind
284
+ the performance hit.
285
+ We should be able to improve on this once CSS Font Loading L3 becomes more
286
+ widely available.
287
+ */
288
+ /* ========== COLORS ========== */
289
+ /**
290
+ *
291
+ * Material design color palettes.
292
+ * @see http://www.google.com/design/spec/style/color.html
293
+ *
294
+ **/
295
+ /**
296
+ * Copyright 2015 Google Inc. All Rights Reserved.
297
+ *
298
+ * Licensed under the Apache License, Version 2.0 (the "License");
299
+ * you may not use this file except in compliance with the License.
300
+ * You may obtain a copy of the License at
301
+ *
302
+ * http://www.apache.org/licenses/LICENSE-2.0
303
+ *
304
+ * Unless required by applicable law or agreed to in writing, software
305
+ * distributed under the License is distributed on an "AS IS" BASIS,
306
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
307
+ * See the License for the specific language governing permissions and
308
+ * limitations under the License.
309
+ */
310
+ /* ========== Color Palettes ========== */
311
+ /* colors.scss */
312
+ /**
313
+ * Copyright 2015 Google Inc. All Rights Reserved.
314
+ *
315
+ * Licensed under the Apache License, Version 2.0 (the "License");
316
+ * you may not use this file except in compliance with the License.
317
+ * You may obtain a copy of the License at
318
+ *
319
+ * http://www.apache.org/licenses/LICENSE-2.0
320
+ *
321
+ * Unless required by applicable law or agreed to in writing, software
322
+ * distributed under the License is distributed on an "AS IS" BASIS,
323
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
324
+ * See the License for the specific language governing permissions and
325
+ * limitations under the License.
326
+ */
327
+ /* ========== IMAGES ========== */
328
+ /* ========== Color & Themes ========== */
329
+ /* ========== Typography ========== */
330
+ /* ========== Components ========== */
331
+ /* ========== Standard Buttons ========== */
332
+ /* ========== Icon Toggles ========== */
333
+ /* ========== Radio Buttons ========== */
334
+ /* ========== Ripple effect ========== */
335
+ /* ========== Layout ========== */
336
+ /* ========== Content Tabs ========== */
337
+ /* ========== Checkboxes ========== */
338
+ /* ========== Switches ========== */
339
+ /* ========== Spinner ========== */
340
+ /* ========== Text fields ========== */
341
+ /* ========== Card ========== */
342
+ /* ========== Sliders ========== */
343
+ /* ========== Progress ========== */
344
+ /* ========== List ========== */
345
+ /* ========== Item ========== */
346
+ /* ========== Dropdown menu ========== */
347
+ /* ========== Tooltips ========== */
348
+ /* ========== Footer ========== */
349
+ /* TEXTFIELD */
350
+ /* SWITCH */
351
+ /* SPINNER */
352
+ /* RADIO */
353
+ /* MENU */
354
+ /* LIST */
355
+ /* LAYOUT */
356
+ /* ICON TOGGLE */
357
+ /* FOOTER */
358
+ /*mega-footer*/
359
+ /*mini-footer*/
360
+ /* CHECKBOX */
361
+ /* CARD */
362
+ /* Card dimensions */
363
+ /* Cover image */
364
+ /* BUTTON */
365
+ /**
366
+ *
367
+ * Dimensions
368
+ *
369
+ */
370
+ /* ANIMATION */
371
+ /* PROGRESS */
372
+ /* BADGE */
373
+ /* SHADOWS */
374
+ /* GRID */
375
+ /* DATA TABLE */
376
+ /* DIALOG */
377
+ /* SNACKBAR */
378
+ /* TOOLTIP */
379
+ /* CHIP */
380
+ /*
381
+ * What follows is the result of much research on cross-browser styling.
382
+ * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
383
+ * Kroc Camen, and the H5BP dev community and team.
384
+ */
385
+ /* ==========================================================================
386
+ Base styles: opinionated defaults
387
+ ========================================================================== */
388
+ html {
389
+ color: rgba(0,0,0, 0.87);
390
+ font-size: 1em;
391
+ line-height: 1.4; }
392
+
393
+ /*
394
+ * Remove text-shadow in selection highlight:
395
+ * https://twitter.com/miketaylr/status/12228805301
396
+ *
397
+ * These selection rule sets have to be separate.
398
+ * Customize the background color to match your design.
399
+ */
400
+ ::-moz-selection {
401
+ background: #b3d4fc;
402
+ text-shadow: none; }
403
+ ::selection {
404
+ background: #b3d4fc;
405
+ text-shadow: none; }
406
+
407
+ /*
408
+ * A better looking default horizontal rule
409
+ */
410
+ hr {
411
+ display: block;
412
+ height: 1px;
413
+ border: 0;
414
+ border-top: 1px solid #ccc;
415
+ margin: 1em 0;
416
+ padding: 0; }
417
+
418
+ /*
419
+ * Remove the gap between audio, canvas, iframes,
420
+ * images, videos and the bottom of their containers:
421
+ * https://github.com/h5bp/html5-boilerplate/issues/440
422
+ */
423
+ audio,
424
+ canvas,
425
+ iframe,
426
+ img,
427
+ svg,
428
+ video {
429
+ vertical-align: middle; }
430
+
431
+ /*
432
+ * Remove default fieldset styles.
433
+ */
434
+ fieldset {
435
+ border: 0;
436
+ margin: 0;
437
+ padding: 0; }
438
+
439
+ /*
440
+ * Allow only vertical resizing of textareas.
441
+ */
442
+ textarea {
443
+ resize: vertical; }
444
+
445
+ /* ==========================================================================
446
+ Browser Upgrade Prompt
447
+ ========================================================================== */
448
+ .browserupgrade {
449
+ margin: 0.2em 0;
450
+ background: #ccc;
451
+ color: #000;
452
+ padding: 0.2em 0; }
453
+
454
+ /* ==========================================================================
455
+ Author's custom styles
456
+ ========================================================================== */
457
+ /* ==========================================================================
458
+ Helper classes
459
+ ========================================================================== */
460
+ /*
461
+ * Hide visually and from screen readers:
462
+ */
463
+ .hidden {
464
+ display: none !important; }
465
+
466
+ /*
467
+ * Hide only visually, but have it available for screen readers:
468
+ * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
469
+ */
470
+ .visuallyhidden {
471
+ border: 0;
472
+ clip: rect(0 0 0 0);
473
+ height: 1px;
474
+ margin: -1px;
475
+ overflow: hidden;
476
+ padding: 0;
477
+ position: absolute;
478
+ width: 1px; }
479
+
480
+ /*
481
+ * Extends the .visuallyhidden class to allow the element
482
+ * to be focusable when navigated to via the keyboard:
483
+ * https://www.drupal.org/node/897638
484
+ */
485
+ .visuallyhidden.focusable:active,
486
+ .visuallyhidden.focusable:focus {
487
+ clip: auto;
488
+ height: auto;
489
+ margin: 0;
490
+ overflow: visible;
491
+ position: static;
492
+ width: auto; }
493
+
494
+ /*
495
+ * Hide visually and from screen readers, but maintain layout
496
+ */
497
+ .invisible {
498
+ visibility: hidden; }
499
+
500
+ /*
501
+ * Clearfix: contain floats
502
+ *
503
+ * For modern browsers
504
+ * 1. The space content is one way to avoid an Opera bug when the
505
+ * `contenteditable` attribute is included anywhere else in the document.
506
+ * Otherwise it causes space to appear at the top and bottom of elements
507
+ * that receive the `clearfix` class.
508
+ * 2. The use of `table` rather than `block` is only necessary if using
509
+ * `:before` to contain the top-margins of child elements.
510
+ */
511
+ .clearfix:before,
512
+ .clearfix:after {
513
+ content: " ";
514
+ /* 1 */
515
+ display: table;
516
+ /* 2 */ }
517
+
518
+ .clearfix:after {
519
+ clear: both; }
520
+
521
+ /* ==========================================================================
522
+ EXAMPLE Media Queries for Responsive Design.
523
+ These examples override the primary ('mobile first') styles.
524
+ Modify as content requires.
525
+ ========================================================================== */
526
+ @media only screen and (min-width: 35em) {
527
+ /* Style adjustments for viewports that meet the condition */ }
528
+
529
+ @media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
530
+ /* Style adjustments for high resolution devices */ }
531
+
532
+ /* ==========================================================================
533
+ Print styles.
534
+ Inlined to avoid the additional HTTP request:
535
+ http://www.phpied.com/delay-loading-your-print-css/
536
+ ========================================================================== */
537
+ @media print {
538
+ *,
539
+ *:before,
540
+ *:after,
541
+ *:first-letter {
542
+ background: transparent !important;
543
+ color: #000 !important;
544
+ /* Black prints faster: http://www.sanbeiji.com/archives/953 */
545
+ box-shadow: none !important; }
546
+ a,
547
+ a:visited {
548
+ text-decoration: underline; }
549
+ a[href]:after {
550
+ content: " (" attr(href) ")"; }
551
+ abbr[title]:after {
552
+ content: " (" attr(title) ")"; }
553
+ /*
554
+ * Don't show links that are fragment identifiers,
555
+ * or use the `javascript:` pseudo protocol
556
+ */
557
+ a[href^="#"]:after,
558
+ a[href^="javascript:"]:after {
559
+ content: ""; }
560
+ pre,
561
+ blockquote {
562
+ border: 1px solid #999;
563
+ page-break-inside: avoid; }
564
+ /*
565
+ * Printing Tables:
566
+ * http://css-discuss.incutio.com/wiki/Printing_Tables
567
+ */
568
+ thead {
569
+ display: table-header-group; }
570
+ tr,
571
+ img {
572
+ page-break-inside: avoid; }
573
+ img {
574
+ max-width: 100% !important; }
575
+ p,
576
+ h2,
577
+ h3 {
578
+ orphans: 3;
579
+ widows: 3; }
580
+ h2,
581
+ h3 {
582
+ page-break-after: avoid; } }
583
+
584
+ /**
585
+ * Copyright 2015 Google Inc. All Rights Reserved.
586
+ *
587
+ * Licensed under the Apache License, Version 2.0 (the "License");
588
+ * you may not use this file except in compliance with the License.
589
+ * You may obtain a copy of the License at
590
+ *
591
+ * http://www.apache.org/licenses/LICENSE-2.0
592
+ *
593
+ * Unless required by applicable law or agreed to in writing, software
594
+ * distributed under the License is distributed on an "AS IS" BASIS,
595
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
596
+ * See the License for the specific language governing permissions and
597
+ * limitations under the License.
598
+ */
599
+ /* Remove the unwanted box around FAB buttons */
600
+ /* More info: http://goo.gl/IPwKi */
601
+ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
602
+ .mdl-icon-toggle, .mdl-item, .mdl-radio, .mdl-slider, .mdl-switch, .mdl-tabs__tab {
603
+ -webkit-tap-highlight-color: transparent;
604
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0); }
605
+
606
+ /*
607
+ * Make html take up the entire screen
608
+ * Then set touch-action to avoid touch delay on mobile IE
609
+ */
610
+ html {
611
+ width: 100%;
612
+ height: 100%;
613
+ -ms-touch-action: manipulation;
614
+ touch-action: manipulation; }
615
+
616
+ /*
617
+ * Make body take up the entire screen
618
+ * Remove body margin so layout containers don't cause extra overflow.
619
+ */
620
+ body {
621
+ width: 100%;
622
+ min-height: 100%;
623
+ margin: 0; }
624
+
625
+ /*
626
+ * Main display reset for IE support.
627
+ * Source: http://weblog.west-wind.com/posts/2015/Jan/12/main-HTML5-Tag-not-working-in-Internet-Explorer-91011
628
+ */
629
+ main {
630
+ display: block; }
631
+
632
+ /*
633
+ * Apply no display to elements with the hidden attribute.
634
+ * IE 9 and 10 support.
635
+ */
636
+ *[hidden] {
637
+ display: none !important; }
638
+
639
+ /**
640
+ * Copyright 2015 Google Inc. All Rights Reserved.
641
+ *
642
+ * Licensed under the Apache License, Version 2.0 (the "License");
643
+ * you may not use this file except in compliance with the License.
644
+ * You may obtain a copy of the License at
645
+ *
646
+ * http://www.apache.org/licenses/LICENSE-2.0
647
+ *
648
+ * Unless required by applicable law or agreed to in writing, software
649
+ * distributed under the License is distributed on an "AS IS" BASIS,
650
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
651
+ * See the License for the specific language governing permissions and
652
+ * limitations under the License.
653
+ */
654
+ /**
655
+ * Copyright 2015 Google Inc. All Rights Reserved.
656
+ *
657
+ * Licensed under the Apache License, Version 2.0 (the "License");
658
+ * you may not use this file except in compliance with the License.
659
+ * You may obtain a copy of the License at
660
+ *
661
+ * http://www.apache.org/licenses/LICENSE-2.0
662
+ *
663
+ * Unless required by applicable law or agreed to in writing, software
664
+ * distributed under the License is distributed on an "AS IS" BASIS,
665
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
666
+ * See the License for the specific language governing permissions and
667
+ * limitations under the License.
668
+ */
669
+ /*------------------------------------* $CONTENTS
670
+ \*------------------------------------*/
671
+ /**
672
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
673
+ * -----Typography
674
+ * -----Colors
675
+ * -----Textfield
676
+ * -----Switch
677
+ * -----Spinner
678
+ * -----Radio
679
+ * -----Menu
680
+ * -----List
681
+ * -----Layout
682
+ * -----Icon toggles
683
+ * -----Footer
684
+ * -----Column
685
+ * -----Checkbox
686
+ * -----Card
687
+ * -----Button
688
+ * -----Animation
689
+ * -----Progress
690
+ * -----Badge
691
+ * -----Shadows
692
+ * -----Grid
693
+ * -----Data table
694
+ * -----Dialog
695
+ * -----Snackbar
696
+ * -----Tooltip
697
+ * -----Chip
698
+ *
699
+ * Even though all variables have the `!default` directive, most of them
700
+ * should not be changed as they are dependent one another. This can cause
701
+ * visual distortions (like alignment issues) that are hard to track down
702
+ * and fix.
703
+ */
704
+ /* ========== TYPOGRAPHY ========== */
705
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
706
+ page loading. For important text, such as the body, we want it to load
707
+ immediately and not wait for the web font load, whereas for other sections,
708
+ such as headers and titles, we're OK with things taking a bit longer to load.
709
+ We do have some optional classes and parameters in the mixins, in case you
710
+ definitely want to make sure you're using the preferred font and don't mind
711
+ the performance hit.
712
+ We should be able to improve on this once CSS Font Loading L3 becomes more
713
+ widely available.
714
+ */
715
+ /* ========== COLORS ========== */
716
+ /**
717
+ *
718
+ * Material design color palettes.
719
+ * @see http://www.google.com/design/spec/style/color.html
720
+ *
721
+ **/
722
+ /**
723
+ * Copyright 2015 Google Inc. All Rights Reserved.
724
+ *
725
+ * Licensed under the Apache License, Version 2.0 (the "License");
726
+ * you may not use this file except in compliance with the License.
727
+ * You may obtain a copy of the License at
728
+ *
729
+ * http://www.apache.org/licenses/LICENSE-2.0
730
+ *
731
+ * Unless required by applicable law or agreed to in writing, software
732
+ * distributed under the License is distributed on an "AS IS" BASIS,
733
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
734
+ * See the License for the specific language governing permissions and
735
+ * limitations under the License.
736
+ */
737
+ /* ========== Color Palettes ========== */
738
+ /* colors.scss */
739
+ /**
740
+ * Copyright 2015 Google Inc. All Rights Reserved.
741
+ *
742
+ * Licensed under the Apache License, Version 2.0 (the "License");
743
+ * you may not use this file except in compliance with the License.
744
+ * You may obtain a copy of the License at
745
+ *
746
+ * http://www.apache.org/licenses/LICENSE-2.0
747
+ *
748
+ * Unless required by applicable law or agreed to in writing, software
749
+ * distributed under the License is distributed on an "AS IS" BASIS,
750
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
751
+ * See the License for the specific language governing permissions and
752
+ * limitations under the License.
753
+ */
754
+ /* ========== IMAGES ========== */
755
+ /* ========== Color & Themes ========== */
756
+ /* ========== Typography ========== */
757
+ /* ========== Components ========== */
758
+ /* ========== Standard Buttons ========== */
759
+ /* ========== Icon Toggles ========== */
760
+ /* ========== Radio Buttons ========== */
761
+ /* ========== Ripple effect ========== */
762
+ /* ========== Layout ========== */
763
+ /* ========== Content Tabs ========== */
764
+ /* ========== Checkboxes ========== */
765
+ /* ========== Switches ========== */
766
+ /* ========== Spinner ========== */
767
+ /* ========== Text fields ========== */
768
+ /* ========== Card ========== */
769
+ /* ========== Sliders ========== */
770
+ /* ========== Progress ========== */
771
+ /* ========== List ========== */
772
+ /* ========== Item ========== */
773
+ /* ========== Dropdown menu ========== */
774
+ /* ========== Tooltips ========== */
775
+ /* ========== Footer ========== */
776
+ /* TEXTFIELD */
777
+ /* SWITCH */
778
+ /* SPINNER */
779
+ /* RADIO */
780
+ /* MENU */
781
+ /* LIST */
782
+ /* LAYOUT */
783
+ /* ICON TOGGLE */
784
+ /* FOOTER */
785
+ /*mega-footer*/
786
+ /*mini-footer*/
787
+ /* CHECKBOX */
788
+ /* CARD */
789
+ /* Card dimensions */
790
+ /* Cover image */
791
+ /* BUTTON */
792
+ /**
793
+ *
794
+ * Dimensions
795
+ *
796
+ */
797
+ /* ANIMATION */
798
+ /* PROGRESS */
799
+ /* BADGE */
800
+ /* SHADOWS */
801
+ /* GRID */
802
+ /* DATA TABLE */
803
+ /* DIALOG */
804
+ /* SNACKBAR */
805
+ /* TOOLTIP */
806
+ /* CHIP */
807
+ /**
808
+ * Copyright 2015 Google Inc. All Rights Reserved.
809
+ *
810
+ * Licensed under the Apache License, Version 2.0 (the "License");
811
+ * you may not use this file except in compliance with the License.
812
+ * You may obtain a copy of the License at
813
+ *
814
+ * http://www.apache.org/licenses/LICENSE-2.0
815
+ *
816
+ * Unless required by applicable law or agreed to in writing, software
817
+ * distributed under the License is distributed on an "AS IS" BASIS,
818
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
819
+ * See the License for the specific language governing permissions and
820
+ * limitations under the License.
821
+ */
822
+ /* Typography */
823
+ /* Shadows */
824
+ /* Animations */
825
+ /* Dialog */
826
+
827
+
828
+ /**
829
+ * Class Name Styles
830
+ */
831
+ .mdl-typography--display-4 {
832
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
833
+ font-size: 112px;
834
+ font-weight: 300;
835
+ line-height: 1;
836
+ letter-spacing: -0.04em; }
837
+
838
+ .mdl-typography--display-4-color-contrast {
839
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
840
+ font-size: 112px;
841
+ font-weight: 300;
842
+ line-height: 1;
843
+ letter-spacing: -0.04em;
844
+ opacity: 0.54; }
845
+
846
+ .mdl-typography--display-3 {
847
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
848
+ font-size: 56px;
849
+ font-weight: 400;
850
+ line-height: 1.35;
851
+ letter-spacing: -0.02em; }
852
+
853
+ .mdl-typography--display-3-color-contrast {
854
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
855
+ font-size: 56px;
856
+ font-weight: 400;
857
+ line-height: 1.35;
858
+ letter-spacing: -0.02em;
859
+ opacity: 0.54; }
860
+
861
+ .mdl-typography--display-2 {
862
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
863
+ font-size: 45px;
864
+ font-weight: 400;
865
+ line-height: 48px; }
866
+
867
+ .mdl-typography--display-2-color-contrast {
868
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
869
+ font-size: 45px;
870
+ font-weight: 400;
871
+ line-height: 48px;
872
+ opacity: 0.54; }
873
+
874
+ .mdl-typography--display-1 {
875
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
876
+ font-size: 34px;
877
+ font-weight: 400;
878
+ line-height: 40px; }
879
+
880
+ .mdl-typography--display-1-color-contrast {
881
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
882
+ font-size: 34px;
883
+ font-weight: 400;
884
+ line-height: 40px;
885
+ opacity: 0.54; }
886
+
887
+ .mdl-typography--headline {
888
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
889
+ font-size: 24px;
890
+ font-weight: 400;
891
+ line-height: 32px;
892
+ -moz-osx-font-smoothing: grayscale; }
893
+
894
+ .mdl-typography--headline-color-contrast {
895
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
896
+ font-size: 24px;
897
+ font-weight: 400;
898
+ line-height: 32px;
899
+ -moz-osx-font-smoothing: grayscale;
900
+ opacity: 0.87; }
901
+
902
+ .mdl-typography--title {
903
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
904
+ font-size: 20px;
905
+ font-weight: 500;
906
+ line-height: 1;
907
+ letter-spacing: 0.02em; }
908
+
909
+ .mdl-typography--title-color-contrast {
910
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
911
+ font-size: 20px;
912
+ font-weight: 500;
913
+ line-height: 1;
914
+ letter-spacing: 0.02em;
915
+ opacity: 0.87; }
916
+
917
+ .mdl-typography--subhead {
918
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
919
+ font-size: 16px;
920
+ font-weight: 400;
921
+ line-height: 24px;
922
+ letter-spacing: 0.04em; }
923
+
924
+ .mdl-typography--subhead-color-contrast {
925
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
926
+ font-size: 16px;
927
+ font-weight: 400;
928
+ line-height: 24px;
929
+ letter-spacing: 0.04em;
930
+ opacity: 0.87; }
931
+
932
+ .mdl-typography--body-2 {
933
+ font-size: 14px;
934
+ font-weight: bold;
935
+ line-height: 24px;
936
+ letter-spacing: 0; }
937
+
938
+ .mdl-typography--body-2-color-contrast {
939
+ font-size: 14px;
940
+ font-weight: bold;
941
+ line-height: 24px;
942
+ letter-spacing: 0;
943
+ opacity: 0.87; }
944
+
945
+ .mdl-typography--body-1 {
946
+ font-size: 14px;
947
+ font-weight: 400;
948
+ line-height: 24px;
949
+ letter-spacing: 0; }
950
+
951
+ .mdl-typography--body-1-color-contrast {
952
+ font-size: 14px;
953
+ font-weight: 400;
954
+ line-height: 24px;
955
+ letter-spacing: 0;
956
+ opacity: 0.87; }
957
+
958
+ .mdl-typography--body-2-force-preferred-font {
959
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
960
+ font-size: 14px;
961
+ font-weight: 500;
962
+ line-height: 24px;
963
+ letter-spacing: 0; }
964
+
965
+ .mdl-typography--body-2-force-preferred-font-color-contrast {
966
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
967
+ font-size: 14px;
968
+ font-weight: 500;
969
+ line-height: 24px;
970
+ letter-spacing: 0;
971
+ opacity: 0.87; }
972
+
973
+ .mdl-typography--body-1-force-preferred-font {
974
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
975
+ font-size: 14px;
976
+ font-weight: 400;
977
+ line-height: 24px;
978
+ letter-spacing: 0; }
979
+
980
+ .mdl-typography--body-1-force-preferred-font-color-contrast {
981
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
982
+ font-size: 14px;
983
+ font-weight: 400;
984
+ line-height: 24px;
985
+ letter-spacing: 0;
986
+ opacity: 0.87; }
987
+
988
+ .mdl-typography--caption {
989
+ font-size: 12px;
990
+ font-weight: 400;
991
+ line-height: 1;
992
+ letter-spacing: 0; }
993
+
994
+ .mdl-typography--caption-force-preferred-font {
995
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
996
+ font-size: 12px;
997
+ font-weight: 400;
998
+ line-height: 1;
999
+ letter-spacing: 0; }
1000
+
1001
+ .mdl-typography--caption-color-contrast {
1002
+ font-size: 12px;
1003
+ font-weight: 400;
1004
+ line-height: 1;
1005
+ letter-spacing: 0;
1006
+ opacity: 0.54; }
1007
+
1008
+ .mdl-typography--caption-force-preferred-font-color-contrast {
1009
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
1010
+ font-size: 12px;
1011
+ font-weight: 400;
1012
+ line-height: 1;
1013
+ letter-spacing: 0;
1014
+ opacity: 0.54; }
1015
+
1016
+ .mdl-typography--menu {
1017
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
1018
+ font-size: 14px;
1019
+ font-weight: 500;
1020
+ line-height: 1;
1021
+ letter-spacing: 0; }
1022
+
1023
+ .mdl-typography--menu-color-contrast {
1024
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
1025
+ font-size: 14px;
1026
+ font-weight: 500;
1027
+ line-height: 1;
1028
+ letter-spacing: 0;
1029
+ opacity: 0.87; }
1030
+
1031
+ .mdl-typography--button {
1032
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
1033
+ font-size: 14px;
1034
+ font-weight: 500;
1035
+ text-transform: uppercase;
1036
+ line-height: 1;
1037
+ letter-spacing: 0; }
1038
+
1039
+ .mdl-typography--button-color-contrast {
1040
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
1041
+ font-size: 14px;
1042
+ font-weight: 500;
1043
+ text-transform: uppercase;
1044
+ line-height: 1;
1045
+ letter-spacing: 0;
1046
+ opacity: 0.87; }
1047
+
1048
+ .mdl-typography--text-left {
1049
+ text-align: left; }
1050
+
1051
+ .mdl-typography--text-right {
1052
+ text-align: right; }
1053
+
1054
+ .mdl-typography--text-center {
1055
+ text-align: center; }
1056
+
1057
+ .mdl-typography--text-justify {
1058
+ text-align: justify; }
1059
+
1060
+ .mdl-typography--text-nowrap {
1061
+ white-space: nowrap; }
1062
+
1063
+ .mdl-typography--text-lowercase {
1064
+ text-transform: lowercase; }
1065
+
1066
+ .mdl-typography--text-uppercase {
1067
+ text-transform: uppercase; }
1068
+
1069
+ .mdl-typography--text-capitalize {
1070
+ text-transform: capitalize; }
1071
+
1072
+ .mdl-typography--font-thin {
1073
+ font-weight: 200 !important; }
1074
+
1075
+ .mdl-typography--font-light {
1076
+ font-weight: 300 !important; }
1077
+
1078
+ .mdl-typography--font-regular {
1079
+ font-weight: 400 !important; }
1080
+
1081
+ .mdl-typography--font-medium {
1082
+ font-weight: 500 !important; }
1083
+
1084
+ .mdl-typography--font-bold {
1085
+ font-weight: 700 !important; }
1086
+
1087
+ .mdl-typography--font-black {
1088
+ font-weight: 900 !important; }
1089
+
1090
+ .material-icons {
1091
+ font-family: 'Material Icons';
1092
+ font-weight: normal;
1093
+ font-style: normal;
1094
+ font-size: 24px;
1095
+ line-height: 1;
1096
+ letter-spacing: normal;
1097
+ text-transform: none;
1098
+ display: inline-block;
1099
+ word-wrap: normal;
1100
+ -moz-font-feature-settings: 'liga';
1101
+ font-feature-settings: 'liga';
1102
+ -webkit-font-feature-settings: 'liga';
1103
+ -webkit-font-smoothing: antialiased; }
1104
+
1105
+ /**
1106
+ * Copyright 2015 Google Inc. All Rights Reserved.
1107
+ *
1108
+ * Licensed under the Apache License, Version 2.0 (the "License");
1109
+ * you may not use this file except in compliance with the License.
1110
+ * You may obtain a copy of the License at
1111
+ *
1112
+ * http://www.apache.org/licenses/LICENSE-2.0
1113
+ *
1114
+ * Unless required by applicable law or agreed to in writing, software
1115
+ * distributed under the License is distributed on an "AS IS" BASIS,
1116
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1117
+ * See the License for the specific language governing permissions and
1118
+ * limitations under the License.
1119
+ */
1120
+ /**
1121
+ * Copyright 2015 Google Inc. All Rights Reserved.
1122
+ *
1123
+ * Licensed under the Apache License, Version 2.0 (the "License");
1124
+ * you may not use this file except in compliance with the License.
1125
+ * You may obtain a copy of the License at
1126
+ *
1127
+ * http://www.apache.org/licenses/LICENSE-2.0
1128
+ *
1129
+ * Unless required by applicable law or agreed to in writing, software
1130
+ * distributed under the License is distributed on an "AS IS" BASIS,
1131
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1132
+ * See the License for the specific language governing permissions and
1133
+ * limitations under the License.
1134
+ */
1135
+ /*------------------------------------* $CONTENTS
1136
+ \*------------------------------------*/
1137
+ /**
1138
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
1139
+ * -----Typography
1140
+ * -----Colors
1141
+ * -----Textfield
1142
+ * -----Switch
1143
+ * -----Spinner
1144
+ * -----Radio
1145
+ * -----Menu
1146
+ * -----List
1147
+ * -----Layout
1148
+ * -----Icon toggles
1149
+ * -----Footer
1150
+ * -----Column
1151
+ * -----Checkbox
1152
+ * -----Card
1153
+ * -----Button
1154
+ * -----Animation
1155
+ * -----Progress
1156
+ * -----Badge
1157
+ * -----Shadows
1158
+ * -----Grid
1159
+ * -----Data table
1160
+ * -----Dialog
1161
+ * -----Snackbar
1162
+ * -----Tooltip
1163
+ * -----Chip
1164
+ *
1165
+ * Even though all variables have the `!default` directive, most of them
1166
+ * should not be changed as they are dependent one another. This can cause
1167
+ * visual distortions (like alignment issues) that are hard to track down
1168
+ * and fix.
1169
+ */
1170
+ /* ========== TYPOGRAPHY ========== */
1171
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
1172
+ page loading. For important text, such as the body, we want it to load
1173
+ immediately and not wait for the web font load, whereas for other sections,
1174
+ such as headers and titles, we're OK with things taking a bit longer to load.
1175
+ We do have some optional classes and parameters in the mixins, in case you
1176
+ definitely want to make sure you're using the preferred font and don't mind
1177
+ the performance hit.
1178
+ We should be able to improve on this once CSS Font Loading L3 becomes more
1179
+ widely available.
1180
+ */
1181
+ /* ========== COLORS ========== */
1182
+ /**
1183
+ *
1184
+ * Material design color palettes.
1185
+ * @see http://www.google.com/design/spec/style/color.html
1186
+ *
1187
+ **/
1188
+ /**
1189
+ * Copyright 2015 Google Inc. All Rights Reserved.
1190
+ *
1191
+ * Licensed under the Apache License, Version 2.0 (the "License");
1192
+ * you may not use this file except in compliance with the License.
1193
+ * You may obtain a copy of the License at
1194
+ *
1195
+ * http://www.apache.org/licenses/LICENSE-2.0
1196
+ *
1197
+ * Unless required by applicable law or agreed to in writing, software
1198
+ * distributed under the License is distributed on an "AS IS" BASIS,
1199
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1200
+ * See the License for the specific language governing permissions and
1201
+ * limitations under the License.
1202
+ */
1203
+ /* ========== Color Palettes ========== */
1204
+ /* colors.scss */
1205
+ /**
1206
+ * Copyright 2015 Google Inc. All Rights Reserved.
1207
+ *
1208
+ * Licensed under the Apache License, Version 2.0 (the "License");
1209
+ * you may not use this file except in compliance with the License.
1210
+ * You may obtain a copy of the License at
1211
+ *
1212
+ * http://www.apache.org/licenses/LICENSE-2.0
1213
+ *
1214
+ * Unless required by applicable law or agreed to in writing, software
1215
+ * distributed under the License is distributed on an "AS IS" BASIS,
1216
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1217
+ * See the License for the specific language governing permissions and
1218
+ * limitations under the License.
1219
+ */
1220
+ /* ========== IMAGES ========== */
1221
+ /* ========== Color & Themes ========== */
1222
+ /* ========== Typography ========== */
1223
+ /* ========== Components ========== */
1224
+ /* ========== Standard Buttons ========== */
1225
+ /* ========== Icon Toggles ========== */
1226
+ /* ========== Radio Buttons ========== */
1227
+ /* ========== Ripple effect ========== */
1228
+ /* ========== Layout ========== */
1229
+ /* ========== Content Tabs ========== */
1230
+ /* ========== Checkboxes ========== */
1231
+ /* ========== Switches ========== */
1232
+ /* ========== Spinner ========== */
1233
+ /* ========== Text fields ========== */
1234
+ /* ========== Card ========== */
1235
+ /* ========== Sliders ========== */
1236
+ /* ========== Progress ========== */
1237
+ /* ========== List ========== */
1238
+ /* ========== Item ========== */
1239
+ /* ========== Dropdown menu ========== */
1240
+ /* ========== Tooltips ========== */
1241
+ /* ========== Footer ========== */
1242
+ /* TEXTFIELD */
1243
+ /* SWITCH */
1244
+ /* SPINNER */
1245
+ /* RADIO */
1246
+ /* MENU */
1247
+ /* LIST */
1248
+ /* LAYOUT */
1249
+ /* ICON TOGGLE */
1250
+ /* FOOTER */
1251
+ /*mega-footer*/
1252
+ /*mini-footer*/
1253
+ /* CHECKBOX */
1254
+ /* CARD */
1255
+ /* Card dimensions */
1256
+ /* Cover image */
1257
+ /* BUTTON */
1258
+ /**
1259
+ *
1260
+ * Dimensions
1261
+ *
1262
+ */
1263
+ /* ANIMATION */
1264
+ /* PROGRESS */
1265
+ /* BADGE */
1266
+ /* SHADOWS */
1267
+ /* GRID */
1268
+ /* DATA TABLE */
1269
+ /* DIALOG */
1270
+ /* SNACKBAR */
1271
+ /* TOOLTIP */
1272
+ /* CHIP */
1273
+ .mdl-color-text--red {
1274
+ color: rgb(244,67,54) !important; }
1275
+
1276
+ .mdl-color--red {
1277
+ background-color: rgb(244,67,54) !important; }
1278
+
1279
+ .mdl-color-text--red-50 {
1280
+ color: rgb(255,235,238) !important; }
1281
+
1282
+ .mdl-color--red-50 {
1283
+ background-color: rgb(255,235,238) !important; }
1284
+
1285
+ .mdl-color-text--red-100 {
1286
+ color: rgb(255,205,210) !important; }
1287
+
1288
+ .mdl-color--red-100 {
1289
+ background-color: rgb(255,205,210) !important; }
1290
+
1291
+ .mdl-color-text--red-200 {
1292
+ color: rgb(239,154,154) !important; }
1293
+
1294
+ .mdl-color--red-200 {
1295
+ background-color: rgb(239,154,154) !important; }
1296
+
1297
+ .mdl-color-text--red-300 {
1298
+ color: rgb(229,115,115) !important; }
1299
+
1300
+ .mdl-color--red-300 {
1301
+ background-color: rgb(229,115,115) !important; }
1302
+
1303
+ .mdl-color-text--red-400 {
1304
+ color: rgb(239,83,80) !important; }
1305
+
1306
+ .mdl-color--red-400 {
1307
+ background-color: rgb(239,83,80) !important; }
1308
+
1309
+ .mdl-color-text--red-500 {
1310
+ color: rgb(244,67,54) !important; }
1311
+
1312
+ .mdl-color--red-500 {
1313
+ background-color: rgb(244,67,54) !important; }
1314
+
1315
+ .mdl-color-text--red-600 {
1316
+ color: rgb(229,57,53) !important; }
1317
+
1318
+ .mdl-color--red-600 {
1319
+ background-color: rgb(229,57,53) !important; }
1320
+
1321
+ .mdl-color-text--red-700 {
1322
+ color: rgb(211,47,47) !important; }
1323
+
1324
+ .mdl-color--red-700 {
1325
+ background-color: rgb(211,47,47) !important; }
1326
+
1327
+ .mdl-color-text--red-800 {
1328
+ color: rgb(198,40,40) !important; }
1329
+
1330
+ .mdl-color--red-800 {
1331
+ background-color: rgb(198,40,40) !important; }
1332
+
1333
+ .mdl-color-text--red-900 {
1334
+ color: rgb(183,28,28) !important; }
1335
+
1336
+ .mdl-color--red-900 {
1337
+ background-color: rgb(183,28,28) !important; }
1338
+
1339
+ .mdl-color-text--red-A100 {
1340
+ color: rgb(255,138,128) !important; }
1341
+
1342
+ .mdl-color--red-A100 {
1343
+ background-color: rgb(255,138,128) !important; }
1344
+
1345
+ .mdl-color-text--red-A200 {
1346
+ color: rgb(255,82,82) !important; }
1347
+
1348
+ .mdl-color--red-A200 {
1349
+ background-color: rgb(255,82,82) !important; }
1350
+
1351
+ .mdl-color-text--red-A400 {
1352
+ color: rgb(255,23,68) !important; }
1353
+
1354
+ .mdl-color--red-A400 {
1355
+ background-color: rgb(255,23,68) !important; }
1356
+
1357
+ .mdl-color-text--red-A700 {
1358
+ color: rgb(213,0,0) !important; }
1359
+
1360
+ .mdl-color--red-A700 {
1361
+ background-color: rgb(213,0,0) !important; }
1362
+
1363
+ .mdl-color-text--pink {
1364
+ color: rgb(233,30,99) !important; }
1365
+
1366
+ .mdl-color--pink {
1367
+ background-color: rgb(233,30,99) !important; }
1368
+
1369
+ .mdl-color-text--pink-50 {
1370
+ color: rgb(252,228,236) !important; }
1371
+
1372
+ .mdl-color--pink-50 {
1373
+ background-color: rgb(252,228,236) !important; }
1374
+
1375
+ .mdl-color-text--pink-100 {
1376
+ color: rgb(248,187,208) !important; }
1377
+
1378
+ .mdl-color--pink-100 {
1379
+ background-color: rgb(248,187,208) !important; }
1380
+
1381
+ .mdl-color-text--pink-200 {
1382
+ color: rgb(244,143,177) !important; }
1383
+
1384
+ .mdl-color--pink-200 {
1385
+ background-color: rgb(244,143,177) !important; }
1386
+
1387
+ .mdl-color-text--pink-300 {
1388
+ color: rgb(240,98,146) !important; }
1389
+
1390
+ .mdl-color--pink-300 {
1391
+ background-color: rgb(240,98,146) !important; }
1392
+
1393
+ .mdl-color-text--pink-400 {
1394
+ color: rgb(236,64,122) !important; }
1395
+
1396
+ .mdl-color--pink-400 {
1397
+ background-color: rgb(236,64,122) !important; }
1398
+
1399
+ .mdl-color-text--pink-500 {
1400
+ color: rgb(233,30,99) !important; }
1401
+
1402
+ .mdl-color--pink-500 {
1403
+ background-color: rgb(233,30,99) !important; }
1404
+
1405
+ .mdl-color-text--pink-600 {
1406
+ color: rgb(216,27,96) !important; }
1407
+
1408
+ .mdl-color--pink-600 {
1409
+ background-color: rgb(216,27,96) !important; }
1410
+
1411
+ .mdl-color-text--pink-700 {
1412
+ color: rgb(194,24,91) !important; }
1413
+
1414
+ .mdl-color--pink-700 {
1415
+ background-color: rgb(194,24,91) !important; }
1416
+
1417
+ .mdl-color-text--pink-800 {
1418
+ color: rgb(173,20,87) !important; }
1419
+
1420
+ .mdl-color--pink-800 {
1421
+ background-color: rgb(173,20,87) !important; }
1422
+
1423
+ .mdl-color-text--pink-900 {
1424
+ color: rgb(136,14,79) !important; }
1425
+
1426
+ .mdl-color--pink-900 {
1427
+ background-color: rgb(136,14,79) !important; }
1428
+
1429
+ .mdl-color-text--pink-A100 {
1430
+ color: rgb(255,128,171) !important; }
1431
+
1432
+ .mdl-color--pink-A100 {
1433
+ background-color: rgb(255,128,171) !important; }
1434
+
1435
+ .mdl-color-text--pink-A200 {
1436
+ color: rgb(255,64,129) !important; }
1437
+
1438
+ .mdl-color--pink-A200 {
1439
+ background-color: rgb(255,64,129) !important; }
1440
+
1441
+ .mdl-color-text--pink-A400 {
1442
+ color: rgb(245,0,87) !important; }
1443
+
1444
+ .mdl-color--pink-A400 {
1445
+ background-color: rgb(245,0,87) !important; }
1446
+
1447
+ .mdl-color-text--pink-A700 {
1448
+ color: rgb(197,17,98) !important; }
1449
+
1450
+ .mdl-color--pink-A700 {
1451
+ background-color: rgb(197,17,98) !important; }
1452
+
1453
+ .mdl-color-text--purple {
1454
+ color: rgb(156,39,176) !important; }
1455
+
1456
+ .mdl-color--purple {
1457
+ background-color: rgb(156,39,176) !important; }
1458
+
1459
+ .mdl-color-text--purple-50 {
1460
+ color: rgb(243,229,245) !important; }
1461
+
1462
+ .mdl-color--purple-50 {
1463
+ background-color: rgb(243,229,245) !important; }
1464
+
1465
+ .mdl-color-text--purple-100 {
1466
+ color: rgb(225,190,231) !important; }
1467
+
1468
+ .mdl-color--purple-100 {
1469
+ background-color: rgb(225,190,231) !important; }
1470
+
1471
+ .mdl-color-text--purple-200 {
1472
+ color: rgb(206,147,216) !important; }
1473
+
1474
+ .mdl-color--purple-200 {
1475
+ background-color: rgb(206,147,216) !important; }
1476
+
1477
+ .mdl-color-text--purple-300 {
1478
+ color: rgb(186,104,200) !important; }
1479
+
1480
+ .mdl-color--purple-300 {
1481
+ background-color: rgb(186,104,200) !important; }
1482
+
1483
+ .mdl-color-text--purple-400 {
1484
+ color: rgb(171,71,188) !important; }
1485
+
1486
+ .mdl-color--purple-400 {
1487
+ background-color: rgb(171,71,188) !important; }
1488
+
1489
+ .mdl-color-text--purple-500 {
1490
+ color: rgb(156,39,176) !important; }
1491
+
1492
+ .mdl-color--purple-500 {
1493
+ background-color: rgb(156,39,176) !important; }
1494
+
1495
+ .mdl-color-text--purple-600 {
1496
+ color: rgb(142,36,170) !important; }
1497
+
1498
+ .mdl-color--purple-600 {
1499
+ background-color: rgb(142,36,170) !important; }
1500
+
1501
+ .mdl-color-text--purple-700 {
1502
+ color: rgb(123,31,162) !important; }
1503
+
1504
+ .mdl-color--purple-700 {
1505
+ background-color: rgb(123,31,162) !important; }
1506
+
1507
+ .mdl-color-text--purple-800 {
1508
+ color: rgb(106,27,154) !important; }
1509
+
1510
+ .mdl-color--purple-800 {
1511
+ background-color: rgb(106,27,154) !important; }
1512
+
1513
+ .mdl-color-text--purple-900 {
1514
+ color: rgb(74,20,140) !important; }
1515
+
1516
+ .mdl-color--purple-900 {
1517
+ background-color: rgb(74,20,140) !important; }
1518
+
1519
+ .mdl-color-text--purple-A100 {
1520
+ color: rgb(234,128,252) !important; }
1521
+
1522
+ .mdl-color--purple-A100 {
1523
+ background-color: rgb(234,128,252) !important; }
1524
+
1525
+ .mdl-color-text--purple-A200 {
1526
+ color: rgb(224,64,251) !important; }
1527
+
1528
+ .mdl-color--purple-A200 {
1529
+ background-color: rgb(224,64,251) !important; }
1530
+
1531
+ .mdl-color-text--purple-A400 {
1532
+ color: rgb(213,0,249) !important; }
1533
+
1534
+ .mdl-color--purple-A400 {
1535
+ background-color: rgb(213,0,249) !important; }
1536
+
1537
+ .mdl-color-text--purple-A700 {
1538
+ color: rgb(170,0,255) !important; }
1539
+
1540
+ .mdl-color--purple-A700 {
1541
+ background-color: rgb(170,0,255) !important; }
1542
+
1543
+ .mdl-color-text--deep-purple {
1544
+ color: rgb(103,58,183) !important; }
1545
+
1546
+ .mdl-color--deep-purple {
1547
+ background-color: rgb(103,58,183) !important; }
1548
+
1549
+ .mdl-color-text--deep-purple-50 {
1550
+ color: rgb(237,231,246) !important; }
1551
+
1552
+ .mdl-color--deep-purple-50 {
1553
+ background-color: rgb(237,231,246) !important; }
1554
+
1555
+ .mdl-color-text--deep-purple-100 {
1556
+ color: rgb(209,196,233) !important; }
1557
+
1558
+ .mdl-color--deep-purple-100 {
1559
+ background-color: rgb(209,196,233) !important; }
1560
+
1561
+ .mdl-color-text--deep-purple-200 {
1562
+ color: rgb(179,157,219) !important; }
1563
+
1564
+ .mdl-color--deep-purple-200 {
1565
+ background-color: rgb(179,157,219) !important; }
1566
+
1567
+ .mdl-color-text--deep-purple-300 {
1568
+ color: rgb(149,117,205) !important; }
1569
+
1570
+ .mdl-color--deep-purple-300 {
1571
+ background-color: rgb(149,117,205) !important; }
1572
+
1573
+ .mdl-color-text--deep-purple-400 {
1574
+ color: rgb(126,87,194) !important; }
1575
+
1576
+ .mdl-color--deep-purple-400 {
1577
+ background-color: rgb(126,87,194) !important; }
1578
+
1579
+ .mdl-color-text--deep-purple-500 {
1580
+ color: rgb(103,58,183) !important; }
1581
+
1582
+ .mdl-color--deep-purple-500 {
1583
+ background-color: rgb(103,58,183) !important; }
1584
+
1585
+ .mdl-color-text--deep-purple-600 {
1586
+ color: rgb(94,53,177) !important; }
1587
+
1588
+ .mdl-color--deep-purple-600 {
1589
+ background-color: rgb(94,53,177) !important; }
1590
+
1591
+ .mdl-color-text--deep-purple-700 {
1592
+ color: rgb(81,45,168) !important; }
1593
+
1594
+ .mdl-color--deep-purple-700 {
1595
+ background-color: rgb(81,45,168) !important; }
1596
+
1597
+ .mdl-color-text--deep-purple-800 {
1598
+ color: rgb(69,39,160) !important; }
1599
+
1600
+ .mdl-color--deep-purple-800 {
1601
+ background-color: rgb(69,39,160) !important; }
1602
+
1603
+ .mdl-color-text--deep-purple-900 {
1604
+ color: rgb(49,27,146) !important; }
1605
+
1606
+ .mdl-color--deep-purple-900 {
1607
+ background-color: rgb(49,27,146) !important; }
1608
+
1609
+ .mdl-color-text--deep-purple-A100 {
1610
+ color: rgb(179,136,255) !important; }
1611
+
1612
+ .mdl-color--deep-purple-A100 {
1613
+ background-color: rgb(179,136,255) !important; }
1614
+
1615
+ .mdl-color-text--deep-purple-A200 {
1616
+ color: rgb(124,77,255) !important; }
1617
+
1618
+ .mdl-color--deep-purple-A200 {
1619
+ background-color: rgb(124,77,255) !important; }
1620
+
1621
+ .mdl-color-text--deep-purple-A400 {
1622
+ color: rgb(101,31,255) !important; }
1623
+
1624
+ .mdl-color--deep-purple-A400 {
1625
+ background-color: rgb(101,31,255) !important; }
1626
+
1627
+ .mdl-color-text--deep-purple-A700 {
1628
+ color: rgb(98,0,234) !important; }
1629
+
1630
+ .mdl-color--deep-purple-A700 {
1631
+ background-color: rgb(98,0,234) !important; }
1632
+
1633
+ .mdl-color-text--indigo {
1634
+ color: rgb(63,81,181) !important; }
1635
+
1636
+ .mdl-color--indigo {
1637
+ background-color: rgb(63,81,181) !important; }
1638
+
1639
+ .mdl-color-text--indigo-50 {
1640
+ color: rgb(232,234,246) !important; }
1641
+
1642
+ .mdl-color--indigo-50 {
1643
+ background-color: rgb(232,234,246) !important; }
1644
+
1645
+ .mdl-color-text--indigo-100 {
1646
+ color: rgb(197,202,233) !important; }
1647
+
1648
+ .mdl-color--indigo-100 {
1649
+ background-color: rgb(197,202,233) !important; }
1650
+
1651
+ .mdl-color-text--indigo-200 {
1652
+ color: rgb(159,168,218) !important; }
1653
+
1654
+ .mdl-color--indigo-200 {
1655
+ background-color: rgb(159,168,218) !important; }
1656
+
1657
+ .mdl-color-text--indigo-300 {
1658
+ color: rgb(121,134,203) !important; }
1659
+
1660
+ .mdl-color--indigo-300 {
1661
+ background-color: rgb(121,134,203) !important; }
1662
+
1663
+ .mdl-color-text--indigo-400 {
1664
+ color: rgb(92,107,192) !important; }
1665
+
1666
+ .mdl-color--indigo-400 {
1667
+ background-color: rgb(92,107,192) !important; }
1668
+
1669
+ .mdl-color-text--indigo-500 {
1670
+ color: rgb(63,81,181) !important; }
1671
+
1672
+ .mdl-color--indigo-500 {
1673
+ background-color: rgb(63,81,181) !important; }
1674
+
1675
+ .mdl-color-text--indigo-600 {
1676
+ color: rgb(57,73,171) !important; }
1677
+
1678
+ .mdl-color--indigo-600 {
1679
+ background-color: rgb(57,73,171) !important; }
1680
+
1681
+ .mdl-color-text--indigo-700 {
1682
+ color: rgb(48,63,159) !important; }
1683
+
1684
+ .mdl-color--indigo-700 {
1685
+ background-color: rgb(48,63,159) !important; }
1686
+
1687
+ .mdl-color-text--indigo-800 {
1688
+ color: rgb(40,53,147) !important; }
1689
+
1690
+ .mdl-color--indigo-800 {
1691
+ background-color: rgb(40,53,147) !important; }
1692
+
1693
+ .mdl-color-text--indigo-900 {
1694
+ color: rgb(26,35,126) !important; }
1695
+
1696
+ .mdl-color--indigo-900 {
1697
+ background-color: rgb(26,35,126) !important; }
1698
+
1699
+ .mdl-color-text--indigo-A100 {
1700
+ color: rgb(140,158,255) !important; }
1701
+
1702
+ .mdl-color--indigo-A100 {
1703
+ background-color: rgb(140,158,255) !important; }
1704
+
1705
+ .mdl-color-text--indigo-A200 {
1706
+ color: rgb(83,109,254) !important; }
1707
+
1708
+ .mdl-color--indigo-A200 {
1709
+ background-color: rgb(83,109,254) !important; }
1710
+
1711
+ .mdl-color-text--indigo-A400 {
1712
+ color: rgb(61,90,254) !important; }
1713
+
1714
+ .mdl-color--indigo-A400 {
1715
+ background-color: rgb(61,90,254) !important; }
1716
+
1717
+ .mdl-color-text--indigo-A700 {
1718
+ color: rgb(48,79,254) !important; }
1719
+
1720
+ .mdl-color--indigo-A700 {
1721
+ background-color: rgb(48,79,254) !important; }
1722
+
1723
+ .mdl-color-text--blue {
1724
+ color: rgb(33,150,243) !important; }
1725
+
1726
+ .mdl-color--blue {
1727
+ background-color: rgb(33,150,243) !important; }
1728
+
1729
+ .mdl-color-text--blue-50 {
1730
+ color: rgb(227,242,253) !important; }
1731
+
1732
+ .mdl-color--blue-50 {
1733
+ background-color: rgb(227,242,253) !important; }
1734
+
1735
+ .mdl-color-text--blue-100 {
1736
+ color: rgb(187,222,251) !important; }
1737
+
1738
+ .mdl-color--blue-100 {
1739
+ background-color: rgb(187,222,251) !important; }
1740
+
1741
+ .mdl-color-text--blue-200 {
1742
+ color: rgb(144,202,249) !important; }
1743
+
1744
+ .mdl-color--blue-200 {
1745
+ background-color: rgb(144,202,249) !important; }
1746
+
1747
+ .mdl-color-text--blue-300 {
1748
+ color: rgb(100,181,246) !important; }
1749
+
1750
+ .mdl-color--blue-300 {
1751
+ background-color: rgb(100,181,246) !important; }
1752
+
1753
+ .mdl-color-text--blue-400 {
1754
+ color: rgb(66,165,245) !important; }
1755
+
1756
+ .mdl-color--blue-400 {
1757
+ background-color: rgb(66,165,245) !important; }
1758
+
1759
+ .mdl-color-text--blue-500 {
1760
+ color: rgb(33,150,243) !important; }
1761
+
1762
+ .mdl-color--blue-500 {
1763
+ background-color: rgb(33,150,243) !important; }
1764
+
1765
+ .mdl-color-text--blue-600 {
1766
+ color: rgb(30,136,229) !important; }
1767
+
1768
+ .mdl-color--blue-600 {
1769
+ background-color: rgb(30,136,229) !important; }
1770
+
1771
+ .mdl-color-text--blue-700 {
1772
+ color: rgb(25,118,210) !important; }
1773
+
1774
+ .mdl-color--blue-700 {
1775
+ background-color: rgb(25,118,210) !important; }
1776
+
1777
+ .mdl-color-text--blue-800 {
1778
+ color: rgb(21,101,192) !important; }
1779
+
1780
+ .mdl-color--blue-800 {
1781
+ background-color: rgb(21,101,192) !important; }
1782
+
1783
+ .mdl-color-text--blue-900 {
1784
+ color: rgb(13,71,161) !important; }
1785
+
1786
+ .mdl-color--blue-900 {
1787
+ background-color: rgb(13,71,161) !important; }
1788
+
1789
+ .mdl-color-text--blue-A100 {
1790
+ color: rgb(130,177,255) !important; }
1791
+
1792
+ .mdl-color--blue-A100 {
1793
+ background-color: rgb(130,177,255) !important; }
1794
+
1795
+ .mdl-color-text--blue-A200 {
1796
+ color: rgb(68,138,255) !important; }
1797
+
1798
+ .mdl-color--blue-A200 {
1799
+ background-color: rgb(68,138,255) !important; }
1800
+
1801
+ .mdl-color-text--blue-A400 {
1802
+ color: rgb(41,121,255) !important; }
1803
+
1804
+ .mdl-color--blue-A400 {
1805
+ background-color: rgb(41,121,255) !important; }
1806
+
1807
+ .mdl-color-text--blue-A700 {
1808
+ color: rgb(41,98,255) !important; }
1809
+
1810
+ .mdl-color--blue-A700 {
1811
+ background-color: rgb(41,98,255) !important; }
1812
+
1813
+ .mdl-color-text--light-blue {
1814
+ color: rgb(3,169,244) !important; }
1815
+
1816
+ .mdl-color--light-blue {
1817
+ background-color: rgb(3,169,244) !important; }
1818
+
1819
+ .mdl-color-text--light-blue-50 {
1820
+ color: rgb(225,245,254) !important; }
1821
+
1822
+ .mdl-color--light-blue-50 {
1823
+ background-color: rgb(225,245,254) !important; }
1824
+
1825
+ .mdl-color-text--light-blue-100 {
1826
+ color: rgb(179,229,252) !important; }
1827
+
1828
+ .mdl-color--light-blue-100 {
1829
+ background-color: rgb(179,229,252) !important; }
1830
+
1831
+ .mdl-color-text--light-blue-200 {
1832
+ color: rgb(129,212,250) !important; }
1833
+
1834
+ .mdl-color--light-blue-200 {
1835
+ background-color: rgb(129,212,250) !important; }
1836
+
1837
+ .mdl-color-text--light-blue-300 {
1838
+ color: rgb(79,195,247) !important; }
1839
+
1840
+ .mdl-color--light-blue-300 {
1841
+ background-color: rgb(79,195,247) !important; }
1842
+
1843
+ .mdl-color-text--light-blue-400 {
1844
+ color: rgb(41,182,246) !important; }
1845
+
1846
+ .mdl-color--light-blue-400 {
1847
+ background-color: rgb(41,182,246) !important; }
1848
+
1849
+ .mdl-color-text--light-blue-500 {
1850
+ color: rgb(3,169,244) !important; }
1851
+
1852
+ .mdl-color--light-blue-500 {
1853
+ background-color: rgb(3,169,244) !important; }
1854
+
1855
+ .mdl-color-text--light-blue-600 {
1856
+ color: rgb(3,155,229) !important; }
1857
+
1858
+ .mdl-color--light-blue-600 {
1859
+ background-color: rgb(3,155,229) !important; }
1860
+
1861
+ .mdl-color-text--light-blue-700 {
1862
+ color: rgb(2,136,209) !important; }
1863
+
1864
+ .mdl-color--light-blue-700 {
1865
+ background-color: rgb(2,136,209) !important; }
1866
+
1867
+ .mdl-color-text--light-blue-800 {
1868
+ color: rgb(2,119,189) !important; }
1869
+
1870
+ .mdl-color--light-blue-800 {
1871
+ background-color: rgb(2,119,189) !important; }
1872
+
1873
+ .mdl-color-text--light-blue-900 {
1874
+ color: rgb(1,87,155) !important; }
1875
+
1876
+ .mdl-color--light-blue-900 {
1877
+ background-color: rgb(1,87,155) !important; }
1878
+
1879
+ .mdl-color-text--light-blue-A100 {
1880
+ color: rgb(128,216,255) !important; }
1881
+
1882
+ .mdl-color--light-blue-A100 {
1883
+ background-color: rgb(128,216,255) !important; }
1884
+
1885
+ .mdl-color-text--light-blue-A200 {
1886
+ color: rgb(64,196,255) !important; }
1887
+
1888
+ .mdl-color--light-blue-A200 {
1889
+ background-color: rgb(64,196,255) !important; }
1890
+
1891
+ .mdl-color-text--light-blue-A400 {
1892
+ color: rgb(0,176,255) !important; }
1893
+
1894
+ .mdl-color--light-blue-A400 {
1895
+ background-color: rgb(0,176,255) !important; }
1896
+
1897
+ .mdl-color-text--light-blue-A700 {
1898
+ color: rgb(0,145,234) !important; }
1899
+
1900
+ .mdl-color--light-blue-A700 {
1901
+ background-color: rgb(0,145,234) !important; }
1902
+
1903
+ .mdl-color-text--cyan {
1904
+ color: rgb(0,188,212) !important; }
1905
+
1906
+ .mdl-color--cyan {
1907
+ background-color: rgb(0,188,212) !important; }
1908
+
1909
+ .mdl-color-text--cyan-50 {
1910
+ color: rgb(224,247,250) !important; }
1911
+
1912
+ .mdl-color--cyan-50 {
1913
+ background-color: rgb(224,247,250) !important; }
1914
+
1915
+ .mdl-color-text--cyan-100 {
1916
+ color: rgb(178,235,242) !important; }
1917
+
1918
+ .mdl-color--cyan-100 {
1919
+ background-color: rgb(178,235,242) !important; }
1920
+
1921
+ .mdl-color-text--cyan-200 {
1922
+ color: rgb(128,222,234) !important; }
1923
+
1924
+ .mdl-color--cyan-200 {
1925
+ background-color: rgb(128,222,234) !important; }
1926
+
1927
+ .mdl-color-text--cyan-300 {
1928
+ color: rgb(77,208,225) !important; }
1929
+
1930
+ .mdl-color--cyan-300 {
1931
+ background-color: rgb(77,208,225) !important; }
1932
+
1933
+ .mdl-color-text--cyan-400 {
1934
+ color: rgb(38,198,218) !important; }
1935
+
1936
+ .mdl-color--cyan-400 {
1937
+ background-color: rgb(38,198,218) !important; }
1938
+
1939
+ .mdl-color-text--cyan-500 {
1940
+ color: rgb(0,188,212) !important; }
1941
+
1942
+ .mdl-color--cyan-500 {
1943
+ background-color: rgb(0,188,212) !important; }
1944
+
1945
+ .mdl-color-text--cyan-600 {
1946
+ color: rgb(0,172,193) !important; }
1947
+
1948
+ .mdl-color--cyan-600 {
1949
+ background-color: rgb(0,172,193) !important; }
1950
+
1951
+ .mdl-color-text--cyan-700 {
1952
+ color: rgb(0,151,167) !important; }
1953
+
1954
+ .mdl-color--cyan-700 {
1955
+ background-color: rgb(0,151,167) !important; }
1956
+
1957
+ .mdl-color-text--cyan-800 {
1958
+ color: rgb(0,131,143) !important; }
1959
+
1960
+ .mdl-color--cyan-800 {
1961
+ background-color: rgb(0,131,143) !important; }
1962
+
1963
+ .mdl-color-text--cyan-900 {
1964
+ color: rgb(0,96,100) !important; }
1965
+
1966
+ .mdl-color--cyan-900 {
1967
+ background-color: rgb(0,96,100) !important; }
1968
+
1969
+ .mdl-color-text--cyan-A100 {
1970
+ color: rgb(132,255,255) !important; }
1971
+
1972
+ .mdl-color--cyan-A100 {
1973
+ background-color: rgb(132,255,255) !important; }
1974
+
1975
+ .mdl-color-text--cyan-A200 {
1976
+ color: rgb(24,255,255) !important; }
1977
+
1978
+ .mdl-color--cyan-A200 {
1979
+ background-color: rgb(24,255,255) !important; }
1980
+
1981
+ .mdl-color-text--cyan-A400 {
1982
+ color: rgb(0,229,255) !important; }
1983
+
1984
+ .mdl-color--cyan-A400 {
1985
+ background-color: rgb(0,229,255) !important; }
1986
+
1987
+ .mdl-color-text--cyan-A700 {
1988
+ color: rgb(0,184,212) !important; }
1989
+
1990
+ .mdl-color--cyan-A700 {
1991
+ background-color: rgb(0,184,212) !important; }
1992
+
1993
+ .mdl-color-text--teal {
1994
+ color: rgb(0,150,136) !important; }
1995
+
1996
+ .mdl-color--teal {
1997
+ background-color: rgb(0,150,136) !important; }
1998
+
1999
+ .mdl-color-text--teal-50 {
2000
+ color: rgb(224,242,241) !important; }
2001
+
2002
+ .mdl-color--teal-50 {
2003
+ background-color: rgb(224,242,241) !important; }
2004
+
2005
+ .mdl-color-text--teal-100 {
2006
+ color: rgb(178,223,219) !important; }
2007
+
2008
+ .mdl-color--teal-100 {
2009
+ background-color: rgb(178,223,219) !important; }
2010
+
2011
+ .mdl-color-text--teal-200 {
2012
+ color: rgb(128,203,196) !important; }
2013
+
2014
+ .mdl-color--teal-200 {
2015
+ background-color: rgb(128,203,196) !important; }
2016
+
2017
+ .mdl-color-text--teal-300 {
2018
+ color: rgb(77,182,172) !important; }
2019
+
2020
+ .mdl-color--teal-300 {
2021
+ background-color: rgb(77,182,172) !important; }
2022
+
2023
+ .mdl-color-text--teal-400 {
2024
+ color: rgb(38,166,154) !important; }
2025
+
2026
+ .mdl-color--teal-400 {
2027
+ background-color: rgb(38,166,154) !important; }
2028
+
2029
+ .mdl-color-text--teal-500 {
2030
+ color: rgb(0,150,136) !important; }
2031
+
2032
+ .mdl-color--teal-500 {
2033
+ background-color: rgb(0,150,136) !important; }
2034
+
2035
+ .mdl-color-text--teal-600 {
2036
+ color: rgb(0,137,123) !important; }
2037
+
2038
+ .mdl-color--teal-600 {
2039
+ background-color: rgb(0,137,123) !important; }
2040
+
2041
+ .mdl-color-text--teal-700 {
2042
+ color: rgb(0,121,107) !important; }
2043
+
2044
+ .mdl-color--teal-700 {
2045
+ background-color: rgb(0,121,107) !important; }
2046
+
2047
+ .mdl-color-text--teal-800 {
2048
+ color: rgb(0,105,92) !important; }
2049
+
2050
+ .mdl-color--teal-800 {
2051
+ background-color: rgb(0,105,92) !important; }
2052
+
2053
+ .mdl-color-text--teal-900 {
2054
+ color: rgb(0,77,64) !important; }
2055
+
2056
+ .mdl-color--teal-900 {
2057
+ background-color: rgb(0,77,64) !important; }
2058
+
2059
+ .mdl-color-text--teal-A100 {
2060
+ color: rgb(167,255,235) !important; }
2061
+
2062
+ .mdl-color--teal-A100 {
2063
+ background-color: rgb(167,255,235) !important; }
2064
+
2065
+ .mdl-color-text--teal-A200 {
2066
+ color: rgb(100,255,218) !important; }
2067
+
2068
+ .mdl-color--teal-A200 {
2069
+ background-color: rgb(100,255,218) !important; }
2070
+
2071
+ .mdl-color-text--teal-A400 {
2072
+ color: rgb(29,233,182) !important; }
2073
+
2074
+ .mdl-color--teal-A400 {
2075
+ background-color: rgb(29,233,182) !important; }
2076
+
2077
+ .mdl-color-text--teal-A700 {
2078
+ color: rgb(0,191,165) !important; }
2079
+
2080
+ .mdl-color--teal-A700 {
2081
+ background-color: rgb(0,191,165) !important; }
2082
+
2083
+ .mdl-color-text--green {
2084
+ color: rgb(76,175,80) !important; }
2085
+
2086
+ .mdl-color--green {
2087
+ background-color: rgb(76,175,80) !important; }
2088
+
2089
+ .mdl-color-text--green-50 {
2090
+ color: rgb(232,245,233) !important; }
2091
+
2092
+ .mdl-color--green-50 {
2093
+ background-color: rgb(232,245,233) !important; }
2094
+
2095
+ .mdl-color-text--green-100 {
2096
+ color: rgb(200,230,201) !important; }
2097
+
2098
+ .mdl-color--green-100 {
2099
+ background-color: rgb(200,230,201) !important; }
2100
+
2101
+ .mdl-color-text--green-200 {
2102
+ color: rgb(165,214,167) !important; }
2103
+
2104
+ .mdl-color--green-200 {
2105
+ background-color: rgb(165,214,167) !important; }
2106
+
2107
+ .mdl-color-text--green-300 {
2108
+ color: rgb(129,199,132) !important; }
2109
+
2110
+ .mdl-color--green-300 {
2111
+ background-color: rgb(129,199,132) !important; }
2112
+
2113
+ .mdl-color-text--green-400 {
2114
+ color: rgb(102,187,106) !important; }
2115
+
2116
+ .mdl-color--green-400 {
2117
+ background-color: rgb(102,187,106) !important; }
2118
+
2119
+ .mdl-color-text--green-500 {
2120
+ color: rgb(76,175,80) !important; }
2121
+
2122
+ .mdl-color--green-500 {
2123
+ background-color: rgb(76,175,80) !important; }
2124
+
2125
+ .mdl-color-text--green-600 {
2126
+ color: rgb(67,160,71) !important; }
2127
+
2128
+ .mdl-color--green-600 {
2129
+ background-color: rgb(67,160,71) !important; }
2130
+
2131
+ .mdl-color-text--green-700 {
2132
+ color: rgb(56,142,60) !important; }
2133
+
2134
+ .mdl-color--green-700 {
2135
+ background-color: rgb(56,142,60) !important; }
2136
+
2137
+ .mdl-color-text--green-800 {
2138
+ color: rgb(46,125,50) !important; }
2139
+
2140
+ .mdl-color--green-800 {
2141
+ background-color: rgb(46,125,50) !important; }
2142
+
2143
+ .mdl-color-text--green-900 {
2144
+ color: rgb(27,94,32) !important; }
2145
+
2146
+ .mdl-color--green-900 {
2147
+ background-color: rgb(27,94,32) !important; }
2148
+
2149
+ .mdl-color-text--green-A100 {
2150
+ color: rgb(185,246,202) !important; }
2151
+
2152
+ .mdl-color--green-A100 {
2153
+ background-color: rgb(185,246,202) !important; }
2154
+
2155
+ .mdl-color-text--green-A200 {
2156
+ color: rgb(105,240,174) !important; }
2157
+
2158
+ .mdl-color--green-A200 {
2159
+ background-color: rgb(105,240,174) !important; }
2160
+
2161
+ .mdl-color-text--green-A400 {
2162
+ color: rgb(0,230,118) !important; }
2163
+
2164
+ .mdl-color--green-A400 {
2165
+ background-color: rgb(0,230,118) !important; }
2166
+
2167
+ .mdl-color-text--green-A700 {
2168
+ color: rgb(0,200,83) !important; }
2169
+
2170
+ .mdl-color--green-A700 {
2171
+ background-color: rgb(0,200,83) !important; }
2172
+
2173
+ .mdl-color-text--light-green {
2174
+ color: rgb(139,195,74) !important; }
2175
+
2176
+ .mdl-color--light-green {
2177
+ background-color: rgb(139,195,74) !important; }
2178
+
2179
+ .mdl-color-text--light-green-50 {
2180
+ color: rgb(241,248,233) !important; }
2181
+
2182
+ .mdl-color--light-green-50 {
2183
+ background-color: rgb(241,248,233) !important; }
2184
+
2185
+ .mdl-color-text--light-green-100 {
2186
+ color: rgb(220,237,200) !important; }
2187
+
2188
+ .mdl-color--light-green-100 {
2189
+ background-color: rgb(220,237,200) !important; }
2190
+
2191
+ .mdl-color-text--light-green-200 {
2192
+ color: rgb(197,225,165) !important; }
2193
+
2194
+ .mdl-color--light-green-200 {
2195
+ background-color: rgb(197,225,165) !important; }
2196
+
2197
+ .mdl-color-text--light-green-300 {
2198
+ color: rgb(174,213,129) !important; }
2199
+
2200
+ .mdl-color--light-green-300 {
2201
+ background-color: rgb(174,213,129) !important; }
2202
+
2203
+ .mdl-color-text--light-green-400 {
2204
+ color: rgb(156,204,101) !important; }
2205
+
2206
+ .mdl-color--light-green-400 {
2207
+ background-color: rgb(156,204,101) !important; }
2208
+
2209
+ .mdl-color-text--light-green-500 {
2210
+ color: rgb(139,195,74) !important; }
2211
+
2212
+ .mdl-color--light-green-500 {
2213
+ background-color: rgb(139,195,74) !important; }
2214
+
2215
+ .mdl-color-text--light-green-600 {
2216
+ color: rgb(124,179,66) !important; }
2217
+
2218
+ .mdl-color--light-green-600 {
2219
+ background-color: rgb(124,179,66) !important; }
2220
+
2221
+ .mdl-color-text--light-green-700 {
2222
+ color: rgb(104,159,56) !important; }
2223
+
2224
+ .mdl-color--light-green-700 {
2225
+ background-color: rgb(104,159,56) !important; }
2226
+
2227
+ .mdl-color-text--light-green-800 {
2228
+ color: rgb(85,139,47) !important; }
2229
+
2230
+ .mdl-color--light-green-800 {
2231
+ background-color: rgb(85,139,47) !important; }
2232
+
2233
+ .mdl-color-text--light-green-900 {
2234
+ color: rgb(51,105,30) !important; }
2235
+
2236
+ .mdl-color--light-green-900 {
2237
+ background-color: rgb(51,105,30) !important; }
2238
+
2239
+ .mdl-color-text--light-green-A100 {
2240
+ color: rgb(204,255,144) !important; }
2241
+
2242
+ .mdl-color--light-green-A100 {
2243
+ background-color: rgb(204,255,144) !important; }
2244
+
2245
+ .mdl-color-text--light-green-A200 {
2246
+ color: rgb(178,255,89) !important; }
2247
+
2248
+ .mdl-color--light-green-A200 {
2249
+ background-color: rgb(178,255,89) !important; }
2250
+
2251
+ .mdl-color-text--light-green-A400 {
2252
+ color: rgb(118,255,3) !important; }
2253
+
2254
+ .mdl-color--light-green-A400 {
2255
+ background-color: rgb(118,255,3) !important; }
2256
+
2257
+ .mdl-color-text--light-green-A700 {
2258
+ color: rgb(100,221,23) !important; }
2259
+
2260
+ .mdl-color--light-green-A700 {
2261
+ background-color: rgb(100,221,23) !important; }
2262
+
2263
+ .mdl-color-text--lime {
2264
+ color: rgb(205,220,57) !important; }
2265
+
2266
+ .mdl-color--lime {
2267
+ background-color: rgb(205,220,57) !important; }
2268
+
2269
+ .mdl-color-text--lime-50 {
2270
+ color: rgb(249,251,231) !important; }
2271
+
2272
+ .mdl-color--lime-50 {
2273
+ background-color: rgb(249,251,231) !important; }
2274
+
2275
+ .mdl-color-text--lime-100 {
2276
+ color: rgb(240,244,195) !important; }
2277
+
2278
+ .mdl-color--lime-100 {
2279
+ background-color: rgb(240,244,195) !important; }
2280
+
2281
+ .mdl-color-text--lime-200 {
2282
+ color: rgb(230,238,156) !important; }
2283
+
2284
+ .mdl-color--lime-200 {
2285
+ background-color: rgb(230,238,156) !important; }
2286
+
2287
+ .mdl-color-text--lime-300 {
2288
+ color: rgb(220,231,117) !important; }
2289
+
2290
+ .mdl-color--lime-300 {
2291
+ background-color: rgb(220,231,117) !important; }
2292
+
2293
+ .mdl-color-text--lime-400 {
2294
+ color: rgb(212,225,87) !important; }
2295
+
2296
+ .mdl-color--lime-400 {
2297
+ background-color: rgb(212,225,87) !important; }
2298
+
2299
+ .mdl-color-text--lime-500 {
2300
+ color: rgb(205,220,57) !important; }
2301
+
2302
+ .mdl-color--lime-500 {
2303
+ background-color: rgb(205,220,57) !important; }
2304
+
2305
+ .mdl-color-text--lime-600 {
2306
+ color: rgb(192,202,51) !important; }
2307
+
2308
+ .mdl-color--lime-600 {
2309
+ background-color: rgb(192,202,51) !important; }
2310
+
2311
+ .mdl-color-text--lime-700 {
2312
+ color: rgb(175,180,43) !important; }
2313
+
2314
+ .mdl-color--lime-700 {
2315
+ background-color: rgb(175,180,43) !important; }
2316
+
2317
+ .mdl-color-text--lime-800 {
2318
+ color: rgb(158,157,36) !important; }
2319
+
2320
+ .mdl-color--lime-800 {
2321
+ background-color: rgb(158,157,36) !important; }
2322
+
2323
+ .mdl-color-text--lime-900 {
2324
+ color: rgb(130,119,23) !important; }
2325
+
2326
+ .mdl-color--lime-900 {
2327
+ background-color: rgb(130,119,23) !important; }
2328
+
2329
+ .mdl-color-text--lime-A100 {
2330
+ color: rgb(244,255,129) !important; }
2331
+
2332
+ .mdl-color--lime-A100 {
2333
+ background-color: rgb(244,255,129) !important; }
2334
+
2335
+ .mdl-color-text--lime-A200 {
2336
+ color: rgb(238,255,65) !important; }
2337
+
2338
+ .mdl-color--lime-A200 {
2339
+ background-color: rgb(238,255,65) !important; }
2340
+
2341
+ .mdl-color-text--lime-A400 {
2342
+ color: rgb(198,255,0) !important; }
2343
+
2344
+ .mdl-color--lime-A400 {
2345
+ background-color: rgb(198,255,0) !important; }
2346
+
2347
+ .mdl-color-text--lime-A700 {
2348
+ color: rgb(174,234,0) !important; }
2349
+
2350
+ .mdl-color--lime-A700 {
2351
+ background-color: rgb(174,234,0) !important; }
2352
+
2353
+ .mdl-color-text--yellow {
2354
+ color: rgb(255,235,59) !important; }
2355
+
2356
+ .mdl-color--yellow {
2357
+ background-color: rgb(255,235,59) !important; }
2358
+
2359
+ .mdl-color-text--yellow-50 {
2360
+ color: rgb(255,253,231) !important; }
2361
+
2362
+ .mdl-color--yellow-50 {
2363
+ background-color: rgb(255,253,231) !important; }
2364
+
2365
+ .mdl-color-text--yellow-100 {
2366
+ color: rgb(255,249,196) !important; }
2367
+
2368
+ .mdl-color--yellow-100 {
2369
+ background-color: rgb(255,249,196) !important; }
2370
+
2371
+ .mdl-color-text--yellow-200 {
2372
+ color: rgb(255,245,157) !important; }
2373
+
2374
+ .mdl-color--yellow-200 {
2375
+ background-color: rgb(255,245,157) !important; }
2376
+
2377
+ .mdl-color-text--yellow-300 {
2378
+ color: rgb(255,241,118) !important; }
2379
+
2380
+ .mdl-color--yellow-300 {
2381
+ background-color: rgb(255,241,118) !important; }
2382
+
2383
+ .mdl-color-text--yellow-400 {
2384
+ color: rgb(255,238,88) !important; }
2385
+
2386
+ .mdl-color--yellow-400 {
2387
+ background-color: rgb(255,238,88) !important; }
2388
+
2389
+ .mdl-color-text--yellow-500 {
2390
+ color: rgb(255,235,59) !important; }
2391
+
2392
+ .mdl-color--yellow-500 {
2393
+ background-color: rgb(255,235,59) !important; }
2394
+
2395
+ .mdl-color-text--yellow-600 {
2396
+ color: rgb(253,216,53) !important; }
2397
+
2398
+ .mdl-color--yellow-600 {
2399
+ background-color: rgb(253,216,53) !important; }
2400
+
2401
+ .mdl-color-text--yellow-700 {
2402
+ color: rgb(251,192,45) !important; }
2403
+
2404
+ .mdl-color--yellow-700 {
2405
+ background-color: rgb(251,192,45) !important; }
2406
+
2407
+ .mdl-color-text--yellow-800 {
2408
+ color: rgb(249,168,37) !important; }
2409
+
2410
+ .mdl-color--yellow-800 {
2411
+ background-color: rgb(249,168,37) !important; }
2412
+
2413
+ .mdl-color-text--yellow-900 {
2414
+ color: rgb(245,127,23) !important; }
2415
+
2416
+ .mdl-color--yellow-900 {
2417
+ background-color: rgb(245,127,23) !important; }
2418
+
2419
+ .mdl-color-text--yellow-A100 {
2420
+ color: rgb(255,255,141) !important; }
2421
+
2422
+ .mdl-color--yellow-A100 {
2423
+ background-color: rgb(255,255,141) !important; }
2424
+
2425
+ .mdl-color-text--yellow-A200 {
2426
+ color: rgb(255,255,0) !important; }
2427
+
2428
+ .mdl-color--yellow-A200 {
2429
+ background-color: rgb(255,255,0) !important; }
2430
+
2431
+ .mdl-color-text--yellow-A400 {
2432
+ color: rgb(255,234,0) !important; }
2433
+
2434
+ .mdl-color--yellow-A400 {
2435
+ background-color: rgb(255,234,0) !important; }
2436
+
2437
+ .mdl-color-text--yellow-A700 {
2438
+ color: rgb(255,214,0) !important; }
2439
+
2440
+ .mdl-color--yellow-A700 {
2441
+ background-color: rgb(255,214,0) !important; }
2442
+
2443
+ .mdl-color-text--amber {
2444
+ color: rgb(255,193,7) !important; }
2445
+
2446
+ .mdl-color--amber {
2447
+ background-color: rgb(255,193,7) !important; }
2448
+
2449
+ .mdl-color-text--amber-50 {
2450
+ color: rgb(255,248,225) !important; }
2451
+
2452
+ .mdl-color--amber-50 {
2453
+ background-color: rgb(255,248,225) !important; }
2454
+
2455
+ .mdl-color-text--amber-100 {
2456
+ color: rgb(255,236,179) !important; }
2457
+
2458
+ .mdl-color--amber-100 {
2459
+ background-color: rgb(255,236,179) !important; }
2460
+
2461
+ .mdl-color-text--amber-200 {
2462
+ color: rgb(255,224,130) !important; }
2463
+
2464
+ .mdl-color--amber-200 {
2465
+ background-color: rgb(255,224,130) !important; }
2466
+
2467
+ .mdl-color-text--amber-300 {
2468
+ color: rgb(255,213,79) !important; }
2469
+
2470
+ .mdl-color--amber-300 {
2471
+ background-color: rgb(255,213,79) !important; }
2472
+
2473
+ .mdl-color-text--amber-400 {
2474
+ color: rgb(255,202,40) !important; }
2475
+
2476
+ .mdl-color--amber-400 {
2477
+ background-color: rgb(255,202,40) !important; }
2478
+
2479
+ .mdl-color-text--amber-500 {
2480
+ color: rgb(255,193,7) !important; }
2481
+
2482
+ .mdl-color--amber-500 {
2483
+ background-color: rgb(255,193,7) !important; }
2484
+
2485
+ .mdl-color-text--amber-600 {
2486
+ color: rgb(255,179,0) !important; }
2487
+
2488
+ .mdl-color--amber-600 {
2489
+ background-color: rgb(255,179,0) !important; }
2490
+
2491
+ .mdl-color-text--amber-700 {
2492
+ color: rgb(255,160,0) !important; }
2493
+
2494
+ .mdl-color--amber-700 {
2495
+ background-color: rgb(255,160,0) !important; }
2496
+
2497
+ .mdl-color-text--amber-800 {
2498
+ color: rgb(255,143,0) !important; }
2499
+
2500
+ .mdl-color--amber-800 {
2501
+ background-color: rgb(255,143,0) !important; }
2502
+
2503
+ .mdl-color-text--amber-900 {
2504
+ color: rgb(255,111,0) !important; }
2505
+
2506
+ .mdl-color--amber-900 {
2507
+ background-color: rgb(255,111,0) !important; }
2508
+
2509
+ .mdl-color-text--amber-A100 {
2510
+ color: rgb(255,229,127) !important; }
2511
+
2512
+ .mdl-color--amber-A100 {
2513
+ background-color: rgb(255,229,127) !important; }
2514
+
2515
+ .mdl-color-text--amber-A200 {
2516
+ color: rgb(255,215,64) !important; }
2517
+
2518
+ .mdl-color--amber-A200 {
2519
+ background-color: rgb(255,215,64) !important; }
2520
+
2521
+ .mdl-color-text--amber-A400 {
2522
+ color: rgb(255,196,0) !important; }
2523
+
2524
+ .mdl-color--amber-A400 {
2525
+ background-color: rgb(255,196,0) !important; }
2526
+
2527
+ .mdl-color-text--amber-A700 {
2528
+ color: rgb(255,171,0) !important; }
2529
+
2530
+ .mdl-color--amber-A700 {
2531
+ background-color: rgb(255,171,0) !important; }
2532
+
2533
+ .mdl-color-text--orange {
2534
+ color: rgb(255,152,0) !important; }
2535
+
2536
+ .mdl-color--orange {
2537
+ background-color: rgb(255,152,0) !important; }
2538
+
2539
+ .mdl-color-text--orange-50 {
2540
+ color: rgb(255,243,224) !important; }
2541
+
2542
+ .mdl-color--orange-50 {
2543
+ background-color: rgb(255,243,224) !important; }
2544
+
2545
+ .mdl-color-text--orange-100 {
2546
+ color: rgb(255,224,178) !important; }
2547
+
2548
+ .mdl-color--orange-100 {
2549
+ background-color: rgb(255,224,178) !important; }
2550
+
2551
+ .mdl-color-text--orange-200 {
2552
+ color: rgb(255,204,128) !important; }
2553
+
2554
+ .mdl-color--orange-200 {
2555
+ background-color: rgb(255,204,128) !important; }
2556
+
2557
+ .mdl-color-text--orange-300 {
2558
+ color: rgb(255,183,77) !important; }
2559
+
2560
+ .mdl-color--orange-300 {
2561
+ background-color: rgb(255,183,77) !important; }
2562
+
2563
+ .mdl-color-text--orange-400 {
2564
+ color: rgb(255,167,38) !important; }
2565
+
2566
+ .mdl-color--orange-400 {
2567
+ background-color: rgb(255,167,38) !important; }
2568
+
2569
+ .mdl-color-text--orange-500 {
2570
+ color: rgb(255,152,0) !important; }
2571
+
2572
+ .mdl-color--orange-500 {
2573
+ background-color: rgb(255,152,0) !important; }
2574
+
2575
+ .mdl-color-text--orange-600 {
2576
+ color: rgb(251,140,0) !important; }
2577
+
2578
+ .mdl-color--orange-600 {
2579
+ background-color: rgb(251,140,0) !important; }
2580
+
2581
+ .mdl-color-text--orange-700 {
2582
+ color: rgb(245,124,0) !important; }
2583
+
2584
+ .mdl-color--orange-700 {
2585
+ background-color: rgb(245,124,0) !important; }
2586
+
2587
+ .mdl-color-text--orange-800 {
2588
+ color: rgb(239,108,0) !important; }
2589
+
2590
+ .mdl-color--orange-800 {
2591
+ background-color: rgb(239,108,0) !important; }
2592
+
2593
+ .mdl-color-text--orange-900 {
2594
+ color: rgb(230,81,0) !important; }
2595
+
2596
+ .mdl-color--orange-900 {
2597
+ background-color: rgb(230,81,0) !important; }
2598
+
2599
+ .mdl-color-text--orange-A100 {
2600
+ color: rgb(255,209,128) !important; }
2601
+
2602
+ .mdl-color--orange-A100 {
2603
+ background-color: rgb(255,209,128) !important; }
2604
+
2605
+ .mdl-color-text--orange-A200 {
2606
+ color: rgb(255,171,64) !important; }
2607
+
2608
+ .mdl-color--orange-A200 {
2609
+ background-color: rgb(255,171,64) !important; }
2610
+
2611
+ .mdl-color-text--orange-A400 {
2612
+ color: rgb(255,145,0) !important; }
2613
+
2614
+ .mdl-color--orange-A400 {
2615
+ background-color: rgb(255,145,0) !important; }
2616
+
2617
+ .mdl-color-text--orange-A700 {
2618
+ color: rgb(255,109,0) !important; }
2619
+
2620
+ .mdl-color--orange-A700 {
2621
+ background-color: rgb(255,109,0) !important; }
2622
+
2623
+ .mdl-color-text--deep-orange {
2624
+ color: rgb(255,87,34) !important; }
2625
+
2626
+ .mdl-color--deep-orange {
2627
+ background-color: rgb(255,87,34) !important; }
2628
+
2629
+ .mdl-color-text--deep-orange-50 {
2630
+ color: rgb(251,233,231) !important; }
2631
+
2632
+ .mdl-color--deep-orange-50 {
2633
+ background-color: rgb(251,233,231) !important; }
2634
+
2635
+ .mdl-color-text--deep-orange-100 {
2636
+ color: rgb(255,204,188) !important; }
2637
+
2638
+ .mdl-color--deep-orange-100 {
2639
+ background-color: rgb(255,204,188) !important; }
2640
+
2641
+ .mdl-color-text--deep-orange-200 {
2642
+ color: rgb(255,171,145) !important; }
2643
+
2644
+ .mdl-color--deep-orange-200 {
2645
+ background-color: rgb(255,171,145) !important; }
2646
+
2647
+ .mdl-color-text--deep-orange-300 {
2648
+ color: rgb(255,138,101) !important; }
2649
+
2650
+ .mdl-color--deep-orange-300 {
2651
+ background-color: rgb(255,138,101) !important; }
2652
+
2653
+ .mdl-color-text--deep-orange-400 {
2654
+ color: rgb(255,112,67) !important; }
2655
+
2656
+ .mdl-color--deep-orange-400 {
2657
+ background-color: rgb(255,112,67) !important; }
2658
+
2659
+ .mdl-color-text--deep-orange-500 {
2660
+ color: rgb(255,87,34) !important; }
2661
+
2662
+ .mdl-color--deep-orange-500 {
2663
+ background-color: rgb(255,87,34) !important; }
2664
+
2665
+ .mdl-color-text--deep-orange-600 {
2666
+ color: rgb(244,81,30) !important; }
2667
+
2668
+ .mdl-color--deep-orange-600 {
2669
+ background-color: rgb(244,81,30) !important; }
2670
+
2671
+ .mdl-color-text--deep-orange-700 {
2672
+ color: rgb(230,74,25) !important; }
2673
+
2674
+ .mdl-color--deep-orange-700 {
2675
+ background-color: rgb(230,74,25) !important; }
2676
+
2677
+ .mdl-color-text--deep-orange-800 {
2678
+ color: rgb(216,67,21) !important; }
2679
+
2680
+ .mdl-color--deep-orange-800 {
2681
+ background-color: rgb(216,67,21) !important; }
2682
+
2683
+ .mdl-color-text--deep-orange-900 {
2684
+ color: rgb(191,54,12) !important; }
2685
+
2686
+ .mdl-color--deep-orange-900 {
2687
+ background-color: rgb(191,54,12) !important; }
2688
+
2689
+ .mdl-color-text--deep-orange-A100 {
2690
+ color: rgb(255,158,128) !important; }
2691
+
2692
+ .mdl-color--deep-orange-A100 {
2693
+ background-color: rgb(255,158,128) !important; }
2694
+
2695
+ .mdl-color-text--deep-orange-A200 {
2696
+ color: rgb(255,110,64) !important; }
2697
+
2698
+ .mdl-color--deep-orange-A200 {
2699
+ background-color: rgb(255,110,64) !important; }
2700
+
2701
+ .mdl-color-text--deep-orange-A400 {
2702
+ color: rgb(255,61,0) !important; }
2703
+
2704
+ .mdl-color--deep-orange-A400 {
2705
+ background-color: rgb(255,61,0) !important; }
2706
+
2707
+ .mdl-color-text--deep-orange-A700 {
2708
+ color: rgb(221,44,0) !important; }
2709
+
2710
+ .mdl-color--deep-orange-A700 {
2711
+ background-color: rgb(221,44,0) !important; }
2712
+
2713
+ .mdl-color-text--brown {
2714
+ color: rgb(121,85,72) !important; }
2715
+
2716
+ .mdl-color--brown {
2717
+ background-color: rgb(121,85,72) !important; }
2718
+
2719
+ .mdl-color-text--brown-50 {
2720
+ color: rgb(239,235,233) !important; }
2721
+
2722
+ .mdl-color--brown-50 {
2723
+ background-color: rgb(239,235,233) !important; }
2724
+
2725
+ .mdl-color-text--brown-100 {
2726
+ color: rgb(215,204,200) !important; }
2727
+
2728
+ .mdl-color--brown-100 {
2729
+ background-color: rgb(215,204,200) !important; }
2730
+
2731
+ .mdl-color-text--brown-200 {
2732
+ color: rgb(188,170,164) !important; }
2733
+
2734
+ .mdl-color--brown-200 {
2735
+ background-color: rgb(188,170,164) !important; }
2736
+
2737
+ .mdl-color-text--brown-300 {
2738
+ color: rgb(161,136,127) !important; }
2739
+
2740
+ .mdl-color--brown-300 {
2741
+ background-color: rgb(161,136,127) !important; }
2742
+
2743
+ .mdl-color-text--brown-400 {
2744
+ color: rgb(141,110,99) !important; }
2745
+
2746
+ .mdl-color--brown-400 {
2747
+ background-color: rgb(141,110,99) !important; }
2748
+
2749
+ .mdl-color-text--brown-500 {
2750
+ color: rgb(121,85,72) !important; }
2751
+
2752
+ .mdl-color--brown-500 {
2753
+ background-color: rgb(121,85,72) !important; }
2754
+
2755
+ .mdl-color-text--brown-600 {
2756
+ color: rgb(109,76,65) !important; }
2757
+
2758
+ .mdl-color--brown-600 {
2759
+ background-color: rgb(109,76,65) !important; }
2760
+
2761
+ .mdl-color-text--brown-700 {
2762
+ color: rgb(93,64,55) !important; }
2763
+
2764
+ .mdl-color--brown-700 {
2765
+ background-color: rgb(93,64,55) !important; }
2766
+
2767
+ .mdl-color-text--brown-800 {
2768
+ color: rgb(78,52,46) !important; }
2769
+
2770
+ .mdl-color--brown-800 {
2771
+ background-color: rgb(78,52,46) !important; }
2772
+
2773
+ .mdl-color-text--brown-900 {
2774
+ color: rgb(62,39,35) !important; }
2775
+
2776
+ .mdl-color--brown-900 {
2777
+ background-color: rgb(62,39,35) !important; }
2778
+
2779
+ .mdl-color-text--grey {
2780
+ color: rgb(158,158,158) !important; }
2781
+
2782
+ .mdl-color--grey {
2783
+ background-color: rgb(158,158,158) !important; }
2784
+
2785
+ .mdl-color-text--grey-50 {
2786
+ color: rgb(250,250,250) !important; }
2787
+
2788
+ .mdl-color--grey-50 {
2789
+ background-color: rgb(250,250,250) !important; }
2790
+
2791
+ .mdl-color-text--grey-100 {
2792
+ color: rgb(245,245,245) !important; }
2793
+
2794
+ .mdl-color--grey-100 {
2795
+ background-color: rgb(245,245,245) !important; }
2796
+
2797
+ .mdl-color-text--grey-200 {
2798
+ color: rgb(238,238,238) !important; }
2799
+
2800
+ .mdl-color--grey-200 {
2801
+ background-color: rgb(238,238,238) !important; }
2802
+
2803
+ .mdl-color-text--grey-300 {
2804
+ color: rgb(224,224,224) !important; }
2805
+
2806
+ .mdl-color--grey-300 {
2807
+ background-color: rgb(224,224,224) !important; }
2808
+
2809
+ .mdl-color-text--grey-400 {
2810
+ color: rgb(189,189,189) !important; }
2811
+
2812
+ .mdl-color--grey-400 {
2813
+ background-color: rgb(189,189,189) !important; }
2814
+
2815
+ .mdl-color-text--grey-500 {
2816
+ color: rgb(158,158,158) !important; }
2817
+
2818
+ .mdl-color--grey-500 {
2819
+ background-color: rgb(158,158,158) !important; }
2820
+
2821
+ .mdl-color-text--grey-600 {
2822
+ color: rgb(117,117,117) !important; }
2823
+
2824
+ .mdl-color--grey-600 {
2825
+ background-color: rgb(117,117,117) !important; }
2826
+
2827
+ .mdl-color-text--grey-700 {
2828
+ color: rgb(97,97,97) !important; }
2829
+
2830
+ .mdl-color--grey-700 {
2831
+ background-color: rgb(97,97,97) !important; }
2832
+
2833
+ .mdl-color-text--grey-800 {
2834
+ color: rgb(66,66,66) !important; }
2835
+
2836
+ .mdl-color--grey-800 {
2837
+ background-color: rgb(66,66,66) !important; }
2838
+
2839
+ .mdl-color-text--grey-900 {
2840
+ color: rgb(33,33,33) !important; }
2841
+
2842
+ .mdl-color--grey-900 {
2843
+ background-color: rgb(33,33,33) !important; }
2844
+
2845
+ .mdl-color-text--blue-grey {
2846
+ color: rgb(96,125,139) !important; }
2847
+
2848
+ .mdl-color--blue-grey {
2849
+ background-color: rgb(96,125,139) !important; }
2850
+
2851
+ .mdl-color-text--blue-grey-50 {
2852
+ color: rgb(236,239,241) !important; }
2853
+
2854
+ .mdl-color--blue-grey-50 {
2855
+ background-color: rgb(236,239,241) !important; }
2856
+
2857
+ .mdl-color-text--blue-grey-100 {
2858
+ color: rgb(207,216,220) !important; }
2859
+
2860
+ .mdl-color--blue-grey-100 {
2861
+ background-color: rgb(207,216,220) !important; }
2862
+
2863
+ .mdl-color-text--blue-grey-200 {
2864
+ color: rgb(176,190,197) !important; }
2865
+
2866
+ .mdl-color--blue-grey-200 {
2867
+ background-color: rgb(176,190,197) !important; }
2868
+
2869
+ .mdl-color-text--blue-grey-300 {
2870
+ color: rgb(144,164,174) !important; }
2871
+
2872
+ .mdl-color--blue-grey-300 {
2873
+ background-color: rgb(144,164,174) !important; }
2874
+
2875
+ .mdl-color-text--blue-grey-400 {
2876
+ color: rgb(120,144,156) !important; }
2877
+
2878
+ .mdl-color--blue-grey-400 {
2879
+ background-color: rgb(120,144,156) !important; }
2880
+
2881
+ .mdl-color-text--blue-grey-500 {
2882
+ color: rgb(96,125,139) !important; }
2883
+
2884
+ .mdl-color--blue-grey-500 {
2885
+ background-color: rgb(96,125,139) !important; }
2886
+
2887
+ .mdl-color-text--blue-grey-600 {
2888
+ color: rgb(84,110,122) !important; }
2889
+
2890
+ .mdl-color--blue-grey-600 {
2891
+ background-color: rgb(84,110,122) !important; }
2892
+
2893
+ .mdl-color-text--blue-grey-700 {
2894
+ color: rgb(69,90,100) !important; }
2895
+
2896
+ .mdl-color--blue-grey-700 {
2897
+ background-color: rgb(69,90,100) !important; }
2898
+
2899
+ .mdl-color-text--blue-grey-800 {
2900
+ color: rgb(55,71,79) !important; }
2901
+
2902
+ .mdl-color--blue-grey-800 {
2903
+ background-color: rgb(55,71,79) !important; }
2904
+
2905
+ .mdl-color-text--blue-grey-900 {
2906
+ color: rgb(38,50,56) !important; }
2907
+
2908
+ .mdl-color--blue-grey-900 {
2909
+ background-color: rgb(38,50,56) !important; }
2910
+
2911
+ .mdl-color--black {
2912
+ background-color: rgb(0,0,0) !important; }
2913
+
2914
+ .mdl-color-text--black {
2915
+ color: rgb(0,0,0) !important; }
2916
+
2917
+ .mdl-color--white {
2918
+ background-color: rgb(255,255,255) !important; }
2919
+
2920
+ .mdl-color-text--white {
2921
+ color: rgb(255,255,255) !important; }
2922
+
2923
+ .mdl-color--primary {
2924
+ background-color: rgb(63,81,181) !important; }
2925
+
2926
+ .mdl-color--primary-contrast {
2927
+ background-color: rgb(255,255,255) !important; }
2928
+
2929
+ .mdl-color--primary-dark {
2930
+ background-color: rgb(48,63,159) !important; }
2931
+
2932
+ .mdl-color--accent {
2933
+ background-color: rgb(255,64,129) !important; }
2934
+
2935
+ .mdl-color--accent-contrast {
2936
+ background-color: rgb(255,255,255) !important; }
2937
+
2938
+ .mdl-color-text--primary {
2939
+ color: rgb(63,81,181) !important; }
2940
+
2941
+ .mdl-color-text--primary-contrast {
2942
+ color: rgb(255,255,255) !important; }
2943
+
2944
+ .mdl-color-text--primary-dark {
2945
+ color: rgb(48,63,159) !important; }
2946
+
2947
+ .mdl-color-text--accent {
2948
+ color: rgb(255,64,129) !important; }
2949
+
2950
+ .mdl-color-text--accent-contrast {
2951
+ color: rgb(255,255,255) !important; }
2952
+
2953
+ /**
2954
+ * Copyright 2015 Google Inc. All Rights Reserved.
2955
+ *
2956
+ * Licensed under the Apache License, Version 2.0 (the "License");
2957
+ * you may not use this file except in compliance with the License.
2958
+ * You may obtain a copy of the License at
2959
+ *
2960
+ * http://www.apache.org/licenses/LICENSE-2.0
2961
+ *
2962
+ * Unless required by applicable law or agreed to in writing, software
2963
+ * distributed under the License is distributed on an "AS IS" BASIS,
2964
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2965
+ * See the License for the specific language governing permissions and
2966
+ * limitations under the License.
2967
+ */
2968
+ /**
2969
+ * Copyright 2015 Google Inc. All Rights Reserved.
2970
+ *
2971
+ * Licensed under the Apache License, Version 2.0 (the "License");
2972
+ * you may not use this file except in compliance with the License.
2973
+ * You may obtain a copy of the License at
2974
+ *
2975
+ * http://www.apache.org/licenses/LICENSE-2.0
2976
+ *
2977
+ * Unless required by applicable law or agreed to in writing, software
2978
+ * distributed under the License is distributed on an "AS IS" BASIS,
2979
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2980
+ * See the License for the specific language governing permissions and
2981
+ * limitations under the License.
2982
+ */
2983
+ /*------------------------------------* $CONTENTS
2984
+ \*------------------------------------*/
2985
+ /**
2986
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
2987
+ * -----Typography
2988
+ * -----Colors
2989
+ * -----Textfield
2990
+ * -----Switch
2991
+ * -----Spinner
2992
+ * -----Radio
2993
+ * -----Menu
2994
+ * -----List
2995
+ * -----Layout
2996
+ * -----Icon toggles
2997
+ * -----Footer
2998
+ * -----Column
2999
+ * -----Checkbox
3000
+ * -----Card
3001
+ * -----Button
3002
+ * -----Animation
3003
+ * -----Progress
3004
+ * -----Badge
3005
+ * -----Shadows
3006
+ * -----Grid
3007
+ * -----Data table
3008
+ * -----Dialog
3009
+ * -----Snackbar
3010
+ * -----Tooltip
3011
+ * -----Chip
3012
+ *
3013
+ * Even though all variables have the `!default` directive, most of them
3014
+ * should not be changed as they are dependent one another. This can cause
3015
+ * visual distortions (like alignment issues) that are hard to track down
3016
+ * and fix.
3017
+ */
3018
+ /* ========== TYPOGRAPHY ========== */
3019
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
3020
+ page loading. For important text, such as the body, we want it to load
3021
+ immediately and not wait for the web font load, whereas for other sections,
3022
+ such as headers and titles, we're OK with things taking a bit longer to load.
3023
+ We do have some optional classes and parameters in the mixins, in case you
3024
+ definitely want to make sure you're using the preferred font and don't mind
3025
+ the performance hit.
3026
+ We should be able to improve on this once CSS Font Loading L3 becomes more
3027
+ widely available.
3028
+ */
3029
+ /* ========== COLORS ========== */
3030
+ /**
3031
+ *
3032
+ * Material design color palettes.
3033
+ * @see http://www.google.com/design/spec/style/color.html
3034
+ *
3035
+ **/
3036
+ /**
3037
+ * Copyright 2015 Google Inc. All Rights Reserved.
3038
+ *
3039
+ * Licensed under the Apache License, Version 2.0 (the "License");
3040
+ * you may not use this file except in compliance with the License.
3041
+ * You may obtain a copy of the License at
3042
+ *
3043
+ * http://www.apache.org/licenses/LICENSE-2.0
3044
+ *
3045
+ * Unless required by applicable law or agreed to in writing, software
3046
+ * distributed under the License is distributed on an "AS IS" BASIS,
3047
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3048
+ * See the License for the specific language governing permissions and
3049
+ * limitations under the License.
3050
+ */
3051
+ /* ========== Color Palettes ========== */
3052
+ /* colors.scss */
3053
+ /**
3054
+ * Copyright 2015 Google Inc. All Rights Reserved.
3055
+ *
3056
+ * Licensed under the Apache License, Version 2.0 (the "License");
3057
+ * you may not use this file except in compliance with the License.
3058
+ * You may obtain a copy of the License at
3059
+ *
3060
+ * http://www.apache.org/licenses/LICENSE-2.0
3061
+ *
3062
+ * Unless required by applicable law or agreed to in writing, software
3063
+ * distributed under the License is distributed on an "AS IS" BASIS,
3064
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3065
+ * See the License for the specific language governing permissions and
3066
+ * limitations under the License.
3067
+ */
3068
+ /* ========== IMAGES ========== */
3069
+ /* ========== Color & Themes ========== */
3070
+ /* ========== Typography ========== */
3071
+ /* ========== Components ========== */
3072
+ /* ========== Standard Buttons ========== */
3073
+ /* ========== Icon Toggles ========== */
3074
+ /* ========== Radio Buttons ========== */
3075
+ /* ========== Ripple effect ========== */
3076
+ /* ========== Layout ========== */
3077
+ /* ========== Content Tabs ========== */
3078
+ /* ========== Checkboxes ========== */
3079
+ /* ========== Switches ========== */
3080
+ /* ========== Spinner ========== */
3081
+ /* ========== Text fields ========== */
3082
+ /* ========== Card ========== */
3083
+ /* ========== Sliders ========== */
3084
+ /* ========== Progress ========== */
3085
+ /* ========== List ========== */
3086
+ /* ========== Item ========== */
3087
+ /* ========== Dropdown menu ========== */
3088
+ /* ========== Tooltips ========== */
3089
+ /* ========== Footer ========== */
3090
+ /* TEXTFIELD */
3091
+ /* SWITCH */
3092
+ /* SPINNER */
3093
+ /* RADIO */
3094
+ /* MENU */
3095
+ /* LIST */
3096
+ /* LAYOUT */
3097
+ /* ICON TOGGLE */
3098
+ /* FOOTER */
3099
+ /*mega-footer*/
3100
+ /*mini-footer*/
3101
+ /* CHECKBOX */
3102
+ /* CARD */
3103
+ /* Card dimensions */
3104
+ /* Cover image */
3105
+ /* BUTTON */
3106
+ /**
3107
+ *
3108
+ * Dimensions
3109
+ *
3110
+ */
3111
+ /* ANIMATION */
3112
+ /* PROGRESS */
3113
+ /* BADGE */
3114
+ /* SHADOWS */
3115
+ /* GRID */
3116
+ /* DATA TABLE */
3117
+ /* DIALOG */
3118
+ /* SNACKBAR */
3119
+ /* TOOLTIP */
3120
+ /* CHIP */
3121
+ .mdl-ripple {
3122
+ background: rgb(0,0,0);
3123
+ border-radius: 50%;
3124
+ height: 50px;
3125
+ left: 0;
3126
+ opacity: 0;
3127
+ pointer-events: none;
3128
+ position: absolute;
3129
+ top: 0;
3130
+ -webkit-transform: translate(-50%, -50%);
3131
+ transform: translate(-50%, -50%);
3132
+ width: 50px;
3133
+ overflow: hidden; }
3134
+ .mdl-ripple.is-animating {
3135
+ transition: width 0.3s cubic-bezier(0, 0, 0.2, 1), height 0.3s cubic-bezier(0, 0, 0.2, 1), opacity 0.6s cubic-bezier(0, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0, 0, 0.2, 1);
3136
+ transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1), width 0.3s cubic-bezier(0, 0, 0.2, 1), height 0.3s cubic-bezier(0, 0, 0.2, 1), opacity 0.6s cubic-bezier(0, 0, 0.2, 1);
3137
+ transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1), width 0.3s cubic-bezier(0, 0, 0.2, 1), height 0.3s cubic-bezier(0, 0, 0.2, 1), opacity 0.6s cubic-bezier(0, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0, 0, 0.2, 1); }
3138
+ .mdl-ripple.is-visible {
3139
+ opacity: 0.3; }
3140
+
3141
+ /**
3142
+ * Copyright 2015 Google Inc. All Rights Reserved.
3143
+ *
3144
+ * Licensed under the Apache License, Version 2.0 (the "License");
3145
+ * you may not use this file except in compliance with the License.
3146
+ * You may obtain a copy of the License at
3147
+ *
3148
+ * http://www.apache.org/licenses/LICENSE-2.0
3149
+ *
3150
+ * Unless required by applicable law or agreed to in writing, software
3151
+ * distributed under the License is distributed on an "AS IS" BASIS,
3152
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3153
+ * See the License for the specific language governing permissions and
3154
+ * limitations under the License.
3155
+ */
3156
+ /**
3157
+ * Copyright 2015 Google Inc. All Rights Reserved.
3158
+ *
3159
+ * Licensed under the Apache License, Version 2.0 (the "License");
3160
+ * you may not use this file except in compliance with the License.
3161
+ * You may obtain a copy of the License at
3162
+ *
3163
+ * http://www.apache.org/licenses/LICENSE-2.0
3164
+ *
3165
+ * Unless required by applicable law or agreed to in writing, software
3166
+ * distributed under the License is distributed on an "AS IS" BASIS,
3167
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3168
+ * See the License for the specific language governing permissions and
3169
+ * limitations under the License.
3170
+ */
3171
+ /*------------------------------------* $CONTENTS
3172
+ \*------------------------------------*/
3173
+ /**
3174
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
3175
+ * -----Typography
3176
+ * -----Colors
3177
+ * -----Textfield
3178
+ * -----Switch
3179
+ * -----Spinner
3180
+ * -----Radio
3181
+ * -----Menu
3182
+ * -----List
3183
+ * -----Layout
3184
+ * -----Icon toggles
3185
+ * -----Footer
3186
+ * -----Column
3187
+ * -----Checkbox
3188
+ * -----Card
3189
+ * -----Button
3190
+ * -----Animation
3191
+ * -----Progress
3192
+ * -----Badge
3193
+ * -----Shadows
3194
+ * -----Grid
3195
+ * -----Data table
3196
+ * -----Dialog
3197
+ * -----Snackbar
3198
+ * -----Tooltip
3199
+ * -----Chip
3200
+ *
3201
+ * Even though all variables have the `!default` directive, most of them
3202
+ * should not be changed as they are dependent one another. This can cause
3203
+ * visual distortions (like alignment issues) that are hard to track down
3204
+ * and fix.
3205
+ */
3206
+ /* ========== TYPOGRAPHY ========== */
3207
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
3208
+ page loading. For important text, such as the body, we want it to load
3209
+ immediately and not wait for the web font load, whereas for other sections,
3210
+ such as headers and titles, we're OK with things taking a bit longer to load.
3211
+ We do have some optional classes and parameters in the mixins, in case you
3212
+ definitely want to make sure you're using the preferred font and don't mind
3213
+ the performance hit.
3214
+ We should be able to improve on this once CSS Font Loading L3 becomes more
3215
+ widely available.
3216
+ */
3217
+ /* ========== COLORS ========== */
3218
+ /**
3219
+ *
3220
+ * Material design color palettes.
3221
+ * @see http://www.google.com/design/spec/style/color.html
3222
+ *
3223
+ **/
3224
+ /**
3225
+ * Copyright 2015 Google Inc. All Rights Reserved.
3226
+ *
3227
+ * Licensed under the Apache License, Version 2.0 (the "License");
3228
+ * you may not use this file except in compliance with the License.
3229
+ * You may obtain a copy of the License at
3230
+ *
3231
+ * http://www.apache.org/licenses/LICENSE-2.0
3232
+ *
3233
+ * Unless required by applicable law or agreed to in writing, software
3234
+ * distributed under the License is distributed on an "AS IS" BASIS,
3235
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3236
+ * See the License for the specific language governing permissions and
3237
+ * limitations under the License.
3238
+ */
3239
+ /* ========== Color Palettes ========== */
3240
+ /* colors.scss */
3241
+ /**
3242
+ * Copyright 2015 Google Inc. All Rights Reserved.
3243
+ *
3244
+ * Licensed under the Apache License, Version 2.0 (the "License");
3245
+ * you may not use this file except in compliance with the License.
3246
+ * You may obtain a copy of the License at
3247
+ *
3248
+ * http://www.apache.org/licenses/LICENSE-2.0
3249
+ *
3250
+ * Unless required by applicable law or agreed to in writing, software
3251
+ * distributed under the License is distributed on an "AS IS" BASIS,
3252
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3253
+ * See the License for the specific language governing permissions and
3254
+ * limitations under the License.
3255
+ */
3256
+ /* ========== IMAGES ========== */
3257
+ /* ========== Color & Themes ========== */
3258
+ /* ========== Typography ========== */
3259
+ /* ========== Components ========== */
3260
+ /* ========== Standard Buttons ========== */
3261
+ /* ========== Icon Toggles ========== */
3262
+ /* ========== Radio Buttons ========== */
3263
+ /* ========== Ripple effect ========== */
3264
+ /* ========== Layout ========== */
3265
+ /* ========== Content Tabs ========== */
3266
+ /* ========== Checkboxes ========== */
3267
+ /* ========== Switches ========== */
3268
+ /* ========== Spinner ========== */
3269
+ /* ========== Text fields ========== */
3270
+ /* ========== Card ========== */
3271
+ /* ========== Sliders ========== */
3272
+ /* ========== Progress ========== */
3273
+ /* ========== List ========== */
3274
+ /* ========== Item ========== */
3275
+ /* ========== Dropdown menu ========== */
3276
+ /* ========== Tooltips ========== */
3277
+ /* ========== Footer ========== */
3278
+ /* TEXTFIELD */
3279
+ /* SWITCH */
3280
+ /* SPINNER */
3281
+ /* RADIO */
3282
+ /* MENU */
3283
+ /* LIST */
3284
+ /* LAYOUT */
3285
+ /* ICON TOGGLE */
3286
+ /* FOOTER */
3287
+ /*mega-footer*/
3288
+ /*mini-footer*/
3289
+ /* CHECKBOX */
3290
+ /* CARD */
3291
+ /* Card dimensions */
3292
+ /* Cover image */
3293
+ /* BUTTON */
3294
+ /**
3295
+ *
3296
+ * Dimensions
3297
+ *
3298
+ */
3299
+ /* ANIMATION */
3300
+ /* PROGRESS */
3301
+ /* BADGE */
3302
+ /* SHADOWS */
3303
+ /* GRID */
3304
+ /* DATA TABLE */
3305
+ /* DIALOG */
3306
+ /* SNACKBAR */
3307
+ /* TOOLTIP */
3308
+ /* CHIP */
3309
+ .mdl-animation--default {
3310
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
3311
+
3312
+ .mdl-animation--fast-out-slow-in {
3313
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
3314
+
3315
+ .mdl-animation--linear-out-slow-in {
3316
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
3317
+
3318
+ .mdl-animation--fast-out-linear-in {
3319
+ transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
3320
+
3321
+ /**
3322
+ * Copyright 2015 Google Inc. All Rights Reserved.
3323
+ *
3324
+ * Licensed under the Apache License, Version 2.0 (the "License");
3325
+ * you may not use this file except in compliance with the License.
3326
+ * You may obtain a copy of the License at
3327
+ *
3328
+ * http://www.apache.org/licenses/LICENSE-2.0
3329
+ *
3330
+ * Unless required by applicable law or agreed to in writing, software
3331
+ * distributed under the License is distributed on an "AS IS" BASIS,
3332
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3333
+ * See the License for the specific language governing permissions and
3334
+ * limitations under the License.
3335
+ */
3336
+ /**
3337
+ * Copyright 2015 Google Inc. All Rights Reserved.
3338
+ *
3339
+ * Licensed under the Apache License, Version 2.0 (the "License");
3340
+ * you may not use this file except in compliance with the License.
3341
+ * You may obtain a copy of the License at
3342
+ *
3343
+ * http://www.apache.org/licenses/LICENSE-2.0
3344
+ *
3345
+ * Unless required by applicable law or agreed to in writing, software
3346
+ * distributed under the License is distributed on an "AS IS" BASIS,
3347
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3348
+ * See the License for the specific language governing permissions and
3349
+ * limitations under the License.
3350
+ */
3351
+ /*------------------------------------* $CONTENTS
3352
+ \*------------------------------------*/
3353
+ /**
3354
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
3355
+ * -----Typography
3356
+ * -----Colors
3357
+ * -----Textfield
3358
+ * -----Switch
3359
+ * -----Spinner
3360
+ * -----Radio
3361
+ * -----Menu
3362
+ * -----List
3363
+ * -----Layout
3364
+ * -----Icon toggles
3365
+ * -----Footer
3366
+ * -----Column
3367
+ * -----Checkbox
3368
+ * -----Card
3369
+ * -----Button
3370
+ * -----Animation
3371
+ * -----Progress
3372
+ * -----Badge
3373
+ * -----Shadows
3374
+ * -----Grid
3375
+ * -----Data table
3376
+ * -----Dialog
3377
+ * -----Snackbar
3378
+ * -----Tooltip
3379
+ * -----Chip
3380
+ *
3381
+ * Even though all variables have the `!default` directive, most of them
3382
+ * should not be changed as they are dependent one another. This can cause
3383
+ * visual distortions (like alignment issues) that are hard to track down
3384
+ * and fix.
3385
+ */
3386
+ /* ========== TYPOGRAPHY ========== */
3387
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
3388
+ page loading. For important text, such as the body, we want it to load
3389
+ immediately and not wait for the web font load, whereas for other sections,
3390
+ such as headers and titles, we're OK with things taking a bit longer to load.
3391
+ We do have some optional classes and parameters in the mixins, in case you
3392
+ definitely want to make sure you're using the preferred font and don't mind
3393
+ the performance hit.
3394
+ We should be able to improve on this once CSS Font Loading L3 becomes more
3395
+ widely available.
3396
+ */
3397
+ /* ========== COLORS ========== */
3398
+ /**
3399
+ *
3400
+ * Material design color palettes.
3401
+ * @see http://www.google.com/design/spec/style/color.html
3402
+ *
3403
+ **/
3404
+ /**
3405
+ * Copyright 2015 Google Inc. All Rights Reserved.
3406
+ *
3407
+ * Licensed under the Apache License, Version 2.0 (the "License");
3408
+ * you may not use this file except in compliance with the License.
3409
+ * You may obtain a copy of the License at
3410
+ *
3411
+ * http://www.apache.org/licenses/LICENSE-2.0
3412
+ *
3413
+ * Unless required by applicable law or agreed to in writing, software
3414
+ * distributed under the License is distributed on an "AS IS" BASIS,
3415
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3416
+ * See the License for the specific language governing permissions and
3417
+ * limitations under the License.
3418
+ */
3419
+ /* ========== Color Palettes ========== */
3420
+ /* colors.scss */
3421
+ /**
3422
+ * Copyright 2015 Google Inc. All Rights Reserved.
3423
+ *
3424
+ * Licensed under the Apache License, Version 2.0 (the "License");
3425
+ * you may not use this file except in compliance with the License.
3426
+ * You may obtain a copy of the License at
3427
+ *
3428
+ * http://www.apache.org/licenses/LICENSE-2.0
3429
+ *
3430
+ * Unless required by applicable law or agreed to in writing, software
3431
+ * distributed under the License is distributed on an "AS IS" BASIS,
3432
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3433
+ * See the License for the specific language governing permissions and
3434
+ * limitations under the License.
3435
+ */
3436
+ /* ========== IMAGES ========== */
3437
+ /* ========== Color & Themes ========== */
3438
+ /* ========== Typography ========== */
3439
+ /* ========== Components ========== */
3440
+ /* ========== Standard Buttons ========== */
3441
+ /* ========== Icon Toggles ========== */
3442
+ /* ========== Radio Buttons ========== */
3443
+ /* ========== Ripple effect ========== */
3444
+ /* ========== Layout ========== */
3445
+ /* ========== Content Tabs ========== */
3446
+ /* ========== Checkboxes ========== */
3447
+ /* ========== Switches ========== */
3448
+ /* ========== Spinner ========== */
3449
+ /* ========== Text fields ========== */
3450
+ /* ========== Card ========== */
3451
+ /* ========== Sliders ========== */
3452
+ /* ========== Progress ========== */
3453
+ /* ========== List ========== */
3454
+ /* ========== Item ========== */
3455
+ /* ========== Dropdown menu ========== */
3456
+ /* ========== Tooltips ========== */
3457
+ /* ========== Footer ========== */
3458
+ /* TEXTFIELD */
3459
+ /* SWITCH */
3460
+ /* SPINNER */
3461
+ /* RADIO */
3462
+ /* MENU */
3463
+ /* LIST */
3464
+ /* LAYOUT */
3465
+ /* ICON TOGGLE */
3466
+ /* FOOTER */
3467
+ /*mega-footer*/
3468
+ /*mini-footer*/
3469
+ /* CHECKBOX */
3470
+ /* CARD */
3471
+ /* Card dimensions */
3472
+ /* Cover image */
3473
+ /* BUTTON */
3474
+ /**
3475
+ *
3476
+ * Dimensions
3477
+ *
3478
+ */
3479
+ /* ANIMATION */
3480
+ /* PROGRESS */
3481
+ /* BADGE */
3482
+ /* SHADOWS */
3483
+ /* GRID */
3484
+ /* DATA TABLE */
3485
+ /* DIALOG */
3486
+ /* SNACKBAR */
3487
+ /* TOOLTIP */
3488
+ /* CHIP */
3489
+ .mdl-badge {
3490
+ position: relative;
3491
+ white-space: nowrap;
3492
+ margin-right: 24px; }
3493
+ .mdl-badge:not([data-badge]) {
3494
+ margin-right: auto; }
3495
+ .mdl-badge[data-badge]:after {
3496
+ content: attr(data-badge);
3497
+ display: -webkit-flex;
3498
+ display: -ms-flexbox;
3499
+ display: flex;
3500
+ -webkit-flex-direction: row;
3501
+ -ms-flex-direction: row;
3502
+ flex-direction: row;
3503
+ -webkit-flex-wrap: wrap;
3504
+ -ms-flex-wrap: wrap;
3505
+ flex-wrap: wrap;
3506
+ -webkit-justify-content: center;
3507
+ -ms-flex-pack: center;
3508
+ justify-content: center;
3509
+ -webkit-align-content: center;
3510
+ -ms-flex-line-pack: center;
3511
+ align-content: center;
3512
+ -webkit-align-items: center;
3513
+ -ms-flex-align: center;
3514
+ align-items: center;
3515
+ position: absolute;
3516
+ top: -11px;
3517
+ right: -24px;
3518
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
3519
+ font-weight: 600;
3520
+ font-size: 12px;
3521
+ width: 22px;
3522
+ height: 22px;
3523
+ border-radius: 50%;
3524
+ background: rgb(255,64,129);
3525
+ color: rgb(255,255,255); }
3526
+ .mdl-button .mdl-badge[data-badge]:after {
3527
+ top: -10px;
3528
+ right: -5px; }
3529
+ .mdl-badge.mdl-badge--no-background[data-badge]:after {
3530
+ color: rgb(255,64,129);
3531
+ background: rgba(255,255,255,0.2);
3532
+ box-shadow: 0 0 1px gray; }
3533
+ .mdl-badge.mdl-badge--overlap {
3534
+ margin-right: 10px; }
3535
+ .mdl-badge.mdl-badge--overlap:after {
3536
+ right: -10px; }
3537
+
3538
+ /**
3539
+ * Copyright 2015 Google Inc. All Rights Reserved.
3540
+ *
3541
+ * Licensed under the Apache License, Version 2.0 (the "License");
3542
+ * you may not use this file except in compliance with the License.
3543
+ * You may obtain a copy of the License at
3544
+ *
3545
+ * http://www.apache.org/licenses/LICENSE-2.0
3546
+ *
3547
+ * Unless required by applicable law or agreed to in writing, software
3548
+ * distributed under the License is distributed on an "AS IS" BASIS,
3549
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3550
+ * See the License for the specific language governing permissions and
3551
+ * limitations under the License.
3552
+ */
3553
+ /**
3554
+ * Copyright 2015 Google Inc. All Rights Reserved.
3555
+ *
3556
+ * Licensed under the Apache License, Version 2.0 (the "License");
3557
+ * you may not use this file except in compliance with the License.
3558
+ * You may obtain a copy of the License at
3559
+ *
3560
+ * http://www.apache.org/licenses/LICENSE-2.0
3561
+ *
3562
+ * Unless required by applicable law or agreed to in writing, software
3563
+ * distributed under the License is distributed on an "AS IS" BASIS,
3564
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3565
+ * See the License for the specific language governing permissions and
3566
+ * limitations under the License.
3567
+ */
3568
+ /*------------------------------------* $CONTENTS
3569
+ \*------------------------------------*/
3570
+ /**
3571
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
3572
+ * -----Typography
3573
+ * -----Colors
3574
+ * -----Textfield
3575
+ * -----Switch
3576
+ * -----Spinner
3577
+ * -----Radio
3578
+ * -----Menu
3579
+ * -----List
3580
+ * -----Layout
3581
+ * -----Icon toggles
3582
+ * -----Footer
3583
+ * -----Column
3584
+ * -----Checkbox
3585
+ * -----Card
3586
+ * -----Button
3587
+ * -----Animation
3588
+ * -----Progress
3589
+ * -----Badge
3590
+ * -----Shadows
3591
+ * -----Grid
3592
+ * -----Data table
3593
+ * -----Dialog
3594
+ * -----Snackbar
3595
+ * -----Tooltip
3596
+ * -----Chip
3597
+ *
3598
+ * Even though all variables have the `!default` directive, most of them
3599
+ * should not be changed as they are dependent one another. This can cause
3600
+ * visual distortions (like alignment issues) that are hard to track down
3601
+ * and fix.
3602
+ */
3603
+ /* ========== TYPOGRAPHY ========== */
3604
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
3605
+ page loading. For important text, such as the body, we want it to load
3606
+ immediately and not wait for the web font load, whereas for other sections,
3607
+ such as headers and titles, we're OK with things taking a bit longer to load.
3608
+ We do have some optional classes and parameters in the mixins, in case you
3609
+ definitely want to make sure you're using the preferred font and don't mind
3610
+ the performance hit.
3611
+ We should be able to improve on this once CSS Font Loading L3 becomes more
3612
+ widely available.
3613
+ */
3614
+ /* ========== COLORS ========== */
3615
+ /**
3616
+ *
3617
+ * Material design color palettes.
3618
+ * @see http://www.google.com/design/spec/style/color.html
3619
+ *
3620
+ **/
3621
+ /**
3622
+ * Copyright 2015 Google Inc. All Rights Reserved.
3623
+ *
3624
+ * Licensed under the Apache License, Version 2.0 (the "License");
3625
+ * you may not use this file except in compliance with the License.
3626
+ * You may obtain a copy of the License at
3627
+ *
3628
+ * http://www.apache.org/licenses/LICENSE-2.0
3629
+ *
3630
+ * Unless required by applicable law or agreed to in writing, software
3631
+ * distributed under the License is distributed on an "AS IS" BASIS,
3632
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3633
+ * See the License for the specific language governing permissions and
3634
+ * limitations under the License.
3635
+ */
3636
+ /* ========== Color Palettes ========== */
3637
+ /* colors.scss */
3638
+ /**
3639
+ * Copyright 2015 Google Inc. All Rights Reserved.
3640
+ *
3641
+ * Licensed under the Apache License, Version 2.0 (the "License");
3642
+ * you may not use this file except in compliance with the License.
3643
+ * You may obtain a copy of the License at
3644
+ *
3645
+ * http://www.apache.org/licenses/LICENSE-2.0
3646
+ *
3647
+ * Unless required by applicable law or agreed to in writing, software
3648
+ * distributed under the License is distributed on an "AS IS" BASIS,
3649
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3650
+ * See the License for the specific language governing permissions and
3651
+ * limitations under the License.
3652
+ */
3653
+ /* ========== IMAGES ========== */
3654
+ /* ========== Color & Themes ========== */
3655
+ /* ========== Typography ========== */
3656
+ /* ========== Components ========== */
3657
+ /* ========== Standard Buttons ========== */
3658
+ /* ========== Icon Toggles ========== */
3659
+ /* ========== Radio Buttons ========== */
3660
+ /* ========== Ripple effect ========== */
3661
+ /* ========== Layout ========== */
3662
+ /* ========== Content Tabs ========== */
3663
+ /* ========== Checkboxes ========== */
3664
+ /* ========== Switches ========== */
3665
+ /* ========== Spinner ========== */
3666
+ /* ========== Text fields ========== */
3667
+ /* ========== Card ========== */
3668
+ /* ========== Sliders ========== */
3669
+ /* ========== Progress ========== */
3670
+ /* ========== List ========== */
3671
+ /* ========== Item ========== */
3672
+ /* ========== Dropdown menu ========== */
3673
+ /* ========== Tooltips ========== */
3674
+ /* ========== Footer ========== */
3675
+ /* TEXTFIELD */
3676
+ /* SWITCH */
3677
+ /* SPINNER */
3678
+ /* RADIO */
3679
+ /* MENU */
3680
+ /* LIST */
3681
+ /* LAYOUT */
3682
+ /* ICON TOGGLE */
3683
+ /* FOOTER */
3684
+ /*mega-footer*/
3685
+ /*mini-footer*/
3686
+ /* CHECKBOX */
3687
+ /* CARD */
3688
+ /* Card dimensions */
3689
+ /* Cover image */
3690
+ /* BUTTON */
3691
+ /**
3692
+ *
3693
+ * Dimensions
3694
+ *
3695
+ */
3696
+ /* ANIMATION */
3697
+ /* PROGRESS */
3698
+ /* BADGE */
3699
+ /* SHADOWS */
3700
+ /* GRID */
3701
+ /* DATA TABLE */
3702
+ /* DIALOG */
3703
+ /* SNACKBAR */
3704
+ /* TOOLTIP */
3705
+ /* CHIP */
3706
+ /**
3707
+ * Copyright 2015 Google Inc. All Rights Reserved.
3708
+ *
3709
+ * Licensed under the Apache License, Version 2.0 (the "License");
3710
+ * you may not use this file except in compliance with the License.
3711
+ * You may obtain a copy of the License at
3712
+ *
3713
+ * http://www.apache.org/licenses/LICENSE-2.0
3714
+ *
3715
+ * Unless required by applicable law or agreed to in writing, software
3716
+ * distributed under the License is distributed on an "AS IS" BASIS,
3717
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3718
+ * See the License for the specific language governing permissions and
3719
+ * limitations under the License.
3720
+ */
3721
+ /* Typography */
3722
+ /* Shadows */
3723
+ /* Animations */
3724
+ /* Dialog */
3725
+ .mdl-button {
3726
+ background: transparent;
3727
+ border: none;
3728
+ border-radius: 2px;
3729
+ color: rgb(0,0,0);
3730
+ position: relative;
3731
+ height: 36px;
3732
+ margin: 0;
3733
+ min-width: 64px;
3734
+ padding: 0 16px;
3735
+ display: inline-block;
3736
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
3737
+ font-size: 14px;
3738
+ font-weight: 500;
3739
+ text-transform: uppercase;
3740
+ line-height: 1;
3741
+ letter-spacing: 0;
3742
+ overflow: hidden;
3743
+ will-change: box-shadow;
3744
+ transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
3745
+ outline: none;
3746
+ cursor: pointer;
3747
+ text-decoration: none;
3748
+ text-align: center;
3749
+ line-height: 36px;
3750
+ vertical-align: middle; }
3751
+ .mdl-button::-moz-focus-inner {
3752
+ border: 0; }
3753
+ .mdl-button:hover {
3754
+ background-color: rgba(158,158,158, 0.20); }
3755
+ .mdl-button:focus:not(:active) {
3756
+ background-color: rgba(0,0,0, 0.12); }
3757
+ .mdl-button:active {
3758
+ background-color: rgba(158,158,158, 0.40); }
3759
+ .mdl-button.mdl-button--colored {
3760
+ color: rgb(63,81,181); }
3761
+ .mdl-button.mdl-button--colored:focus:not(:active) {
3762
+ background-color: rgba(0,0,0, 0.12); }
3763
+
3764
+ input.mdl-button[type="submit"] {
3765
+ -webkit-appearance: none; }
3766
+
3767
+ .mdl-button--raised {
3768
+ background: rgba(158,158,158, 0.20);
3769
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }
3770
+ .mdl-button--raised:active {
3771
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
3772
+ background-color: rgba(158,158,158, 0.40); }
3773
+ .mdl-button--raised:focus:not(:active) {
3774
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.36);
3775
+ background-color: rgba(158,158,158, 0.40); }
3776
+ .mdl-button--raised.mdl-button--colored {
3777
+ background: rgb(63,81,181);
3778
+ color: rgb(255,255,255); }
3779
+ .mdl-button--raised.mdl-button--colored:hover {
3780
+ background-color: rgb(63,81,181); }
3781
+ .mdl-button--raised.mdl-button--colored:active {
3782
+ background-color: rgb(63,81,181); }
3783
+ .mdl-button--raised.mdl-button--colored:focus:not(:active) {
3784
+ background-color: rgb(63,81,181); }
3785
+ .mdl-button--raised.mdl-button--colored .mdl-ripple {
3786
+ background: rgb(255,255,255); }
3787
+
3788
+ .mdl-button--fab {
3789
+ border-radius: 50%;
3790
+ font-size: 24px;
3791
+ height: 56px;
3792
+ margin: auto;
3793
+ min-width: 56px;
3794
+ width: 56px;
3795
+ padding: 0;
3796
+ overflow: hidden;
3797
+ background: rgba(158,158,158, 0.20);
3798
+ box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24);
3799
+ position: relative;
3800
+ line-height: normal; }
3801
+ .mdl-button--fab .material-icons {
3802
+ position: absolute;
3803
+ top: 50%;
3804
+ left: 50%;
3805
+ -webkit-transform: translate(-12px, -12px);
3806
+ transform: translate(-12px, -12px);
3807
+ line-height: 24px;
3808
+ width: 24px; }
3809
+ .mdl-button--fab.mdl-button--mini-fab {
3810
+ height: 40px;
3811
+ min-width: 40px;
3812
+ width: 40px; }
3813
+ .mdl-button--fab .mdl-button__ripple-container {
3814
+ border-radius: 50%;
3815
+ -webkit-mask-image: -webkit-radial-gradient(circle, white, black); }
3816
+ .mdl-button--fab:active {
3817
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
3818
+ background-color: rgba(158,158,158, 0.40); }
3819
+ .mdl-button--fab:focus:not(:active) {
3820
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.36);
3821
+ background-color: rgba(158,158,158, 0.40); }
3822
+ .mdl-button--fab.mdl-button--colored {
3823
+ background: rgb(255,64,129);
3824
+ color: rgb(255,255,255); }
3825
+ .mdl-button--fab.mdl-button--colored:hover {
3826
+ background-color: rgb(255,64,129); }
3827
+ .mdl-button--fab.mdl-button--colored:focus:not(:active) {
3828
+ background-color: rgb(255,64,129); }
3829
+ .mdl-button--fab.mdl-button--colored:active {
3830
+ background-color: rgb(255,64,129); }
3831
+ .mdl-button--fab.mdl-button--colored .mdl-ripple {
3832
+ background: rgb(255,255,255); }
3833
+
3834
+ .mdl-button--icon {
3835
+ border-radius: 50%;
3836
+ font-size: 24px;
3837
+ height: 32px;
3838
+ margin-left: 0;
3839
+ margin-right: 0;
3840
+ min-width: 32px;
3841
+ width: 32px;
3842
+ padding: 0;
3843
+ overflow: hidden;
3844
+ color: inherit;
3845
+ line-height: normal; }
3846
+ .mdl-button--icon .material-icons {
3847
+ position: absolute;
3848
+ top: 50%;
3849
+ left: 50%;
3850
+ -webkit-transform: translate(-12px, -12px);
3851
+ transform: translate(-12px, -12px);
3852
+ line-height: 24px;
3853
+ width: 24px; }
3854
+ .mdl-button--icon.mdl-button--mini-icon {
3855
+ height: 24px;
3856
+ min-width: 24px;
3857
+ width: 24px; }
3858
+ .mdl-button--icon.mdl-button--mini-icon .material-icons {
3859
+ top: 0px;
3860
+ left: 0px; }
3861
+ .mdl-button--icon .mdl-button__ripple-container {
3862
+ border-radius: 50%;
3863
+ -webkit-mask-image: -webkit-radial-gradient(circle, white, black); }
3864
+
3865
+ .mdl-button__ripple-container {
3866
+ display: block;
3867
+ height: 100%;
3868
+ left: 0px;
3869
+ position: absolute;
3870
+ top: 0px;
3871
+ width: 100%;
3872
+ z-index: 0;
3873
+ overflow: hidden; }
3874
+ .mdl-button[disabled] .mdl-button__ripple-container .mdl-ripple,
3875
+ .mdl-button.mdl-button--disabled .mdl-button__ripple-container .mdl-ripple {
3876
+ background-color: transparent; }
3877
+
3878
+ .mdl-button--primary.mdl-button--primary {
3879
+ color: rgb(63,81,181); }
3880
+ .mdl-button--primary.mdl-button--primary .mdl-ripple {
3881
+ background: rgb(255,255,255); }
3882
+ .mdl-button--primary.mdl-button--primary.mdl-button--raised, .mdl-button--primary.mdl-button--primary.mdl-button--fab {
3883
+ color: rgb(255,255,255);
3884
+ background-color: rgb(63,81,181); }
3885
+
3886
+ .mdl-button--accent.mdl-button--accent {
3887
+ color: rgb(255,64,129); }
3888
+ .mdl-button--accent.mdl-button--accent .mdl-ripple {
3889
+ background: rgb(255,255,255); }
3890
+ .mdl-button--accent.mdl-button--accent.mdl-button--raised, .mdl-button--accent.mdl-button--accent.mdl-button--fab {
3891
+ color: rgb(255,255,255);
3892
+ background-color: rgb(255,64,129); }
3893
+
3894
+ .mdl-button[disabled][disabled], .mdl-button.mdl-button--disabled.mdl-button--disabled {
3895
+ color: rgba(0,0,0, 0.26);
3896
+ cursor: default;
3897
+ background-color: transparent; }
3898
+
3899
+ .mdl-button--fab[disabled][disabled], .mdl-button--fab.mdl-button--disabled.mdl-button--disabled {
3900
+ background-color: rgba(0,0,0, 0.12);
3901
+ color: rgba(0,0,0, 0.26); }
3902
+
3903
+ .mdl-button--raised[disabled][disabled], .mdl-button--raised.mdl-button--disabled.mdl-button--disabled {
3904
+ background-color: rgba(0,0,0, 0.12);
3905
+ color: rgba(0,0,0, 0.26);
3906
+ box-shadow: none; }
3907
+
3908
+ .mdl-button--colored[disabled][disabled], .mdl-button--colored.mdl-button--disabled.mdl-button--disabled {
3909
+ color: rgba(0,0,0, 0.26); }
3910
+
3911
+ .mdl-button .material-icons {
3912
+ vertical-align: middle; }
3913
+
3914
+ /**
3915
+ * Copyright 2015 Google Inc. All Rights Reserved.
3916
+ *
3917
+ * Licensed under the Apache License, Version 2.0 (the "License");
3918
+ * you may not use this file except in compliance with the License.
3919
+ * You may obtain a copy of the License at
3920
+ *
3921
+ * http://www.apache.org/licenses/LICENSE-2.0
3922
+ *
3923
+ * Unless required by applicable law or agreed to in writing, software
3924
+ * distributed under the License is distributed on an "AS IS" BASIS,
3925
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3926
+ * See the License for the specific language governing permissions and
3927
+ * limitations under the License.
3928
+ */
3929
+ /**
3930
+ * Copyright 2015 Google Inc. All Rights Reserved.
3931
+ *
3932
+ * Licensed under the Apache License, Version 2.0 (the "License");
3933
+ * you may not use this file except in compliance with the License.
3934
+ * You may obtain a copy of the License at
3935
+ *
3936
+ * http://www.apache.org/licenses/LICENSE-2.0
3937
+ *
3938
+ * Unless required by applicable law or agreed to in writing, software
3939
+ * distributed under the License is distributed on an "AS IS" BASIS,
3940
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3941
+ * See the License for the specific language governing permissions and
3942
+ * limitations under the License.
3943
+ */
3944
+ /*------------------------------------* $CONTENTS
3945
+ \*------------------------------------*/
3946
+ /**
3947
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
3948
+ * -----Typography
3949
+ * -----Colors
3950
+ * -----Textfield
3951
+ * -----Switch
3952
+ * -----Spinner
3953
+ * -----Radio
3954
+ * -----Menu
3955
+ * -----List
3956
+ * -----Layout
3957
+ * -----Icon toggles
3958
+ * -----Footer
3959
+ * -----Column
3960
+ * -----Checkbox
3961
+ * -----Card
3962
+ * -----Button
3963
+ * -----Animation
3964
+ * -----Progress
3965
+ * -----Badge
3966
+ * -----Shadows
3967
+ * -----Grid
3968
+ * -----Data table
3969
+ * -----Dialog
3970
+ * -----Snackbar
3971
+ * -----Tooltip
3972
+ * -----Chip
3973
+ *
3974
+ * Even though all variables have the `!default` directive, most of them
3975
+ * should not be changed as they are dependent one another. This can cause
3976
+ * visual distortions (like alignment issues) that are hard to track down
3977
+ * and fix.
3978
+ */
3979
+ /* ========== TYPOGRAPHY ========== */
3980
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
3981
+ page loading. For important text, such as the body, we want it to load
3982
+ immediately and not wait for the web font load, whereas for other sections,
3983
+ such as headers and titles, we're OK with things taking a bit longer to load.
3984
+ We do have some optional classes and parameters in the mixins, in case you
3985
+ definitely want to make sure you're using the preferred font and don't mind
3986
+ the performance hit.
3987
+ We should be able to improve on this once CSS Font Loading L3 becomes more
3988
+ widely available.
3989
+ */
3990
+ /* ========== COLORS ========== */
3991
+ /**
3992
+ *
3993
+ * Material design color palettes.
3994
+ * @see http://www.google.com/design/spec/style/color.html
3995
+ *
3996
+ **/
3997
+ /**
3998
+ * Copyright 2015 Google Inc. All Rights Reserved.
3999
+ *
4000
+ * Licensed under the Apache License, Version 2.0 (the "License");
4001
+ * you may not use this file except in compliance with the License.
4002
+ * You may obtain a copy of the License at
4003
+ *
4004
+ * http://www.apache.org/licenses/LICENSE-2.0
4005
+ *
4006
+ * Unless required by applicable law or agreed to in writing, software
4007
+ * distributed under the License is distributed on an "AS IS" BASIS,
4008
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4009
+ * See the License for the specific language governing permissions and
4010
+ * limitations under the License.
4011
+ */
4012
+ /* ========== Color Palettes ========== */
4013
+ /* colors.scss */
4014
+ /**
4015
+ * Copyright 2015 Google Inc. All Rights Reserved.
4016
+ *
4017
+ * Licensed under the Apache License, Version 2.0 (the "License");
4018
+ * you may not use this file except in compliance with the License.
4019
+ * You may obtain a copy of the License at
4020
+ *
4021
+ * http://www.apache.org/licenses/LICENSE-2.0
4022
+ *
4023
+ * Unless required by applicable law or agreed to in writing, software
4024
+ * distributed under the License is distributed on an "AS IS" BASIS,
4025
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4026
+ * See the License for the specific language governing permissions and
4027
+ * limitations under the License.
4028
+ */
4029
+ /* ========== IMAGES ========== */
4030
+ /* ========== Color & Themes ========== */
4031
+ /* ========== Typography ========== */
4032
+ /* ========== Components ========== */
4033
+ /* ========== Standard Buttons ========== */
4034
+ /* ========== Icon Toggles ========== */
4035
+ /* ========== Radio Buttons ========== */
4036
+ /* ========== Ripple effect ========== */
4037
+ /* ========== Layout ========== */
4038
+ /* ========== Content Tabs ========== */
4039
+ /* ========== Checkboxes ========== */
4040
+ /* ========== Switches ========== */
4041
+ /* ========== Spinner ========== */
4042
+ /* ========== Text fields ========== */
4043
+ /* ========== Card ========== */
4044
+ /* ========== Sliders ========== */
4045
+ /* ========== Progress ========== */
4046
+ /* ========== List ========== */
4047
+ /* ========== Item ========== */
4048
+ /* ========== Dropdown menu ========== */
4049
+ /* ========== Tooltips ========== */
4050
+ /* ========== Footer ========== */
4051
+ /* TEXTFIELD */
4052
+ /* SWITCH */
4053
+ /* SPINNER */
4054
+ /* RADIO */
4055
+ /* MENU */
4056
+ /* LIST */
4057
+ /* LAYOUT */
4058
+ /* ICON TOGGLE */
4059
+ /* FOOTER */
4060
+ /*mega-footer*/
4061
+ /*mini-footer*/
4062
+ /* CHECKBOX */
4063
+ /* CARD */
4064
+ /* Card dimensions */
4065
+ /* Cover image */
4066
+ /* BUTTON */
4067
+ /**
4068
+ *
4069
+ * Dimensions
4070
+ *
4071
+ */
4072
+ /* ANIMATION */
4073
+ /* PROGRESS */
4074
+ /* BADGE */
4075
+ /* SHADOWS */
4076
+ /* GRID */
4077
+ /* DATA TABLE */
4078
+ /* DIALOG */
4079
+ /* SNACKBAR */
4080
+ /* TOOLTIP */
4081
+ /* CHIP */
4082
+ .mdl-card {
4083
+ display: -webkit-flex;
4084
+ display: -ms-flexbox;
4085
+ display: flex;
4086
+ -webkit-flex-direction: column;
4087
+ -ms-flex-direction: column;
4088
+ flex-direction: column;
4089
+ font-size: 16px;
4090
+ font-weight: 400;
4091
+ min-height: 200px;
4092
+ overflow: hidden;
4093
+ width: 330px;
4094
+ z-index: 1;
4095
+ position: relative;
4096
+ background: rgb(255,255,255);
4097
+ border-radius: 2px;
4098
+ box-sizing: border-box; }
4099
+
4100
+ .mdl-card__media {
4101
+ background-color: rgb(255,64,129);
4102
+ background-repeat: repeat;
4103
+ background-position: 50% 50%;
4104
+ background-size: cover;
4105
+ background-origin: padding-box;
4106
+ background-attachment: scroll;
4107
+ box-sizing: border-box; }
4108
+
4109
+ .mdl-card__title {
4110
+ -webkit-align-items: center;
4111
+ -ms-flex-align: center;
4112
+ align-items: center;
4113
+ color: rgb(0,0,0);
4114
+ display: block;
4115
+ display: -webkit-flex;
4116
+ display: -ms-flexbox;
4117
+ display: flex;
4118
+ -webkit-justify-content: stretch;
4119
+ -ms-flex-pack: stretch;
4120
+ justify-content: stretch;
4121
+ line-height: normal;
4122
+ padding: 16px 16px;
4123
+ -webkit-perspective-origin: 165px 56px;
4124
+ perspective-origin: 165px 56px;
4125
+ -webkit-transform-origin: 165px 56px;
4126
+ transform-origin: 165px 56px;
4127
+ box-sizing: border-box; }
4128
+ .mdl-card__title.mdl-card--border {
4129
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
4130
+
4131
+ .mdl-card__title-text {
4132
+ -webkit-align-self: flex-end;
4133
+ -ms-flex-item-align: end;
4134
+ align-self: flex-end;
4135
+ color: inherit;
4136
+ display: block;
4137
+ display: -webkit-flex;
4138
+ display: -ms-flexbox;
4139
+ display: flex;
4140
+ font-size: 24px;
4141
+ font-weight: 300;
4142
+ line-height: normal;
4143
+ overflow: hidden;
4144
+ -webkit-transform-origin: 149px 48px;
4145
+ transform-origin: 149px 48px;
4146
+ margin: 0; }
4147
+
4148
+ .mdl-card__subtitle-text {
4149
+ font-size: 14px;
4150
+ color: rgba(0,0,0, 0.54);
4151
+ margin: 0; }
4152
+
4153
+ .mdl-card__supporting-text {
4154
+ color: rgba(0,0,0, 0.54);
4155
+ font-size: 1rem;
4156
+ line-height: 18px;
4157
+ overflow: hidden;
4158
+ padding: 16px 16px;
4159
+ width: 90%; }
4160
+ .mdl-card__supporting-text.mdl-card--border {
4161
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
4162
+
4163
+ .mdl-card__actions {
4164
+ font-size: 16px;
4165
+ line-height: normal;
4166
+ width: 100%;
4167
+ background-color: transparent;
4168
+ padding: 8px;
4169
+ box-sizing: border-box; }
4170
+ .mdl-card__actions.mdl-card--border {
4171
+ border-top: 1px solid rgba(0, 0, 0, 0.1); }
4172
+
4173
+ .mdl-card--expand {
4174
+ -webkit-flex-grow: 1;
4175
+ -ms-flex-positive: 1;
4176
+ flex-grow: 1; }
4177
+
4178
+ .mdl-card__menu {
4179
+ position: absolute;
4180
+ right: 16px;
4181
+ top: 16px; }
4182
+
4183
+ /**
4184
+ * Copyright 2015 Google Inc. All Rights Reserved.
4185
+ *
4186
+ * Licensed under the Apache License, Version 2.0 (the "License");
4187
+ * you may not use this file except in compliance with the License.
4188
+ * You may obtain a copy of the License at
4189
+ *
4190
+ * http://www.apache.org/licenses/LICENSE-2.0
4191
+ *
4192
+ * Unless required by applicable law or agreed to in writing, software
4193
+ * distributed under the License is distributed on an "AS IS" BASIS,
4194
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4195
+ * See the License for the specific language governing permissions and
4196
+ * limitations under the License.
4197
+ */
4198
+ /**
4199
+ * Copyright 2015 Google Inc. All Rights Reserved.
4200
+ *
4201
+ * Licensed under the Apache License, Version 2.0 (the "License");
4202
+ * you may not use this file except in compliance with the License.
4203
+ * You may obtain a copy of the License at
4204
+ *
4205
+ * http://www.apache.org/licenses/LICENSE-2.0
4206
+ *
4207
+ * Unless required by applicable law or agreed to in writing, software
4208
+ * distributed under the License is distributed on an "AS IS" BASIS,
4209
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4210
+ * See the License for the specific language governing permissions and
4211
+ * limitations under the License.
4212
+ */
4213
+ /*------------------------------------* $CONTENTS
4214
+ \*------------------------------------*/
4215
+ /**
4216
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
4217
+ * -----Typography
4218
+ * -----Colors
4219
+ * -----Textfield
4220
+ * -----Switch
4221
+ * -----Spinner
4222
+ * -----Radio
4223
+ * -----Menu
4224
+ * -----List
4225
+ * -----Layout
4226
+ * -----Icon toggles
4227
+ * -----Footer
4228
+ * -----Column
4229
+ * -----Checkbox
4230
+ * -----Card
4231
+ * -----Button
4232
+ * -----Animation
4233
+ * -----Progress
4234
+ * -----Badge
4235
+ * -----Shadows
4236
+ * -----Grid
4237
+ * -----Data table
4238
+ * -----Dialog
4239
+ * -----Snackbar
4240
+ * -----Tooltip
4241
+ * -----Chip
4242
+ *
4243
+ * Even though all variables have the `!default` directive, most of them
4244
+ * should not be changed as they are dependent one another. This can cause
4245
+ * visual distortions (like alignment issues) that are hard to track down
4246
+ * and fix.
4247
+ */
4248
+ /* ========== TYPOGRAPHY ========== */
4249
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
4250
+ page loading. For important text, such as the body, we want it to load
4251
+ immediately and not wait for the web font load, whereas for other sections,
4252
+ such as headers and titles, we're OK with things taking a bit longer to load.
4253
+ We do have some optional classes and parameters in the mixins, in case you
4254
+ definitely want to make sure you're using the preferred font and don't mind
4255
+ the performance hit.
4256
+ We should be able to improve on this once CSS Font Loading L3 becomes more
4257
+ widely available.
4258
+ */
4259
+ /* ========== COLORS ========== */
4260
+ /**
4261
+ *
4262
+ * Material design color palettes.
4263
+ * @see http://www.google.com/design/spec/style/color.html
4264
+ *
4265
+ **/
4266
+ /**
4267
+ * Copyright 2015 Google Inc. All Rights Reserved.
4268
+ *
4269
+ * Licensed under the Apache License, Version 2.0 (the "License");
4270
+ * you may not use this file except in compliance with the License.
4271
+ * You may obtain a copy of the License at
4272
+ *
4273
+ * http://www.apache.org/licenses/LICENSE-2.0
4274
+ *
4275
+ * Unless required by applicable law or agreed to in writing, software
4276
+ * distributed under the License is distributed on an "AS IS" BASIS,
4277
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4278
+ * See the License for the specific language governing permissions and
4279
+ * limitations under the License.
4280
+ */
4281
+ /* ========== Color Palettes ========== */
4282
+ /* colors.scss */
4283
+ /**
4284
+ * Copyright 2015 Google Inc. All Rights Reserved.
4285
+ *
4286
+ * Licensed under the Apache License, Version 2.0 (the "License");
4287
+ * you may not use this file except in compliance with the License.
4288
+ * You may obtain a copy of the License at
4289
+ *
4290
+ * http://www.apache.org/licenses/LICENSE-2.0
4291
+ *
4292
+ * Unless required by applicable law or agreed to in writing, software
4293
+ * distributed under the License is distributed on an "AS IS" BASIS,
4294
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4295
+ * See the License for the specific language governing permissions and
4296
+ * limitations under the License.
4297
+ */
4298
+ /* ========== IMAGES ========== */
4299
+ /* ========== Color & Themes ========== */
4300
+ /* ========== Typography ========== */
4301
+ /* ========== Components ========== */
4302
+ /* ========== Standard Buttons ========== */
4303
+ /* ========== Icon Toggles ========== */
4304
+ /* ========== Radio Buttons ========== */
4305
+ /* ========== Ripple effect ========== */
4306
+ /* ========== Layout ========== */
4307
+ /* ========== Content Tabs ========== */
4308
+ /* ========== Checkboxes ========== */
4309
+ /* ========== Switches ========== */
4310
+ /* ========== Spinner ========== */
4311
+ /* ========== Text fields ========== */
4312
+ /* ========== Card ========== */
4313
+ /* ========== Sliders ========== */
4314
+ /* ========== Progress ========== */
4315
+ /* ========== List ========== */
4316
+ /* ========== Item ========== */
4317
+ /* ========== Dropdown menu ========== */
4318
+ /* ========== Tooltips ========== */
4319
+ /* ========== Footer ========== */
4320
+ /* TEXTFIELD */
4321
+ /* SWITCH */
4322
+ /* SPINNER */
4323
+ /* RADIO */
4324
+ /* MENU */
4325
+ /* LIST */
4326
+ /* LAYOUT */
4327
+ /* ICON TOGGLE */
4328
+ /* FOOTER */
4329
+ /*mega-footer*/
4330
+ /*mini-footer*/
4331
+ /* CHECKBOX */
4332
+ /* CARD */
4333
+ /* Card dimensions */
4334
+ /* Cover image */
4335
+ /* BUTTON */
4336
+ /**
4337
+ *
4338
+ * Dimensions
4339
+ *
4340
+ */
4341
+ /* ANIMATION */
4342
+ /* PROGRESS */
4343
+ /* BADGE */
4344
+ /* SHADOWS */
4345
+ /* GRID */
4346
+ /* DATA TABLE */
4347
+ /* DIALOG */
4348
+ /* SNACKBAR */
4349
+ /* TOOLTIP */
4350
+ /* CHIP */
4351
+ /**
4352
+ * Copyright 2015 Google Inc. All Rights Reserved.
4353
+ *
4354
+ * Licensed under the Apache License, Version 2.0 (the "License");
4355
+ * you may not use this file except in compliance with the License.
4356
+ * You may obtain a copy of the License at
4357
+ *
4358
+ * http://www.apache.org/licenses/LICENSE-2.0
4359
+ *
4360
+ * Unless required by applicable law or agreed to in writing, software
4361
+ * distributed under the License is distributed on an "AS IS" BASIS,
4362
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4363
+ * See the License for the specific language governing permissions and
4364
+ * limitations under the License.
4365
+ */
4366
+ /* Typography */
4367
+ /* Shadows */
4368
+ /* Animations */
4369
+ /* Dialog */
4370
+ .mdl-checkbox {
4371
+ position: relative;
4372
+ z-index: 1;
4373
+ vertical-align: middle;
4374
+ display: inline-block;
4375
+ box-sizing: border-box;
4376
+ width: 100%;
4377
+ height: 24px;
4378
+ margin: 0;
4379
+ padding: 0; }
4380
+ .mdl-checkbox.is-upgraded {
4381
+ padding-left: 24px; }
4382
+
4383
+ .mdl-checkbox__input {
4384
+ line-height: 24px; }
4385
+ .mdl-checkbox.is-upgraded .mdl-checkbox__input {
4386
+ position: absolute;
4387
+ width: 0;
4388
+ height: 0;
4389
+ margin: 0;
4390
+ padding: 0;
4391
+ opacity: 0;
4392
+ -ms-appearance: none;
4393
+ -moz-appearance: none;
4394
+ -webkit-appearance: none;
4395
+ appearance: none;
4396
+ border: none; }
4397
+
4398
+ .mdl-checkbox__box-outline {
4399
+ position: absolute;
4400
+ top: 3px;
4401
+ left: 0;
4402
+ display: inline-block;
4403
+ box-sizing: border-box;
4404
+ width: 16px;
4405
+ height: 16px;
4406
+ margin: 0;
4407
+ cursor: pointer;
4408
+ overflow: hidden;
4409
+ border: 2px solid rgba(0,0,0, 0.54);
4410
+ border-radius: 2px;
4411
+ z-index: 2; }
4412
+ .mdl-checkbox.is-checked .mdl-checkbox__box-outline {
4413
+ border: 2px solid rgb(63,81,181); }
4414
+ fieldset[disabled] .mdl-checkbox .mdl-checkbox__box-outline,
4415
+ .mdl-checkbox.is-disabled .mdl-checkbox__box-outline {
4416
+ border: 2px solid rgba(0,0,0, 0.26);
4417
+ cursor: auto; }
4418
+
4419
+ .mdl-checkbox__focus-helper {
4420
+ position: absolute;
4421
+ top: 3px;
4422
+ left: 0;
4423
+ display: inline-block;
4424
+ box-sizing: border-box;
4425
+ width: 16px;
4426
+ height: 16px;
4427
+ border-radius: 50%;
4428
+ background-color: transparent; }
4429
+ .mdl-checkbox.is-focused .mdl-checkbox__focus-helper {
4430
+ box-shadow: 0 0 0px 8px rgba(0, 0, 0, 0.1);
4431
+ background-color: rgba(0, 0, 0, 0.1); }
4432
+ .mdl-checkbox.is-focused.is-checked .mdl-checkbox__focus-helper {
4433
+ box-shadow: 0 0 0px 8px rgba(63,81,181, 0.26);
4434
+ background-color: rgba(63,81,181, 0.26); }
4435
+
4436
+ .mdl-checkbox__tick-outline {
4437
+ position: absolute;
4438
+ top: 0;
4439
+ left: 0;
4440
+ height: 100%;
4441
+ width: 100%;
4442
+ -webkit-mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8ZGVmcz4KICAgIDxjbGlwUGF0aCBpZD0iY2xpcCI+CiAgICAgIDxwYXRoCiAgICAgICAgIGQ9Ik0gMCwwIDAsMSAxLDEgMSwwIDAsMCB6IE0gMC44NTM0Mzc1LDAuMTY3MTg3NSAwLjk1OTY4NzUsMC4yNzMxMjUgMC40MjkzNzUsMC44MDM0Mzc1IDAuMzIzMTI1LDAuOTA5Njg3NSAwLjIxNzE4NzUsMC44MDM0Mzc1IDAuMDQwMzEyNSwwLjYyNjg3NSAwLjE0NjU2MjUsMC41MjA2MjUgMC4zMjMxMjUsMC42OTc1IDAuODUzNDM3NSwwLjE2NzE4NzUgeiIKICAgICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZSIgLz4KICAgIDwvY2xpcFBhdGg+CiAgICA8bWFzayBpZD0ibWFzayIgbWFza1VuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgbWFza0NvbnRlbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPgogICAgICA8cGF0aAogICAgICAgICBkPSJNIDAsMCAwLDEgMSwxIDEsMCAwLDAgeiBNIDAuODUzNDM3NSwwLjE2NzE4NzUgMC45NTk2ODc1LDAuMjczMTI1IDAuNDI5Mzc1LDAuODAzNDM3NSAwLjMyMzEyNSwwLjkwOTY4NzUgMC4yMTcxODc1LDAuODAzNDM3NSAwLjA0MDMxMjUsMC42MjY4NzUgMC4xNDY1NjI1LDAuNTIwNjI1IDAuMzIzMTI1LDAuNjk3NSAwLjg1MzQzNzUsMC4xNjcxODc1IHoiCiAgICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmUiIC8+CiAgICA8L21hc2s+CiAgPC9kZWZzPgogIDxyZWN0CiAgICAgd2lkdGg9IjEiCiAgICAgaGVpZ2h0PSIxIgogICAgIHg9IjAiCiAgICAgeT0iMCIKICAgICBjbGlwLXBhdGg9InVybCgjY2xpcCkiCiAgICAgc3R5bGU9ImZpbGw6IzAwMDAwMDtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZSIgLz4KPC9zdmc+Cg==");
4443
+ mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8ZGVmcz4KICAgIDxjbGlwUGF0aCBpZD0iY2xpcCI+CiAgICAgIDxwYXRoCiAgICAgICAgIGQ9Ik0gMCwwIDAsMSAxLDEgMSwwIDAsMCB6IE0gMC44NTM0Mzc1LDAuMTY3MTg3NSAwLjk1OTY4NzUsMC4yNzMxMjUgMC40MjkzNzUsMC44MDM0Mzc1IDAuMzIzMTI1LDAuOTA5Njg3NSAwLjIxNzE4NzUsMC44MDM0Mzc1IDAuMDQwMzEyNSwwLjYyNjg3NSAwLjE0NjU2MjUsMC41MjA2MjUgMC4zMjMxMjUsMC42OTc1IDAuODUzNDM3NSwwLjE2NzE4NzUgeiIKICAgICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZSIgLz4KICAgIDwvY2xpcFBhdGg+CiAgICA8bWFzayBpZD0ibWFzayIgbWFza1VuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgbWFza0NvbnRlbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPgogICAgICA8cGF0aAogICAgICAgICBkPSJNIDAsMCAwLDEgMSwxIDEsMCAwLDAgeiBNIDAuODUzNDM3NSwwLjE2NzE4NzUgMC45NTk2ODc1LDAuMjczMTI1IDAuNDI5Mzc1LDAuODAzNDM3NSAwLjMyMzEyNSwwLjkwOTY4NzUgMC4yMTcxODc1LDAuODAzNDM3NSAwLjA0MDMxMjUsMC42MjY4NzUgMC4xNDY1NjI1LDAuNTIwNjI1IDAuMzIzMTI1LDAuNjk3NSAwLjg1MzQzNzUsMC4xNjcxODc1IHoiCiAgICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmUiIC8+CiAgICA8L21hc2s+CiAgPC9kZWZzPgogIDxyZWN0CiAgICAgd2lkdGg9IjEiCiAgICAgaGVpZ2h0PSIxIgogICAgIHg9IjAiCiAgICAgeT0iMCIKICAgICBjbGlwLXBhdGg9InVybCgjY2xpcCkiCiAgICAgc3R5bGU9ImZpbGw6IzAwMDAwMDtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZSIgLz4KPC9zdmc+Cg==");
4444
+ background: transparent;
4445
+ transition-duration: 0.28s;
4446
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
4447
+ transition-property: background; }
4448
+ .mdl-checkbox.is-checked .mdl-checkbox__tick-outline {
4449
+ background: rgb(63,81,181) url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K"); }
4450
+ fieldset[disabled] .mdl-checkbox.is-checked .mdl-checkbox__tick-outline,
4451
+ .mdl-checkbox.is-checked.is-disabled .mdl-checkbox__tick-outline {
4452
+ background: rgba(0,0,0, 0.26) url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K"); }
4453
+
4454
+ .mdl-checkbox__label {
4455
+ position: relative;
4456
+ cursor: pointer;
4457
+ font-size: 16px;
4458
+ line-height: 24px;
4459
+ margin: 0; }
4460
+ fieldset[disabled] .mdl-checkbox .mdl-checkbox__label,
4461
+ .mdl-checkbox.is-disabled .mdl-checkbox__label {
4462
+ color: rgba(0,0,0, 0.26);
4463
+ cursor: auto; }
4464
+
4465
+ .mdl-checkbox__ripple-container {
4466
+ position: absolute;
4467
+ z-index: 2;
4468
+ top: -6px;
4469
+ left: -10px;
4470
+ box-sizing: border-box;
4471
+ width: 36px;
4472
+ height: 36px;
4473
+ border-radius: 50%;
4474
+ cursor: pointer;
4475
+ overflow: hidden;
4476
+ -webkit-mask-image: -webkit-radial-gradient(circle, white, black); }
4477
+ .mdl-checkbox__ripple-container .mdl-ripple {
4478
+ background: rgb(63,81,181); }
4479
+ fieldset[disabled] .mdl-checkbox .mdl-checkbox__ripple-container,
4480
+ .mdl-checkbox.is-disabled .mdl-checkbox__ripple-container {
4481
+ cursor: auto; }
4482
+ fieldset[disabled] .mdl-checkbox .mdl-checkbox__ripple-container .mdl-ripple,
4483
+ .mdl-checkbox.is-disabled .mdl-checkbox__ripple-container .mdl-ripple {
4484
+ background: transparent; }
4485
+
4486
+ /**
4487
+ * Copyright 2015 Google Inc. All Rights Reserved.
4488
+ *
4489
+ * Licensed under the Apache License, Version 2.0 (the "License");
4490
+ * you may not use this file except in compliance with the License.
4491
+ * You may obtain a copy of the License at
4492
+ *
4493
+ * http://www.apache.org/licenses/LICENSE-2.0
4494
+ *
4495
+ * Unless required by applicable law or agreed to in writing, software
4496
+ * distributed under the License is distributed on an "AS IS" BASIS,
4497
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4498
+ * See the License for the specific language governing permissions and
4499
+ * limitations under the License.
4500
+ */
4501
+ /**
4502
+ * Copyright 2015 Google Inc. All Rights Reserved.
4503
+ *
4504
+ * Licensed under the Apache License, Version 2.0 (the "License");
4505
+ * you may not use this file except in compliance with the License.
4506
+ * You may obtain a copy of the License at
4507
+ *
4508
+ * http://www.apache.org/licenses/LICENSE-2.0
4509
+ *
4510
+ * Unless required by applicable law or agreed to in writing, software
4511
+ * distributed under the License is distributed on an "AS IS" BASIS,
4512
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4513
+ * See the License for the specific language governing permissions and
4514
+ * limitations under the License.
4515
+ */
4516
+ /*------------------------------------* $CONTENTS
4517
+ \*------------------------------------*/
4518
+ /**
4519
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
4520
+ * -----Typography
4521
+ * -----Colors
4522
+ * -----Textfield
4523
+ * -----Switch
4524
+ * -----Spinner
4525
+ * -----Radio
4526
+ * -----Menu
4527
+ * -----List
4528
+ * -----Layout
4529
+ * -----Icon toggles
4530
+ * -----Footer
4531
+ * -----Column
4532
+ * -----Checkbox
4533
+ * -----Card
4534
+ * -----Button
4535
+ * -----Animation
4536
+ * -----Progress
4537
+ * -----Badge
4538
+ * -----Shadows
4539
+ * -----Grid
4540
+ * -----Data table
4541
+ * -----Dialog
4542
+ * -----Snackbar
4543
+ * -----Tooltip
4544
+ * -----Chip
4545
+ *
4546
+ * Even though all variables have the `!default` directive, most of them
4547
+ * should not be changed as they are dependent one another. This can cause
4548
+ * visual distortions (like alignment issues) that are hard to track down
4549
+ * and fix.
4550
+ */
4551
+ /* ========== TYPOGRAPHY ========== */
4552
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
4553
+ page loading. For important text, such as the body, we want it to load
4554
+ immediately and not wait for the web font load, whereas for other sections,
4555
+ such as headers and titles, we're OK with things taking a bit longer to load.
4556
+ We do have some optional classes and parameters in the mixins, in case you
4557
+ definitely want to make sure you're using the preferred font and don't mind
4558
+ the performance hit.
4559
+ We should be able to improve on this once CSS Font Loading L3 becomes more
4560
+ widely available.
4561
+ */
4562
+ /* ========== COLORS ========== */
4563
+ /**
4564
+ *
4565
+ * Material design color palettes.
4566
+ * @see http://www.google.com/design/spec/style/color.html
4567
+ *
4568
+ **/
4569
+ /**
4570
+ * Copyright 2015 Google Inc. All Rights Reserved.
4571
+ *
4572
+ * Licensed under the Apache License, Version 2.0 (the "License");
4573
+ * you may not use this file except in compliance with the License.
4574
+ * You may obtain a copy of the License at
4575
+ *
4576
+ * http://www.apache.org/licenses/LICENSE-2.0
4577
+ *
4578
+ * Unless required by applicable law or agreed to in writing, software
4579
+ * distributed under the License is distributed on an "AS IS" BASIS,
4580
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4581
+ * See the License for the specific language governing permissions and
4582
+ * limitations under the License.
4583
+ */
4584
+ /* ========== Color Palettes ========== */
4585
+ /* colors.scss */
4586
+ /**
4587
+ * Copyright 2015 Google Inc. All Rights Reserved.
4588
+ *
4589
+ * Licensed under the Apache License, Version 2.0 (the "License");
4590
+ * you may not use this file except in compliance with the License.
4591
+ * You may obtain a copy of the License at
4592
+ *
4593
+ * http://www.apache.org/licenses/LICENSE-2.0
4594
+ *
4595
+ * Unless required by applicable law or agreed to in writing, software
4596
+ * distributed under the License is distributed on an "AS IS" BASIS,
4597
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4598
+ * See the License for the specific language governing permissions and
4599
+ * limitations under the License.
4600
+ */
4601
+ /* ========== IMAGES ========== */
4602
+ /* ========== Color & Themes ========== */
4603
+ /* ========== Typography ========== */
4604
+ /* ========== Components ========== */
4605
+ /* ========== Standard Buttons ========== */
4606
+ /* ========== Icon Toggles ========== */
4607
+ /* ========== Radio Buttons ========== */
4608
+ /* ========== Ripple effect ========== */
4609
+ /* ========== Layout ========== */
4610
+ /* ========== Content Tabs ========== */
4611
+ /* ========== Checkboxes ========== */
4612
+ /* ========== Switches ========== */
4613
+ /* ========== Spinner ========== */
4614
+ /* ========== Text fields ========== */
4615
+ /* ========== Card ========== */
4616
+ /* ========== Sliders ========== */
4617
+ /* ========== Progress ========== */
4618
+ /* ========== List ========== */
4619
+ /* ========== Item ========== */
4620
+ /* ========== Dropdown menu ========== */
4621
+ /* ========== Tooltips ========== */
4622
+ /* ========== Footer ========== */
4623
+ /* TEXTFIELD */
4624
+ /* SWITCH */
4625
+ /* SPINNER */
4626
+ /* RADIO */
4627
+ /* MENU */
4628
+ /* LIST */
4629
+ /* LAYOUT */
4630
+ /* ICON TOGGLE */
4631
+ /* FOOTER */
4632
+ /*mega-footer*/
4633
+ /*mini-footer*/
4634
+ /* CHECKBOX */
4635
+ /* CARD */
4636
+ /* Card dimensions */
4637
+ /* Cover image */
4638
+ /* BUTTON */
4639
+ /**
4640
+ *
4641
+ * Dimensions
4642
+ *
4643
+ */
4644
+ /* ANIMATION */
4645
+ /* PROGRESS */
4646
+ /* BADGE */
4647
+ /* SHADOWS */
4648
+ /* GRID */
4649
+ /* DATA TABLE */
4650
+ /* DIALOG */
4651
+ /* SNACKBAR */
4652
+ /* TOOLTIP */
4653
+ /* CHIP */
4654
+ /**
4655
+ * Copyright 2015 Google Inc. All Rights Reserved.
4656
+ *
4657
+ * Licensed under the Apache License, Version 2.0 (the "License");
4658
+ * you may not use this file except in compliance with the License.
4659
+ * You may obtain a copy of the License at
4660
+ *
4661
+ * http://www.apache.org/licenses/LICENSE-2.0
4662
+ *
4663
+ * Unless required by applicable law or agreed to in writing, software
4664
+ * distributed under the License is distributed on an "AS IS" BASIS,
4665
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4666
+ * See the License for the specific language governing permissions and
4667
+ * limitations under the License.
4668
+ */
4669
+ /* Typography */
4670
+ /* Shadows */
4671
+ /* Animations */
4672
+ /* Dialog */
4673
+ .mdl-chip {
4674
+ height: 32px;
4675
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
4676
+ line-height: 32px;
4677
+ padding: 0 12px;
4678
+ border: 0;
4679
+ border-radius: 16px;
4680
+ background-color: #dedede;
4681
+ display: inline-block;
4682
+ color: rgba(0,0,0, 0.87);
4683
+ margin: 2px 0;
4684
+ font-size: 0;
4685
+ white-space: nowrap; }
4686
+ .mdl-chip__text {
4687
+ font-size: 13px;
4688
+ vertical-align: middle;
4689
+ display: inline-block; }
4690
+ .mdl-chip__action {
4691
+ height: 24px;
4692
+ width: 24px;
4693
+ background: transparent;
4694
+ opacity: 0.54;
4695
+ display: inline-block;
4696
+ cursor: pointer;
4697
+ text-align: center;
4698
+ vertical-align: middle;
4699
+ padding: 0;
4700
+ margin: 0 0 0 4px;
4701
+ font-size: 13px;
4702
+ text-decoration: none;
4703
+ color: rgba(0,0,0, 0.87);
4704
+ border: none;
4705
+ outline: none;
4706
+ overflow: hidden; }
4707
+ .mdl-chip__contact {
4708
+ height: 32px;
4709
+ width: 32px;
4710
+ border-radius: 16px;
4711
+ display: inline-block;
4712
+ vertical-align: middle;
4713
+ margin-right: 8px;
4714
+ overflow: hidden;
4715
+ text-align: center;
4716
+ font-size: 18px;
4717
+ line-height: 32px; }
4718
+ .mdl-chip:focus {
4719
+ outline: 0;
4720
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }
4721
+ .mdl-chip:active {
4722
+ background-color: #d6d6d6; }
4723
+ .mdl-chip--deletable {
4724
+ padding-right: 4px; }
4725
+ .mdl-chip--contact {
4726
+ padding-left: 0; }
4727
+
4728
+ /**
4729
+ * Copyright 2015 Google Inc. All Rights Reserved.
4730
+ *
4731
+ * Licensed under the Apache License, Version 2.0 (the "License");
4732
+ * you may not use this file except in compliance with the License.
4733
+ * You may obtain a copy of the License at
4734
+ *
4735
+ * http://www.apache.org/licenses/LICENSE-2.0
4736
+ *
4737
+ * Unless required by applicable law or agreed to in writing, software
4738
+ * distributed under the License is distributed on an "AS IS" BASIS,
4739
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4740
+ * See the License for the specific language governing permissions and
4741
+ * limitations under the License.
4742
+ */
4743
+ /**
4744
+ * Copyright 2015 Google Inc. All Rights Reserved.
4745
+ *
4746
+ * Licensed under the Apache License, Version 2.0 (the "License");
4747
+ * you may not use this file except in compliance with the License.
4748
+ * You may obtain a copy of the License at
4749
+ *
4750
+ * http://www.apache.org/licenses/LICENSE-2.0
4751
+ *
4752
+ * Unless required by applicable law or agreed to in writing, software
4753
+ * distributed under the License is distributed on an "AS IS" BASIS,
4754
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4755
+ * See the License for the specific language governing permissions and
4756
+ * limitations under the License.
4757
+ */
4758
+ /*------------------------------------* $CONTENTS
4759
+ \*------------------------------------*/
4760
+ /**
4761
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
4762
+ * -----Typography
4763
+ * -----Colors
4764
+ * -----Textfield
4765
+ * -----Switch
4766
+ * -----Spinner
4767
+ * -----Radio
4768
+ * -----Menu
4769
+ * -----List
4770
+ * -----Layout
4771
+ * -----Icon toggles
4772
+ * -----Footer
4773
+ * -----Column
4774
+ * -----Checkbox
4775
+ * -----Card
4776
+ * -----Button
4777
+ * -----Animation
4778
+ * -----Progress
4779
+ * -----Badge
4780
+ * -----Shadows
4781
+ * -----Grid
4782
+ * -----Data table
4783
+ * -----Dialog
4784
+ * -----Snackbar
4785
+ * -----Tooltip
4786
+ * -----Chip
4787
+ *
4788
+ * Even though all variables have the `!default` directive, most of them
4789
+ * should not be changed as they are dependent one another. This can cause
4790
+ * visual distortions (like alignment issues) that are hard to track down
4791
+ * and fix.
4792
+ */
4793
+ /* ========== TYPOGRAPHY ========== */
4794
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
4795
+ page loading. For important text, such as the body, we want it to load
4796
+ immediately and not wait for the web font load, whereas for other sections,
4797
+ such as headers and titles, we're OK with things taking a bit longer to load.
4798
+ We do have some optional classes and parameters in the mixins, in case you
4799
+ definitely want to make sure you're using the preferred font and don't mind
4800
+ the performance hit.
4801
+ We should be able to improve on this once CSS Font Loading L3 becomes more
4802
+ widely available.
4803
+ */
4804
+ /* ========== COLORS ========== */
4805
+ /**
4806
+ *
4807
+ * Material design color palettes.
4808
+ * @see http://www.google.com/design/spec/style/color.html
4809
+ *
4810
+ **/
4811
+ /**
4812
+ * Copyright 2015 Google Inc. All Rights Reserved.
4813
+ *
4814
+ * Licensed under the Apache License, Version 2.0 (the "License");
4815
+ * you may not use this file except in compliance with the License.
4816
+ * You may obtain a copy of the License at
4817
+ *
4818
+ * http://www.apache.org/licenses/LICENSE-2.0
4819
+ *
4820
+ * Unless required by applicable law or agreed to in writing, software
4821
+ * distributed under the License is distributed on an "AS IS" BASIS,
4822
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4823
+ * See the License for the specific language governing permissions and
4824
+ * limitations under the License.
4825
+ */
4826
+ /* ========== Color Palettes ========== */
4827
+ /* colors.scss */
4828
+ /**
4829
+ * Copyright 2015 Google Inc. All Rights Reserved.
4830
+ *
4831
+ * Licensed under the Apache License, Version 2.0 (the "License");
4832
+ * you may not use this file except in compliance with the License.
4833
+ * You may obtain a copy of the License at
4834
+ *
4835
+ * http://www.apache.org/licenses/LICENSE-2.0
4836
+ *
4837
+ * Unless required by applicable law or agreed to in writing, software
4838
+ * distributed under the License is distributed on an "AS IS" BASIS,
4839
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4840
+ * See the License for the specific language governing permissions and
4841
+ * limitations under the License.
4842
+ */
4843
+ /* ========== IMAGES ========== */
4844
+ /* ========== Color & Themes ========== */
4845
+ /* ========== Typography ========== */
4846
+ /* ========== Components ========== */
4847
+ /* ========== Standard Buttons ========== */
4848
+ /* ========== Icon Toggles ========== */
4849
+ /* ========== Radio Buttons ========== */
4850
+ /* ========== Ripple effect ========== */
4851
+ /* ========== Layout ========== */
4852
+ /* ========== Content Tabs ========== */
4853
+ /* ========== Checkboxes ========== */
4854
+ /* ========== Switches ========== */
4855
+ /* ========== Spinner ========== */
4856
+ /* ========== Text fields ========== */
4857
+ /* ========== Card ========== */
4858
+ /* ========== Sliders ========== */
4859
+ /* ========== Progress ========== */
4860
+ /* ========== List ========== */
4861
+ /* ========== Item ========== */
4862
+ /* ========== Dropdown menu ========== */
4863
+ /* ========== Tooltips ========== */
4864
+ /* ========== Footer ========== */
4865
+ /* TEXTFIELD */
4866
+ /* SWITCH */
4867
+ /* SPINNER */
4868
+ /* RADIO */
4869
+ /* MENU */
4870
+ /* LIST */
4871
+ /* LAYOUT */
4872
+ /* ICON TOGGLE */
4873
+ /* FOOTER */
4874
+ /*mega-footer*/
4875
+ /*mini-footer*/
4876
+ /* CHECKBOX */
4877
+ /* CARD */
4878
+ /* Card dimensions */
4879
+ /* Cover image */
4880
+ /* BUTTON */
4881
+ /**
4882
+ *
4883
+ * Dimensions
4884
+ *
4885
+ */
4886
+ /* ANIMATION */
4887
+ /* PROGRESS */
4888
+ /* BADGE */
4889
+ /* SHADOWS */
4890
+ /* GRID */
4891
+ /* DATA TABLE */
4892
+ /* DIALOG */
4893
+ /* SNACKBAR */
4894
+ /* TOOLTIP */
4895
+ /* CHIP */
4896
+ /**
4897
+ * Copyright 2015 Google Inc. All Rights Reserved.
4898
+ *
4899
+ * Licensed under the Apache License, Version 2.0 (the "License");
4900
+ * you may not use this file except in compliance with the License.
4901
+ * You may obtain a copy of the License at
4902
+ *
4903
+ * http://www.apache.org/licenses/LICENSE-2.0
4904
+ *
4905
+ * Unless required by applicable law or agreed to in writing, software
4906
+ * distributed under the License is distributed on an "AS IS" BASIS,
4907
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4908
+ * See the License for the specific language governing permissions and
4909
+ * limitations under the License.
4910
+ */
4911
+ /* Typography */
4912
+ /* Shadows */
4913
+ /* Animations */
4914
+ /* Dialog */
4915
+ .mdl-data-table {
4916
+ position: relative;
4917
+ border: 1px solid rgba(0, 0, 0, 0.12);
4918
+ border-collapse: collapse;
4919
+ white-space: nowrap;
4920
+ font-size: 13px;
4921
+ background-color: rgb(255,255,255); }
4922
+ .mdl-data-table thead {
4923
+ padding-bottom: 3px; }
4924
+ .mdl-data-table thead .mdl-data-table__select {
4925
+ margin-top: 0; }
4926
+ .mdl-data-table tbody tr {
4927
+ position: relative;
4928
+ height: 48px;
4929
+ transition-duration: 0.28s;
4930
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
4931
+ transition-property: background-color; }
4932
+ .mdl-data-table tbody tr.is-selected {
4933
+ background-color: #e0e0e0; }
4934
+ .mdl-data-table tbody tr:hover {
4935
+ background-color: #eeeeee; }
4936
+ .mdl-data-table td, .mdl-data-table th {
4937
+ padding: 0 18px 12px 18px;
4938
+ text-align: right; }
4939
+ .mdl-data-table td:first-of-type, .mdl-data-table th:first-of-type {
4940
+ padding-left: 24px; }
4941
+ .mdl-data-table td:last-of-type, .mdl-data-table th:last-of-type {
4942
+ padding-right: 24px; }
4943
+ .mdl-data-table td {
4944
+ position: relative;
4945
+ vertical-align: middle;
4946
+ height: 48px;
4947
+ border-top: 1px solid rgba(0, 0, 0, 0.12);
4948
+ border-bottom: 1px solid rgba(0, 0, 0, 0.12);
4949
+ padding-top: 12px;
4950
+ box-sizing: border-box; }
4951
+ .mdl-data-table td .mdl-data-table__select {
4952
+ vertical-align: middle; }
4953
+ .mdl-data-table th {
4954
+ position: relative;
4955
+ vertical-align: bottom;
4956
+ text-overflow: ellipsis;
4957
+ font-size: 14px;
4958
+ font-weight: bold;
4959
+ line-height: 24px;
4960
+ letter-spacing: 0;
4961
+ height: 48px;
4962
+ font-size: 12px;
4963
+ color: rgba(0, 0, 0, 0.54);
4964
+ padding-bottom: 8px;
4965
+ box-sizing: border-box; }
4966
+ .mdl-data-table th.mdl-data-table__header--sorted-ascending, .mdl-data-table th.mdl-data-table__header--sorted-descending {
4967
+ color: rgba(0, 0, 0, 0.87); }
4968
+ .mdl-data-table th.mdl-data-table__header--sorted-ascending:before, .mdl-data-table th.mdl-data-table__header--sorted-descending:before {
4969
+ font-family: 'Material Icons';
4970
+ font-weight: normal;
4971
+ font-style: normal;
4972
+ font-size: 24px;
4973
+ line-height: 1;
4974
+ letter-spacing: normal;
4975
+ text-transform: none;
4976
+ display: inline-block;
4977
+ word-wrap: normal;
4978
+ -moz-font-feature-settings: 'liga';
4979
+ font-feature-settings: 'liga';
4980
+ -webkit-font-feature-settings: 'liga';
4981
+ -webkit-font-smoothing: antialiased;
4982
+ font-size: 16px;
4983
+ content: "\e5d8";
4984
+ margin-right: 5px;
4985
+ vertical-align: sub; }
4986
+ .mdl-data-table th.mdl-data-table__header--sorted-ascending:hover, .mdl-data-table th.mdl-data-table__header--sorted-descending:hover {
4987
+ cursor: pointer; }
4988
+ .mdl-data-table th.mdl-data-table__header--sorted-ascending:hover:before, .mdl-data-table th.mdl-data-table__header--sorted-descending:hover:before {
4989
+ color: rgba(0, 0, 0, 0.26); }
4990
+ .mdl-data-table th.mdl-data-table__header--sorted-descending:before {
4991
+ content: "\e5db"; }
4992
+
4993
+ .mdl-data-table__select {
4994
+ width: 16px; }
4995
+
4996
+ .mdl-data-table__cell--non-numeric.mdl-data-table__cell--non-numeric {
4997
+ text-align: left; }
4998
+
4999
+ /**
5000
+ * Copyright 2015 Google Inc. All Rights Reserved.
5001
+ *
5002
+ * Licensed under the Apache License, Version 2.0 (the "License");
5003
+ * you may not use this file except in compliance with the License.
5004
+ * You may obtain a copy of the License at
5005
+ *
5006
+ * http://www.apache.org/licenses/LICENSE-2.0
5007
+ *
5008
+ * Unless required by applicable law or agreed to in writing, software
5009
+ * distributed under the License is distributed on an "AS IS" BASIS,
5010
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5011
+ * See the License for the specific language governing permissions and
5012
+ * limitations under the License.
5013
+ */
5014
+ /**
5015
+ * Copyright 2015 Google Inc. All Rights Reserved.
5016
+ *
5017
+ * Licensed under the Apache License, Version 2.0 (the "License");
5018
+ * you may not use this file except in compliance with the License.
5019
+ * You may obtain a copy of the License at
5020
+ *
5021
+ * http://www.apache.org/licenses/LICENSE-2.0
5022
+ *
5023
+ * Unless required by applicable law or agreed to in writing, software
5024
+ * distributed under the License is distributed on an "AS IS" BASIS,
5025
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5026
+ * See the License for the specific language governing permissions and
5027
+ * limitations under the License.
5028
+ */
5029
+ /*------------------------------------* $CONTENTS
5030
+ \*------------------------------------*/
5031
+ /**
5032
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
5033
+ * -----Typography
5034
+ * -----Colors
5035
+ * -----Textfield
5036
+ * -----Switch
5037
+ * -----Spinner
5038
+ * -----Radio
5039
+ * -----Menu
5040
+ * -----List
5041
+ * -----Layout
5042
+ * -----Icon toggles
5043
+ * -----Footer
5044
+ * -----Column
5045
+ * -----Checkbox
5046
+ * -----Card
5047
+ * -----Button
5048
+ * -----Animation
5049
+ * -----Progress
5050
+ * -----Badge
5051
+ * -----Shadows
5052
+ * -----Grid
5053
+ * -----Data table
5054
+ * -----Dialog
5055
+ * -----Snackbar
5056
+ * -----Tooltip
5057
+ * -----Chip
5058
+ *
5059
+ * Even though all variables have the `!default` directive, most of them
5060
+ * should not be changed as they are dependent one another. This can cause
5061
+ * visual distortions (like alignment issues) that are hard to track down
5062
+ * and fix.
5063
+ */
5064
+ /* ========== TYPOGRAPHY ========== */
5065
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
5066
+ page loading. For important text, such as the body, we want it to load
5067
+ immediately and not wait for the web font load, whereas for other sections,
5068
+ such as headers and titles, we're OK with things taking a bit longer to load.
5069
+ We do have some optional classes and parameters in the mixins, in case you
5070
+ definitely want to make sure you're using the preferred font and don't mind
5071
+ the performance hit.
5072
+ We should be able to improve on this once CSS Font Loading L3 becomes more
5073
+ widely available.
5074
+ */
5075
+ /* ========== COLORS ========== */
5076
+ /**
5077
+ *
5078
+ * Material design color palettes.
5079
+ * @see http://www.google.com/design/spec/style/color.html
5080
+ *
5081
+ **/
5082
+ /**
5083
+ * Copyright 2015 Google Inc. All Rights Reserved.
5084
+ *
5085
+ * Licensed under the Apache License, Version 2.0 (the "License");
5086
+ * you may not use this file except in compliance with the License.
5087
+ * You may obtain a copy of the License at
5088
+ *
5089
+ * http://www.apache.org/licenses/LICENSE-2.0
5090
+ *
5091
+ * Unless required by applicable law or agreed to in writing, software
5092
+ * distributed under the License is distributed on an "AS IS" BASIS,
5093
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5094
+ * See the License for the specific language governing permissions and
5095
+ * limitations under the License.
5096
+ */
5097
+ /* ========== Color Palettes ========== */
5098
+ /* colors.scss */
5099
+ /**
5100
+ * Copyright 2015 Google Inc. All Rights Reserved.
5101
+ *
5102
+ * Licensed under the Apache License, Version 2.0 (the "License");
5103
+ * you may not use this file except in compliance with the License.
5104
+ * You may obtain a copy of the License at
5105
+ *
5106
+ * http://www.apache.org/licenses/LICENSE-2.0
5107
+ *
5108
+ * Unless required by applicable law or agreed to in writing, software
5109
+ * distributed under the License is distributed on an "AS IS" BASIS,
5110
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5111
+ * See the License for the specific language governing permissions and
5112
+ * limitations under the License.
5113
+ */
5114
+ /* ========== IMAGES ========== */
5115
+ /* ========== Color & Themes ========== */
5116
+ /* ========== Typography ========== */
5117
+ /* ========== Components ========== */
5118
+ /* ========== Standard Buttons ========== */
5119
+ /* ========== Icon Toggles ========== */
5120
+ /* ========== Radio Buttons ========== */
5121
+ /* ========== Ripple effect ========== */
5122
+ /* ========== Layout ========== */
5123
+ /* ========== Content Tabs ========== */
5124
+ /* ========== Checkboxes ========== */
5125
+ /* ========== Switches ========== */
5126
+ /* ========== Spinner ========== */
5127
+ /* ========== Text fields ========== */
5128
+ /* ========== Card ========== */
5129
+ /* ========== Sliders ========== */
5130
+ /* ========== Progress ========== */
5131
+ /* ========== List ========== */
5132
+ /* ========== Item ========== */
5133
+ /* ========== Dropdown menu ========== */
5134
+ /* ========== Tooltips ========== */
5135
+ /* ========== Footer ========== */
5136
+ /* TEXTFIELD */
5137
+ /* SWITCH */
5138
+ /* SPINNER */
5139
+ /* RADIO */
5140
+ /* MENU */
5141
+ /* LIST */
5142
+ /* LAYOUT */
5143
+ /* ICON TOGGLE */
5144
+ /* FOOTER */
5145
+ /*mega-footer*/
5146
+ /*mini-footer*/
5147
+ /* CHECKBOX */
5148
+ /* CARD */
5149
+ /* Card dimensions */
5150
+ /* Cover image */
5151
+ /* BUTTON */
5152
+ /**
5153
+ *
5154
+ * Dimensions
5155
+ *
5156
+ */
5157
+ /* ANIMATION */
5158
+ /* PROGRESS */
5159
+ /* BADGE */
5160
+ /* SHADOWS */
5161
+ /* GRID */
5162
+ /* DATA TABLE */
5163
+ /* DIALOG */
5164
+ /* SNACKBAR */
5165
+ /* TOOLTIP */
5166
+ /* CHIP */
5167
+ /**
5168
+ * Copyright 2015 Google Inc. All Rights Reserved.
5169
+ *
5170
+ * Licensed under the Apache License, Version 2.0 (the "License");
5171
+ * you may not use this file except in compliance with the License.
5172
+ * You may obtain a copy of the License at
5173
+ *
5174
+ * http://www.apache.org/licenses/LICENSE-2.0
5175
+ *
5176
+ * Unless required by applicable law or agreed to in writing, software
5177
+ * distributed under the License is distributed on an "AS IS" BASIS,
5178
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5179
+ * See the License for the specific language governing permissions and
5180
+ * limitations under the License.
5181
+ */
5182
+ /* Typography */
5183
+ /* Shadows */
5184
+ /* Animations */
5185
+ /* Dialog */
5186
+ .mdl-dialog {
5187
+ border: none;
5188
+ box-shadow: 0 9px 46px 8px rgba(0, 0, 0, 0.14), 0 11px 15px -7px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.2);
5189
+ width: 280px; }
5190
+ .mdl-dialog__title {
5191
+ padding: 24px 24px 0;
5192
+ margin: 0;
5193
+ font-size: 2.5rem; }
5194
+ .mdl-dialog__actions {
5195
+ padding: 8px 8px 8px 24px;
5196
+ display: -webkit-flex;
5197
+ display: -ms-flexbox;
5198
+ display: flex;
5199
+ -webkit-flex-direction: row-reverse;
5200
+ -ms-flex-direction: row-reverse;
5201
+ flex-direction: row-reverse;
5202
+ -webkit-flex-wrap: wrap;
5203
+ -ms-flex-wrap: wrap;
5204
+ flex-wrap: wrap; }
5205
+ .mdl-dialog__actions > * {
5206
+ margin-right: 8px;
5207
+ height: 36px; }
5208
+ .mdl-dialog__actions > *:first-child {
5209
+ margin-right: 0; }
5210
+ .mdl-dialog__actions--full-width {
5211
+ padding: 0 0 8px 0; }
5212
+ .mdl-dialog__actions--full-width > * {
5213
+ height: 48px;
5214
+ -webkit-flex: 0 0 100%;
5215
+ -ms-flex: 0 0 100%;
5216
+ flex: 0 0 100%;
5217
+ padding-right: 16px;
5218
+ margin-right: 0;
5219
+ text-align: right; }
5220
+ .mdl-dialog__content {
5221
+ padding: 20px 24px 24px 24px;
5222
+ color: rgba(0,0,0, 0.54); }
5223
+
5224
+ /**
5225
+ * Copyright 2015 Google Inc. All Rights Reserved.
5226
+ *
5227
+ * Licensed under the Apache License, Version 2.0 (the "License");
5228
+ * you may not use this file except in compliance with the License.
5229
+ * You may obtain a copy of the License at
5230
+ *
5231
+ * http://www.apache.org/licenses/LICENSE-2.0
5232
+ *
5233
+ * Unless required by applicable law or agreed to in writing, software
5234
+ * distributed under the License is distributed on an "AS IS" BASIS,
5235
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5236
+ * See the License for the specific language governing permissions and
5237
+ * limitations under the License.
5238
+ */
5239
+ /**
5240
+ * Copyright 2015 Google Inc. All Rights Reserved.
5241
+ *
5242
+ * Licensed under the Apache License, Version 2.0 (the "License");
5243
+ * you may not use this file except in compliance with the License.
5244
+ * You may obtain a copy of the License at
5245
+ *
5246
+ * http://www.apache.org/licenses/LICENSE-2.0
5247
+ *
5248
+ * Unless required by applicable law or agreed to in writing, software
5249
+ * distributed under the License is distributed on an "AS IS" BASIS,
5250
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5251
+ * See the License for the specific language governing permissions and
5252
+ * limitations under the License.
5253
+ */
5254
+ /*------------------------------------* $CONTENTS
5255
+ \*------------------------------------*/
5256
+ /**
5257
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
5258
+ * -----Typography
5259
+ * -----Colors
5260
+ * -----Textfield
5261
+ * -----Switch
5262
+ * -----Spinner
5263
+ * -----Radio
5264
+ * -----Menu
5265
+ * -----List
5266
+ * -----Layout
5267
+ * -----Icon toggles
5268
+ * -----Footer
5269
+ * -----Column
5270
+ * -----Checkbox
5271
+ * -----Card
5272
+ * -----Button
5273
+ * -----Animation
5274
+ * -----Progress
5275
+ * -----Badge
5276
+ * -----Shadows
5277
+ * -----Grid
5278
+ * -----Data table
5279
+ * -----Dialog
5280
+ * -----Snackbar
5281
+ * -----Tooltip
5282
+ * -----Chip
5283
+ *
5284
+ * Even though all variables have the `!default` directive, most of them
5285
+ * should not be changed as they are dependent one another. This can cause
5286
+ * visual distortions (like alignment issues) that are hard to track down
5287
+ * and fix.
5288
+ */
5289
+ /* ========== TYPOGRAPHY ========== */
5290
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
5291
+ page loading. For important text, such as the body, we want it to load
5292
+ immediately and not wait for the web font load, whereas for other sections,
5293
+ such as headers and titles, we're OK with things taking a bit longer to load.
5294
+ We do have some optional classes and parameters in the mixins, in case you
5295
+ definitely want to make sure you're using the preferred font and don't mind
5296
+ the performance hit.
5297
+ We should be able to improve on this once CSS Font Loading L3 becomes more
5298
+ widely available.
5299
+ */
5300
+ /* ========== COLORS ========== */
5301
+ /**
5302
+ *
5303
+ * Material design color palettes.
5304
+ * @see http://www.google.com/design/spec/style/color.html
5305
+ *
5306
+ **/
5307
+ /**
5308
+ * Copyright 2015 Google Inc. All Rights Reserved.
5309
+ *
5310
+ * Licensed under the Apache License, Version 2.0 (the "License");
5311
+ * you may not use this file except in compliance with the License.
5312
+ * You may obtain a copy of the License at
5313
+ *
5314
+ * http://www.apache.org/licenses/LICENSE-2.0
5315
+ *
5316
+ * Unless required by applicable law or agreed to in writing, software
5317
+ * distributed under the License is distributed on an "AS IS" BASIS,
5318
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5319
+ * See the License for the specific language governing permissions and
5320
+ * limitations under the License.
5321
+ */
5322
+ /* ========== Color Palettes ========== */
5323
+ /* colors.scss */
5324
+ /**
5325
+ * Copyright 2015 Google Inc. All Rights Reserved.
5326
+ *
5327
+ * Licensed under the Apache License, Version 2.0 (the "License");
5328
+ * you may not use this file except in compliance with the License.
5329
+ * You may obtain a copy of the License at
5330
+ *
5331
+ * http://www.apache.org/licenses/LICENSE-2.0
5332
+ *
5333
+ * Unless required by applicable law or agreed to in writing, software
5334
+ * distributed under the License is distributed on an "AS IS" BASIS,
5335
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5336
+ * See the License for the specific language governing permissions and
5337
+ * limitations under the License.
5338
+ */
5339
+ /* ========== IMAGES ========== */
5340
+ /* ========== Color & Themes ========== */
5341
+ /* ========== Typography ========== */
5342
+ /* ========== Components ========== */
5343
+ /* ========== Standard Buttons ========== */
5344
+ /* ========== Icon Toggles ========== */
5345
+ /* ========== Radio Buttons ========== */
5346
+ /* ========== Ripple effect ========== */
5347
+ /* ========== Layout ========== */
5348
+ /* ========== Content Tabs ========== */
5349
+ /* ========== Checkboxes ========== */
5350
+ /* ========== Switches ========== */
5351
+ /* ========== Spinner ========== */
5352
+ /* ========== Text fields ========== */
5353
+ /* ========== Card ========== */
5354
+ /* ========== Sliders ========== */
5355
+ /* ========== Progress ========== */
5356
+ /* ========== List ========== */
5357
+ /* ========== Item ========== */
5358
+ /* ========== Dropdown menu ========== */
5359
+ /* ========== Tooltips ========== */
5360
+ /* ========== Footer ========== */
5361
+ /* TEXTFIELD */
5362
+ /* SWITCH */
5363
+ /* SPINNER */
5364
+ /* RADIO */
5365
+ /* MENU */
5366
+ /* LIST */
5367
+ /* LAYOUT */
5368
+ /* ICON TOGGLE */
5369
+ /* FOOTER */
5370
+ /*mega-footer*/
5371
+ /*mini-footer*/
5372
+ /* CHECKBOX */
5373
+ /* CARD */
5374
+ /* Card dimensions */
5375
+ /* Cover image */
5376
+ /* BUTTON */
5377
+ /**
5378
+ *
5379
+ * Dimensions
5380
+ *
5381
+ */
5382
+ /* ANIMATION */
5383
+ /* PROGRESS */
5384
+ /* BADGE */
5385
+ /* SHADOWS */
5386
+ /* GRID */
5387
+ /* DATA TABLE */
5388
+ /* DIALOG */
5389
+ /* SNACKBAR */
5390
+ /* TOOLTIP */
5391
+ /* CHIP */
5392
+ /**
5393
+ * Copyright 2015 Google Inc. All Rights Reserved.
5394
+ *
5395
+ * Licensed under the Apache License, Version 2.0 (the "License");
5396
+ * you may not use this file except in compliance with the License.
5397
+ * You may obtain a copy of the License at
5398
+ *
5399
+ * http://www.apache.org/licenses/LICENSE-2.0
5400
+ *
5401
+ * Unless required by applicable law or agreed to in writing, software
5402
+ * distributed under the License is distributed on an "AS IS" BASIS,
5403
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5404
+ * See the License for the specific language governing permissions and
5405
+ * limitations under the License.
5406
+ */
5407
+ /* Typography */
5408
+ /* Shadows */
5409
+ /* Animations */
5410
+ /* Dialog */
5411
+ .mdl-mega-footer {
5412
+ padding: 16px 40px;
5413
+ color: rgb(158,158,158);
5414
+ background-color: rgb(66,66,66); }
5415
+
5416
+ .mdl-mega-footer--top-section:after,
5417
+ .mdl-mega-footer--middle-section:after,
5418
+ .mdl-mega-footer--bottom-section:after,
5419
+ .mdl-mega-footer__top-section:after,
5420
+ .mdl-mega-footer__middle-section:after,
5421
+ .mdl-mega-footer__bottom-section:after {
5422
+ content: '';
5423
+ display: block;
5424
+ clear: both; }
5425
+
5426
+ .mdl-mega-footer--left-section,
5427
+ .mdl-mega-footer__left-section {
5428
+ margin-bottom: 16px; }
5429
+
5430
+ .mdl-mega-footer--right-section,
5431
+ .mdl-mega-footer__right-section {
5432
+ margin-bottom: 16px; }
5433
+
5434
+ .mdl-mega-footer--right-section a,
5435
+ .mdl-mega-footer__right-section a {
5436
+ display: block;
5437
+ margin-bottom: 16px;
5438
+ color: inherit;
5439
+ text-decoration: none; }
5440
+
5441
+ @media screen and (min-width: 760px) {
5442
+ .mdl-mega-footer--left-section,
5443
+ .mdl-mega-footer__left-section {
5444
+ float: left; }
5445
+ .mdl-mega-footer--right-section,
5446
+ .mdl-mega-footer__right-section {
5447
+ float: right; }
5448
+ .mdl-mega-footer--right-section a,
5449
+ .mdl-mega-footer__right-section a {
5450
+ display: inline-block;
5451
+ margin-left: 16px;
5452
+ line-height: 36px;
5453
+ vertical-align: middle; } }
5454
+
5455
+ .mdl-mega-footer--social-btn,
5456
+ .mdl-mega-footer__social-btn {
5457
+ width: 36px;
5458
+ height: 36px;
5459
+ padding: 0;
5460
+ margin: 0;
5461
+ background-color: rgb(158,158,158);
5462
+ border: none; }
5463
+
5464
+ .mdl-mega-footer--drop-down-section,
5465
+ .mdl-mega-footer__drop-down-section {
5466
+ display: block;
5467
+ position: relative; }
5468
+
5469
+ @media screen and (min-width: 760px) {
5470
+ .mdl-mega-footer--drop-down-section,
5471
+ .mdl-mega-footer__drop-down-section {
5472
+ width: 33%; }
5473
+ .mdl-mega-footer--drop-down-section:nth-child(1),
5474
+ .mdl-mega-footer--drop-down-section:nth-child(2),
5475
+ .mdl-mega-footer__drop-down-section:nth-child(1),
5476
+ .mdl-mega-footer__drop-down-section:nth-child(2) {
5477
+ float: left; }
5478
+ .mdl-mega-footer--drop-down-section:nth-child(3),
5479
+ .mdl-mega-footer__drop-down-section:nth-child(3) {
5480
+ float: right; }
5481
+ .mdl-mega-footer--drop-down-section:nth-child(3):after,
5482
+ .mdl-mega-footer__drop-down-section:nth-child(3):after {
5483
+ clear: right; }
5484
+ .mdl-mega-footer--drop-down-section:nth-child(4),
5485
+ .mdl-mega-footer__drop-down-section:nth-child(4) {
5486
+ clear: right;
5487
+ float: right; }
5488
+ .mdl-mega-footer--middle-section:after,
5489
+ .mdl-mega-footer__middle-section:after {
5490
+ content: '';
5491
+ display: block;
5492
+ clear: both; }
5493
+ .mdl-mega-footer--bottom-section,
5494
+ .mdl-mega-footer__bottom-section {
5495
+ padding-top: 0; } }
5496
+
5497
+ @media screen and (min-width: 1024px) {
5498
+ .mdl-mega-footer--drop-down-section,
5499
+ .mdl-mega-footer--drop-down-section:nth-child(3),
5500
+ .mdl-mega-footer--drop-down-section:nth-child(4),
5501
+ .mdl-mega-footer__drop-down-section,
5502
+ .mdl-mega-footer__drop-down-section:nth-child(3),
5503
+ .mdl-mega-footer__drop-down-section:nth-child(4) {
5504
+ width: 24%;
5505
+ float: left; } }
5506
+
5507
+ .mdl-mega-footer--heading-checkbox,
5508
+ .mdl-mega-footer__heading-checkbox {
5509
+ position: absolute;
5510
+ width: 100%;
5511
+ height: 55.8px;
5512
+ padding: 32px;
5513
+ margin: 0;
5514
+ margin-top: -16px;
5515
+ cursor: pointer;
5516
+ z-index: 1;
5517
+ opacity: 0; }
5518
+ .mdl-mega-footer--heading-checkbox + .mdl-mega-footer--heading:after,
5519
+ .mdl-mega-footer--heading-checkbox + .mdl-mega-footer__heading:after,
5520
+ .mdl-mega-footer__heading-checkbox + .mdl-mega-footer--heading:after,
5521
+ .mdl-mega-footer__heading-checkbox + .mdl-mega-footer__heading:after {
5522
+ font-family: 'Material Icons';
5523
+ content: '\E5CE'; }
5524
+
5525
+ .mdl-mega-footer--heading-checkbox:checked ~ .mdl-mega-footer--link-list,
5526
+ .mdl-mega-footer--heading-checkbox:checked ~ .mdl-mega-footer__link-list,
5527
+ .mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer--heading + .mdl-mega-footer--link-list,
5528
+ .mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer__heading + .mdl-mega-footer__link-list,
5529
+ .mdl-mega-footer__heading-checkbox:checked ~ .mdl-mega-footer--link-list,
5530
+ .mdl-mega-footer__heading-checkbox:checked ~ .mdl-mega-footer__link-list,
5531
+ .mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer--heading + .mdl-mega-footer--link-list,
5532
+ .mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer__heading + .mdl-mega-footer__link-list {
5533
+ display: none; }
5534
+
5535
+ .mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer--heading:after,
5536
+ .mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer__heading:after,
5537
+ .mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer--heading:after,
5538
+ .mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer__heading:after {
5539
+ font-family: 'Material Icons';
5540
+ content: '\E5CF'; }
5541
+
5542
+ .mdl-mega-footer--heading,
5543
+ .mdl-mega-footer__heading {
5544
+ position: relative;
5545
+ width: 100%;
5546
+ padding-right: 39.8px;
5547
+ margin-bottom: 16px;
5548
+ box-sizing: border-box;
5549
+ font-size: 14px;
5550
+ line-height: 23.8px;
5551
+ font-weight: 500;
5552
+ white-space: nowrap;
5553
+ text-overflow: ellipsis;
5554
+ overflow: hidden;
5555
+ color: rgb(224,224,224); }
5556
+
5557
+ .mdl-mega-footer--heading:after,
5558
+ .mdl-mega-footer__heading:after {
5559
+ content: '';
5560
+ position: absolute;
5561
+ top: 0;
5562
+ right: 0;
5563
+ display: block;
5564
+ width: 23.8px;
5565
+ height: 23.8px;
5566
+ background-size: cover; }
5567
+
5568
+ .mdl-mega-footer--link-list,
5569
+ .mdl-mega-footer__link-list {
5570
+ list-style: none;
5571
+ margin: 0;
5572
+ padding: 0;
5573
+ margin-bottom: 32px; }
5574
+ .mdl-mega-footer--link-list:after,
5575
+ .mdl-mega-footer__link-list:after {
5576
+ clear: both;
5577
+ display: block;
5578
+ content: ''; }
5579
+
5580
+ .mdl-mega-footer--link-list li,
5581
+ .mdl-mega-footer__link-list li {
5582
+ font-size: 14px;
5583
+ font-weight: 400;
5584
+ line-height: 24px;
5585
+ letter-spacing: 0;
5586
+ line-height: 20px; }
5587
+
5588
+ .mdl-mega-footer--link-list a,
5589
+ .mdl-mega-footer__link-list a {
5590
+ color: inherit;
5591
+ text-decoration: none;
5592
+ white-space: nowrap; }
5593
+
5594
+ @media screen and (min-width: 760px) {
5595
+ .mdl-mega-footer--heading-checkbox,
5596
+ .mdl-mega-footer__heading-checkbox {
5597
+ display: none; }
5598
+ .mdl-mega-footer--heading-checkbox + .mdl-mega-footer--heading:after,
5599
+ .mdl-mega-footer--heading-checkbox + .mdl-mega-footer__heading:after,
5600
+ .mdl-mega-footer__heading-checkbox + .mdl-mega-footer--heading:after,
5601
+ .mdl-mega-footer__heading-checkbox + .mdl-mega-footer__heading:after {
5602
+ content: ''; }
5603
+ .mdl-mega-footer--heading-checkbox:checked ~ .mdl-mega-footer--link-list,
5604
+ .mdl-mega-footer--heading-checkbox:checked ~ .mdl-mega-footer__link-list,
5605
+ .mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer__heading + .mdl-mega-footer__link-list,
5606
+ .mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer--heading + .mdl-mega-footer--link-list,
5607
+ .mdl-mega-footer__heading-checkbox:checked ~ .mdl-mega-footer--link-list,
5608
+ .mdl-mega-footer__heading-checkbox:checked ~ .mdl-mega-footer__link-list,
5609
+ .mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer__heading + .mdl-mega-footer__link-list,
5610
+ .mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer--heading + .mdl-mega-footer--link-list {
5611
+ display: block; }
5612
+ .mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer--heading:after,
5613
+ .mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer__heading:after,
5614
+ .mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer--heading:after,
5615
+ .mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer__heading:after {
5616
+ content: ''; } }
5617
+
5618
+ .mdl-mega-footer--bottom-section,
5619
+ .mdl-mega-footer__bottom-section {
5620
+ padding-top: 16px;
5621
+ margin-bottom: 16px; }
5622
+
5623
+ .mdl-logo {
5624
+ margin-bottom: 16px;
5625
+ color: white; }
5626
+
5627
+ .mdl-mega-footer--bottom-section .mdl-mega-footer--link-list li,
5628
+ .mdl-mega-footer__bottom-section .mdl-mega-footer__link-list li {
5629
+ float: left;
5630
+ margin-bottom: 0;
5631
+ margin-right: 16px; }
5632
+
5633
+ @media screen and (min-width: 760px) {
5634
+ .mdl-logo {
5635
+ float: left;
5636
+ margin-bottom: 0;
5637
+ margin-right: 16px; } }
5638
+
5639
+ /**
5640
+ * Copyright 2015 Google Inc. All Rights Reserved.
5641
+ *
5642
+ * Licensed under the Apache License, Version 2.0 (the "License");
5643
+ * you may not use this file except in compliance with the License.
5644
+ * You may obtain a copy of the License at
5645
+ *
5646
+ * http://www.apache.org/licenses/LICENSE-2.0
5647
+ *
5648
+ * Unless required by applicable law or agreed to in writing, software
5649
+ * distributed under the License is distributed on an "AS IS" BASIS,
5650
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5651
+ * See the License for the specific language governing permissions and
5652
+ * limitations under the License.
5653
+ */
5654
+ /**
5655
+ * Copyright 2015 Google Inc. All Rights Reserved.
5656
+ *
5657
+ * Licensed under the Apache License, Version 2.0 (the "License");
5658
+ * you may not use this file except in compliance with the License.
5659
+ * You may obtain a copy of the License at
5660
+ *
5661
+ * http://www.apache.org/licenses/LICENSE-2.0
5662
+ *
5663
+ * Unless required by applicable law or agreed to in writing, software
5664
+ * distributed under the License is distributed on an "AS IS" BASIS,
5665
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5666
+ * See the License for the specific language governing permissions and
5667
+ * limitations under the License.
5668
+ */
5669
+ /*------------------------------------* $CONTENTS
5670
+ \*------------------------------------*/
5671
+ /**
5672
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
5673
+ * -----Typography
5674
+ * -----Colors
5675
+ * -----Textfield
5676
+ * -----Switch
5677
+ * -----Spinner
5678
+ * -----Radio
5679
+ * -----Menu
5680
+ * -----List
5681
+ * -----Layout
5682
+ * -----Icon toggles
5683
+ * -----Footer
5684
+ * -----Column
5685
+ * -----Checkbox
5686
+ * -----Card
5687
+ * -----Button
5688
+ * -----Animation
5689
+ * -----Progress
5690
+ * -----Badge
5691
+ * -----Shadows
5692
+ * -----Grid
5693
+ * -----Data table
5694
+ * -----Dialog
5695
+ * -----Snackbar
5696
+ * -----Tooltip
5697
+ * -----Chip
5698
+ *
5699
+ * Even though all variables have the `!default` directive, most of them
5700
+ * should not be changed as they are dependent one another. This can cause
5701
+ * visual distortions (like alignment issues) that are hard to track down
5702
+ * and fix.
5703
+ */
5704
+ /* ========== TYPOGRAPHY ========== */
5705
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
5706
+ page loading. For important text, such as the body, we want it to load
5707
+ immediately and not wait for the web font load, whereas for other sections,
5708
+ such as headers and titles, we're OK with things taking a bit longer to load.
5709
+ We do have some optional classes and parameters in the mixins, in case you
5710
+ definitely want to make sure you're using the preferred font and don't mind
5711
+ the performance hit.
5712
+ We should be able to improve on this once CSS Font Loading L3 becomes more
5713
+ widely available.
5714
+ */
5715
+ /* ========== COLORS ========== */
5716
+ /**
5717
+ *
5718
+ * Material design color palettes.
5719
+ * @see http://www.google.com/design/spec/style/color.html
5720
+ *
5721
+ **/
5722
+ /**
5723
+ * Copyright 2015 Google Inc. All Rights Reserved.
5724
+ *
5725
+ * Licensed under the Apache License, Version 2.0 (the "License");
5726
+ * you may not use this file except in compliance with the License.
5727
+ * You may obtain a copy of the License at
5728
+ *
5729
+ * http://www.apache.org/licenses/LICENSE-2.0
5730
+ *
5731
+ * Unless required by applicable law or agreed to in writing, software
5732
+ * distributed under the License is distributed on an "AS IS" BASIS,
5733
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5734
+ * See the License for the specific language governing permissions and
5735
+ * limitations under the License.
5736
+ */
5737
+ /* ========== Color Palettes ========== */
5738
+ /* colors.scss */
5739
+ /**
5740
+ * Copyright 2015 Google Inc. All Rights Reserved.
5741
+ *
5742
+ * Licensed under the Apache License, Version 2.0 (the "License");
5743
+ * you may not use this file except in compliance with the License.
5744
+ * You may obtain a copy of the License at
5745
+ *
5746
+ * http://www.apache.org/licenses/LICENSE-2.0
5747
+ *
5748
+ * Unless required by applicable law or agreed to in writing, software
5749
+ * distributed under the License is distributed on an "AS IS" BASIS,
5750
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5751
+ * See the License for the specific language governing permissions and
5752
+ * limitations under the License.
5753
+ */
5754
+ /* ========== IMAGES ========== */
5755
+ /* ========== Color & Themes ========== */
5756
+ /* ========== Typography ========== */
5757
+ /* ========== Components ========== */
5758
+ /* ========== Standard Buttons ========== */
5759
+ /* ========== Icon Toggles ========== */
5760
+ /* ========== Radio Buttons ========== */
5761
+ /* ========== Ripple effect ========== */
5762
+ /* ========== Layout ========== */
5763
+ /* ========== Content Tabs ========== */
5764
+ /* ========== Checkboxes ========== */
5765
+ /* ========== Switches ========== */
5766
+ /* ========== Spinner ========== */
5767
+ /* ========== Text fields ========== */
5768
+ /* ========== Card ========== */
5769
+ /* ========== Sliders ========== */
5770
+ /* ========== Progress ========== */
5771
+ /* ========== List ========== */
5772
+ /* ========== Item ========== */
5773
+ /* ========== Dropdown menu ========== */
5774
+ /* ========== Tooltips ========== */
5775
+ /* ========== Footer ========== */
5776
+ /* TEXTFIELD */
5777
+ /* SWITCH */
5778
+ /* SPINNER */
5779
+ /* RADIO */
5780
+ /* MENU */
5781
+ /* LIST */
5782
+ /* LAYOUT */
5783
+ /* ICON TOGGLE */
5784
+ /* FOOTER */
5785
+ /*mega-footer*/
5786
+ /*mini-footer*/
5787
+ /* CHECKBOX */
5788
+ /* CARD */
5789
+ /* Card dimensions */
5790
+ /* Cover image */
5791
+ /* BUTTON */
5792
+ /**
5793
+ *
5794
+ * Dimensions
5795
+ *
5796
+ */
5797
+ /* ANIMATION */
5798
+ /* PROGRESS */
5799
+ /* BADGE */
5800
+ /* SHADOWS */
5801
+ /* GRID */
5802
+ /* DATA TABLE */
5803
+ /* DIALOG */
5804
+ /* SNACKBAR */
5805
+ /* TOOLTIP */
5806
+ /* CHIP */
5807
+ .mdl-mini-footer {
5808
+ display: -webkit-flex;
5809
+ display: -ms-flexbox;
5810
+ display: flex;
5811
+ -webkit-flex-flow: row wrap;
5812
+ -ms-flex-flow: row wrap;
5813
+ flex-flow: row wrap;
5814
+ -webkit-justify-content: space-between;
5815
+ -ms-flex-pack: justify;
5816
+ justify-content: space-between;
5817
+ padding: 32px 16px;
5818
+ color: rgb(158,158,158);
5819
+ background-color: rgb(66,66,66); }
5820
+ .mdl-mini-footer:after {
5821
+ content: '';
5822
+ display: block; }
5823
+ .mdl-mini-footer .mdl-logo {
5824
+ line-height: 36px; }
5825
+
5826
+ .mdl-mini-footer--link-list,
5827
+ .mdl-mini-footer__link-list {
5828
+ display: -webkit-flex;
5829
+ display: -ms-flexbox;
5830
+ display: flex;
5831
+ -webkit-flex-flow: row nowrap;
5832
+ -ms-flex-flow: row nowrap;
5833
+ flex-flow: row nowrap;
5834
+ list-style: none;
5835
+ margin: 0;
5836
+ padding: 0; }
5837
+ .mdl-mini-footer--link-list li,
5838
+ .mdl-mini-footer__link-list li {
5839
+ margin-bottom: 0;
5840
+ margin-right: 16px; }
5841
+ @media screen and (min-width: 760px) {
5842
+ .mdl-mini-footer--link-list li,
5843
+ .mdl-mini-footer__link-list li {
5844
+ line-height: 36px; } }
5845
+ .mdl-mini-footer--link-list a,
5846
+ .mdl-mini-footer__link-list a {
5847
+ color: inherit;
5848
+ text-decoration: none;
5849
+ white-space: nowrap; }
5850
+
5851
+ .mdl-mini-footer--left-section,
5852
+ .mdl-mini-footer__left-section {
5853
+ display: inline-block;
5854
+ -webkit-order: 0;
5855
+ -ms-flex-order: 0;
5856
+ order: 0; }
5857
+
5858
+ .mdl-mini-footer--right-section,
5859
+ .mdl-mini-footer__right-section {
5860
+ display: inline-block;
5861
+ -webkit-order: 1;
5862
+ -ms-flex-order: 1;
5863
+ order: 1; }
5864
+
5865
+ .mdl-mini-footer--social-btn,
5866
+ .mdl-mini-footer__social-btn {
5867
+ width: 36px;
5868
+ height: 36px;
5869
+ padding: 0;
5870
+ margin: 0;
5871
+ background-color: rgb(158,158,158);
5872
+ border: none; }
5873
+
5874
+ /**
5875
+ * Copyright 2015 Google Inc. All Rights Reserved.
5876
+ *
5877
+ * Licensed under the Apache License, Version 2.0 (the "License");
5878
+ * you may not use this file except in compliance with the License.
5879
+ * You may obtain a copy of the License at
5880
+ *
5881
+ * http://www.apache.org/licenses/LICENSE-2.0
5882
+ *
5883
+ * Unless required by applicable law or agreed to in writing, software
5884
+ * distributed under the License is distributed on an "AS IS" BASIS,
5885
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5886
+ * See the License for the specific language governing permissions and
5887
+ * limitations under the License.
5888
+ */
5889
+ /**
5890
+ * Copyright 2015 Google Inc. All Rights Reserved.
5891
+ *
5892
+ * Licensed under the Apache License, Version 2.0 (the "License");
5893
+ * you may not use this file except in compliance with the License.
5894
+ * You may obtain a copy of the License at
5895
+ *
5896
+ * http://www.apache.org/licenses/LICENSE-2.0
5897
+ *
5898
+ * Unless required by applicable law or agreed to in writing, software
5899
+ * distributed under the License is distributed on an "AS IS" BASIS,
5900
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5901
+ * See the License for the specific language governing permissions and
5902
+ * limitations under the License.
5903
+ */
5904
+ /*------------------------------------* $CONTENTS
5905
+ \*------------------------------------*/
5906
+ /**
5907
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
5908
+ * -----Typography
5909
+ * -----Colors
5910
+ * -----Textfield
5911
+ * -----Switch
5912
+ * -----Spinner
5913
+ * -----Radio
5914
+ * -----Menu
5915
+ * -----List
5916
+ * -----Layout
5917
+ * -----Icon toggles
5918
+ * -----Footer
5919
+ * -----Column
5920
+ * -----Checkbox
5921
+ * -----Card
5922
+ * -----Button
5923
+ * -----Animation
5924
+ * -----Progress
5925
+ * -----Badge
5926
+ * -----Shadows
5927
+ * -----Grid
5928
+ * -----Data table
5929
+ * -----Dialog
5930
+ * -----Snackbar
5931
+ * -----Tooltip
5932
+ * -----Chip
5933
+ *
5934
+ * Even though all variables have the `!default` directive, most of them
5935
+ * should not be changed as they are dependent one another. This can cause
5936
+ * visual distortions (like alignment issues) that are hard to track down
5937
+ * and fix.
5938
+ */
5939
+ /* ========== TYPOGRAPHY ========== */
5940
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
5941
+ page loading. For important text, such as the body, we want it to load
5942
+ immediately and not wait for the web font load, whereas for other sections,
5943
+ such as headers and titles, we're OK with things taking a bit longer to load.
5944
+ We do have some optional classes and parameters in the mixins, in case you
5945
+ definitely want to make sure you're using the preferred font and don't mind
5946
+ the performance hit.
5947
+ We should be able to improve on this once CSS Font Loading L3 becomes more
5948
+ widely available.
5949
+ */
5950
+ /* ========== COLORS ========== */
5951
+ /**
5952
+ *
5953
+ * Material design color palettes.
5954
+ * @see http://www.google.com/design/spec/style/color.html
5955
+ *
5956
+ **/
5957
+ /**
5958
+ * Copyright 2015 Google Inc. All Rights Reserved.
5959
+ *
5960
+ * Licensed under the Apache License, Version 2.0 (the "License");
5961
+ * you may not use this file except in compliance with the License.
5962
+ * You may obtain a copy of the License at
5963
+ *
5964
+ * http://www.apache.org/licenses/LICENSE-2.0
5965
+ *
5966
+ * Unless required by applicable law or agreed to in writing, software
5967
+ * distributed under the License is distributed on an "AS IS" BASIS,
5968
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5969
+ * See the License for the specific language governing permissions and
5970
+ * limitations under the License.
5971
+ */
5972
+ /* ========== Color Palettes ========== */
5973
+ /* colors.scss */
5974
+ /**
5975
+ * Copyright 2015 Google Inc. All Rights Reserved.
5976
+ *
5977
+ * Licensed under the Apache License, Version 2.0 (the "License");
5978
+ * you may not use this file except in compliance with the License.
5979
+ * You may obtain a copy of the License at
5980
+ *
5981
+ * http://www.apache.org/licenses/LICENSE-2.0
5982
+ *
5983
+ * Unless required by applicable law or agreed to in writing, software
5984
+ * distributed under the License is distributed on an "AS IS" BASIS,
5985
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5986
+ * See the License for the specific language governing permissions and
5987
+ * limitations under the License.
5988
+ */
5989
+ /* ========== IMAGES ========== */
5990
+ /* ========== Color & Themes ========== */
5991
+ /* ========== Typography ========== */
5992
+ /* ========== Components ========== */
5993
+ /* ========== Standard Buttons ========== */
5994
+ /* ========== Icon Toggles ========== */
5995
+ /* ========== Radio Buttons ========== */
5996
+ /* ========== Ripple effect ========== */
5997
+ /* ========== Layout ========== */
5998
+ /* ========== Content Tabs ========== */
5999
+ /* ========== Checkboxes ========== */
6000
+ /* ========== Switches ========== */
6001
+ /* ========== Spinner ========== */
6002
+ /* ========== Text fields ========== */
6003
+ /* ========== Card ========== */
6004
+ /* ========== Sliders ========== */
6005
+ /* ========== Progress ========== */
6006
+ /* ========== List ========== */
6007
+ /* ========== Item ========== */
6008
+ /* ========== Dropdown menu ========== */
6009
+ /* ========== Tooltips ========== */
6010
+ /* ========== Footer ========== */
6011
+ /* TEXTFIELD */
6012
+ /* SWITCH */
6013
+ /* SPINNER */
6014
+ /* RADIO */
6015
+ /* MENU */
6016
+ /* LIST */
6017
+ /* LAYOUT */
6018
+ /* ICON TOGGLE */
6019
+ /* FOOTER */
6020
+ /*mega-footer*/
6021
+ /*mini-footer*/
6022
+ /* CHECKBOX */
6023
+ /* CARD */
6024
+ /* Card dimensions */
6025
+ /* Cover image */
6026
+ /* BUTTON */
6027
+ /**
6028
+ *
6029
+ * Dimensions
6030
+ *
6031
+ */
6032
+ /* ANIMATION */
6033
+ /* PROGRESS */
6034
+ /* BADGE */
6035
+ /* SHADOWS */
6036
+ /* GRID */
6037
+ /* DATA TABLE */
6038
+ /* DIALOG */
6039
+ /* SNACKBAR */
6040
+ /* TOOLTIP */
6041
+ /* CHIP */
6042
+ .mdl-icon-toggle {
6043
+ position: relative;
6044
+ z-index: 1;
6045
+ vertical-align: middle;
6046
+ display: inline-block;
6047
+ height: 32px;
6048
+ margin: 0;
6049
+ padding: 0; }
6050
+
6051
+ .mdl-icon-toggle__input {
6052
+ line-height: 32px; }
6053
+ .mdl-icon-toggle.is-upgraded .mdl-icon-toggle__input {
6054
+ position: absolute;
6055
+ width: 0;
6056
+ height: 0;
6057
+ margin: 0;
6058
+ padding: 0;
6059
+ opacity: 0;
6060
+ -ms-appearance: none;
6061
+ -moz-appearance: none;
6062
+ -webkit-appearance: none;
6063
+ appearance: none;
6064
+ border: none; }
6065
+
6066
+ .mdl-icon-toggle__label {
6067
+ display: inline-block;
6068
+ position: relative;
6069
+ cursor: pointer;
6070
+ height: 32px;
6071
+ width: 32px;
6072
+ min-width: 32px;
6073
+ color: rgb(97,97,97);
6074
+ border-radius: 50%;
6075
+ padding: 0;
6076
+ margin-left: 0;
6077
+ margin-right: 0;
6078
+ text-align: center;
6079
+ background-color: transparent;
6080
+ will-change: background-color;
6081
+ transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
6082
+ .mdl-icon-toggle__label.material-icons {
6083
+ line-height: 32px;
6084
+ font-size: 24px; }
6085
+ .mdl-icon-toggle.is-checked .mdl-icon-toggle__label {
6086
+ color: rgb(63,81,181); }
6087
+ .mdl-icon-toggle.is-disabled .mdl-icon-toggle__label {
6088
+ color: rgba(0,0,0, 0.26);
6089
+ cursor: auto;
6090
+ transition: none; }
6091
+ .mdl-icon-toggle.is-focused .mdl-icon-toggle__label {
6092
+ background-color: rgba(0,0,0, 0.12); }
6093
+ .mdl-icon-toggle.is-focused.is-checked .mdl-icon-toggle__label {
6094
+ background-color: rgba(63,81,181, 0.26); }
6095
+
6096
+ .mdl-icon-toggle__ripple-container {
6097
+ position: absolute;
6098
+ z-index: 2;
6099
+ top: -2px;
6100
+ left: -2px;
6101
+ box-sizing: border-box;
6102
+ width: 36px;
6103
+ height: 36px;
6104
+ border-radius: 50%;
6105
+ cursor: pointer;
6106
+ overflow: hidden;
6107
+ -webkit-mask-image: -webkit-radial-gradient(circle, white, black); }
6108
+ .mdl-icon-toggle__ripple-container .mdl-ripple {
6109
+ background: rgb(97,97,97); }
6110
+ .mdl-icon-toggle.is-disabled .mdl-icon-toggle__ripple-container {
6111
+ cursor: auto; }
6112
+ .mdl-icon-toggle.is-disabled .mdl-icon-toggle__ripple-container .mdl-ripple {
6113
+ background: transparent; }
6114
+
6115
+ /**
6116
+ * Copyright 2015 Google Inc. All Rights Reserved.
6117
+ *
6118
+ * Licensed under the Apache License, Version 2.0 (the "License");
6119
+ * you may not use this file except in compliance with the License.
6120
+ * You may obtain a copy of the License at
6121
+ *
6122
+ * http://www.apache.org/licenses/LICENSE-2.0
6123
+ *
6124
+ * Unless required by applicable law or agreed to in writing, software
6125
+ * distributed under the License is distributed on an "AS IS" BASIS,
6126
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6127
+ * See the License for the specific language governing permissions and
6128
+ * limitations under the License.
6129
+ */
6130
+ /**
6131
+ * Copyright 2015 Google Inc. All Rights Reserved.
6132
+ *
6133
+ * Licensed under the Apache License, Version 2.0 (the "License");
6134
+ * you may not use this file except in compliance with the License.
6135
+ * You may obtain a copy of the License at
6136
+ *
6137
+ * http://www.apache.org/licenses/LICENSE-2.0
6138
+ *
6139
+ * Unless required by applicable law or agreed to in writing, software
6140
+ * distributed under the License is distributed on an "AS IS" BASIS,
6141
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6142
+ * See the License for the specific language governing permissions and
6143
+ * limitations under the License.
6144
+ */
6145
+ /*------------------------------------* $CONTENTS
6146
+ \*------------------------------------*/
6147
+ /**
6148
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
6149
+ * -----Typography
6150
+ * -----Colors
6151
+ * -----Textfield
6152
+ * -----Switch
6153
+ * -----Spinner
6154
+ * -----Radio
6155
+ * -----Menu
6156
+ * -----List
6157
+ * -----Layout
6158
+ * -----Icon toggles
6159
+ * -----Footer
6160
+ * -----Column
6161
+ * -----Checkbox
6162
+ * -----Card
6163
+ * -----Button
6164
+ * -----Animation
6165
+ * -----Progress
6166
+ * -----Badge
6167
+ * -----Shadows
6168
+ * -----Grid
6169
+ * -----Data table
6170
+ * -----Dialog
6171
+ * -----Snackbar
6172
+ * -----Tooltip
6173
+ * -----Chip
6174
+ *
6175
+ * Even though all variables have the `!default` directive, most of them
6176
+ * should not be changed as they are dependent one another. This can cause
6177
+ * visual distortions (like alignment issues) that are hard to track down
6178
+ * and fix.
6179
+ */
6180
+ /* ========== TYPOGRAPHY ========== */
6181
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
6182
+ page loading. For important text, such as the body, we want it to load
6183
+ immediately and not wait for the web font load, whereas for other sections,
6184
+ such as headers and titles, we're OK with things taking a bit longer to load.
6185
+ We do have some optional classes and parameters in the mixins, in case you
6186
+ definitely want to make sure you're using the preferred font and don't mind
6187
+ the performance hit.
6188
+ We should be able to improve on this once CSS Font Loading L3 becomes more
6189
+ widely available.
6190
+ */
6191
+ /* ========== COLORS ========== */
6192
+ /**
6193
+ *
6194
+ * Material design color palettes.
6195
+ * @see http://www.google.com/design/spec/style/color.html
6196
+ *
6197
+ **/
6198
+ /**
6199
+ * Copyright 2015 Google Inc. All Rights Reserved.
6200
+ *
6201
+ * Licensed under the Apache License, Version 2.0 (the "License");
6202
+ * you may not use this file except in compliance with the License.
6203
+ * You may obtain a copy of the License at
6204
+ *
6205
+ * http://www.apache.org/licenses/LICENSE-2.0
6206
+ *
6207
+ * Unless required by applicable law or agreed to in writing, software
6208
+ * distributed under the License is distributed on an "AS IS" BASIS,
6209
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6210
+ * See the License for the specific language governing permissions and
6211
+ * limitations under the License.
6212
+ */
6213
+ /* ========== Color Palettes ========== */
6214
+ /* colors.scss */
6215
+ /**
6216
+ * Copyright 2015 Google Inc. All Rights Reserved.
6217
+ *
6218
+ * Licensed under the Apache License, Version 2.0 (the "License");
6219
+ * you may not use this file except in compliance with the License.
6220
+ * You may obtain a copy of the License at
6221
+ *
6222
+ * http://www.apache.org/licenses/LICENSE-2.0
6223
+ *
6224
+ * Unless required by applicable law or agreed to in writing, software
6225
+ * distributed under the License is distributed on an "AS IS" BASIS,
6226
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6227
+ * See the License for the specific language governing permissions and
6228
+ * limitations under the License.
6229
+ */
6230
+ /* ========== IMAGES ========== */
6231
+ /* ========== Color & Themes ========== */
6232
+ /* ========== Typography ========== */
6233
+ /* ========== Components ========== */
6234
+ /* ========== Standard Buttons ========== */
6235
+ /* ========== Icon Toggles ========== */
6236
+ /* ========== Radio Buttons ========== */
6237
+ /* ========== Ripple effect ========== */
6238
+ /* ========== Layout ========== */
6239
+ /* ========== Content Tabs ========== */
6240
+ /* ========== Checkboxes ========== */
6241
+ /* ========== Switches ========== */
6242
+ /* ========== Spinner ========== */
6243
+ /* ========== Text fields ========== */
6244
+ /* ========== Card ========== */
6245
+ /* ========== Sliders ========== */
6246
+ /* ========== Progress ========== */
6247
+ /* ========== List ========== */
6248
+ /* ========== Item ========== */
6249
+ /* ========== Dropdown menu ========== */
6250
+ /* ========== Tooltips ========== */
6251
+ /* ========== Footer ========== */
6252
+ /* TEXTFIELD */
6253
+ /* SWITCH */
6254
+ /* SPINNER */
6255
+ /* RADIO */
6256
+ /* MENU */
6257
+ /* LIST */
6258
+ /* LAYOUT */
6259
+ /* ICON TOGGLE */
6260
+ /* FOOTER */
6261
+ /*mega-footer*/
6262
+ /*mini-footer*/
6263
+ /* CHECKBOX */
6264
+ /* CARD */
6265
+ /* Card dimensions */
6266
+ /* Cover image */
6267
+ /* BUTTON */
6268
+ /**
6269
+ *
6270
+ * Dimensions
6271
+ *
6272
+ */
6273
+ /* ANIMATION */
6274
+ /* PROGRESS */
6275
+ /* BADGE */
6276
+ /* SHADOWS */
6277
+ /* GRID */
6278
+ /* DATA TABLE */
6279
+ /* DIALOG */
6280
+ /* SNACKBAR */
6281
+ /* TOOLTIP */
6282
+ /* CHIP */
6283
+ /**
6284
+ * Copyright 2015 Google Inc. All Rights Reserved.
6285
+ *
6286
+ * Licensed under the Apache License, Version 2.0 (the "License");
6287
+ * you may not use this file except in compliance with the License.
6288
+ * You may obtain a copy of the License at
6289
+ *
6290
+ * http://www.apache.org/licenses/LICENSE-2.0
6291
+ *
6292
+ * Unless required by applicable law or agreed to in writing, software
6293
+ * distributed under the License is distributed on an "AS IS" BASIS,
6294
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6295
+ * See the License for the specific language governing permissions and
6296
+ * limitations under the License.
6297
+ */
6298
+ /* Typography */
6299
+ /* Shadows */
6300
+ /* Animations */
6301
+ /* Dialog */
6302
+ .mdl-list {
6303
+ display: block;
6304
+ padding: 8px 0;
6305
+ list-style: none; }
6306
+
6307
+ .mdl-list__item {
6308
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
6309
+ font-size: 16px;
6310
+ font-weight: 400;
6311
+ line-height: 24px;
6312
+ letter-spacing: 0.04em;
6313
+ line-height: 1;
6314
+ display: -webkit-flex;
6315
+ display: -ms-flexbox;
6316
+ display: flex;
6317
+ min-height: 48px;
6318
+ box-sizing: border-box;
6319
+ -webkit-flex-direction: row;
6320
+ -ms-flex-direction: row;
6321
+ flex-direction: row;
6322
+ -webkit-flex-wrap: nowrap;
6323
+ -ms-flex-wrap: nowrap;
6324
+ flex-wrap: nowrap;
6325
+ -webkit-align-items: center;
6326
+ -ms-flex-align: center;
6327
+ align-items: center;
6328
+ padding: 16px;
6329
+ cursor: default;
6330
+ color: rgba(0,0,0, 0.87);
6331
+ overflow: hidden; }
6332
+ .mdl-list__item .mdl-list__item-primary-content {
6333
+ -webkit-order: 0;
6334
+ -ms-flex-order: 0;
6335
+ order: 0;
6336
+ -webkit-flex-grow: 2;
6337
+ -ms-flex-positive: 2;
6338
+ flex-grow: 2;
6339
+ text-decoration: none;
6340
+ box-sizing: border-box;
6341
+ display: -webkit-flex;
6342
+ display: -ms-flexbox;
6343
+ display: flex;
6344
+ -webkit-align-items: center;
6345
+ -ms-flex-align: center;
6346
+ align-items: center; }
6347
+ .mdl-list__item .mdl-list__item-primary-content .mdl-list__item-icon {
6348
+ margin-right: 32px; }
6349
+ .mdl-list__item .mdl-list__item-primary-content .mdl-list__item-avatar {
6350
+ margin-right: 16px; }
6351
+ .mdl-list__item .mdl-list__item-secondary-content {
6352
+ display: -webkit-flex;
6353
+ display: -ms-flexbox;
6354
+ display: flex;
6355
+ -webkit-flex-flow: column;
6356
+ -ms-flex-flow: column;
6357
+ flex-flow: column;
6358
+ -webkit-align-items: flex-end;
6359
+ -ms-flex-align: end;
6360
+ align-items: flex-end;
6361
+ margin-left: 16px; }
6362
+ .mdl-list__item .mdl-list__item-secondary-content .mdl-list__item-secondary-action label {
6363
+ display: inline; }
6364
+ .mdl-list__item .mdl-list__item-secondary-content .mdl-list__item-secondary-info {
6365
+ font-size: 12px;
6366
+ font-weight: 400;
6367
+ line-height: 1;
6368
+ letter-spacing: 0;
6369
+ color: rgba(0,0,0, 0.54); }
6370
+ .mdl-list__item .mdl-list__item-secondary-content .mdl-list__item-sub-header {
6371
+ padding: 0 0 0 16px; }
6372
+
6373
+ .mdl-list__item-icon,
6374
+ .mdl-list__item-icon.material-icons {
6375
+ height: 24px;
6376
+ width: 24px;
6377
+ font-size: 24px;
6378
+ box-sizing: border-box;
6379
+ color: rgb(117,117,117); }
6380
+
6381
+ .mdl-list__item-avatar,
6382
+ .mdl-list__item-avatar.material-icons {
6383
+ height: 40px;
6384
+ width: 40px;
6385
+ box-sizing: border-box;
6386
+ border-radius: 50%;
6387
+ background-color: rgb(117,117,117);
6388
+ font-size: 40px;
6389
+ color: white; }
6390
+
6391
+ .mdl-list__item--two-line {
6392
+ height: 72px; }
6393
+ .mdl-list__item--two-line .mdl-list__item-primary-content {
6394
+ height: 36px;
6395
+ line-height: 20px;
6396
+ display: block; }
6397
+ .mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-avatar {
6398
+ float: left; }
6399
+ .mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-icon {
6400
+ float: left;
6401
+ margin-top: 6px; }
6402
+ .mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-secondary-content {
6403
+ height: 36px; }
6404
+ .mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-sub-title {
6405
+ font-size: 14px;
6406
+ font-weight: 400;
6407
+ line-height: 24px;
6408
+ letter-spacing: 0;
6409
+ line-height: 18px;
6410
+ color: rgba(0,0,0, 0.54);
6411
+ display: block;
6412
+ padding: 0; }
6413
+
6414
+ .mdl-list__item--three-line {
6415
+ height: 88px; }
6416
+ .mdl-list__item--three-line .mdl-list__item-primary-content {
6417
+ height: 52px;
6418
+ line-height: 20px;
6419
+ display: block; }
6420
+ .mdl-list__item--three-line .mdl-list__item-primary-content .mdl-list__item-avatar,
6421
+ .mdl-list__item--three-line .mdl-list__item-primary-content .mdl-list__item-icon {
6422
+ float: left; }
6423
+ .mdl-list__item--three-line .mdl-list__item-secondary-content {
6424
+ height: 52px; }
6425
+ .mdl-list__item--three-line .mdl-list__item-text-body {
6426
+ font-size: 14px;
6427
+ font-weight: 400;
6428
+ line-height: 24px;
6429
+ letter-spacing: 0;
6430
+ line-height: 18px;
6431
+ height: 52px;
6432
+ color: rgba(0,0,0, 0.54);
6433
+ display: block;
6434
+ padding: 0; }
6435
+
6436
+ /**
6437
+ * Copyright 2015 Google Inc. All Rights Reserved.
6438
+ *
6439
+ * Licensed under the Apache License, Version 2.0 (the "License");
6440
+ * you may not use this file except in compliance with the License.
6441
+ * You may obtain a copy of the License at
6442
+ *
6443
+ * http://www.apache.org/licenses/LICENSE-2.0
6444
+ *
6445
+ * Unless required by applicable law or agreed to in writing, software
6446
+ * distributed under the License is distributed on an "AS IS" BASIS,
6447
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6448
+ * See the License for the specific language governing permissions and
6449
+ * limitations under the License.
6450
+ */
6451
+ /**
6452
+ * Copyright 2015 Google Inc. All Rights Reserved.
6453
+ *
6454
+ * Licensed under the Apache License, Version 2.0 (the "License");
6455
+ * you may not use this file except in compliance with the License.
6456
+ * You may obtain a copy of the License at
6457
+ *
6458
+ * http://www.apache.org/licenses/LICENSE-2.0
6459
+ *
6460
+ * Unless required by applicable law or agreed to in writing, software
6461
+ * distributed under the License is distributed on an "AS IS" BASIS,
6462
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6463
+ * See the License for the specific language governing permissions and
6464
+ * limitations under the License.
6465
+ */
6466
+ /*------------------------------------* $CONTENTS
6467
+ \*------------------------------------*/
6468
+ /**
6469
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
6470
+ * -----Typography
6471
+ * -----Colors
6472
+ * -----Textfield
6473
+ * -----Switch
6474
+ * -----Spinner
6475
+ * -----Radio
6476
+ * -----Menu
6477
+ * -----List
6478
+ * -----Layout
6479
+ * -----Icon toggles
6480
+ * -----Footer
6481
+ * -----Column
6482
+ * -----Checkbox
6483
+ * -----Card
6484
+ * -----Button
6485
+ * -----Animation
6486
+ * -----Progress
6487
+ * -----Badge
6488
+ * -----Shadows
6489
+ * -----Grid
6490
+ * -----Data table
6491
+ * -----Dialog
6492
+ * -----Snackbar
6493
+ * -----Tooltip
6494
+ * -----Chip
6495
+ *
6496
+ * Even though all variables have the `!default` directive, most of them
6497
+ * should not be changed as they are dependent one another. This can cause
6498
+ * visual distortions (like alignment issues) that are hard to track down
6499
+ * and fix.
6500
+ */
6501
+ /* ========== TYPOGRAPHY ========== */
6502
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
6503
+ page loading. For important text, such as the body, we want it to load
6504
+ immediately and not wait for the web font load, whereas for other sections,
6505
+ such as headers and titles, we're OK with things taking a bit longer to load.
6506
+ We do have some optional classes and parameters in the mixins, in case you
6507
+ definitely want to make sure you're using the preferred font and don't mind
6508
+ the performance hit.
6509
+ We should be able to improve on this once CSS Font Loading L3 becomes more
6510
+ widely available.
6511
+ */
6512
+ /* ========== COLORS ========== */
6513
+ /**
6514
+ *
6515
+ * Material design color palettes.
6516
+ * @see http://www.google.com/design/spec/style/color.html
6517
+ *
6518
+ **/
6519
+ /**
6520
+ * Copyright 2015 Google Inc. All Rights Reserved.
6521
+ *
6522
+ * Licensed under the Apache License, Version 2.0 (the "License");
6523
+ * you may not use this file except in compliance with the License.
6524
+ * You may obtain a copy of the License at
6525
+ *
6526
+ * http://www.apache.org/licenses/LICENSE-2.0
6527
+ *
6528
+ * Unless required by applicable law or agreed to in writing, software
6529
+ * distributed under the License is distributed on an "AS IS" BASIS,
6530
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6531
+ * See the License for the specific language governing permissions and
6532
+ * limitations under the License.
6533
+ */
6534
+ /* ========== Color Palettes ========== */
6535
+ /* colors.scss */
6536
+ /**
6537
+ * Copyright 2015 Google Inc. All Rights Reserved.
6538
+ *
6539
+ * Licensed under the Apache License, Version 2.0 (the "License");
6540
+ * you may not use this file except in compliance with the License.
6541
+ * You may obtain a copy of the License at
6542
+ *
6543
+ * http://www.apache.org/licenses/LICENSE-2.0
6544
+ *
6545
+ * Unless required by applicable law or agreed to in writing, software
6546
+ * distributed under the License is distributed on an "AS IS" BASIS,
6547
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6548
+ * See the License for the specific language governing permissions and
6549
+ * limitations under the License.
6550
+ */
6551
+ /* ========== IMAGES ========== */
6552
+ /* ========== Color & Themes ========== */
6553
+ /* ========== Typography ========== */
6554
+ /* ========== Components ========== */
6555
+ /* ========== Standard Buttons ========== */
6556
+ /* ========== Icon Toggles ========== */
6557
+ /* ========== Radio Buttons ========== */
6558
+ /* ========== Ripple effect ========== */
6559
+ /* ========== Layout ========== */
6560
+ /* ========== Content Tabs ========== */
6561
+ /* ========== Checkboxes ========== */
6562
+ /* ========== Switches ========== */
6563
+ /* ========== Spinner ========== */
6564
+ /* ========== Text fields ========== */
6565
+ /* ========== Card ========== */
6566
+ /* ========== Sliders ========== */
6567
+ /* ========== Progress ========== */
6568
+ /* ========== List ========== */
6569
+ /* ========== Item ========== */
6570
+ /* ========== Dropdown menu ========== */
6571
+ /* ========== Tooltips ========== */
6572
+ /* ========== Footer ========== */
6573
+ /* TEXTFIELD */
6574
+ /* SWITCH */
6575
+ /* SPINNER */
6576
+ /* RADIO */
6577
+ /* MENU */
6578
+ /* LIST */
6579
+ /* LAYOUT */
6580
+ /* ICON TOGGLE */
6581
+ /* FOOTER */
6582
+ /*mega-footer*/
6583
+ /*mini-footer*/
6584
+ /* CHECKBOX */
6585
+ /* CARD */
6586
+ /* Card dimensions */
6587
+ /* Cover image */
6588
+ /* BUTTON */
6589
+ /**
6590
+ *
6591
+ * Dimensions
6592
+ *
6593
+ */
6594
+ /* ANIMATION */
6595
+ /* PROGRESS */
6596
+ /* BADGE */
6597
+ /* SHADOWS */
6598
+ /* GRID */
6599
+ /* DATA TABLE */
6600
+ /* DIALOG */
6601
+ /* SNACKBAR */
6602
+ /* TOOLTIP */
6603
+ /* CHIP */
6604
+ /**
6605
+ * Copyright 2015 Google Inc. All Rights Reserved.
6606
+ *
6607
+ * Licensed under the Apache License, Version 2.0 (the "License");
6608
+ * you may not use this file except in compliance with the License.
6609
+ * You may obtain a copy of the License at
6610
+ *
6611
+ * http://www.apache.org/licenses/LICENSE-2.0
6612
+ *
6613
+ * Unless required by applicable law or agreed to in writing, software
6614
+ * distributed under the License is distributed on an "AS IS" BASIS,
6615
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6616
+ * See the License for the specific language governing permissions and
6617
+ * limitations under the License.
6618
+ */
6619
+ /* Typography */
6620
+ /* Shadows */
6621
+ /* Animations */
6622
+ /* Dialog */
6623
+ .mdl-menu__container {
6624
+ display: block;
6625
+ margin: 0;
6626
+ padding: 0;
6627
+ border: none;
6628
+ position: absolute;
6629
+ overflow: visible;
6630
+ height: 0;
6631
+ width: 0;
6632
+ visibility: hidden;
6633
+ z-index: -1; }
6634
+ .mdl-menu__container.is-visible, .mdl-menu__container.is-animating {
6635
+ z-index: 999;
6636
+ visibility: visible; }
6637
+
6638
+ .mdl-menu__outline {
6639
+ display: block;
6640
+ background: rgb(255,255,255);
6641
+ margin: 0;
6642
+ padding: 0;
6643
+ border: none;
6644
+ border-radius: 2px;
6645
+ position: absolute;
6646
+ top: 0;
6647
+ left: 0;
6648
+ overflow: hidden;
6649
+ opacity: 0;
6650
+ -webkit-transform: scale(0);
6651
+ transform: scale(0);
6652
+ -webkit-transform-origin: 0 0;
6653
+ transform-origin: 0 0;
6654
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
6655
+ will-change: transform;
6656
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
6657
+ transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
6658
+ transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
6659
+ z-index: -1; }
6660
+ .mdl-menu__container.is-visible .mdl-menu__outline {
6661
+ opacity: 1;
6662
+ -webkit-transform: scale(1);
6663
+ transform: scale(1);
6664
+ z-index: 999; }
6665
+ .mdl-menu__outline.mdl-menu--bottom-right {
6666
+ -webkit-transform-origin: 100% 0;
6667
+ transform-origin: 100% 0; }
6668
+ .mdl-menu__outline.mdl-menu--top-left {
6669
+ -webkit-transform-origin: 0 100%;
6670
+ transform-origin: 0 100%; }
6671
+ .mdl-menu__outline.mdl-menu--top-right {
6672
+ -webkit-transform-origin: 100% 100%;
6673
+ transform-origin: 100% 100%; }
6674
+
6675
+ .mdl-menu {
6676
+ position: absolute;
6677
+ list-style: none;
6678
+ top: 0;
6679
+ left: 0;
6680
+ height: auto;
6681
+ width: auto;
6682
+ min-width: 124px;
6683
+ padding: 8px 0;
6684
+ margin: 0;
6685
+ opacity: 0;
6686
+ clip: rect(0 0 0 0);
6687
+ z-index: -1; }
6688
+ .mdl-menu__container.is-visible .mdl-menu {
6689
+ opacity: 1;
6690
+ z-index: 999; }
6691
+ .mdl-menu.is-animating {
6692
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), clip 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
6693
+ .mdl-menu.mdl-menu--bottom-right {
6694
+ left: auto;
6695
+ right: 0; }
6696
+ .mdl-menu.mdl-menu--top-left {
6697
+ top: auto;
6698
+ bottom: 0; }
6699
+ .mdl-menu.mdl-menu--top-right {
6700
+ top: auto;
6701
+ left: auto;
6702
+ bottom: 0;
6703
+ right: 0; }
6704
+ .mdl-menu.mdl-menu--unaligned {
6705
+ top: auto;
6706
+ left: auto; }
6707
+
6708
+ .mdl-menu__item {
6709
+ display: block;
6710
+ border: none;
6711
+ color: rgba(0,0,0, 0.87);
6712
+ background-color: transparent;
6713
+ text-align: left;
6714
+ margin: 0;
6715
+ padding: 0 16px;
6716
+ outline-color: rgb(189,189,189);
6717
+ position: relative;
6718
+ overflow: hidden;
6719
+ font-size: 14px;
6720
+ font-weight: 400;
6721
+ line-height: 24px;
6722
+ letter-spacing: 0;
6723
+ text-decoration: none;
6724
+ cursor: pointer;
6725
+ height: 48px;
6726
+ line-height: 48px;
6727
+ white-space: nowrap;
6728
+ opacity: 0;
6729
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
6730
+ -webkit-user-select: none;
6731
+ -moz-user-select: none;
6732
+ -ms-user-select: none;
6733
+ user-select: none; }
6734
+ .mdl-menu__container.is-visible .mdl-menu__item {
6735
+ opacity: 1; }
6736
+ .mdl-menu__item::-moz-focus-inner {
6737
+ border: 0; }
6738
+ .mdl-menu__item--full-bleed-divider {
6739
+ border-bottom: 1px solid rgba(0,0,0, 0.12); }
6740
+ .mdl-menu__item[disabled], .mdl-menu__item[data-mdl-disabled] {
6741
+ color: rgb(189,189,189);
6742
+ background-color: transparent;
6743
+ cursor: auto; }
6744
+ .mdl-menu__item[disabled]:hover, .mdl-menu__item[data-mdl-disabled]:hover {
6745
+ background-color: transparent; }
6746
+ .mdl-menu__item[disabled]:focus, .mdl-menu__item[data-mdl-disabled]:focus {
6747
+ background-color: transparent; }
6748
+ .mdl-menu__item[disabled] .mdl-ripple, .mdl-menu__item[data-mdl-disabled] .mdl-ripple {
6749
+ background: transparent; }
6750
+ .mdl-menu__item:hover {
6751
+ background-color: rgb(238,238,238); }
6752
+ .mdl-menu__item:focus {
6753
+ outline: none;
6754
+ background-color: rgb(238,238,238); }
6755
+ .mdl-menu__item:active {
6756
+ background-color: rgb(224,224,224); }
6757
+
6758
+ .mdl-menu__item--ripple-container {
6759
+ display: block;
6760
+ height: 100%;
6761
+ left: 0px;
6762
+ position: absolute;
6763
+ top: 0px;
6764
+ width: 100%;
6765
+ z-index: 0;
6766
+ overflow: hidden; }
6767
+
6768
+ /**
6769
+ * Copyright 2015 Google Inc. All Rights Reserved.
6770
+ *
6771
+ * Licensed under the Apache License, Version 2.0 (the "License");
6772
+ * you may not use this file except in compliance with the License.
6773
+ * You may obtain a copy of the License at
6774
+ *
6775
+ * http://www.apache.org/licenses/LICENSE-2.0
6776
+ *
6777
+ * Unless required by applicable law or agreed to in writing, software
6778
+ * distributed under the License is distributed on an "AS IS" BASIS,
6779
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6780
+ * See the License for the specific language governing permissions and
6781
+ * limitations under the License.
6782
+ */
6783
+ /**
6784
+ * Copyright 2015 Google Inc. All Rights Reserved.
6785
+ *
6786
+ * Licensed under the Apache License, Version 2.0 (the "License");
6787
+ * you may not use this file except in compliance with the License.
6788
+ * You may obtain a copy of the License at
6789
+ *
6790
+ * http://www.apache.org/licenses/LICENSE-2.0
6791
+ *
6792
+ * Unless required by applicable law or agreed to in writing, software
6793
+ * distributed under the License is distributed on an "AS IS" BASIS,
6794
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6795
+ * See the License for the specific language governing permissions and
6796
+ * limitations under the License.
6797
+ */
6798
+ /*------------------------------------* $CONTENTS
6799
+ \*------------------------------------*/
6800
+ /**
6801
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
6802
+ * -----Typography
6803
+ * -----Colors
6804
+ * -----Textfield
6805
+ * -----Switch
6806
+ * -----Spinner
6807
+ * -----Radio
6808
+ * -----Menu
6809
+ * -----List
6810
+ * -----Layout
6811
+ * -----Icon toggles
6812
+ * -----Footer
6813
+ * -----Column
6814
+ * -----Checkbox
6815
+ * -----Card
6816
+ * -----Button
6817
+ * -----Animation
6818
+ * -----Progress
6819
+ * -----Badge
6820
+ * -----Shadows
6821
+ * -----Grid
6822
+ * -----Data table
6823
+ * -----Dialog
6824
+ * -----Snackbar
6825
+ * -----Tooltip
6826
+ * -----Chip
6827
+ *
6828
+ * Even though all variables have the `!default` directive, most of them
6829
+ * should not be changed as they are dependent one another. This can cause
6830
+ * visual distortions (like alignment issues) that are hard to track down
6831
+ * and fix.
6832
+ */
6833
+ /* ========== TYPOGRAPHY ========== */
6834
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
6835
+ page loading. For important text, such as the body, we want it to load
6836
+ immediately and not wait for the web font load, whereas for other sections,
6837
+ such as headers and titles, we're OK with things taking a bit longer to load.
6838
+ We do have some optional classes and parameters in the mixins, in case you
6839
+ definitely want to make sure you're using the preferred font and don't mind
6840
+ the performance hit.
6841
+ We should be able to improve on this once CSS Font Loading L3 becomes more
6842
+ widely available.
6843
+ */
6844
+ /* ========== COLORS ========== */
6845
+ /**
6846
+ *
6847
+ * Material design color palettes.
6848
+ * @see http://www.google.com/design/spec/style/color.html
6849
+ *
6850
+ **/
6851
+ /**
6852
+ * Copyright 2015 Google Inc. All Rights Reserved.
6853
+ *
6854
+ * Licensed under the Apache License, Version 2.0 (the "License");
6855
+ * you may not use this file except in compliance with the License.
6856
+ * You may obtain a copy of the License at
6857
+ *
6858
+ * http://www.apache.org/licenses/LICENSE-2.0
6859
+ *
6860
+ * Unless required by applicable law or agreed to in writing, software
6861
+ * distributed under the License is distributed on an "AS IS" BASIS,
6862
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6863
+ * See the License for the specific language governing permissions and
6864
+ * limitations under the License.
6865
+ */
6866
+ /* ========== Color Palettes ========== */
6867
+ /* colors.scss */
6868
+ /**
6869
+ * Copyright 2015 Google Inc. All Rights Reserved.
6870
+ *
6871
+ * Licensed under the Apache License, Version 2.0 (the "License");
6872
+ * you may not use this file except in compliance with the License.
6873
+ * You may obtain a copy of the License at
6874
+ *
6875
+ * http://www.apache.org/licenses/LICENSE-2.0
6876
+ *
6877
+ * Unless required by applicable law or agreed to in writing, software
6878
+ * distributed under the License is distributed on an "AS IS" BASIS,
6879
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6880
+ * See the License for the specific language governing permissions and
6881
+ * limitations under the License.
6882
+ */
6883
+ /* ========== IMAGES ========== */
6884
+ /* ========== Color & Themes ========== */
6885
+ /* ========== Typography ========== */
6886
+ /* ========== Components ========== */
6887
+ /* ========== Standard Buttons ========== */
6888
+ /* ========== Icon Toggles ========== */
6889
+ /* ========== Radio Buttons ========== */
6890
+ /* ========== Ripple effect ========== */
6891
+ /* ========== Layout ========== */
6892
+ /* ========== Content Tabs ========== */
6893
+ /* ========== Checkboxes ========== */
6894
+ /* ========== Switches ========== */
6895
+ /* ========== Spinner ========== */
6896
+ /* ========== Text fields ========== */
6897
+ /* ========== Card ========== */
6898
+ /* ========== Sliders ========== */
6899
+ /* ========== Progress ========== */
6900
+ /* ========== List ========== */
6901
+ /* ========== Item ========== */
6902
+ /* ========== Dropdown menu ========== */
6903
+ /* ========== Tooltips ========== */
6904
+ /* ========== Footer ========== */
6905
+ /* TEXTFIELD */
6906
+ /* SWITCH */
6907
+ /* SPINNER */
6908
+ /* RADIO */
6909
+ /* MENU */
6910
+ /* LIST */
6911
+ /* LAYOUT */
6912
+ /* ICON TOGGLE */
6913
+ /* FOOTER */
6914
+ /*mega-footer*/
6915
+ /*mini-footer*/
6916
+ /* CHECKBOX */
6917
+ /* CARD */
6918
+ /* Card dimensions */
6919
+ /* Cover image */
6920
+ /* BUTTON */
6921
+ /**
6922
+ *
6923
+ * Dimensions
6924
+ *
6925
+ */
6926
+ /* ANIMATION */
6927
+ /* PROGRESS */
6928
+ /* BADGE */
6929
+ /* SHADOWS */
6930
+ /* GRID */
6931
+ /* DATA TABLE */
6932
+ /* DIALOG */
6933
+ /* SNACKBAR */
6934
+ /* TOOLTIP */
6935
+ /* CHIP */
6936
+ .mdl-progress {
6937
+ display: block;
6938
+ position: relative;
6939
+ height: 4px;
6940
+ width: 500px;
6941
+ max-width: 100%; }
6942
+
6943
+ .mdl-progress > .bar {
6944
+ display: block;
6945
+ position: absolute;
6946
+ top: 0;
6947
+ bottom: 0;
6948
+ width: 0%;
6949
+ transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
6950
+
6951
+ .mdl-progress > .progressbar {
6952
+ background-color: rgb(63,81,181);
6953
+ z-index: 1;
6954
+ left: 0; }
6955
+
6956
+ .mdl-progress > .bufferbar {
6957
+ background-image: linear-gradient(to right, rgba(255,255,255, 0.7), rgba(255,255,255, 0.7)), linear-gradient(to right, rgb(63,81,181), rgb(63,81,181));
6958
+ z-index: 0;
6959
+ left: 0; }
6960
+
6961
+ .mdl-progress > .auxbar {
6962
+ right: 0; }
6963
+
6964
+ @supports (-webkit-appearance: none) {
6965
+ .mdl-progress:not(.mdl-progress--indeterminate):not(.mdl-progress--indeterminate) > .auxbar,
6966
+ .mdl-progress:not(.mdl-progress__indeterminate):not(.mdl-progress__indeterminate) > .auxbar {
6967
+ background-image: linear-gradient(to right, rgba(255,255,255, 0.7), rgba(255,255,255, 0.7)), linear-gradient(to right, rgb(63,81,181), rgb(63,81,181));
6968
+ -webkit-mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+Cjxzdmcgd2lkdGg9IjEyIiBoZWlnaHQ9IjQiIHZpZXdQb3J0PSIwIDAgMTIgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxlbGxpcHNlIGN4PSIyIiBjeT0iMiIgcng9IjIiIHJ5PSIyIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN4IiBmcm9tPSIyIiB0bz0iLTEwIiBkdXI9IjAuNnMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPgogIDwvZWxsaXBzZT4KICA8ZWxsaXBzZSBjeD0iMTQiIGN5PSIyIiByeD0iMiIgcnk9IjIiIGNsYXNzPSJsb2FkZXIiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iY3giIGZyb209IjE0IiB0bz0iMiIgZHVyPSIwLjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz4KICA8L2VsbGlwc2U+Cjwvc3ZnPgo=");
6969
+ mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+Cjxzdmcgd2lkdGg9IjEyIiBoZWlnaHQ9IjQiIHZpZXdQb3J0PSIwIDAgMTIgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxlbGxpcHNlIGN4PSIyIiBjeT0iMiIgcng9IjIiIHJ5PSIyIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN4IiBmcm9tPSIyIiB0bz0iLTEwIiBkdXI9IjAuNnMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPgogIDwvZWxsaXBzZT4KICA8ZWxsaXBzZSBjeD0iMTQiIGN5PSIyIiByeD0iMiIgcnk9IjIiIGNsYXNzPSJsb2FkZXIiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iY3giIGZyb209IjE0IiB0bz0iMiIgZHVyPSIwLjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz4KICA8L2VsbGlwc2U+Cjwvc3ZnPgo="); } }
6970
+
6971
+ .mdl-progress:not(.mdl-progress--indeterminate) > .auxbar,
6972
+ .mdl-progress:not(.mdl-progress__indeterminate) > .auxbar {
6973
+ background-image: linear-gradient(to right, rgba(255,255,255, 0.9), rgba(255,255,255, 0.9)), linear-gradient(to right, rgb(63,81,181), rgb(63,81,181)); }
6974
+
6975
+ .mdl-progress.mdl-progress--indeterminate > .bar1,
6976
+ .mdl-progress.mdl-progress__indeterminate > .bar1 {
6977
+ background-color: rgb(63,81,181);
6978
+ -webkit-animation-name: indeterminate1;
6979
+ animation-name: indeterminate1;
6980
+ -webkit-animation-duration: 2s;
6981
+ animation-duration: 2s;
6982
+ -webkit-animation-iteration-count: infinite;
6983
+ animation-iteration-count: infinite;
6984
+ -webkit-animation-timing-function: linear;
6985
+ animation-timing-function: linear; }
6986
+
6987
+ .mdl-progress.mdl-progress--indeterminate > .bar3,
6988
+ .mdl-progress.mdl-progress__indeterminate > .bar3 {
6989
+ background-image: none;
6990
+ background-color: rgb(63,81,181);
6991
+ -webkit-animation-name: indeterminate2;
6992
+ animation-name: indeterminate2;
6993
+ -webkit-animation-duration: 2s;
6994
+ animation-duration: 2s;
6995
+ -webkit-animation-iteration-count: infinite;
6996
+ animation-iteration-count: infinite;
6997
+ -webkit-animation-timing-function: linear;
6998
+ animation-timing-function: linear; }
6999
+
7000
+ @-webkit-keyframes indeterminate1 {
7001
+ 0% {
7002
+ left: 0%;
7003
+ width: 0%; }
7004
+ 50% {
7005
+ left: 25%;
7006
+ width: 75%; }
7007
+ 75% {
7008
+ left: 100%;
7009
+ width: 0%; } }
7010
+
7011
+ @keyframes indeterminate1 {
7012
+ 0% {
7013
+ left: 0%;
7014
+ width: 0%; }
7015
+ 50% {
7016
+ left: 25%;
7017
+ width: 75%; }
7018
+ 75% {
7019
+ left: 100%;
7020
+ width: 0%; } }
7021
+
7022
+ @-webkit-keyframes indeterminate2 {
7023
+ 0% {
7024
+ left: 0%;
7025
+ width: 0%; }
7026
+ 50% {
7027
+ left: 0%;
7028
+ width: 0%; }
7029
+ 75% {
7030
+ left: 0%;
7031
+ width: 25%; }
7032
+ 100% {
7033
+ left: 100%;
7034
+ width: 0%; } }
7035
+
7036
+ @keyframes indeterminate2 {
7037
+ 0% {
7038
+ left: 0%;
7039
+ width: 0%; }
7040
+ 50% {
7041
+ left: 0%;
7042
+ width: 0%; }
7043
+ 75% {
7044
+ left: 0%;
7045
+ width: 25%; }
7046
+ 100% {
7047
+ left: 100%;
7048
+ width: 0%; } }
7049
+
7050
+ /**
7051
+ * Copyright 2015 Google Inc. All Rights Reserved.
7052
+ *
7053
+ * Licensed under the Apache License, Version 2.0 (the "License");
7054
+ * you may not use this file except in compliance with the License.
7055
+ * You may obtain a copy of the License at
7056
+ *
7057
+ * http://www.apache.org/licenses/LICENSE-2.0
7058
+ *
7059
+ * Unless required by applicable law or agreed to in writing, software
7060
+ * distributed under the License is distributed on an "AS IS" BASIS,
7061
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7062
+ * See the License for the specific language governing permissions and
7063
+ * limitations under the License.
7064
+ */
7065
+ /**
7066
+ * Copyright 2015 Google Inc. All Rights Reserved.
7067
+ *
7068
+ * Licensed under the Apache License, Version 2.0 (the "License");
7069
+ * you may not use this file except in compliance with the License.
7070
+ * You may obtain a copy of the License at
7071
+ *
7072
+ * http://www.apache.org/licenses/LICENSE-2.0
7073
+ *
7074
+ * Unless required by applicable law or agreed to in writing, software
7075
+ * distributed under the License is distributed on an "AS IS" BASIS,
7076
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7077
+ * See the License for the specific language governing permissions and
7078
+ * limitations under the License.
7079
+ */
7080
+ /*------------------------------------* $CONTENTS
7081
+ \*------------------------------------*/
7082
+ /**
7083
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
7084
+ * -----Typography
7085
+ * -----Colors
7086
+ * -----Textfield
7087
+ * -----Switch
7088
+ * -----Spinner
7089
+ * -----Radio
7090
+ * -----Menu
7091
+ * -----List
7092
+ * -----Layout
7093
+ * -----Icon toggles
7094
+ * -----Footer
7095
+ * -----Column
7096
+ * -----Checkbox
7097
+ * -----Card
7098
+ * -----Button
7099
+ * -----Animation
7100
+ * -----Progress
7101
+ * -----Badge
7102
+ * -----Shadows
7103
+ * -----Grid
7104
+ * -----Data table
7105
+ * -----Dialog
7106
+ * -----Snackbar
7107
+ * -----Tooltip
7108
+ * -----Chip
7109
+ *
7110
+ * Even though all variables have the `!default` directive, most of them
7111
+ * should not be changed as they are dependent one another. This can cause
7112
+ * visual distortions (like alignment issues) that are hard to track down
7113
+ * and fix.
7114
+ */
7115
+ /* ========== TYPOGRAPHY ========== */
7116
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
7117
+ page loading. For important text, such as the body, we want it to load
7118
+ immediately and not wait for the web font load, whereas for other sections,
7119
+ such as headers and titles, we're OK with things taking a bit longer to load.
7120
+ We do have some optional classes and parameters in the mixins, in case you
7121
+ definitely want to make sure you're using the preferred font and don't mind
7122
+ the performance hit.
7123
+ We should be able to improve on this once CSS Font Loading L3 becomes more
7124
+ widely available.
7125
+ */
7126
+ /* ========== COLORS ========== */
7127
+ /**
7128
+ *
7129
+ * Material design color palettes.
7130
+ * @see http://www.google.com/design/spec/style/color.html
7131
+ *
7132
+ **/
7133
+ /**
7134
+ * Copyright 2015 Google Inc. All Rights Reserved.
7135
+ *
7136
+ * Licensed under the Apache License, Version 2.0 (the "License");
7137
+ * you may not use this file except in compliance with the License.
7138
+ * You may obtain a copy of the License at
7139
+ *
7140
+ * http://www.apache.org/licenses/LICENSE-2.0
7141
+ *
7142
+ * Unless required by applicable law or agreed to in writing, software
7143
+ * distributed under the License is distributed on an "AS IS" BASIS,
7144
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7145
+ * See the License for the specific language governing permissions and
7146
+ * limitations under the License.
7147
+ */
7148
+ /* ========== Color Palettes ========== */
7149
+ /* colors.scss */
7150
+ /**
7151
+ * Copyright 2015 Google Inc. All Rights Reserved.
7152
+ *
7153
+ * Licensed under the Apache License, Version 2.0 (the "License");
7154
+ * you may not use this file except in compliance with the License.
7155
+ * You may obtain a copy of the License at
7156
+ *
7157
+ * http://www.apache.org/licenses/LICENSE-2.0
7158
+ *
7159
+ * Unless required by applicable law or agreed to in writing, software
7160
+ * distributed under the License is distributed on an "AS IS" BASIS,
7161
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7162
+ * See the License for the specific language governing permissions and
7163
+ * limitations under the License.
7164
+ */
7165
+ /* ========== IMAGES ========== */
7166
+ /* ========== Color & Themes ========== */
7167
+ /* ========== Typography ========== */
7168
+ /* ========== Components ========== */
7169
+ /* ========== Standard Buttons ========== */
7170
+ /* ========== Icon Toggles ========== */
7171
+ /* ========== Radio Buttons ========== */
7172
+ /* ========== Ripple effect ========== */
7173
+ /* ========== Layout ========== */
7174
+ /* ========== Content Tabs ========== */
7175
+ /* ========== Checkboxes ========== */
7176
+ /* ========== Switches ========== */
7177
+ /* ========== Spinner ========== */
7178
+ /* ========== Text fields ========== */
7179
+ /* ========== Card ========== */
7180
+ /* ========== Sliders ========== */
7181
+ /* ========== Progress ========== */
7182
+ /* ========== List ========== */
7183
+ /* ========== Item ========== */
7184
+ /* ========== Dropdown menu ========== */
7185
+ /* ========== Tooltips ========== */
7186
+ /* ========== Footer ========== */
7187
+ /* TEXTFIELD */
7188
+ /* SWITCH */
7189
+ /* SPINNER */
7190
+ /* RADIO */
7191
+ /* MENU */
7192
+ /* LIST */
7193
+ /* LAYOUT */
7194
+ /* ICON TOGGLE */
7195
+ /* FOOTER */
7196
+ /*mega-footer*/
7197
+ /*mini-footer*/
7198
+ /* CHECKBOX */
7199
+ /* CARD */
7200
+ /* Card dimensions */
7201
+ /* Cover image */
7202
+ /* BUTTON */
7203
+ /**
7204
+ *
7205
+ * Dimensions
7206
+ *
7207
+ */
7208
+ /* ANIMATION */
7209
+ /* PROGRESS */
7210
+ /* BADGE */
7211
+ /* SHADOWS */
7212
+ /* GRID */
7213
+ /* DATA TABLE */
7214
+ /* DIALOG */
7215
+ /* SNACKBAR */
7216
+ /* TOOLTIP */
7217
+ /* CHIP */
7218
+ /**
7219
+ * Copyright 2015 Google Inc. All Rights Reserved.
7220
+ *
7221
+ * Licensed under the Apache License, Version 2.0 (the "License");
7222
+ * you may not use this file except in compliance with the License.
7223
+ * You may obtain a copy of the License at
7224
+ *
7225
+ * http://www.apache.org/licenses/LICENSE-2.0
7226
+ *
7227
+ * Unless required by applicable law or agreed to in writing, software
7228
+ * distributed under the License is distributed on an "AS IS" BASIS,
7229
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7230
+ * See the License for the specific language governing permissions and
7231
+ * limitations under the License.
7232
+ */
7233
+ /* Typography */
7234
+ /* Shadows */
7235
+ /* Animations */
7236
+ /* Dialog */
7237
+ .mdl-navigation {
7238
+ display: -webkit-flex;
7239
+ display: -ms-flexbox;
7240
+ display: flex;
7241
+ -webkit-flex-wrap: nowrap;
7242
+ -ms-flex-wrap: nowrap;
7243
+ flex-wrap: nowrap;
7244
+ box-sizing: border-box; }
7245
+
7246
+ .mdl-navigation__link {
7247
+ color: rgb(66,66,66);
7248
+ text-decoration: none;
7249
+ margin: 0;
7250
+ font-size: 14px;
7251
+ font-weight: 400;
7252
+ line-height: 24px;
7253
+ letter-spacing: 0;
7254
+ opacity: 0.87; }
7255
+ .mdl-navigation__link .material-icons {
7256
+ vertical-align: middle; }
7257
+
7258
+ .mdl-layout {
7259
+ width: 100%;
7260
+ height: 100%;
7261
+ display: -webkit-flex;
7262
+ display: -ms-flexbox;
7263
+ display: flex;
7264
+ -webkit-flex-direction: column;
7265
+ -ms-flex-direction: column;
7266
+ flex-direction: column;
7267
+ overflow-y: auto;
7268
+ overflow-x: hidden;
7269
+ position: relative;
7270
+ -webkit-overflow-scrolling: touch; }
7271
+
7272
+ .mdl-layout.is-small-screen .mdl-layout--large-screen-only {
7273
+ display: none; }
7274
+
7275
+ .mdl-layout:not(.is-small-screen) .mdl-layout--small-screen-only {
7276
+ display: none; }
7277
+
7278
+ .mdl-layout__container {
7279
+ position: absolute;
7280
+ width: 100%;
7281
+ height: 100%; }
7282
+
7283
+ .mdl-layout__title,
7284
+ .mdl-layout-title {
7285
+ display: block;
7286
+ position: relative;
7287
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
7288
+ font-size: 20px;
7289
+ font-weight: 500;
7290
+ line-height: 1;
7291
+ letter-spacing: 0.02em;
7292
+ font-weight: 400;
7293
+ box-sizing: border-box; }
7294
+
7295
+ .mdl-layout-spacer {
7296
+ -webkit-flex-grow: 1;
7297
+ -ms-flex-positive: 1;
7298
+ flex-grow: 1; }
7299
+
7300
+ .mdl-layout__drawer {
7301
+ display: -webkit-flex;
7302
+ display: -ms-flexbox;
7303
+ display: flex;
7304
+ -webkit-flex-direction: column;
7305
+ -ms-flex-direction: column;
7306
+ flex-direction: column;
7307
+ -webkit-flex-wrap: nowrap;
7308
+ -ms-flex-wrap: nowrap;
7309
+ flex-wrap: nowrap;
7310
+ width: 240px;
7311
+ height: 100%;
7312
+ max-height: 100%;
7313
+ position: absolute;
7314
+ top: 0;
7315
+ left: 0;
7316
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
7317
+ box-sizing: border-box;
7318
+ border-right: 1px solid rgb(224,224,224);
7319
+ background: rgb(250,250,250);
7320
+ -webkit-transform: translateX(-250px);
7321
+ transform: translateX(-250px);
7322
+ -webkit-transform-style: preserve-3d;
7323
+ transform-style: preserve-3d;
7324
+ will-change: transform;
7325
+ transition-duration: 0.2s;
7326
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
7327
+ transition-property: -webkit-transform;
7328
+ transition-property: transform;
7329
+ transition-property: transform, -webkit-transform;
7330
+ color: rgb(66,66,66);
7331
+ overflow: visible;
7332
+ overflow-y: auto;
7333
+ z-index: 5; }
7334
+ .mdl-layout__drawer.is-visible {
7335
+ -webkit-transform: translateX(0);
7336
+ transform: translateX(0); }
7337
+ .mdl-layout__drawer.is-visible ~ .mdl-layout__content.mdl-layout__content {
7338
+ overflow: hidden; }
7339
+ .mdl-layout__drawer > * {
7340
+ -webkit-flex-shrink: 0;
7341
+ -ms-flex-negative: 0;
7342
+ flex-shrink: 0; }
7343
+ .mdl-layout__drawer > .mdl-layout__title,
7344
+ .mdl-layout__drawer > .mdl-layout-title {
7345
+ line-height: 64px;
7346
+ padding-left: 40px; }
7347
+ @media screen and (max-width: 1024px) {
7348
+ .mdl-layout__drawer > .mdl-layout__title,
7349
+ .mdl-layout__drawer > .mdl-layout-title {
7350
+ line-height: 56px;
7351
+ padding-left: 16px; } }
7352
+ .mdl-layout__drawer .mdl-navigation {
7353
+ -webkit-flex-direction: column;
7354
+ -ms-flex-direction: column;
7355
+ flex-direction: column;
7356
+ -webkit-align-items: stretch;
7357
+ -ms-flex-align: stretch;
7358
+ align-items: stretch;
7359
+ padding-top: 16px; }
7360
+ .mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
7361
+ display: block;
7362
+ -webkit-flex-shrink: 0;
7363
+ -ms-flex-negative: 0;
7364
+ flex-shrink: 0;
7365
+ padding: 16px 40px;
7366
+ margin: 0;
7367
+ color: #757575; }
7368
+ @media screen and (max-width: 1024px) {
7369
+ .mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
7370
+ padding: 16px 16px; } }
7371
+ .mdl-layout__drawer .mdl-navigation .mdl-navigation__link:hover {
7372
+ background-color: rgb(224,224,224); }
7373
+ .mdl-layout__drawer .mdl-navigation .mdl-navigation__link--current {
7374
+ background-color: rgb(224,224,224);
7375
+ color: rgb(0,0,0); }
7376
+ @media screen and (min-width: 1025px) {
7377
+ .mdl-layout--fixed-drawer > .mdl-layout__drawer {
7378
+ -webkit-transform: translateX(0);
7379
+ transform: translateX(0); } }
7380
+
7381
+ .mdl-layout__drawer-button {
7382
+ display: block;
7383
+ position: absolute;
7384
+ height: 48px;
7385
+ width: 48px;
7386
+ border: 0;
7387
+ -webkit-flex-shrink: 0;
7388
+ -ms-flex-negative: 0;
7389
+ flex-shrink: 0;
7390
+ overflow: hidden;
7391
+ text-align: center;
7392
+ cursor: pointer;
7393
+ font-size: 26px;
7394
+ line-height: 56px;
7395
+ font-family: Helvetica, Arial, sans-serif;
7396
+ margin: 8px 12px;
7397
+ top: 0;
7398
+ left: 0;
7399
+ color: rgb(255,255,255);
7400
+ z-index: 4; }
7401
+ .mdl-layout__header .mdl-layout__drawer-button {
7402
+ position: absolute;
7403
+ color: rgb(255,255,255);
7404
+ background-color: inherit; }
7405
+ @media screen and (max-width: 1024px) {
7406
+ .mdl-layout__header .mdl-layout__drawer-button {
7407
+ margin: 4px; } }
7408
+ @media screen and (max-width: 1024px) {
7409
+ .mdl-layout__drawer-button {
7410
+ margin: 4px;
7411
+ color: rgba(0, 0, 0, 0.5); } }
7412
+ @media screen and (min-width: 1025px) {
7413
+ .mdl-layout__drawer-button {
7414
+ line-height: 54px; }
7415
+ .mdl-layout--no-desktop-drawer-button .mdl-layout__drawer-button,
7416
+ .mdl-layout--fixed-drawer > .mdl-layout__drawer-button,
7417
+ .mdl-layout--no-drawer-button .mdl-layout__drawer-button {
7418
+ display: none; } }
7419
+
7420
+ .mdl-layout__header {
7421
+ display: -webkit-flex;
7422
+ display: -ms-flexbox;
7423
+ display: flex;
7424
+ -webkit-flex-direction: column;
7425
+ -ms-flex-direction: column;
7426
+ flex-direction: column;
7427
+ -webkit-flex-wrap: nowrap;
7428
+ -ms-flex-wrap: nowrap;
7429
+ flex-wrap: nowrap;
7430
+ -webkit-justify-content: flex-start;
7431
+ -ms-flex-pack: start;
7432
+ justify-content: flex-start;
7433
+ box-sizing: border-box;
7434
+ -webkit-flex-shrink: 0;
7435
+ -ms-flex-negative: 0;
7436
+ flex-shrink: 0;
7437
+ width: 100%;
7438
+ margin: 0;
7439
+ padding: 0;
7440
+ border: none;
7441
+ min-height: 64px;
7442
+ max-height: 1000px;
7443
+ z-index: 3;
7444
+ background-color: rgb(63,81,181);
7445
+ color: rgb(255,255,255);
7446
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
7447
+ transition-duration: 0.2s;
7448
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
7449
+ transition-property: max-height, box-shadow; }
7450
+ @media screen and (max-width: 1024px) {
7451
+ .mdl-layout__header {
7452
+ min-height: 56px; } }
7453
+ .mdl-layout--fixed-drawer.is-upgraded:not(.is-small-screen) > .mdl-layout__header {
7454
+ margin-left: 240px;
7455
+ width: calc(100% - 240px); }
7456
+ @media screen and (min-width: 1025px) {
7457
+ .mdl-layout--fixed-drawer > .mdl-layout__header .mdl-layout__header-row {
7458
+ padding-left: 40px; } }
7459
+ .mdl-layout__header > .mdl-layout-icon {
7460
+ position: absolute;
7461
+ left: 40px;
7462
+ top: 16px;
7463
+ height: 32px;
7464
+ width: 32px;
7465
+ overflow: hidden;
7466
+ z-index: 3;
7467
+ display: block; }
7468
+ @media screen and (max-width: 1024px) {
7469
+ .mdl-layout__header > .mdl-layout-icon {
7470
+ left: 16px;
7471
+ top: 12px; } }
7472
+ .mdl-layout.has-drawer .mdl-layout__header > .mdl-layout-icon {
7473
+ display: none; }
7474
+ .mdl-layout__header.is-compact {
7475
+ max-height: 64px; }
7476
+ @media screen and (max-width: 1024px) {
7477
+ .mdl-layout__header.is-compact {
7478
+ max-height: 56px; } }
7479
+ .mdl-layout__header.is-compact.has-tabs {
7480
+ height: 112px; }
7481
+ @media screen and (max-width: 1024px) {
7482
+ .mdl-layout__header.is-compact.has-tabs {
7483
+ min-height: 104px; } }
7484
+ @media screen and (max-width: 1024px) {
7485
+ .mdl-layout__header {
7486
+ display: none; }
7487
+ .mdl-layout--fixed-header > .mdl-layout__header {
7488
+ display: -webkit-flex;
7489
+ display: -ms-flexbox;
7490
+ display: flex; } }
7491
+
7492
+ .mdl-layout__header--transparent.mdl-layout__header--transparent {
7493
+ background-color: transparent;
7494
+ box-shadow: none; }
7495
+
7496
+ .mdl-layout__header--seamed {
7497
+ box-shadow: none; }
7498
+
7499
+ .mdl-layout__header--scroll {
7500
+ box-shadow: none; }
7501
+
7502
+ .mdl-layout__header--waterfall {
7503
+ box-shadow: none;
7504
+ overflow: hidden; }
7505
+ .mdl-layout__header--waterfall.is-casting-shadow {
7506
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }
7507
+ .mdl-layout__header--waterfall.mdl-layout__header--waterfall-hide-top {
7508
+ -webkit-justify-content: flex-end;
7509
+ -ms-flex-pack: end;
7510
+ justify-content: flex-end; }
7511
+
7512
+ .mdl-layout__header-row {
7513
+ display: -webkit-flex;
7514
+ display: -ms-flexbox;
7515
+ display: flex;
7516
+ -webkit-flex-direction: row;
7517
+ -ms-flex-direction: row;
7518
+ flex-direction: row;
7519
+ -webkit-flex-wrap: nowrap;
7520
+ -ms-flex-wrap: nowrap;
7521
+ flex-wrap: nowrap;
7522
+ -webkit-flex-shrink: 0;
7523
+ -ms-flex-negative: 0;
7524
+ flex-shrink: 0;
7525
+ box-sizing: border-box;
7526
+ -webkit-align-self: stretch;
7527
+ -ms-flex-item-align: stretch;
7528
+ align-self: stretch;
7529
+ -webkit-align-items: center;
7530
+ -ms-flex-align: center;
7531
+ align-items: center;
7532
+ height: 64px;
7533
+ margin: 0;
7534
+ padding: 0 40px 0 80px; }
7535
+ .mdl-layout--no-drawer-button .mdl-layout__header-row {
7536
+ padding-left: 40px; }
7537
+ @media screen and (min-width: 1025px) {
7538
+ .mdl-layout--no-desktop-drawer-button .mdl-layout__header-row {
7539
+ padding-left: 40px; } }
7540
+ @media screen and (max-width: 1024px) {
7541
+ .mdl-layout__header-row {
7542
+ height: 56px;
7543
+ padding: 0 16px 0 72px; }
7544
+ .mdl-layout--no-drawer-button .mdl-layout__header-row {
7545
+ padding-left: 16px; } }
7546
+ .mdl-layout__header-row > * {
7547
+ -webkit-flex-shrink: 0;
7548
+ -ms-flex-negative: 0;
7549
+ flex-shrink: 0; }
7550
+ .mdl-layout__header--scroll .mdl-layout__header-row {
7551
+ width: 100%; }
7552
+ .mdl-layout__header-row .mdl-navigation {
7553
+ margin: 0;
7554
+ padding: 0;
7555
+ height: 64px;
7556
+ -webkit-flex-direction: row;
7557
+ -ms-flex-direction: row;
7558
+ flex-direction: row;
7559
+ -webkit-align-items: center;
7560
+ -ms-flex-align: center;
7561
+ align-items: center; }
7562
+ @media screen and (max-width: 1024px) {
7563
+ .mdl-layout__header-row .mdl-navigation {
7564
+ height: 56px; } }
7565
+ .mdl-layout__header-row .mdl-navigation__link {
7566
+ display: block;
7567
+ color: rgb(255,255,255);
7568
+ line-height: 64px;
7569
+ padding: 0 24px; }
7570
+ @media screen and (max-width: 1024px) {
7571
+ .mdl-layout__header-row .mdl-navigation__link {
7572
+ line-height: 56px;
7573
+ padding: 0 16px; } }
7574
+
7575
+ .mdl-layout__obfuscator {
7576
+ background-color: transparent;
7577
+ position: absolute;
7578
+ top: 0;
7579
+ left: 0;
7580
+ height: 100%;
7581
+ width: 100%;
7582
+ z-index: 4;
7583
+ visibility: hidden;
7584
+ transition-property: background-color;
7585
+ transition-duration: 0.2s;
7586
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
7587
+ .mdl-layout__obfuscator.is-visible {
7588
+ background-color: rgba(0, 0, 0, 0.5);
7589
+ visibility: visible; }
7590
+ @supports (pointer-events: auto) {
7591
+ .mdl-layout__obfuscator {
7592
+ background-color: rgba(0, 0, 0, 0.5);
7593
+ opacity: 0;
7594
+ transition-property: opacity;
7595
+ visibility: visible;
7596
+ pointer-events: none; }
7597
+ .mdl-layout__obfuscator.is-visible {
7598
+ pointer-events: auto;
7599
+ opacity: 1; } }
7600
+
7601
+ .mdl-layout__content {
7602
+ -ms-flex: 0 1 auto;
7603
+ position: relative;
7604
+ display: inline-block;
7605
+ overflow-y: auto;
7606
+ overflow-x: hidden;
7607
+ -webkit-flex-grow: 1;
7608
+ -ms-flex-positive: 1;
7609
+ flex-grow: 1;
7610
+ z-index: 1;
7611
+ -webkit-overflow-scrolling: touch; }
7612
+ .mdl-layout--fixed-drawer > .mdl-layout__content {
7613
+ margin-left: 240px; }
7614
+ .mdl-layout__container.has-scrolling-header .mdl-layout__content {
7615
+ overflow: visible; }
7616
+ @media screen and (max-width: 1024px) {
7617
+ .mdl-layout--fixed-drawer > .mdl-layout__content {
7618
+ margin-left: 0; }
7619
+ .mdl-layout__container.has-scrolling-header .mdl-layout__content {
7620
+ overflow-y: auto;
7621
+ overflow-x: hidden; } }
7622
+
7623
+ .mdl-layout__tab-bar {
7624
+ height: 96px;
7625
+ margin: 0;
7626
+ width: calc(100% - 112px);
7627
+ padding: 0 0 0 56px;
7628
+ display: -webkit-flex;
7629
+ display: -ms-flexbox;
7630
+ display: flex;
7631
+ background-color: rgb(63,81,181);
7632
+ overflow-y: hidden;
7633
+ overflow-x: scroll; }
7634
+ .mdl-layout__tab-bar::-webkit-scrollbar {
7635
+ display: none; }
7636
+ .mdl-layout--no-drawer-button .mdl-layout__tab-bar {
7637
+ padding-left: 16px;
7638
+ width: calc(100% - 32px); }
7639
+ @media screen and (min-width: 1025px) {
7640
+ .mdl-layout--no-desktop-drawer-button .mdl-layout__tab-bar {
7641
+ padding-left: 16px;
7642
+ width: calc(100% - 32px); } }
7643
+ @media screen and (max-width: 1024px) {
7644
+ .mdl-layout__tab-bar {
7645
+ width: calc(100% - 60px);
7646
+ padding: 0 0 0 60px; }
7647
+ .mdl-layout--no-drawer-button .mdl-layout__tab-bar {
7648
+ width: calc(100% - 8px);
7649
+ padding-left: 4px; } }
7650
+ .mdl-layout--fixed-tabs .mdl-layout__tab-bar {
7651
+ padding: 0;
7652
+ overflow: hidden;
7653
+ width: 100%; }
7654
+
7655
+ .mdl-layout__tab-bar-container {
7656
+ position: relative;
7657
+ height: 48px;
7658
+ width: 100%;
7659
+ border: none;
7660
+ margin: 0;
7661
+ z-index: 2;
7662
+ -webkit-flex-grow: 0;
7663
+ -ms-flex-positive: 0;
7664
+ flex-grow: 0;
7665
+ -webkit-flex-shrink: 0;
7666
+ -ms-flex-negative: 0;
7667
+ flex-shrink: 0;
7668
+ overflow: hidden; }
7669
+ .mdl-layout__container > .mdl-layout__tab-bar-container {
7670
+ position: absolute;
7671
+ top: 0;
7672
+ left: 0; }
7673
+
7674
+ .mdl-layout__tab-bar-button {
7675
+ display: inline-block;
7676
+ position: absolute;
7677
+ top: 0;
7678
+ height: 48px;
7679
+ width: 56px;
7680
+ z-index: 4;
7681
+ text-align: center;
7682
+ background-color: rgb(63,81,181);
7683
+ color: transparent;
7684
+ cursor: pointer;
7685
+ -webkit-user-select: none;
7686
+ -moz-user-select: none;
7687
+ -ms-user-select: none;
7688
+ user-select: none; }
7689
+ .mdl-layout--no-desktop-drawer-button .mdl-layout__tab-bar-button,
7690
+ .mdl-layout--no-drawer-button .mdl-layout__tab-bar-button {
7691
+ width: 16px; }
7692
+ .mdl-layout--no-desktop-drawer-button .mdl-layout__tab-bar-button .material-icons,
7693
+ .mdl-layout--no-drawer-button .mdl-layout__tab-bar-button .material-icons {
7694
+ position: relative;
7695
+ left: -4px; }
7696
+ @media screen and (max-width: 1024px) {
7697
+ .mdl-layout__tab-bar-button {
7698
+ width: 60px; } }
7699
+ .mdl-layout--fixed-tabs .mdl-layout__tab-bar-button {
7700
+ display: none; }
7701
+ .mdl-layout__tab-bar-button .material-icons {
7702
+ line-height: 48px; }
7703
+ .mdl-layout__tab-bar-button.is-active {
7704
+ color: rgb(255,255,255); }
7705
+
7706
+ .mdl-layout__tab-bar-left-button {
7707
+ left: 0; }
7708
+
7709
+ .mdl-layout__tab-bar-right-button {
7710
+ right: 0; }
7711
+
7712
+ .mdl-layout__tab {
7713
+ margin: 0;
7714
+ border: none;
7715
+ padding: 0 24px 0 24px;
7716
+ float: left;
7717
+ position: relative;
7718
+ display: block;
7719
+ -webkit-flex-grow: 0;
7720
+ -ms-flex-positive: 0;
7721
+ flex-grow: 0;
7722
+ -webkit-flex-shrink: 0;
7723
+ -ms-flex-negative: 0;
7724
+ flex-shrink: 0;
7725
+ text-decoration: none;
7726
+ height: 48px;
7727
+ line-height: 48px;
7728
+ text-align: center;
7729
+ font-weight: 500;
7730
+ font-size: 14px;
7731
+ text-transform: uppercase;
7732
+ color: rgba(255,255,255, 0.6);
7733
+ overflow: hidden; }
7734
+ @media screen and (max-width: 1024px) {
7735
+ .mdl-layout__tab {
7736
+ padding: 0 12px 0 12px; } }
7737
+ .mdl-layout--fixed-tabs .mdl-layout__tab {
7738
+ float: none;
7739
+ -webkit-flex-grow: 1;
7740
+ -ms-flex-positive: 1;
7741
+ flex-grow: 1;
7742
+ padding: 0; }
7743
+ .mdl-layout.is-upgraded .mdl-layout__tab.is-active {
7744
+ color: rgb(255,255,255); }
7745
+ .mdl-layout.is-upgraded .mdl-layout__tab.is-active::after {
7746
+ height: 2px;
7747
+ width: 100%;
7748
+ display: block;
7749
+ content: " ";
7750
+ bottom: 0;
7751
+ left: 0;
7752
+ position: absolute;
7753
+ background: rgb(255,64,129);
7754
+ -webkit-animation: border-expand 0.2s cubic-bezier(0.4, 0, 0.4, 1) 0.01s alternate forwards;
7755
+ animation: border-expand 0.2s cubic-bezier(0.4, 0, 0.4, 1) 0.01s alternate forwards;
7756
+ transition: all 1s cubic-bezier(0.4, 0, 1, 1); }
7757
+ .mdl-layout__tab .mdl-layout__tab-ripple-container {
7758
+ display: block;
7759
+ position: absolute;
7760
+ height: 100%;
7761
+ width: 100%;
7762
+ left: 0;
7763
+ top: 0;
7764
+ z-index: 1;
7765
+ overflow: hidden; }
7766
+ .mdl-layout__tab .mdl-layout__tab-ripple-container .mdl-ripple {
7767
+ background-color: rgb(255,255,255); }
7768
+
7769
+ .mdl-layout__tab-panel {
7770
+ display: block; }
7771
+ .mdl-layout.is-upgraded .mdl-layout__tab-panel {
7772
+ display: none; }
7773
+ .mdl-layout.is-upgraded .mdl-layout__tab-panel.is-active {
7774
+ display: block; }
7775
+
7776
+ /**
7777
+ * Copyright 2015 Google Inc. All Rights Reserved.
7778
+ *
7779
+ * Licensed under the Apache License, Version 2.0 (the "License");
7780
+ * you may not use this file except in compliance with the License.
7781
+ * You may obtain a copy of the License at
7782
+ *
7783
+ * http://www.apache.org/licenses/LICENSE-2.0
7784
+ *
7785
+ * Unless required by applicable law or agreed to in writing, software
7786
+ * distributed under the License is distributed on an "AS IS" BASIS,
7787
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7788
+ * See the License for the specific language governing permissions and
7789
+ * limitations under the License.
7790
+ */
7791
+ /**
7792
+ * Copyright 2015 Google Inc. All Rights Reserved.
7793
+ *
7794
+ * Licensed under the Apache License, Version 2.0 (the "License");
7795
+ * you may not use this file except in compliance with the License.
7796
+ * You may obtain a copy of the License at
7797
+ *
7798
+ * http://www.apache.org/licenses/LICENSE-2.0
7799
+ *
7800
+ * Unless required by applicable law or agreed to in writing, software
7801
+ * distributed under the License is distributed on an "AS IS" BASIS,
7802
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7803
+ * See the License for the specific language governing permissions and
7804
+ * limitations under the License.
7805
+ */
7806
+ /*------------------------------------* $CONTENTS
7807
+ \*------------------------------------*/
7808
+ /**
7809
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
7810
+ * -----Typography
7811
+ * -----Colors
7812
+ * -----Textfield
7813
+ * -----Switch
7814
+ * -----Spinner
7815
+ * -----Radio
7816
+ * -----Menu
7817
+ * -----List
7818
+ * -----Layout
7819
+ * -----Icon toggles
7820
+ * -----Footer
7821
+ * -----Column
7822
+ * -----Checkbox
7823
+ * -----Card
7824
+ * -----Button
7825
+ * -----Animation
7826
+ * -----Progress
7827
+ * -----Badge
7828
+ * -----Shadows
7829
+ * -----Grid
7830
+ * -----Data table
7831
+ * -----Dialog
7832
+ * -----Snackbar
7833
+ * -----Tooltip
7834
+ * -----Chip
7835
+ *
7836
+ * Even though all variables have the `!default` directive, most of them
7837
+ * should not be changed as they are dependent one another. This can cause
7838
+ * visual distortions (like alignment issues) that are hard to track down
7839
+ * and fix.
7840
+ */
7841
+ /* ========== TYPOGRAPHY ========== */
7842
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
7843
+ page loading. For important text, such as the body, we want it to load
7844
+ immediately and not wait for the web font load, whereas for other sections,
7845
+ such as headers and titles, we're OK with things taking a bit longer to load.
7846
+ We do have some optional classes and parameters in the mixins, in case you
7847
+ definitely want to make sure you're using the preferred font and don't mind
7848
+ the performance hit.
7849
+ We should be able to improve on this once CSS Font Loading L3 becomes more
7850
+ widely available.
7851
+ */
7852
+ /* ========== COLORS ========== */
7853
+ /**
7854
+ *
7855
+ * Material design color palettes.
7856
+ * @see http://www.google.com/design/spec/style/color.html
7857
+ *
7858
+ **/
7859
+ /**
7860
+ * Copyright 2015 Google Inc. All Rights Reserved.
7861
+ *
7862
+ * Licensed under the Apache License, Version 2.0 (the "License");
7863
+ * you may not use this file except in compliance with the License.
7864
+ * You may obtain a copy of the License at
7865
+ *
7866
+ * http://www.apache.org/licenses/LICENSE-2.0
7867
+ *
7868
+ * Unless required by applicable law or agreed to in writing, software
7869
+ * distributed under the License is distributed on an "AS IS" BASIS,
7870
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7871
+ * See the License for the specific language governing permissions and
7872
+ * limitations under the License.
7873
+ */
7874
+ /* ========== Color Palettes ========== */
7875
+ /* colors.scss */
7876
+ /**
7877
+ * Copyright 2015 Google Inc. All Rights Reserved.
7878
+ *
7879
+ * Licensed under the Apache License, Version 2.0 (the "License");
7880
+ * you may not use this file except in compliance with the License.
7881
+ * You may obtain a copy of the License at
7882
+ *
7883
+ * http://www.apache.org/licenses/LICENSE-2.0
7884
+ *
7885
+ * Unless required by applicable law or agreed to in writing, software
7886
+ * distributed under the License is distributed on an "AS IS" BASIS,
7887
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7888
+ * See the License for the specific language governing permissions and
7889
+ * limitations under the License.
7890
+ */
7891
+ /* ========== IMAGES ========== */
7892
+ /* ========== Color & Themes ========== */
7893
+ /* ========== Typography ========== */
7894
+ /* ========== Components ========== */
7895
+ /* ========== Standard Buttons ========== */
7896
+ /* ========== Icon Toggles ========== */
7897
+ /* ========== Radio Buttons ========== */
7898
+ /* ========== Ripple effect ========== */
7899
+ /* ========== Layout ========== */
7900
+ /* ========== Content Tabs ========== */
7901
+ /* ========== Checkboxes ========== */
7902
+ /* ========== Switches ========== */
7903
+ /* ========== Spinner ========== */
7904
+ /* ========== Text fields ========== */
7905
+ /* ========== Card ========== */
7906
+ /* ========== Sliders ========== */
7907
+ /* ========== Progress ========== */
7908
+ /* ========== List ========== */
7909
+ /* ========== Item ========== */
7910
+ /* ========== Dropdown menu ========== */
7911
+ /* ========== Tooltips ========== */
7912
+ /* ========== Footer ========== */
7913
+ /* TEXTFIELD */
7914
+ /* SWITCH */
7915
+ /* SPINNER */
7916
+ /* RADIO */
7917
+ /* MENU */
7918
+ /* LIST */
7919
+ /* LAYOUT */
7920
+ /* ICON TOGGLE */
7921
+ /* FOOTER */
7922
+ /*mega-footer*/
7923
+ /*mini-footer*/
7924
+ /* CHECKBOX */
7925
+ /* CARD */
7926
+ /* Card dimensions */
7927
+ /* Cover image */
7928
+ /* BUTTON */
7929
+ /**
7930
+ *
7931
+ * Dimensions
7932
+ *
7933
+ */
7934
+ /* ANIMATION */
7935
+ /* PROGRESS */
7936
+ /* BADGE */
7937
+ /* SHADOWS */
7938
+ /* GRID */
7939
+ /* DATA TABLE */
7940
+ /* DIALOG */
7941
+ /* SNACKBAR */
7942
+ /* TOOLTIP */
7943
+ /* CHIP */
7944
+ /**
7945
+ * Copyright 2015 Google Inc. All Rights Reserved.
7946
+ *
7947
+ * Licensed under the Apache License, Version 2.0 (the "License");
7948
+ * you may not use this file except in compliance with the License.
7949
+ * You may obtain a copy of the License at
7950
+ *
7951
+ * http://www.apache.org/licenses/LICENSE-2.0
7952
+ *
7953
+ * Unless required by applicable law or agreed to in writing, software
7954
+ * distributed under the License is distributed on an "AS IS" BASIS,
7955
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7956
+ * See the License for the specific language governing permissions and
7957
+ * limitations under the License.
7958
+ */
7959
+ /* Typography */
7960
+ /* Shadows */
7961
+ /* Animations */
7962
+ /* Dialog */
7963
+ .mdl-radio {
7964
+ position: relative;
7965
+ font-size: 16px;
7966
+ line-height: 24px;
7967
+ display: inline-block;
7968
+ vertical-align: middle;
7969
+ box-sizing: border-box;
7970
+ height: 24px;
7971
+ margin: 0;
7972
+ padding-left: 0; }
7973
+ .mdl-radio.is-upgraded {
7974
+ padding-left: 24px; }
7975
+
7976
+ .mdl-radio__button {
7977
+ line-height: 24px; }
7978
+ .mdl-radio.is-upgraded .mdl-radio__button {
7979
+ position: absolute;
7980
+ width: 0;
7981
+ height: 0;
7982
+ margin: 0;
7983
+ padding: 0;
7984
+ opacity: 0;
7985
+ -ms-appearance: none;
7986
+ -moz-appearance: none;
7987
+ -webkit-appearance: none;
7988
+ appearance: none;
7989
+ border: none; }
7990
+
7991
+ .mdl-radio__outer-circle {
7992
+ position: absolute;
7993
+ top: 4px;
7994
+ left: 0;
7995
+ display: inline-block;
7996
+ box-sizing: border-box;
7997
+ width: 16px;
7998
+ height: 16px;
7999
+ margin: 0;
8000
+ cursor: pointer;
8001
+ border: 2px solid rgba(0,0,0, 0.54);
8002
+ border-radius: 50%;
8003
+ z-index: 2; }
8004
+ .mdl-radio.is-checked .mdl-radio__outer-circle {
8005
+ border: 2px solid rgb(63,81,181); }
8006
+ .mdl-radio__outer-circle fieldset[disabled] .mdl-radio,
8007
+ .mdl-radio.is-disabled .mdl-radio__outer-circle {
8008
+ border: 2px solid rgba(0,0,0, 0.26);
8009
+ cursor: auto; }
8010
+
8011
+ .mdl-radio__inner-circle {
8012
+ position: absolute;
8013
+ z-index: 1;
8014
+ margin: 0;
8015
+ top: 8px;
8016
+ left: 4px;
8017
+ box-sizing: border-box;
8018
+ width: 8px;
8019
+ height: 8px;
8020
+ cursor: pointer;
8021
+ transition-duration: 0.28s;
8022
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
8023
+ transition-property: -webkit-transform;
8024
+ transition-property: transform;
8025
+ transition-property: transform, -webkit-transform;
8026
+ -webkit-transform: scale(0, 0);
8027
+ transform: scale(0, 0);
8028
+ border-radius: 50%;
8029
+ background: rgb(63,81,181); }
8030
+ .mdl-radio.is-checked .mdl-radio__inner-circle {
8031
+ -webkit-transform: scale(1, 1);
8032
+ transform: scale(1, 1); }
8033
+ fieldset[disabled] .mdl-radio .mdl-radio__inner-circle,
8034
+ .mdl-radio.is-disabled .mdl-radio__inner-circle {
8035
+ background: rgba(0,0,0, 0.26);
8036
+ cursor: auto; }
8037
+ .mdl-radio.is-focused .mdl-radio__inner-circle {
8038
+ box-shadow: 0 0 0px 10px rgba(0, 0, 0, 0.1); }
8039
+
8040
+ .mdl-radio__label {
8041
+ cursor: pointer; }
8042
+ fieldset[disabled] .mdl-radio .mdl-radio__label,
8043
+ .mdl-radio.is-disabled .mdl-radio__label {
8044
+ color: rgba(0,0,0, 0.26);
8045
+ cursor: auto; }
8046
+
8047
+ .mdl-radio__ripple-container {
8048
+ position: absolute;
8049
+ z-index: 2;
8050
+ top: -9px;
8051
+ left: -13px;
8052
+ box-sizing: border-box;
8053
+ width: 42px;
8054
+ height: 42px;
8055
+ border-radius: 50%;
8056
+ cursor: pointer;
8057
+ overflow: hidden;
8058
+ -webkit-mask-image: -webkit-radial-gradient(circle, white, black); }
8059
+ .mdl-radio__ripple-container .mdl-ripple {
8060
+ background: rgb(63,81,181); }
8061
+ fieldset[disabled] .mdl-radio .mdl-radio__ripple-container,
8062
+ .mdl-radio.is-disabled .mdl-radio__ripple-container {
8063
+ cursor: auto; }
8064
+ fieldset[disabled] .mdl-radio .mdl-radio__ripple-container .mdl-ripple,
8065
+ .mdl-radio.is-disabled .mdl-radio__ripple-container .mdl-ripple {
8066
+ background: transparent; }
8067
+
8068
+ /**
8069
+ * Copyright 2015 Google Inc. All Rights Reserved.
8070
+ *
8071
+ * Licensed under the Apache License, Version 2.0 (the "License");
8072
+ * you may not use this file except in compliance with the License.
8073
+ * You may obtain a copy of the License at
8074
+ *
8075
+ * http://www.apache.org/licenses/LICENSE-2.0
8076
+ *
8077
+ * Unless required by applicable law or agreed to in writing, software
8078
+ * distributed under the License is distributed on an "AS IS" BASIS,
8079
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8080
+ * See the License for the specific language governing permissions and
8081
+ * limitations under the License.
8082
+ */
8083
+ /**
8084
+ * Copyright 2015 Google Inc. All Rights Reserved.
8085
+ *
8086
+ * Licensed under the Apache License, Version 2.0 (the "License");
8087
+ * you may not use this file except in compliance with the License.
8088
+ * You may obtain a copy of the License at
8089
+ *
8090
+ * http://www.apache.org/licenses/LICENSE-2.0
8091
+ *
8092
+ * Unless required by applicable law or agreed to in writing, software
8093
+ * distributed under the License is distributed on an "AS IS" BASIS,
8094
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8095
+ * See the License for the specific language governing permissions and
8096
+ * limitations under the License.
8097
+ */
8098
+ /*------------------------------------* $CONTENTS
8099
+ \*------------------------------------*/
8100
+ /**
8101
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
8102
+ * -----Typography
8103
+ * -----Colors
8104
+ * -----Textfield
8105
+ * -----Switch
8106
+ * -----Spinner
8107
+ * -----Radio
8108
+ * -----Menu
8109
+ * -----List
8110
+ * -----Layout
8111
+ * -----Icon toggles
8112
+ * -----Footer
8113
+ * -----Column
8114
+ * -----Checkbox
8115
+ * -----Card
8116
+ * -----Button
8117
+ * -----Animation
8118
+ * -----Progress
8119
+ * -----Badge
8120
+ * -----Shadows
8121
+ * -----Grid
8122
+ * -----Data table
8123
+ * -----Dialog
8124
+ * -----Snackbar
8125
+ * -----Tooltip
8126
+ * -----Chip
8127
+ *
8128
+ * Even though all variables have the `!default` directive, most of them
8129
+ * should not be changed as they are dependent one another. This can cause
8130
+ * visual distortions (like alignment issues) that are hard to track down
8131
+ * and fix.
8132
+ */
8133
+ /* ========== TYPOGRAPHY ========== */
8134
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
8135
+ page loading. For important text, such as the body, we want it to load
8136
+ immediately and not wait for the web font load, whereas for other sections,
8137
+ such as headers and titles, we're OK with things taking a bit longer to load.
8138
+ We do have some optional classes and parameters in the mixins, in case you
8139
+ definitely want to make sure you're using the preferred font and don't mind
8140
+ the performance hit.
8141
+ We should be able to improve on this once CSS Font Loading L3 becomes more
8142
+ widely available.
8143
+ */
8144
+ /* ========== COLORS ========== */
8145
+ /**
8146
+ *
8147
+ * Material design color palettes.
8148
+ * @see http://www.google.com/design/spec/style/color.html
8149
+ *
8150
+ **/
8151
+ /**
8152
+ * Copyright 2015 Google Inc. All Rights Reserved.
8153
+ *
8154
+ * Licensed under the Apache License, Version 2.0 (the "License");
8155
+ * you may not use this file except in compliance with the License.
8156
+ * You may obtain a copy of the License at
8157
+ *
8158
+ * http://www.apache.org/licenses/LICENSE-2.0
8159
+ *
8160
+ * Unless required by applicable law or agreed to in writing, software
8161
+ * distributed under the License is distributed on an "AS IS" BASIS,
8162
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8163
+ * See the License for the specific language governing permissions and
8164
+ * limitations under the License.
8165
+ */
8166
+ /* ========== Color Palettes ========== */
8167
+ /* colors.scss */
8168
+ /**
8169
+ * Copyright 2015 Google Inc. All Rights Reserved.
8170
+ *
8171
+ * Licensed under the Apache License, Version 2.0 (the "License");
8172
+ * you may not use this file except in compliance with the License.
8173
+ * You may obtain a copy of the License at
8174
+ *
8175
+ * http://www.apache.org/licenses/LICENSE-2.0
8176
+ *
8177
+ * Unless required by applicable law or agreed to in writing, software
8178
+ * distributed under the License is distributed on an "AS IS" BASIS,
8179
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8180
+ * See the License for the specific language governing permissions and
8181
+ * limitations under the License.
8182
+ */
8183
+ /* ========== IMAGES ========== */
8184
+ /* ========== Color & Themes ========== */
8185
+ /* ========== Typography ========== */
8186
+ /* ========== Components ========== */
8187
+ /* ========== Standard Buttons ========== */
8188
+ /* ========== Icon Toggles ========== */
8189
+ /* ========== Radio Buttons ========== */
8190
+ /* ========== Ripple effect ========== */
8191
+ /* ========== Layout ========== */
8192
+ /* ========== Content Tabs ========== */
8193
+ /* ========== Checkboxes ========== */
8194
+ /* ========== Switches ========== */
8195
+ /* ========== Spinner ========== */
8196
+ /* ========== Text fields ========== */
8197
+ /* ========== Card ========== */
8198
+ /* ========== Sliders ========== */
8199
+ /* ========== Progress ========== */
8200
+ /* ========== List ========== */
8201
+ /* ========== Item ========== */
8202
+ /* ========== Dropdown menu ========== */
8203
+ /* ========== Tooltips ========== */
8204
+ /* ========== Footer ========== */
8205
+ /* TEXTFIELD */
8206
+ /* SWITCH */
8207
+ /* SPINNER */
8208
+ /* RADIO */
8209
+ /* MENU */
8210
+ /* LIST */
8211
+ /* LAYOUT */
8212
+ /* ICON TOGGLE */
8213
+ /* FOOTER */
8214
+ /*mega-footer*/
8215
+ /*mini-footer*/
8216
+ /* CHECKBOX */
8217
+ /* CARD */
8218
+ /* Card dimensions */
8219
+ /* Cover image */
8220
+ /* BUTTON */
8221
+ /**
8222
+ *
8223
+ * Dimensions
8224
+ *
8225
+ */
8226
+ /* ANIMATION */
8227
+ /* PROGRESS */
8228
+ /* BADGE */
8229
+ /* SHADOWS */
8230
+ /* GRID */
8231
+ /* DATA TABLE */
8232
+ /* DIALOG */
8233
+ /* SNACKBAR */
8234
+ /* TOOLTIP */
8235
+ /* CHIP */
8236
+ _:-ms-input-placeholder, :root .mdl-slider.mdl-slider.is-upgraded {
8237
+ -ms-appearance: none;
8238
+ height: 32px;
8239
+ margin: 0; }
8240
+
8241
+ .mdl-slider {
8242
+ width: calc(100% - 40px);
8243
+ margin: 0 20px; }
8244
+ .mdl-slider.is-upgraded {
8245
+ -webkit-appearance: none;
8246
+ -moz-appearance: none;
8247
+ appearance: none;
8248
+ height: 2px;
8249
+ background: transparent;
8250
+ -webkit-user-select: none;
8251
+ -moz-user-select: none;
8252
+ -ms-user-select: none;
8253
+ user-select: none;
8254
+ outline: 0;
8255
+ padding: 0;
8256
+ color: rgb(63,81,181);
8257
+ -webkit-align-self: center;
8258
+ -ms-flex-item-align: center;
8259
+ -ms-grid-row-align: center;
8260
+ align-self: center;
8261
+ z-index: 1;
8262
+ cursor: pointer;
8263
+ /**************************** Tracks ****************************/
8264
+ /**************************** Thumbs ****************************/
8265
+ /**************************** 0-value ****************************/
8266
+ /**************************** Disabled ****************************/ }
8267
+ .mdl-slider.is-upgraded::-moz-focus-outer {
8268
+ border: 0; }
8269
+ .mdl-slider.is-upgraded::-ms-tooltip {
8270
+ display: none; }
8271
+ .mdl-slider.is-upgraded::-webkit-slider-runnable-track {
8272
+ background: transparent; }
8273
+ .mdl-slider.is-upgraded::-moz-range-track {
8274
+ background: transparent;
8275
+ border: none; }
8276
+ .mdl-slider.is-upgraded::-ms-track {
8277
+ background: none;
8278
+ color: transparent;
8279
+ height: 2px;
8280
+ width: 100%;
8281
+ border: none; }
8282
+ .mdl-slider.is-upgraded::-ms-fill-lower {
8283
+ padding: 0;
8284
+ background: linear-gradient(to right, transparent, transparent 16px, rgb(63,81,181) 16px, rgb(63,81,181) 0); }
8285
+ .mdl-slider.is-upgraded::-ms-fill-upper {
8286
+ padding: 0;
8287
+ background: linear-gradient(to left, transparent, transparent 16px, rgba(0,0,0, 0.26) 16px, rgba(0,0,0, 0.26) 0); }
8288
+ .mdl-slider.is-upgraded::-webkit-slider-thumb {
8289
+ -webkit-appearance: none;
8290
+ width: 12px;
8291
+ height: 12px;
8292
+ box-sizing: border-box;
8293
+ border-radius: 50%;
8294
+ background: rgb(63,81,181);
8295
+ border: none;
8296
+ transition: border 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
8297
+ transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), border 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
8298
+ transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), border 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.18s cubic-bezier(0.4, 0, 0.2, 1); }
8299
+ .mdl-slider.is-upgraded::-moz-range-thumb {
8300
+ -moz-appearance: none;
8301
+ width: 12px;
8302
+ height: 12px;
8303
+ box-sizing: border-box;
8304
+ border-radius: 50%;
8305
+ background-image: none;
8306
+ background: rgb(63,81,181);
8307
+ border: none; }
8308
+ .mdl-slider.is-upgraded:focus:not(:active)::-webkit-slider-thumb {
8309
+ box-shadow: 0 0 0 10px rgba(63,81,181, 0.26); }
8310
+ .mdl-slider.is-upgraded:focus:not(:active)::-moz-range-thumb {
8311
+ box-shadow: 0 0 0 10px rgba(63,81,181, 0.26); }
8312
+ .mdl-slider.is-upgraded:active::-webkit-slider-thumb {
8313
+ background-image: none;
8314
+ background: rgb(63,81,181);
8315
+ -webkit-transform: scale(1.5);
8316
+ transform: scale(1.5); }
8317
+ .mdl-slider.is-upgraded:active::-moz-range-thumb {
8318
+ background-image: none;
8319
+ background: rgb(63,81,181);
8320
+ transform: scale(1.5); }
8321
+ .mdl-slider.is-upgraded::-ms-thumb {
8322
+ width: 32px;
8323
+ height: 32px;
8324
+ border: none;
8325
+ border-radius: 50%;
8326
+ background: rgb(63,81,181);
8327
+ transform: scale(0.375);
8328
+ transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
8329
+ transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
8330
+ transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.18s cubic-bezier(0.4, 0, 0.2, 1); }
8331
+ .mdl-slider.is-upgraded:focus:not(:active)::-ms-thumb {
8332
+ background: radial-gradient(circle closest-side, rgb(63,81,181) 0%, rgb(63,81,181) 37.5%, rgba(63,81,181, 0.26) 37.5%, rgba(63,81,181, 0.26) 100%);
8333
+ transform: scale(1); }
8334
+ .mdl-slider.is-upgraded:active::-ms-thumb {
8335
+ background: rgb(63,81,181);
8336
+ transform: scale(0.5625); }
8337
+ .mdl-slider.is-upgraded.is-lowest-value::-webkit-slider-thumb {
8338
+ border: 2px solid rgba(0,0,0, 0.26);
8339
+ background: transparent; }
8340
+ .mdl-slider.is-upgraded.is-lowest-value::-moz-range-thumb {
8341
+ border: 2px solid rgba(0,0,0, 0.26);
8342
+ background: transparent; }
8343
+ .mdl-slider.is-upgraded.is-lowest-value +
8344
+ .mdl-slider__background-flex > .mdl-slider__background-upper {
8345
+ left: 6px; }
8346
+ .mdl-slider.is-upgraded.is-lowest-value:focus:not(:active)::-webkit-slider-thumb {
8347
+ box-shadow: 0 0 0 10px rgba(0,0,0, 0.12);
8348
+ background: rgba(0,0,0, 0.12); }
8349
+ .mdl-slider.is-upgraded.is-lowest-value:focus:not(:active)::-moz-range-thumb {
8350
+ box-shadow: 0 0 0 10px rgba(0,0,0, 0.12);
8351
+ background: rgba(0,0,0, 0.12); }
8352
+ .mdl-slider.is-upgraded.is-lowest-value:active::-webkit-slider-thumb {
8353
+ border: 1.6px solid rgba(0,0,0, 0.26);
8354
+ -webkit-transform: scale(1.5);
8355
+ transform: scale(1.5); }
8356
+ .mdl-slider.is-upgraded.is-lowest-value:active +
8357
+ .mdl-slider__background-flex > .mdl-slider__background-upper {
8358
+ left: 9px; }
8359
+ .mdl-slider.is-upgraded.is-lowest-value:active::-moz-range-thumb {
8360
+ border: 1.5px solid rgba(0,0,0, 0.26);
8361
+ transform: scale(1.5); }
8362
+ .mdl-slider.is-upgraded.is-lowest-value::-ms-thumb {
8363
+ background: radial-gradient(circle closest-side, transparent 0%, transparent 66.67%, rgba(0,0,0, 0.26) 66.67%, rgba(0,0,0, 0.26) 100%); }
8364
+ .mdl-slider.is-upgraded.is-lowest-value:focus:not(:active)::-ms-thumb {
8365
+ background: radial-gradient(circle closest-side, rgba(0,0,0, 0.12) 0%, rgba(0,0,0, 0.12) 25%, rgba(0,0,0, 0.26) 25%, rgba(0,0,0, 0.26) 37.5%, rgba(0,0,0, 0.12) 37.5%, rgba(0,0,0, 0.12) 100%);
8366
+ transform: scale(1); }
8367
+ .mdl-slider.is-upgraded.is-lowest-value:active::-ms-thumb {
8368
+ transform: scale(0.5625);
8369
+ background: radial-gradient(circle closest-side, transparent 0%, transparent 77.78%, rgba(0,0,0, 0.26) 77.78%, rgba(0,0,0, 0.26) 100%); }
8370
+ .mdl-slider.is-upgraded.is-lowest-value::-ms-fill-lower {
8371
+ background: transparent; }
8372
+ .mdl-slider.is-upgraded.is-lowest-value::-ms-fill-upper {
8373
+ margin-left: 6px; }
8374
+ .mdl-slider.is-upgraded.is-lowest-value:active::-ms-fill-upper {
8375
+ margin-left: 9px; }
8376
+ .mdl-slider.is-upgraded:disabled:focus::-webkit-slider-thumb, .mdl-slider.is-upgraded:disabled:active::-webkit-slider-thumb, .mdl-slider.is-upgraded:disabled::-webkit-slider-thumb {
8377
+ -webkit-transform: scale(0.667);
8378
+ transform: scale(0.667);
8379
+ background: rgba(0,0,0, 0.26); }
8380
+ .mdl-slider.is-upgraded:disabled:focus::-moz-range-thumb, .mdl-slider.is-upgraded:disabled:active::-moz-range-thumb, .mdl-slider.is-upgraded:disabled::-moz-range-thumb {
8381
+ transform: scale(0.667);
8382
+ background: rgba(0,0,0, 0.26); }
8383
+ .mdl-slider.is-upgraded:disabled +
8384
+ .mdl-slider__background-flex > .mdl-slider__background-lower {
8385
+ background-color: rgba(0,0,0, 0.26);
8386
+ left: -6px; }
8387
+ .mdl-slider.is-upgraded:disabled +
8388
+ .mdl-slider__background-flex > .mdl-slider__background-upper {
8389
+ left: 6px; }
8390
+ .mdl-slider.is-upgraded.is-lowest-value:disabled:focus::-webkit-slider-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled:active::-webkit-slider-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled::-webkit-slider-thumb {
8391
+ border: 3px solid rgba(0,0,0, 0.26);
8392
+ background: transparent;
8393
+ -webkit-transform: scale(0.667);
8394
+ transform: scale(0.667); }
8395
+ .mdl-slider.is-upgraded.is-lowest-value:disabled:focus::-moz-range-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled:active::-moz-range-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled::-moz-range-thumb {
8396
+ border: 3px solid rgba(0,0,0, 0.26);
8397
+ background: transparent;
8398
+ transform: scale(0.667); }
8399
+ .mdl-slider.is-upgraded.is-lowest-value:disabled:active +
8400
+ .mdl-slider__background-flex > .mdl-slider__background-upper {
8401
+ left: 6px; }
8402
+ .mdl-slider.is-upgraded:disabled:focus::-ms-thumb, .mdl-slider.is-upgraded:disabled:active::-ms-thumb, .mdl-slider.is-upgraded:disabled::-ms-thumb {
8403
+ transform: scale(0.25);
8404
+ background: rgba(0,0,0, 0.26); }
8405
+ .mdl-slider.is-upgraded.is-lowest-value:disabled:focus::-ms-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled:active::-ms-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled::-ms-thumb {
8406
+ transform: scale(0.25);
8407
+ background: radial-gradient(circle closest-side, transparent 0%, transparent 50%, rgba(0,0,0, 0.26) 50%, rgba(0,0,0, 0.26) 100%); }
8408
+ .mdl-slider.is-upgraded:disabled::-ms-fill-lower {
8409
+ margin-right: 6px;
8410
+ background: linear-gradient(to right, transparent, transparent 25px, rgba(0,0,0, 0.26) 25px, rgba(0,0,0, 0.26) 0); }
8411
+ .mdl-slider.is-upgraded:disabled::-ms-fill-upper {
8412
+ margin-left: 6px; }
8413
+ .mdl-slider.is-upgraded.is-lowest-value:disabled:active::-ms-fill-upper {
8414
+ margin-left: 6px; }
8415
+
8416
+ .mdl-slider__ie-container {
8417
+ height: 18px;
8418
+ overflow: visible;
8419
+ border: none;
8420
+ margin: none;
8421
+ padding: none; }
8422
+
8423
+ .mdl-slider__container {
8424
+ height: 18px;
8425
+ position: relative;
8426
+ background: none;
8427
+ display: -webkit-flex;
8428
+ display: -ms-flexbox;
8429
+ display: flex;
8430
+ -webkit-flex-direction: row;
8431
+ -ms-flex-direction: row;
8432
+ flex-direction: row; }
8433
+
8434
+ .mdl-slider__background-flex {
8435
+ background: transparent;
8436
+ position: absolute;
8437
+ height: 2px;
8438
+ width: calc(100% - 52px);
8439
+ top: 50%;
8440
+ left: 0;
8441
+ margin: 0 26px;
8442
+ display: -webkit-flex;
8443
+ display: -ms-flexbox;
8444
+ display: flex;
8445
+ overflow: hidden;
8446
+ border: 0;
8447
+ padding: 0;
8448
+ -webkit-transform: translate(0, -1px);
8449
+ transform: translate(0, -1px); }
8450
+
8451
+ .mdl-slider__background-lower {
8452
+ background: rgb(63,81,181);
8453
+ -webkit-flex: 0;
8454
+ -ms-flex: 0;
8455
+ flex: 0;
8456
+ position: relative;
8457
+ border: 0;
8458
+ padding: 0; }
8459
+
8460
+ .mdl-slider__background-upper {
8461
+ background: rgba(0,0,0, 0.26);
8462
+ -webkit-flex: 0;
8463
+ -ms-flex: 0;
8464
+ flex: 0;
8465
+ position: relative;
8466
+ border: 0;
8467
+ padding: 0;
8468
+ transition: left 0.18s cubic-bezier(0.4, 0, 0.2, 1); }
8469
+
8470
+ /**
8471
+ * Copyright 2015 Google Inc. All Rights Reserved.
8472
+ *
8473
+ * Licensed under the Apache License, Version 2.0 (the "License");
8474
+ * you may not use this file except in compliance with the License.
8475
+ * You may obtain a copy of the License at
8476
+ *
8477
+ * http://www.apache.org/licenses/LICENSE-2.0
8478
+ *
8479
+ * Unless required by applicable law or agreed to in writing, software
8480
+ * distributed under the License is distributed on an "AS IS" BASIS,
8481
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8482
+ * See the License for the specific language governing permissions and
8483
+ * limitations under the License.
8484
+ */
8485
+ /**
8486
+ * Copyright 2015 Google Inc. All Rights Reserved.
8487
+ *
8488
+ * Licensed under the Apache License, Version 2.0 (the "License");
8489
+ * you may not use this file except in compliance with the License.
8490
+ * You may obtain a copy of the License at
8491
+ *
8492
+ * http://www.apache.org/licenses/LICENSE-2.0
8493
+ *
8494
+ * Unless required by applicable law or agreed to in writing, software
8495
+ * distributed under the License is distributed on an "AS IS" BASIS,
8496
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8497
+ * See the License for the specific language governing permissions and
8498
+ * limitations under the License.
8499
+ */
8500
+ /*------------------------------------* $CONTENTS
8501
+ \*------------------------------------*/
8502
+ /**
8503
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
8504
+ * -----Typography
8505
+ * -----Colors
8506
+ * -----Textfield
8507
+ * -----Switch
8508
+ * -----Spinner
8509
+ * -----Radio
8510
+ * -----Menu
8511
+ * -----List
8512
+ * -----Layout
8513
+ * -----Icon toggles
8514
+ * -----Footer
8515
+ * -----Column
8516
+ * -----Checkbox
8517
+ * -----Card
8518
+ * -----Button
8519
+ * -----Animation
8520
+ * -----Progress
8521
+ * -----Badge
8522
+ * -----Shadows
8523
+ * -----Grid
8524
+ * -----Data table
8525
+ * -----Dialog
8526
+ * -----Snackbar
8527
+ * -----Tooltip
8528
+ * -----Chip
8529
+ *
8530
+ * Even though all variables have the `!default` directive, most of them
8531
+ * should not be changed as they are dependent one another. This can cause
8532
+ * visual distortions (like alignment issues) that are hard to track down
8533
+ * and fix.
8534
+ */
8535
+ /* ========== TYPOGRAPHY ========== */
8536
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
8537
+ page loading. For important text, such as the body, we want it to load
8538
+ immediately and not wait for the web font load, whereas for other sections,
8539
+ such as headers and titles, we're OK with things taking a bit longer to load.
8540
+ We do have some optional classes and parameters in the mixins, in case you
8541
+ definitely want to make sure you're using the preferred font and don't mind
8542
+ the performance hit.
8543
+ We should be able to improve on this once CSS Font Loading L3 becomes more
8544
+ widely available.
8545
+ */
8546
+ /* ========== COLORS ========== */
8547
+ /**
8548
+ *
8549
+ * Material design color palettes.
8550
+ * @see http://www.google.com/design/spec/style/color.html
8551
+ *
8552
+ **/
8553
+ /**
8554
+ * Copyright 2015 Google Inc. All Rights Reserved.
8555
+ *
8556
+ * Licensed under the Apache License, Version 2.0 (the "License");
8557
+ * you may not use this file except in compliance with the License.
8558
+ * You may obtain a copy of the License at
8559
+ *
8560
+ * http://www.apache.org/licenses/LICENSE-2.0
8561
+ *
8562
+ * Unless required by applicable law or agreed to in writing, software
8563
+ * distributed under the License is distributed on an "AS IS" BASIS,
8564
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8565
+ * See the License for the specific language governing permissions and
8566
+ * limitations under the License.
8567
+ */
8568
+ /* ========== Color Palettes ========== */
8569
+ /* colors.scss */
8570
+ /**
8571
+ * Copyright 2015 Google Inc. All Rights Reserved.
8572
+ *
8573
+ * Licensed under the Apache License, Version 2.0 (the "License");
8574
+ * you may not use this file except in compliance with the License.
8575
+ * You may obtain a copy of the License at
8576
+ *
8577
+ * http://www.apache.org/licenses/LICENSE-2.0
8578
+ *
8579
+ * Unless required by applicable law or agreed to in writing, software
8580
+ * distributed under the License is distributed on an "AS IS" BASIS,
8581
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8582
+ * See the License for the specific language governing permissions and
8583
+ * limitations under the License.
8584
+ */
8585
+ /* ========== IMAGES ========== */
8586
+ /* ========== Color & Themes ========== */
8587
+ /* ========== Typography ========== */
8588
+ /* ========== Components ========== */
8589
+ /* ========== Standard Buttons ========== */
8590
+ /* ========== Icon Toggles ========== */
8591
+ /* ========== Radio Buttons ========== */
8592
+ /* ========== Ripple effect ========== */
8593
+ /* ========== Layout ========== */
8594
+ /* ========== Content Tabs ========== */
8595
+ /* ========== Checkboxes ========== */
8596
+ /* ========== Switches ========== */
8597
+ /* ========== Spinner ========== */
8598
+ /* ========== Text fields ========== */
8599
+ /* ========== Card ========== */
8600
+ /* ========== Sliders ========== */
8601
+ /* ========== Progress ========== */
8602
+ /* ========== List ========== */
8603
+ /* ========== Item ========== */
8604
+ /* ========== Dropdown menu ========== */
8605
+ /* ========== Tooltips ========== */
8606
+ /* ========== Footer ========== */
8607
+ /* TEXTFIELD */
8608
+ /* SWITCH */
8609
+ /* SPINNER */
8610
+ /* RADIO */
8611
+ /* MENU */
8612
+ /* LIST */
8613
+ /* LAYOUT */
8614
+ /* ICON TOGGLE */
8615
+ /* FOOTER */
8616
+ /*mega-footer*/
8617
+ /*mini-footer*/
8618
+ /* CHECKBOX */
8619
+ /* CARD */
8620
+ /* Card dimensions */
8621
+ /* Cover image */
8622
+ /* BUTTON */
8623
+ /**
8624
+ *
8625
+ * Dimensions
8626
+ *
8627
+ */
8628
+ /* ANIMATION */
8629
+ /* PROGRESS */
8630
+ /* BADGE */
8631
+ /* SHADOWS */
8632
+ /* GRID */
8633
+ /* DATA TABLE */
8634
+ /* DIALOG */
8635
+ /* SNACKBAR */
8636
+ /* TOOLTIP */
8637
+ /* CHIP */
8638
+ /**
8639
+ * Copyright 2015 Google Inc. All Rights Reserved.
8640
+ *
8641
+ * Licensed under the Apache License, Version 2.0 (the "License");
8642
+ * you may not use this file except in compliance with the License.
8643
+ * You may obtain a copy of the License at
8644
+ *
8645
+ * http://www.apache.org/licenses/LICENSE-2.0
8646
+ *
8647
+ * Unless required by applicable law or agreed to in writing, software
8648
+ * distributed under the License is distributed on an "AS IS" BASIS,
8649
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8650
+ * See the License for the specific language governing permissions and
8651
+ * limitations under the License.
8652
+ */
8653
+ /* Typography */
8654
+ /* Shadows */
8655
+ /* Animations */
8656
+ /* Dialog */
8657
+ .mdl-snackbar {
8658
+ position: fixed;
8659
+ bottom: 0;
8660
+ left: 50%;
8661
+ cursor: default;
8662
+ background-color: #323232;
8663
+ z-index: 3;
8664
+ display: block;
8665
+ display: -webkit-flex;
8666
+ display: -ms-flexbox;
8667
+ display: flex;
8668
+ -webkit-justify-content: space-between;
8669
+ -ms-flex-pack: justify;
8670
+ justify-content: space-between;
8671
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
8672
+ will-change: transform;
8673
+ -webkit-transform: translate(0, 80px);
8674
+ transform: translate(0, 80px);
8675
+ transition: -webkit-transform 0.25s cubic-bezier(0.4, 0, 1, 1);
8676
+ transition: transform 0.25s cubic-bezier(0.4, 0, 1, 1);
8677
+ transition: transform 0.25s cubic-bezier(0.4, 0, 1, 1), -webkit-transform 0.25s cubic-bezier(0.4, 0, 1, 1);
8678
+ pointer-events: none; }
8679
+ @media (max-width: 479px) {
8680
+ .mdl-snackbar {
8681
+ width: 100%;
8682
+ left: 0;
8683
+ min-height: 48px;
8684
+ max-height: 80px; } }
8685
+ @media (min-width: 480px) {
8686
+ .mdl-snackbar {
8687
+ min-width: 288px;
8688
+ max-width: 568px;
8689
+ border-radius: 2px;
8690
+ -webkit-transform: translate(-50%, 80px);
8691
+ transform: translate(-50%, 80px); } }
8692
+ .mdl-snackbar--active {
8693
+ -webkit-transform: translate(0, 0);
8694
+ transform: translate(0, 0);
8695
+ pointer-events: auto;
8696
+ transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.2, 1);
8697
+ transition: transform 0.25s cubic-bezier(0, 0, 0.2, 1);
8698
+ transition: transform 0.25s cubic-bezier(0, 0, 0.2, 1), -webkit-transform 0.25s cubic-bezier(0, 0, 0.2, 1); }
8699
+ @media (min-width: 480px) {
8700
+ .mdl-snackbar--active {
8701
+ -webkit-transform: translate(-50%, 0);
8702
+ transform: translate(-50%, 0); } }
8703
+ .mdl-snackbar__text {
8704
+ padding: 14px 12px 14px 24px;
8705
+ vertical-align: middle;
8706
+ color: white;
8707
+ float: left; }
8708
+ .mdl-snackbar__action {
8709
+ background: transparent;
8710
+ border: none;
8711
+ color: rgb(255,64,129);
8712
+ float: right;
8713
+ text-transform: uppercase;
8714
+ padding: 14px 24px 14px 12px;
8715
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
8716
+ font-size: 14px;
8717
+ font-weight: 500;
8718
+ text-transform: uppercase;
8719
+ line-height: 1;
8720
+ letter-spacing: 0;
8721
+ overflow: hidden;
8722
+ outline: none;
8723
+ opacity: 0;
8724
+ pointer-events: none;
8725
+ cursor: pointer;
8726
+ text-decoration: none;
8727
+ text-align: center;
8728
+ -webkit-align-self: center;
8729
+ -ms-flex-item-align: center;
8730
+ -ms-grid-row-align: center;
8731
+ align-self: center; }
8732
+ .mdl-snackbar__action::-moz-focus-inner {
8733
+ border: 0; }
8734
+ .mdl-snackbar__action:not([aria-hidden]) {
8735
+ opacity: 1;
8736
+ pointer-events: auto; }
8737
+
8738
+ /**
8739
+ * Copyright 2015 Google Inc. All Rights Reserved.
8740
+ *
8741
+ * Licensed under the Apache License, Version 2.0 (the "License");
8742
+ * you may not use this file except in compliance with the License.
8743
+ * You may obtain a copy of the License at
8744
+ *
8745
+ * http://www.apache.org/licenses/LICENSE-2.0
8746
+ *
8747
+ * Unless required by applicable law or agreed to in writing, software
8748
+ * distributed under the License is distributed on an "AS IS" BASIS,
8749
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8750
+ * See the License for the specific language governing permissions and
8751
+ * limitations under the License.
8752
+ */
8753
+ /**
8754
+ * Copyright 2015 Google Inc. All Rights Reserved.
8755
+ *
8756
+ * Licensed under the Apache License, Version 2.0 (the "License");
8757
+ * you may not use this file except in compliance with the License.
8758
+ * You may obtain a copy of the License at
8759
+ *
8760
+ * http://www.apache.org/licenses/LICENSE-2.0
8761
+ *
8762
+ * Unless required by applicable law or agreed to in writing, software
8763
+ * distributed under the License is distributed on an "AS IS" BASIS,
8764
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8765
+ * See the License for the specific language governing permissions and
8766
+ * limitations under the License.
8767
+ */
8768
+ /*------------------------------------* $CONTENTS
8769
+ \*------------------------------------*/
8770
+ /**
8771
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
8772
+ * -----Typography
8773
+ * -----Colors
8774
+ * -----Textfield
8775
+ * -----Switch
8776
+ * -----Spinner
8777
+ * -----Radio
8778
+ * -----Menu
8779
+ * -----List
8780
+ * -----Layout
8781
+ * -----Icon toggles
8782
+ * -----Footer
8783
+ * -----Column
8784
+ * -----Checkbox
8785
+ * -----Card
8786
+ * -----Button
8787
+ * -----Animation
8788
+ * -----Progress
8789
+ * -----Badge
8790
+ * -----Shadows
8791
+ * -----Grid
8792
+ * -----Data table
8793
+ * -----Dialog
8794
+ * -----Snackbar
8795
+ * -----Tooltip
8796
+ * -----Chip
8797
+ *
8798
+ * Even though all variables have the `!default` directive, most of them
8799
+ * should not be changed as they are dependent one another. This can cause
8800
+ * visual distortions (like alignment issues) that are hard to track down
8801
+ * and fix.
8802
+ */
8803
+ /* ========== TYPOGRAPHY ========== */
8804
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
8805
+ page loading. For important text, such as the body, we want it to load
8806
+ immediately and not wait for the web font load, whereas for other sections,
8807
+ such as headers and titles, we're OK with things taking a bit longer to load.
8808
+ We do have some optional classes and parameters in the mixins, in case you
8809
+ definitely want to make sure you're using the preferred font and don't mind
8810
+ the performance hit.
8811
+ We should be able to improve on this once CSS Font Loading L3 becomes more
8812
+ widely available.
8813
+ */
8814
+ /* ========== COLORS ========== */
8815
+ /**
8816
+ *
8817
+ * Material design color palettes.
8818
+ * @see http://www.google.com/design/spec/style/color.html
8819
+ *
8820
+ **/
8821
+ /**
8822
+ * Copyright 2015 Google Inc. All Rights Reserved.
8823
+ *
8824
+ * Licensed under the Apache License, Version 2.0 (the "License");
8825
+ * you may not use this file except in compliance with the License.
8826
+ * You may obtain a copy of the License at
8827
+ *
8828
+ * http://www.apache.org/licenses/LICENSE-2.0
8829
+ *
8830
+ * Unless required by applicable law or agreed to in writing, software
8831
+ * distributed under the License is distributed on an "AS IS" BASIS,
8832
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8833
+ * See the License for the specific language governing permissions and
8834
+ * limitations under the License.
8835
+ */
8836
+ /* ========== Color Palettes ========== */
8837
+ /* colors.scss */
8838
+ /**
8839
+ * Copyright 2015 Google Inc. All Rights Reserved.
8840
+ *
8841
+ * Licensed under the Apache License, Version 2.0 (the "License");
8842
+ * you may not use this file except in compliance with the License.
8843
+ * You may obtain a copy of the License at
8844
+ *
8845
+ * http://www.apache.org/licenses/LICENSE-2.0
8846
+ *
8847
+ * Unless required by applicable law or agreed to in writing, software
8848
+ * distributed under the License is distributed on an "AS IS" BASIS,
8849
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8850
+ * See the License for the specific language governing permissions and
8851
+ * limitations under the License.
8852
+ */
8853
+ /* ========== IMAGES ========== */
8854
+ /* ========== Color & Themes ========== */
8855
+ /* ========== Typography ========== */
8856
+ /* ========== Components ========== */
8857
+ /* ========== Standard Buttons ========== */
8858
+ /* ========== Icon Toggles ========== */
8859
+ /* ========== Radio Buttons ========== */
8860
+ /* ========== Ripple effect ========== */
8861
+ /* ========== Layout ========== */
8862
+ /* ========== Content Tabs ========== */
8863
+ /* ========== Checkboxes ========== */
8864
+ /* ========== Switches ========== */
8865
+ /* ========== Spinner ========== */
8866
+ /* ========== Text fields ========== */
8867
+ /* ========== Card ========== */
8868
+ /* ========== Sliders ========== */
8869
+ /* ========== Progress ========== */
8870
+ /* ========== List ========== */
8871
+ /* ========== Item ========== */
8872
+ /* ========== Dropdown menu ========== */
8873
+ /* ========== Tooltips ========== */
8874
+ /* ========== Footer ========== */
8875
+ /* TEXTFIELD */
8876
+ /* SWITCH */
8877
+ /* SPINNER */
8878
+ /* RADIO */
8879
+ /* MENU */
8880
+ /* LIST */
8881
+ /* LAYOUT */
8882
+ /* ICON TOGGLE */
8883
+ /* FOOTER */
8884
+ /*mega-footer*/
8885
+ /*mini-footer*/
8886
+ /* CHECKBOX */
8887
+ /* CARD */
8888
+ /* Card dimensions */
8889
+ /* Cover image */
8890
+ /* BUTTON */
8891
+ /**
8892
+ *
8893
+ * Dimensions
8894
+ *
8895
+ */
8896
+ /* ANIMATION */
8897
+ /* PROGRESS */
8898
+ /* BADGE */
8899
+ /* SHADOWS */
8900
+ /* GRID */
8901
+ /* DATA TABLE */
8902
+ /* DIALOG */
8903
+ /* SNACKBAR */
8904
+ /* TOOLTIP */
8905
+ /* CHIP */
8906
+ .mdl-spinner {
8907
+ display: inline-block;
8908
+ position: relative;
8909
+ width: 28px;
8910
+ height: 28px; }
8911
+ .mdl-spinner:not(.is-upgraded).is-active:after {
8912
+ content: "Loading..."; }
8913
+ .mdl-spinner.is-upgraded.is-active {
8914
+ -webkit-animation: mdl-spinner__container-rotate 1568.23529412ms linear infinite;
8915
+ animation: mdl-spinner__container-rotate 1568.23529412ms linear infinite; }
8916
+
8917
+ @-webkit-keyframes mdl-spinner__container-rotate {
8918
+ to {
8919
+ -webkit-transform: rotate(360deg);
8920
+ transform: rotate(360deg); } }
8921
+
8922
+ @keyframes mdl-spinner__container-rotate {
8923
+ to {
8924
+ -webkit-transform: rotate(360deg);
8925
+ transform: rotate(360deg); } }
8926
+
8927
+ .mdl-spinner__layer {
8928
+ position: absolute;
8929
+ width: 100%;
8930
+ height: 100%;
8931
+ opacity: 0; }
8932
+
8933
+ .mdl-spinner__layer-1 {
8934
+ border-color: rgb(66,165,245); }
8935
+ .mdl-spinner--single-color .mdl-spinner__layer-1 {
8936
+ border-color: rgb(63,81,181); }
8937
+ .mdl-spinner.is-active .mdl-spinner__layer-1 {
8938
+ -webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
8939
+ animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
8940
+
8941
+ .mdl-spinner__layer-2 {
8942
+ border-color: rgb(244,67,54); }
8943
+ .mdl-spinner--single-color .mdl-spinner__layer-2 {
8944
+ border-color: rgb(63,81,181); }
8945
+ .mdl-spinner.is-active .mdl-spinner__layer-2 {
8946
+ -webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
8947
+ animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
8948
+
8949
+ .mdl-spinner__layer-3 {
8950
+ border-color: rgb(253,216,53); }
8951
+ .mdl-spinner--single-color .mdl-spinner__layer-3 {
8952
+ border-color: rgb(63,81,181); }
8953
+ .mdl-spinner.is-active .mdl-spinner__layer-3 {
8954
+ -webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
8955
+ animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
8956
+
8957
+ .mdl-spinner__layer-4 {
8958
+ border-color: rgb(76,175,80); }
8959
+ .mdl-spinner--single-color .mdl-spinner__layer-4 {
8960
+ border-color: rgb(63,81,181); }
8961
+ .mdl-spinner.is-active .mdl-spinner__layer-4 {
8962
+ -webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
8963
+ animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
8964
+
8965
+ @-webkit-keyframes mdl-spinner__fill-unfill-rotate {
8966
+ 12.5% {
8967
+ -webkit-transform: rotate(135deg);
8968
+ transform: rotate(135deg); }
8969
+ 25% {
8970
+ -webkit-transform: rotate(270deg);
8971
+ transform: rotate(270deg); }
8972
+ 37.5% {
8973
+ -webkit-transform: rotate(405deg);
8974
+ transform: rotate(405deg); }
8975
+ 50% {
8976
+ -webkit-transform: rotate(540deg);
8977
+ transform: rotate(540deg); }
8978
+ 62.5% {
8979
+ -webkit-transform: rotate(675deg);
8980
+ transform: rotate(675deg); }
8981
+ 75% {
8982
+ -webkit-transform: rotate(810deg);
8983
+ transform: rotate(810deg); }
8984
+ 87.5% {
8985
+ -webkit-transform: rotate(945deg);
8986
+ transform: rotate(945deg); }
8987
+ to {
8988
+ -webkit-transform: rotate(1080deg);
8989
+ transform: rotate(1080deg); } }
8990
+
8991
+ @keyframes mdl-spinner__fill-unfill-rotate {
8992
+ 12.5% {
8993
+ -webkit-transform: rotate(135deg);
8994
+ transform: rotate(135deg); }
8995
+ 25% {
8996
+ -webkit-transform: rotate(270deg);
8997
+ transform: rotate(270deg); }
8998
+ 37.5% {
8999
+ -webkit-transform: rotate(405deg);
9000
+ transform: rotate(405deg); }
9001
+ 50% {
9002
+ -webkit-transform: rotate(540deg);
9003
+ transform: rotate(540deg); }
9004
+ 62.5% {
9005
+ -webkit-transform: rotate(675deg);
9006
+ transform: rotate(675deg); }
9007
+ 75% {
9008
+ -webkit-transform: rotate(810deg);
9009
+ transform: rotate(810deg); }
9010
+ 87.5% {
9011
+ -webkit-transform: rotate(945deg);
9012
+ transform: rotate(945deg); }
9013
+ to {
9014
+ -webkit-transform: rotate(1080deg);
9015
+ transform: rotate(1080deg); } }
9016
+
9017
+ /**
9018
+ * HACK: Even though the intention is to have the current .mdl-spinner__layer-N
9019
+ * at `opacity: 1`, we set it to `opacity: 0.99` instead since this forces Chrome
9020
+ * to do proper subpixel rendering for the elements being animated. This is
9021
+ * especially visible in Chrome 39 on Ubuntu 14.04. See:
9022
+ *
9023
+ * - https://github.com/Polymer/paper-spinner/issues/9
9024
+ * - https://code.google.com/p/chromium/issues/detail?id=436255
9025
+ */
9026
+ @-webkit-keyframes mdl-spinner__layer-1-fade-in-out {
9027
+ from {
9028
+ opacity: 0.99; }
9029
+ 25% {
9030
+ opacity: 0.99; }
9031
+ 26% {
9032
+ opacity: 0; }
9033
+ 89% {
9034
+ opacity: 0; }
9035
+ 90% {
9036
+ opacity: 0.99; }
9037
+ 100% {
9038
+ opacity: 0.99; } }
9039
+ @keyframes mdl-spinner__layer-1-fade-in-out {
9040
+ from {
9041
+ opacity: 0.99; }
9042
+ 25% {
9043
+ opacity: 0.99; }
9044
+ 26% {
9045
+ opacity: 0; }
9046
+ 89% {
9047
+ opacity: 0; }
9048
+ 90% {
9049
+ opacity: 0.99; }
9050
+ 100% {
9051
+ opacity: 0.99; } }
9052
+
9053
+ @-webkit-keyframes mdl-spinner__layer-2-fade-in-out {
9054
+ from {
9055
+ opacity: 0; }
9056
+ 15% {
9057
+ opacity: 0; }
9058
+ 25% {
9059
+ opacity: 0.99; }
9060
+ 50% {
9061
+ opacity: 0.99; }
9062
+ 51% {
9063
+ opacity: 0; } }
9064
+
9065
+ @keyframes mdl-spinner__layer-2-fade-in-out {
9066
+ from {
9067
+ opacity: 0; }
9068
+ 15% {
9069
+ opacity: 0; }
9070
+ 25% {
9071
+ opacity: 0.99; }
9072
+ 50% {
9073
+ opacity: 0.99; }
9074
+ 51% {
9075
+ opacity: 0; } }
9076
+
9077
+ @-webkit-keyframes mdl-spinner__layer-3-fade-in-out {
9078
+ from {
9079
+ opacity: 0; }
9080
+ 40% {
9081
+ opacity: 0; }
9082
+ 50% {
9083
+ opacity: 0.99; }
9084
+ 75% {
9085
+ opacity: 0.99; }
9086
+ 76% {
9087
+ opacity: 0; } }
9088
+
9089
+ @keyframes mdl-spinner__layer-3-fade-in-out {
9090
+ from {
9091
+ opacity: 0; }
9092
+ 40% {
9093
+ opacity: 0; }
9094
+ 50% {
9095
+ opacity: 0.99; }
9096
+ 75% {
9097
+ opacity: 0.99; }
9098
+ 76% {
9099
+ opacity: 0; } }
9100
+
9101
+ @-webkit-keyframes mdl-spinner__layer-4-fade-in-out {
9102
+ from {
9103
+ opacity: 0; }
9104
+ 65% {
9105
+ opacity: 0; }
9106
+ 75% {
9107
+ opacity: 0.99; }
9108
+ 90% {
9109
+ opacity: 0.99; }
9110
+ 100% {
9111
+ opacity: 0; } }
9112
+
9113
+ @keyframes mdl-spinner__layer-4-fade-in-out {
9114
+ from {
9115
+ opacity: 0; }
9116
+ 65% {
9117
+ opacity: 0; }
9118
+ 75% {
9119
+ opacity: 0.99; }
9120
+ 90% {
9121
+ opacity: 0.99; }
9122
+ 100% {
9123
+ opacity: 0; } }
9124
+
9125
+ /**
9126
+ * Patch the gap that appear between the two adjacent
9127
+ * div.mdl-spinner__circle-clipper while the spinner is rotating
9128
+ * (appears on Chrome 38, Safari 7.1, and IE 11).
9129
+ *
9130
+ * Update: the gap no longer appears on Chrome when .mdl-spinner__layer-N's
9131
+ * opacity is 0.99, but still does on Safari and IE.
9132
+ */
9133
+ .mdl-spinner__gap-patch {
9134
+ position: absolute;
9135
+ box-sizing: border-box;
9136
+ top: 0;
9137
+ left: 45%;
9138
+ width: 10%;
9139
+ height: 100%;
9140
+ overflow: hidden;
9141
+ border-color: inherit; }
9142
+ .mdl-spinner__gap-patch .mdl-spinner__circle {
9143
+ width: 1000%;
9144
+ left: -450%; }
9145
+
9146
+ .mdl-spinner__circle-clipper {
9147
+ display: inline-block;
9148
+ position: relative;
9149
+ width: 50%;
9150
+ height: 100%;
9151
+ overflow: hidden;
9152
+ border-color: inherit; }
9153
+ .mdl-spinner__circle-clipper.mdl-spinner__left {
9154
+ float: left; }
9155
+ .mdl-spinner__circle-clipper.mdl-spinner__right {
9156
+ float: right; }
9157
+ .mdl-spinner__circle-clipper .mdl-spinner__circle {
9158
+ width: 200%; }
9159
+
9160
+ .mdl-spinner__circle {
9161
+ box-sizing: border-box;
9162
+ height: 100%;
9163
+ border-width: 3px;
9164
+ border-style: solid;
9165
+ border-color: inherit;
9166
+ border-bottom-color: transparent !important;
9167
+ border-radius: 50%;
9168
+ -webkit-animation: none;
9169
+ animation: none;
9170
+ position: absolute;
9171
+ top: 0;
9172
+ right: 0;
9173
+ bottom: 0;
9174
+ left: 0; }
9175
+ .mdl-spinner__left .mdl-spinner__circle {
9176
+ border-right-color: transparent !important;
9177
+ -webkit-transform: rotate(129deg);
9178
+ transform: rotate(129deg); }
9179
+ .mdl-spinner.is-active .mdl-spinner__left .mdl-spinner__circle {
9180
+ -webkit-animation: mdl-spinner__left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
9181
+ animation: mdl-spinner__left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
9182
+ .mdl-spinner__right .mdl-spinner__circle {
9183
+ left: -100%;
9184
+ border-left-color: transparent !important;
9185
+ -webkit-transform: rotate(-129deg);
9186
+ transform: rotate(-129deg); }
9187
+ .mdl-spinner.is-active .mdl-spinner__right .mdl-spinner__circle {
9188
+ -webkit-animation: mdl-spinner__right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
9189
+ animation: mdl-spinner__right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
9190
+
9191
+ @-webkit-keyframes mdl-spinner__left-spin {
9192
+ from {
9193
+ -webkit-transform: rotate(130deg);
9194
+ transform: rotate(130deg); }
9195
+ 50% {
9196
+ -webkit-transform: rotate(-5deg);
9197
+ transform: rotate(-5deg); }
9198
+ to {
9199
+ -webkit-transform: rotate(130deg);
9200
+ transform: rotate(130deg); } }
9201
+
9202
+ @keyframes mdl-spinner__left-spin {
9203
+ from {
9204
+ -webkit-transform: rotate(130deg);
9205
+ transform: rotate(130deg); }
9206
+ 50% {
9207
+ -webkit-transform: rotate(-5deg);
9208
+ transform: rotate(-5deg); }
9209
+ to {
9210
+ -webkit-transform: rotate(130deg);
9211
+ transform: rotate(130deg); } }
9212
+
9213
+ @-webkit-keyframes mdl-spinner__right-spin {
9214
+ from {
9215
+ -webkit-transform: rotate(-130deg);
9216
+ transform: rotate(-130deg); }
9217
+ 50% {
9218
+ -webkit-transform: rotate(5deg);
9219
+ transform: rotate(5deg); }
9220
+ to {
9221
+ -webkit-transform: rotate(-130deg);
9222
+ transform: rotate(-130deg); } }
9223
+
9224
+ @keyframes mdl-spinner__right-spin {
9225
+ from {
9226
+ -webkit-transform: rotate(-130deg);
9227
+ transform: rotate(-130deg); }
9228
+ 50% {
9229
+ -webkit-transform: rotate(5deg);
9230
+ transform: rotate(5deg); }
9231
+ to {
9232
+ -webkit-transform: rotate(-130deg);
9233
+ transform: rotate(-130deg); } }
9234
+
9235
+ /**
9236
+ * Copyright 2015 Google Inc. All Rights Reserved.
9237
+ *
9238
+ * Licensed under the Apache License, Version 2.0 (the "License");
9239
+ * you may not use this file except in compliance with the License.
9240
+ * You may obtain a copy of the License at
9241
+ *
9242
+ * http://www.apache.org/licenses/LICENSE-2.0
9243
+ *
9244
+ * Unless required by applicable law or agreed to in writing, software
9245
+ * distributed under the License is distributed on an "AS IS" BASIS,
9246
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9247
+ * See the License for the specific language governing permissions and
9248
+ * limitations under the License.
9249
+ */
9250
+ /**
9251
+ * Copyright 2015 Google Inc. All Rights Reserved.
9252
+ *
9253
+ * Licensed under the Apache License, Version 2.0 (the "License");
9254
+ * you may not use this file except in compliance with the License.
9255
+ * You may obtain a copy of the License at
9256
+ *
9257
+ * http://www.apache.org/licenses/LICENSE-2.0
9258
+ *
9259
+ * Unless required by applicable law or agreed to in writing, software
9260
+ * distributed under the License is distributed on an "AS IS" BASIS,
9261
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9262
+ * See the License for the specific language governing permissions and
9263
+ * limitations under the License.
9264
+ */
9265
+ /*------------------------------------* $CONTENTS
9266
+ \*------------------------------------*/
9267
+ /**
9268
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
9269
+ * -----Typography
9270
+ * -----Colors
9271
+ * -----Textfield
9272
+ * -----Switch
9273
+ * -----Spinner
9274
+ * -----Radio
9275
+ * -----Menu
9276
+ * -----List
9277
+ * -----Layout
9278
+ * -----Icon toggles
9279
+ * -----Footer
9280
+ * -----Column
9281
+ * -----Checkbox
9282
+ * -----Card
9283
+ * -----Button
9284
+ * -----Animation
9285
+ * -----Progress
9286
+ * -----Badge
9287
+ * -----Shadows
9288
+ * -----Grid
9289
+ * -----Data table
9290
+ * -----Dialog
9291
+ * -----Snackbar
9292
+ * -----Tooltip
9293
+ * -----Chip
9294
+ *
9295
+ * Even though all variables have the `!default` directive, most of them
9296
+ * should not be changed as they are dependent one another. This can cause
9297
+ * visual distortions (like alignment issues) that are hard to track down
9298
+ * and fix.
9299
+ */
9300
+ /* ========== TYPOGRAPHY ========== */
9301
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
9302
+ page loading. For important text, such as the body, we want it to load
9303
+ immediately and not wait for the web font load, whereas for other sections,
9304
+ such as headers and titles, we're OK with things taking a bit longer to load.
9305
+ We do have some optional classes and parameters in the mixins, in case you
9306
+ definitely want to make sure you're using the preferred font and don't mind
9307
+ the performance hit.
9308
+ We should be able to improve on this once CSS Font Loading L3 becomes more
9309
+ widely available.
9310
+ */
9311
+ /* ========== COLORS ========== */
9312
+ /**
9313
+ *
9314
+ * Material design color palettes.
9315
+ * @see http://www.google.com/design/spec/style/color.html
9316
+ *
9317
+ **/
9318
+ /**
9319
+ * Copyright 2015 Google Inc. All Rights Reserved.
9320
+ *
9321
+ * Licensed under the Apache License, Version 2.0 (the "License");
9322
+ * you may not use this file except in compliance with the License.
9323
+ * You may obtain a copy of the License at
9324
+ *
9325
+ * http://www.apache.org/licenses/LICENSE-2.0
9326
+ *
9327
+ * Unless required by applicable law or agreed to in writing, software
9328
+ * distributed under the License is distributed on an "AS IS" BASIS,
9329
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9330
+ * See the License for the specific language governing permissions and
9331
+ * limitations under the License.
9332
+ */
9333
+ /* ========== Color Palettes ========== */
9334
+ /* colors.scss */
9335
+ /**
9336
+ * Copyright 2015 Google Inc. All Rights Reserved.
9337
+ *
9338
+ * Licensed under the Apache License, Version 2.0 (the "License");
9339
+ * you may not use this file except in compliance with the License.
9340
+ * You may obtain a copy of the License at
9341
+ *
9342
+ * http://www.apache.org/licenses/LICENSE-2.0
9343
+ *
9344
+ * Unless required by applicable law or agreed to in writing, software
9345
+ * distributed under the License is distributed on an "AS IS" BASIS,
9346
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9347
+ * See the License for the specific language governing permissions and
9348
+ * limitations under the License.
9349
+ */
9350
+ /* ========== IMAGES ========== */
9351
+ /* ========== Color & Themes ========== */
9352
+ /* ========== Typography ========== */
9353
+ /* ========== Components ========== */
9354
+ /* ========== Standard Buttons ========== */
9355
+ /* ========== Icon Toggles ========== */
9356
+ /* ========== Radio Buttons ========== */
9357
+ /* ========== Ripple effect ========== */
9358
+ /* ========== Layout ========== */
9359
+ /* ========== Content Tabs ========== */
9360
+ /* ========== Checkboxes ========== */
9361
+ /* ========== Switches ========== */
9362
+ /* ========== Spinner ========== */
9363
+ /* ========== Text fields ========== */
9364
+ /* ========== Card ========== */
9365
+ /* ========== Sliders ========== */
9366
+ /* ========== Progress ========== */
9367
+ /* ========== List ========== */
9368
+ /* ========== Item ========== */
9369
+ /* ========== Dropdown menu ========== */
9370
+ /* ========== Tooltips ========== */
9371
+ /* ========== Footer ========== */
9372
+ /* TEXTFIELD */
9373
+ /* SWITCH */
9374
+ /* SPINNER */
9375
+ /* RADIO */
9376
+ /* MENU */
9377
+ /* LIST */
9378
+ /* LAYOUT */
9379
+ /* ICON TOGGLE */
9380
+ /* FOOTER */
9381
+ /*mega-footer*/
9382
+ /*mini-footer*/
9383
+ /* CHECKBOX */
9384
+ /* CARD */
9385
+ /* Card dimensions */
9386
+ /* Cover image */
9387
+ /* BUTTON */
9388
+ /**
9389
+ *
9390
+ * Dimensions
9391
+ *
9392
+ */
9393
+ /* ANIMATION */
9394
+ /* PROGRESS */
9395
+ /* BADGE */
9396
+ /* SHADOWS */
9397
+ /* GRID */
9398
+ /* DATA TABLE */
9399
+ /* DIALOG */
9400
+ /* SNACKBAR */
9401
+ /* TOOLTIP */
9402
+ /* CHIP */
9403
+ /**
9404
+ * Copyright 2015 Google Inc. All Rights Reserved.
9405
+ *
9406
+ * Licensed under the Apache License, Version 2.0 (the "License");
9407
+ * you may not use this file except in compliance with the License.
9408
+ * You may obtain a copy of the License at
9409
+ *
9410
+ * http://www.apache.org/licenses/LICENSE-2.0
9411
+ *
9412
+ * Unless required by applicable law or agreed to in writing, software
9413
+ * distributed under the License is distributed on an "AS IS" BASIS,
9414
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9415
+ * See the License for the specific language governing permissions and
9416
+ * limitations under the License.
9417
+ */
9418
+ /* Typography */
9419
+ /* Shadows */
9420
+ /* Animations */
9421
+ /* Dialog */
9422
+ .mdl-switch {
9423
+ position: relative;
9424
+ z-index: 1;
9425
+ vertical-align: middle;
9426
+ display: inline-block;
9427
+ box-sizing: border-box;
9428
+ width: 100%;
9429
+ height: 24px;
9430
+ margin: 0;
9431
+ padding: 0;
9432
+ overflow: visible;
9433
+ -webkit-touch-callout: none;
9434
+ -webkit-user-select: none;
9435
+ -moz-user-select: none;
9436
+ -ms-user-select: none;
9437
+ user-select: none; }
9438
+ .mdl-switch.is-upgraded {
9439
+ padding-left: 28px; }
9440
+
9441
+ .mdl-switch__input {
9442
+ line-height: 24px; }
9443
+ .mdl-switch.is-upgraded .mdl-switch__input {
9444
+ position: absolute;
9445
+ width: 0;
9446
+ height: 0;
9447
+ margin: 0;
9448
+ padding: 0;
9449
+ opacity: 0;
9450
+ -ms-appearance: none;
9451
+ -moz-appearance: none;
9452
+ -webkit-appearance: none;
9453
+ appearance: none;
9454
+ border: none; }
9455
+
9456
+ .mdl-switch__track {
9457
+ background: rgba(0,0,0, 0.26);
9458
+ position: absolute;
9459
+ left: 0;
9460
+ top: 5px;
9461
+ height: 14px;
9462
+ width: 36px;
9463
+ border-radius: 14px;
9464
+ cursor: pointer; }
9465
+ .mdl-switch.is-checked .mdl-switch__track {
9466
+ background: rgba(63,81,181, 0.5); }
9467
+ .mdl-switch__track fieldset[disabled] .mdl-switch,
9468
+ .mdl-switch.is-disabled .mdl-switch__track {
9469
+ background: rgba(0,0,0, 0.12);
9470
+ cursor: auto; }
9471
+
9472
+ .mdl-switch__thumb {
9473
+ background: rgb(250,250,250);
9474
+ position: absolute;
9475
+ left: 0;
9476
+ top: 2px;
9477
+ height: 20px;
9478
+ width: 20px;
9479
+ border-radius: 50%;
9480
+ cursor: pointer;
9481
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
9482
+ transition-duration: 0.28s;
9483
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
9484
+ transition-property: left; }
9485
+ .mdl-switch.is-checked .mdl-switch__thumb {
9486
+ background: rgb(63,81,181);
9487
+ left: 16px;
9488
+ box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 3px 3px -2px rgba(0, 0, 0, 0.2), 0 1px 8px 0 rgba(0, 0, 0, 0.12); }
9489
+ .mdl-switch__thumb fieldset[disabled] .mdl-switch,
9490
+ .mdl-switch.is-disabled .mdl-switch__thumb {
9491
+ background: rgb(189,189,189);
9492
+ cursor: auto; }
9493
+
9494
+ .mdl-switch__focus-helper {
9495
+ position: absolute;
9496
+ top: 50%;
9497
+ left: 50%;
9498
+ -webkit-transform: translate(-4px, -4px);
9499
+ transform: translate(-4px, -4px);
9500
+ display: inline-block;
9501
+ box-sizing: border-box;
9502
+ width: 8px;
9503
+ height: 8px;
9504
+ border-radius: 50%;
9505
+ background-color: transparent; }
9506
+ .mdl-switch.is-focused .mdl-switch__focus-helper {
9507
+ box-shadow: 0 0 0px 20px rgba(0, 0, 0, 0.1);
9508
+ background-color: rgba(0, 0, 0, 0.1); }
9509
+ .mdl-switch.is-focused.is-checked .mdl-switch__focus-helper {
9510
+ box-shadow: 0 0 0px 20px rgba(63,81,181, 0.26);
9511
+ background-color: rgba(63,81,181, 0.26); }
9512
+
9513
+ .mdl-switch__label {
9514
+ position: relative;
9515
+ cursor: pointer;
9516
+ font-size: 16px;
9517
+ line-height: 24px;
9518
+ margin: 0;
9519
+ left: 24px; }
9520
+ .mdl-switch__label fieldset[disabled] .mdl-switch,
9521
+ .mdl-switch.is-disabled .mdl-switch__label {
9522
+ color: rgb(189,189,189);
9523
+ cursor: auto; }
9524
+
9525
+ .mdl-switch__ripple-container {
9526
+ position: absolute;
9527
+ z-index: 2;
9528
+ top: -12px;
9529
+ left: -14px;
9530
+ box-sizing: border-box;
9531
+ width: 48px;
9532
+ height: 48px;
9533
+ border-radius: 50%;
9534
+ cursor: pointer;
9535
+ overflow: hidden;
9536
+ -webkit-mask-image: -webkit-radial-gradient(circle, white, black);
9537
+ transition-duration: 0.40s;
9538
+ transition-timing-function: step-end;
9539
+ transition-property: left; }
9540
+ .mdl-switch__ripple-container .mdl-ripple {
9541
+ background: rgb(63,81,181); }
9542
+ .mdl-switch__ripple-container fieldset[disabled] .mdl-switch,
9543
+ .mdl-switch.is-disabled .mdl-switch__ripple-container {
9544
+ cursor: auto; }
9545
+ fieldset[disabled] .mdl-switch .mdl-switch__ripple-container .mdl-ripple,
9546
+ .mdl-switch.is-disabled .mdl-switch__ripple-container .mdl-ripple {
9547
+ background: transparent; }
9548
+ .mdl-switch.is-checked .mdl-switch__ripple-container {
9549
+ left: 2px; }
9550
+
9551
+ /**
9552
+ * Copyright 2015 Google Inc. All Rights Reserved.
9553
+ *
9554
+ * Licensed under the Apache License, Version 2.0 (the "License");
9555
+ * you may not use this file except in compliance with the License.
9556
+ * You may obtain a copy of the License at
9557
+ *
9558
+ * http://www.apache.org/licenses/LICENSE-2.0
9559
+ *
9560
+ * Unless required by applicable law or agreed to in writing, software
9561
+ * distributed under the License is distributed on an "AS IS" BASIS,
9562
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9563
+ * See the License for the specific language governing permissions and
9564
+ * limitations under the License.
9565
+ */
9566
+ /**
9567
+ * Copyright 2015 Google Inc. All Rights Reserved.
9568
+ *
9569
+ * Licensed under the Apache License, Version 2.0 (the "License");
9570
+ * you may not use this file except in compliance with the License.
9571
+ * You may obtain a copy of the License at
9572
+ *
9573
+ * http://www.apache.org/licenses/LICENSE-2.0
9574
+ *
9575
+ * Unless required by applicable law or agreed to in writing, software
9576
+ * distributed under the License is distributed on an "AS IS" BASIS,
9577
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9578
+ * See the License for the specific language governing permissions and
9579
+ * limitations under the License.
9580
+ */
9581
+ /*------------------------------------* $CONTENTS
9582
+ \*------------------------------------*/
9583
+ /**
9584
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
9585
+ * -----Typography
9586
+ * -----Colors
9587
+ * -----Textfield
9588
+ * -----Switch
9589
+ * -----Spinner
9590
+ * -----Radio
9591
+ * -----Menu
9592
+ * -----List
9593
+ * -----Layout
9594
+ * -----Icon toggles
9595
+ * -----Footer
9596
+ * -----Column
9597
+ * -----Checkbox
9598
+ * -----Card
9599
+ * -----Button
9600
+ * -----Animation
9601
+ * -----Progress
9602
+ * -----Badge
9603
+ * -----Shadows
9604
+ * -----Grid
9605
+ * -----Data table
9606
+ * -----Dialog
9607
+ * -----Snackbar
9608
+ * -----Tooltip
9609
+ * -----Chip
9610
+ *
9611
+ * Even though all variables have the `!default` directive, most of them
9612
+ * should not be changed as they are dependent one another. This can cause
9613
+ * visual distortions (like alignment issues) that are hard to track down
9614
+ * and fix.
9615
+ */
9616
+ /* ========== TYPOGRAPHY ========== */
9617
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
9618
+ page loading. For important text, such as the body, we want it to load
9619
+ immediately and not wait for the web font load, whereas for other sections,
9620
+ such as headers and titles, we're OK with things taking a bit longer to load.
9621
+ We do have some optional classes and parameters in the mixins, in case you
9622
+ definitely want to make sure you're using the preferred font and don't mind
9623
+ the performance hit.
9624
+ We should be able to improve on this once CSS Font Loading L3 becomes more
9625
+ widely available.
9626
+ */
9627
+ /* ========== COLORS ========== */
9628
+ /**
9629
+ *
9630
+ * Material design color palettes.
9631
+ * @see http://www.google.com/design/spec/style/color.html
9632
+ *
9633
+ **/
9634
+ /**
9635
+ * Copyright 2015 Google Inc. All Rights Reserved.
9636
+ *
9637
+ * Licensed under the Apache License, Version 2.0 (the "License");
9638
+ * you may not use this file except in compliance with the License.
9639
+ * You may obtain a copy of the License at
9640
+ *
9641
+ * http://www.apache.org/licenses/LICENSE-2.0
9642
+ *
9643
+ * Unless required by applicable law or agreed to in writing, software
9644
+ * distributed under the License is distributed on an "AS IS" BASIS,
9645
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9646
+ * See the License for the specific language governing permissions and
9647
+ * limitations under the License.
9648
+ */
9649
+ /* ========== Color Palettes ========== */
9650
+ /* colors.scss */
9651
+ /**
9652
+ * Copyright 2015 Google Inc. All Rights Reserved.
9653
+ *
9654
+ * Licensed under the Apache License, Version 2.0 (the "License");
9655
+ * you may not use this file except in compliance with the License.
9656
+ * You may obtain a copy of the License at
9657
+ *
9658
+ * http://www.apache.org/licenses/LICENSE-2.0
9659
+ *
9660
+ * Unless required by applicable law or agreed to in writing, software
9661
+ * distributed under the License is distributed on an "AS IS" BASIS,
9662
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9663
+ * See the License for the specific language governing permissions and
9664
+ * limitations under the License.
9665
+ */
9666
+ /* ========== IMAGES ========== */
9667
+ /* ========== Color & Themes ========== */
9668
+ /* ========== Typography ========== */
9669
+ /* ========== Components ========== */
9670
+ /* ========== Standard Buttons ========== */
9671
+ /* ========== Icon Toggles ========== */
9672
+ /* ========== Radio Buttons ========== */
9673
+ /* ========== Ripple effect ========== */
9674
+ /* ========== Layout ========== */
9675
+ /* ========== Content Tabs ========== */
9676
+ /* ========== Checkboxes ========== */
9677
+ /* ========== Switches ========== */
9678
+ /* ========== Spinner ========== */
9679
+ /* ========== Text fields ========== */
9680
+ /* ========== Card ========== */
9681
+ /* ========== Sliders ========== */
9682
+ /* ========== Progress ========== */
9683
+ /* ========== List ========== */
9684
+ /* ========== Item ========== */
9685
+ /* ========== Dropdown menu ========== */
9686
+ /* ========== Tooltips ========== */
9687
+ /* ========== Footer ========== */
9688
+ /* TEXTFIELD */
9689
+ /* SWITCH */
9690
+ /* SPINNER */
9691
+ /* RADIO */
9692
+ /* MENU */
9693
+ /* LIST */
9694
+ /* LAYOUT */
9695
+ /* ICON TOGGLE */
9696
+ /* FOOTER */
9697
+ /*mega-footer*/
9698
+ /*mini-footer*/
9699
+ /* CHECKBOX */
9700
+ /* CARD */
9701
+ /* Card dimensions */
9702
+ /* Cover image */
9703
+ /* BUTTON */
9704
+ /**
9705
+ *
9706
+ * Dimensions
9707
+ *
9708
+ */
9709
+ /* ANIMATION */
9710
+ /* PROGRESS */
9711
+ /* BADGE */
9712
+ /* SHADOWS */
9713
+ /* GRID */
9714
+ /* DATA TABLE */
9715
+ /* DIALOG */
9716
+ /* SNACKBAR */
9717
+ /* TOOLTIP */
9718
+ /* CHIP */
9719
+ .mdl-tabs {
9720
+ display: block;
9721
+ width: 100%; }
9722
+
9723
+ .mdl-tabs__tab-bar {
9724
+ display: -webkit-flex;
9725
+ display: -ms-flexbox;
9726
+ display: flex;
9727
+ -webkit-flex-direction: row;
9728
+ -ms-flex-direction: row;
9729
+ flex-direction: row;
9730
+ -webkit-justify-content: center;
9731
+ -ms-flex-pack: center;
9732
+ justify-content: center;
9733
+ -webkit-align-content: space-between;
9734
+ -ms-flex-line-pack: justify;
9735
+ align-content: space-between;
9736
+ -webkit-align-items: flex-start;
9737
+ -ms-flex-align: start;
9738
+ align-items: flex-start;
9739
+ height: 48px;
9740
+ padding: 0 0 0 0;
9741
+ margin: 0;
9742
+ border-bottom: 1px solid rgb(224,224,224); }
9743
+
9744
+ .mdl-tabs__tab {
9745
+ margin: 0;
9746
+ border: none;
9747
+ padding: 0 24px 0 24px;
9748
+ float: left;
9749
+ position: relative;
9750
+ display: block;
9751
+ text-decoration: none;
9752
+ height: 48px;
9753
+ line-height: 48px;
9754
+ text-align: center;
9755
+ font-weight: 500;
9756
+ font-size: 14px;
9757
+ text-transform: uppercase;
9758
+ color: rgba(0,0,0, 0.54);
9759
+ overflow: hidden; }
9760
+ .mdl-tabs.is-upgraded .mdl-tabs__tab.is-active {
9761
+ color: rgba(0,0,0, 0.87); }
9762
+ .mdl-tabs.is-upgraded .mdl-tabs__tab.is-active:after {
9763
+ height: 2px;
9764
+ width: 100%;
9765
+ display: block;
9766
+ content: " ";
9767
+ bottom: 0px;
9768
+ left: 0px;
9769
+ position: absolute;
9770
+ background: rgb(63,81,181);
9771
+ -webkit-animation: border-expand 0.2s cubic-bezier(0.4, 0, 0.4, 1) 0.01s alternate forwards;
9772
+ animation: border-expand 0.2s cubic-bezier(0.4, 0, 0.4, 1) 0.01s alternate forwards;
9773
+ transition: all 1s cubic-bezier(0.4, 0, 1, 1); }
9774
+ .mdl-tabs__tab .mdl-tabs__ripple-container {
9775
+ display: block;
9776
+ position: absolute;
9777
+ height: 100%;
9778
+ width: 100%;
9779
+ left: 0px;
9780
+ top: 0px;
9781
+ z-index: 1;
9782
+ overflow: hidden; }
9783
+ .mdl-tabs__tab .mdl-tabs__ripple-container .mdl-ripple {
9784
+ background: rgb(63,81,181); }
9785
+
9786
+ .mdl-tabs__panel {
9787
+ display: block; }
9788
+ .mdl-tabs.is-upgraded .mdl-tabs__panel {
9789
+ display: none; }
9790
+ .mdl-tabs.is-upgraded .mdl-tabs__panel.is-active {
9791
+ display: block; }
9792
+
9793
+ @-webkit-keyframes border-expand {
9794
+ 0% {
9795
+ opacity: 0;
9796
+ width: 0; }
9797
+ 100% {
9798
+ opacity: 1;
9799
+ width: 100%; } }
9800
+
9801
+ @keyframes border-expand {
9802
+ 0% {
9803
+ opacity: 0;
9804
+ width: 0; }
9805
+ 100% {
9806
+ opacity: 1;
9807
+ width: 100%; } }
9808
+
9809
+ /**
9810
+ * Copyright 2015 Google Inc. All Rights Reserved.
9811
+ *
9812
+ * Licensed under the Apache License, Version 2.0 (the "License");
9813
+ * you may not use this file except in compliance with the License.
9814
+ * You may obtain a copy of the License at
9815
+ *
9816
+ * http://www.apache.org/licenses/LICENSE-2.0
9817
+ *
9818
+ * Unless required by applicable law or agreed to in writing, software
9819
+ * distributed under the License is distributed on an "AS IS" BASIS,
9820
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9821
+ * See the License for the specific language governing permissions and
9822
+ * limitations under the License.
9823
+ */
9824
+ /**
9825
+ * Copyright 2015 Google Inc. All Rights Reserved.
9826
+ *
9827
+ * Licensed under the Apache License, Version 2.0 (the "License");
9828
+ * you may not use this file except in compliance with the License.
9829
+ * You may obtain a copy of the License at
9830
+ *
9831
+ * http://www.apache.org/licenses/LICENSE-2.0
9832
+ *
9833
+ * Unless required by applicable law or agreed to in writing, software
9834
+ * distributed under the License is distributed on an "AS IS" BASIS,
9835
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9836
+ * See the License for the specific language governing permissions and
9837
+ * limitations under the License.
9838
+ */
9839
+ /*------------------------------------* $CONTENTS
9840
+ \*------------------------------------*/
9841
+ /**
9842
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
9843
+ * -----Typography
9844
+ * -----Colors
9845
+ * -----Textfield
9846
+ * -----Switch
9847
+ * -----Spinner
9848
+ * -----Radio
9849
+ * -----Menu
9850
+ * -----List
9851
+ * -----Layout
9852
+ * -----Icon toggles
9853
+ * -----Footer
9854
+ * -----Column
9855
+ * -----Checkbox
9856
+ * -----Card
9857
+ * -----Button
9858
+ * -----Animation
9859
+ * -----Progress
9860
+ * -----Badge
9861
+ * -----Shadows
9862
+ * -----Grid
9863
+ * -----Data table
9864
+ * -----Dialog
9865
+ * -----Snackbar
9866
+ * -----Tooltip
9867
+ * -----Chip
9868
+ *
9869
+ * Even though all variables have the `!default` directive, most of them
9870
+ * should not be changed as they are dependent one another. This can cause
9871
+ * visual distortions (like alignment issues) that are hard to track down
9872
+ * and fix.
9873
+ */
9874
+ /* ========== TYPOGRAPHY ========== */
9875
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
9876
+ page loading. For important text, such as the body, we want it to load
9877
+ immediately and not wait for the web font load, whereas for other sections,
9878
+ such as headers and titles, we're OK with things taking a bit longer to load.
9879
+ We do have some optional classes and parameters in the mixins, in case you
9880
+ definitely want to make sure you're using the preferred font and don't mind
9881
+ the performance hit.
9882
+ We should be able to improve on this once CSS Font Loading L3 becomes more
9883
+ widely available.
9884
+ */
9885
+ /* ========== COLORS ========== */
9886
+ /**
9887
+ *
9888
+ * Material design color palettes.
9889
+ * @see http://www.google.com/design/spec/style/color.html
9890
+ *
9891
+ **/
9892
+ /**
9893
+ * Copyright 2015 Google Inc. All Rights Reserved.
9894
+ *
9895
+ * Licensed under the Apache License, Version 2.0 (the "License");
9896
+ * you may not use this file except in compliance with the License.
9897
+ * You may obtain a copy of the License at
9898
+ *
9899
+ * http://www.apache.org/licenses/LICENSE-2.0
9900
+ *
9901
+ * Unless required by applicable law or agreed to in writing, software
9902
+ * distributed under the License is distributed on an "AS IS" BASIS,
9903
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9904
+ * See the License for the specific language governing permissions and
9905
+ * limitations under the License.
9906
+ */
9907
+ /* ========== Color Palettes ========== */
9908
+ /* colors.scss */
9909
+ /**
9910
+ * Copyright 2015 Google Inc. All Rights Reserved.
9911
+ *
9912
+ * Licensed under the Apache License, Version 2.0 (the "License");
9913
+ * you may not use this file except in compliance with the License.
9914
+ * You may obtain a copy of the License at
9915
+ *
9916
+ * http://www.apache.org/licenses/LICENSE-2.0
9917
+ *
9918
+ * Unless required by applicable law or agreed to in writing, software
9919
+ * distributed under the License is distributed on an "AS IS" BASIS,
9920
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9921
+ * See the License for the specific language governing permissions and
9922
+ * limitations under the License.
9923
+ */
9924
+ /* ========== IMAGES ========== */
9925
+ /* ========== Color & Themes ========== */
9926
+ /* ========== Typography ========== */
9927
+ /* ========== Components ========== */
9928
+ /* ========== Standard Buttons ========== */
9929
+ /* ========== Icon Toggles ========== */
9930
+ /* ========== Radio Buttons ========== */
9931
+ /* ========== Ripple effect ========== */
9932
+ /* ========== Layout ========== */
9933
+ /* ========== Content Tabs ========== */
9934
+ /* ========== Checkboxes ========== */
9935
+ /* ========== Switches ========== */
9936
+ /* ========== Spinner ========== */
9937
+ /* ========== Text fields ========== */
9938
+ /* ========== Card ========== */
9939
+ /* ========== Sliders ========== */
9940
+ /* ========== Progress ========== */
9941
+ /* ========== List ========== */
9942
+ /* ========== Item ========== */
9943
+ /* ========== Dropdown menu ========== */
9944
+ /* ========== Tooltips ========== */
9945
+ /* ========== Footer ========== */
9946
+ /* TEXTFIELD */
9947
+ /* SWITCH */
9948
+ /* SPINNER */
9949
+ /* RADIO */
9950
+ /* MENU */
9951
+ /* LIST */
9952
+ /* LAYOUT */
9953
+ /* ICON TOGGLE */
9954
+ /* FOOTER */
9955
+ /*mega-footer*/
9956
+ /*mini-footer*/
9957
+ /* CHECKBOX */
9958
+ /* CARD */
9959
+ /* Card dimensions */
9960
+ /* Cover image */
9961
+ /* BUTTON */
9962
+ /**
9963
+ *
9964
+ * Dimensions
9965
+ *
9966
+ */
9967
+ /* ANIMATION */
9968
+ /* PROGRESS */
9969
+ /* BADGE */
9970
+ /* SHADOWS */
9971
+ /* GRID */
9972
+ /* DATA TABLE */
9973
+ /* DIALOG */
9974
+ /* SNACKBAR */
9975
+ /* TOOLTIP */
9976
+ /* CHIP */
9977
+ /**
9978
+ * Copyright 2015 Google Inc. All Rights Reserved.
9979
+ *
9980
+ * Licensed under the Apache License, Version 2.0 (the "License");
9981
+ * you may not use this file except in compliance with the License.
9982
+ * You may obtain a copy of the License at
9983
+ *
9984
+ * http://www.apache.org/licenses/LICENSE-2.0
9985
+ *
9986
+ * Unless required by applicable law or agreed to in writing, software
9987
+ * distributed under the License is distributed on an "AS IS" BASIS,
9988
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9989
+ * See the License for the specific language governing permissions and
9990
+ * limitations under the License.
9991
+ */
9992
+ /* Typography */
9993
+ /* Shadows */
9994
+ /* Animations */
9995
+ /* Dialog */
9996
+ .mdl-textfield {
9997
+ position: relative;
9998
+ font-size: 16px;
9999
+ display: inline-block;
10000
+ box-sizing: border-box;
10001
+ width: 300px;
10002
+ max-width: 100%;
10003
+ margin: 0;
10004
+ padding: 20px 0; }
10005
+ .mdl-textfield .mdl-button {
10006
+ position: absolute;
10007
+ bottom: 20px; }
10008
+
10009
+ .mdl-textfield--align-right {
10010
+ text-align: right; }
10011
+
10012
+ .mdl-textfield--full-width {
10013
+ width: 100%; }
10014
+
10015
+ .mdl-textfield--expandable {
10016
+ min-width: 32px;
10017
+ width: auto;
10018
+ min-height: 32px; }
10019
+ .mdl-textfield--expandable .mdl-button--icon {
10020
+ top: 16px; }
10021
+
10022
+ .mdl-textfield__input {
10023
+ border: none;
10024
+ border-bottom: 1px solid rgba(0,0,0, 0.12);
10025
+ display: block;
10026
+ font-size: 16px;
10027
+ font-family: "Helvetica", "Arial", sans-serif;
10028
+ margin: 0;
10029
+ padding: 4px 0;
10030
+ width: 100%;
10031
+ background: none;
10032
+ text-align: left;
10033
+ color: inherit; }
10034
+ .mdl-textfield__input[type="number"] {
10035
+ -moz-appearance: textfield; }
10036
+ .mdl-textfield__input[type="number"]::-webkit-inner-spin-button, .mdl-textfield__input[type="number"]::-webkit-outer-spin-button {
10037
+ -webkit-appearance: none;
10038
+ margin: 0; }
10039
+ .mdl-textfield.is-focused .mdl-textfield__input {
10040
+ outline: none; }
10041
+ .mdl-textfield.is-invalid .mdl-textfield__input {
10042
+ border-color: rgb(213,0,0);
10043
+ box-shadow: none; }
10044
+ fieldset[disabled] .mdl-textfield .mdl-textfield__input,
10045
+ .mdl-textfield.is-disabled .mdl-textfield__input {
10046
+ background-color: transparent;
10047
+ border-bottom: 1px dotted rgba(0,0,0, 0.12);
10048
+ color: rgba(0,0,0, 0.26); }
10049
+
10050
+ .mdl-textfield textarea.mdl-textfield__input {
10051
+ display: block; }
10052
+
10053
+ .mdl-textfield__label {
10054
+ bottom: 0;
10055
+ color: rgba(0,0,0, 0.26);
10056
+ font-size: 16px;
10057
+ left: 0;
10058
+ right: 0;
10059
+ pointer-events: none;
10060
+ position: absolute;
10061
+ display: block;
10062
+ top: 24px;
10063
+ width: 100%;
10064
+ overflow: hidden;
10065
+ white-space: nowrap;
10066
+ text-align: left; }
10067
+ .mdl-textfield.is-dirty .mdl-textfield__label,
10068
+ .mdl-textfield.has-placeholder .mdl-textfield__label {
10069
+ visibility: hidden; }
10070
+ .mdl-textfield--floating-label .mdl-textfield__label {
10071
+ transition-duration: 0.2s;
10072
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
10073
+ .mdl-textfield--floating-label.has-placeholder .mdl-textfield__label {
10074
+ transition: none; }
10075
+ fieldset[disabled] .mdl-textfield .mdl-textfield__label,
10076
+ .mdl-textfield.is-disabled.is-disabled .mdl-textfield__label {
10077
+ color: rgba(0,0,0, 0.26); }
10078
+ .mdl-textfield--floating-label.is-focused .mdl-textfield__label,
10079
+ .mdl-textfield--floating-label.is-dirty .mdl-textfield__label,
10080
+ .mdl-textfield--floating-label.has-placeholder .mdl-textfield__label {
10081
+ color: rgb(63,81,181);
10082
+ font-size: 12px;
10083
+ top: 4px;
10084
+ visibility: visible; }
10085
+ .mdl-textfield--floating-label.is-focused .mdl-textfield__expandable-holder .mdl-textfield__label,
10086
+ .mdl-textfield--floating-label.is-dirty .mdl-textfield__expandable-holder .mdl-textfield__label,
10087
+ .mdl-textfield--floating-label.has-placeholder .mdl-textfield__expandable-holder .mdl-textfield__label {
10088
+ top: -16px; }
10089
+ .mdl-textfield--floating-label.is-invalid .mdl-textfield__label {
10090
+ color: rgb(213,0,0);
10091
+ font-size: 12px; }
10092
+ .mdl-textfield__label:after {
10093
+ background-color: rgb(63,81,181);
10094
+ bottom: 20px;
10095
+ content: '';
10096
+ height: 2px;
10097
+ left: 45%;
10098
+ position: absolute;
10099
+ transition-duration: 0.2s;
10100
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
10101
+ visibility: hidden;
10102
+ width: 10px; }
10103
+ .mdl-textfield.is-focused .mdl-textfield__label:after {
10104
+ left: 0;
10105
+ visibility: visible;
10106
+ width: 100%; }
10107
+ .mdl-textfield.is-invalid .mdl-textfield__label:after {
10108
+ background-color: rgb(213,0,0); }
10109
+
10110
+ .mdl-textfield__error {
10111
+ color: rgb(213,0,0);
10112
+ position: absolute;
10113
+ font-size: 12px;
10114
+ margin-top: 3px;
10115
+ visibility: hidden;
10116
+ display: block; }
10117
+ .mdl-textfield.is-invalid .mdl-textfield__error {
10118
+ visibility: visible; }
10119
+
10120
+ .mdl-textfield__expandable-holder {
10121
+ display: inline-block;
10122
+ position: relative;
10123
+ margin-left: 32px;
10124
+ transition-duration: 0.2s;
10125
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
10126
+ display: inline-block;
10127
+ max-width: 0.1px; }
10128
+ .mdl-textfield.is-focused .mdl-textfield__expandable-holder, .mdl-textfield.is-dirty .mdl-textfield__expandable-holder {
10129
+ max-width: 600px; }
10130
+ .mdl-textfield__expandable-holder .mdl-textfield__label:after {
10131
+ bottom: 0; }
10132
+
10133
+ /**
10134
+ * Copyright 2015 Google Inc. All Rights Reserved.
10135
+ *
10136
+ * Licensed under the Apache License, Version 2.0 (the "License");
10137
+ * you may not use this file except in compliance with the License.
10138
+ * You may obtain a copy of the License at
10139
+ *
10140
+ * http://www.apache.org/licenses/LICENSE-2.0
10141
+ *
10142
+ * Unless required by applicable law or agreed to in writing, software
10143
+ * distributed under the License is distributed on an "AS IS" BASIS,
10144
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10145
+ * See the License for the specific language governing permissions and
10146
+ * limitations under the License.
10147
+ */
10148
+ /**
10149
+ * Copyright 2015 Google Inc. All Rights Reserved.
10150
+ *
10151
+ * Licensed under the Apache License, Version 2.0 (the "License");
10152
+ * you may not use this file except in compliance with the License.
10153
+ * You may obtain a copy of the License at
10154
+ *
10155
+ * http://www.apache.org/licenses/LICENSE-2.0
10156
+ *
10157
+ * Unless required by applicable law or agreed to in writing, software
10158
+ * distributed under the License is distributed on an "AS IS" BASIS,
10159
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10160
+ * See the License for the specific language governing permissions and
10161
+ * limitations under the License.
10162
+ */
10163
+ /*------------------------------------* $CONTENTS
10164
+ \*------------------------------------*/
10165
+ /**
10166
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
10167
+ * -----Typography
10168
+ * -----Colors
10169
+ * -----Textfield
10170
+ * -----Switch
10171
+ * -----Spinner
10172
+ * -----Radio
10173
+ * -----Menu
10174
+ * -----List
10175
+ * -----Layout
10176
+ * -----Icon toggles
10177
+ * -----Footer
10178
+ * -----Column
10179
+ * -----Checkbox
10180
+ * -----Card
10181
+ * -----Button
10182
+ * -----Animation
10183
+ * -----Progress
10184
+ * -----Badge
10185
+ * -----Shadows
10186
+ * -----Grid
10187
+ * -----Data table
10188
+ * -----Dialog
10189
+ * -----Snackbar
10190
+ * -----Tooltip
10191
+ * -----Chip
10192
+ *
10193
+ * Even though all variables have the `!default` directive, most of them
10194
+ * should not be changed as they are dependent one another. This can cause
10195
+ * visual distortions (like alignment issues) that are hard to track down
10196
+ * and fix.
10197
+ */
10198
+ /* ========== TYPOGRAPHY ========== */
10199
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
10200
+ page loading. For important text, such as the body, we want it to load
10201
+ immediately and not wait for the web font load, whereas for other sections,
10202
+ such as headers and titles, we're OK with things taking a bit longer to load.
10203
+ We do have some optional classes and parameters in the mixins, in case you
10204
+ definitely want to make sure you're using the preferred font and don't mind
10205
+ the performance hit.
10206
+ We should be able to improve on this once CSS Font Loading L3 becomes more
10207
+ widely available.
10208
+ */
10209
+ /* ========== COLORS ========== */
10210
+ /**
10211
+ *
10212
+ * Material design color palettes.
10213
+ * @see http://www.google.com/design/spec/style/color.html
10214
+ *
10215
+ **/
10216
+ /**
10217
+ * Copyright 2015 Google Inc. All Rights Reserved.
10218
+ *
10219
+ * Licensed under the Apache License, Version 2.0 (the "License");
10220
+ * you may not use this file except in compliance with the License.
10221
+ * You may obtain a copy of the License at
10222
+ *
10223
+ * http://www.apache.org/licenses/LICENSE-2.0
10224
+ *
10225
+ * Unless required by applicable law or agreed to in writing, software
10226
+ * distributed under the License is distributed on an "AS IS" BASIS,
10227
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10228
+ * See the License for the specific language governing permissions and
10229
+ * limitations under the License.
10230
+ */
10231
+ /* ========== Color Palettes ========== */
10232
+ /* colors.scss */
10233
+ /**
10234
+ * Copyright 2015 Google Inc. All Rights Reserved.
10235
+ *
10236
+ * Licensed under the Apache License, Version 2.0 (the "License");
10237
+ * you may not use this file except in compliance with the License.
10238
+ * You may obtain a copy of the License at
10239
+ *
10240
+ * http://www.apache.org/licenses/LICENSE-2.0
10241
+ *
10242
+ * Unless required by applicable law or agreed to in writing, software
10243
+ * distributed under the License is distributed on an "AS IS" BASIS,
10244
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10245
+ * See the License for the specific language governing permissions and
10246
+ * limitations under the License.
10247
+ */
10248
+ /* ========== IMAGES ========== */
10249
+ /* ========== Color & Themes ========== */
10250
+ /* ========== Typography ========== */
10251
+ /* ========== Components ========== */
10252
+ /* ========== Standard Buttons ========== */
10253
+ /* ========== Icon Toggles ========== */
10254
+ /* ========== Radio Buttons ========== */
10255
+ /* ========== Ripple effect ========== */
10256
+ /* ========== Layout ========== */
10257
+ /* ========== Content Tabs ========== */
10258
+ /* ========== Checkboxes ========== */
10259
+ /* ========== Switches ========== */
10260
+ /* ========== Spinner ========== */
10261
+ /* ========== Text fields ========== */
10262
+ /* ========== Card ========== */
10263
+ /* ========== Sliders ========== */
10264
+ /* ========== Progress ========== */
10265
+ /* ========== List ========== */
10266
+ /* ========== Item ========== */
10267
+ /* ========== Dropdown menu ========== */
10268
+ /* ========== Tooltips ========== */
10269
+ /* ========== Footer ========== */
10270
+ /* TEXTFIELD */
10271
+ /* SWITCH */
10272
+ /* SPINNER */
10273
+ /* RADIO */
10274
+ /* MENU */
10275
+ /* LIST */
10276
+ /* LAYOUT */
10277
+ /* ICON TOGGLE */
10278
+ /* FOOTER */
10279
+ /*mega-footer*/
10280
+ /*mini-footer*/
10281
+ /* CHECKBOX */
10282
+ /* CARD */
10283
+ /* Card dimensions */
10284
+ /* Cover image */
10285
+ /* BUTTON */
10286
+ /**
10287
+ *
10288
+ * Dimensions
10289
+ *
10290
+ */
10291
+ /* ANIMATION */
10292
+ /* PROGRESS */
10293
+ /* BADGE */
10294
+ /* SHADOWS */
10295
+ /* GRID */
10296
+ /* DATA TABLE */
10297
+ /* DIALOG */
10298
+ /* SNACKBAR */
10299
+ /* TOOLTIP */
10300
+ /* CHIP */
10301
+ .mdl-tooltip {
10302
+ -webkit-transform: scale(0);
10303
+ transform: scale(0);
10304
+ -webkit-transform-origin: top center;
10305
+ transform-origin: top center;
10306
+ z-index: 999;
10307
+ background: rgba(97,97,97, 0.9);
10308
+ border-radius: 2px;
10309
+ color: rgb(255,255,255);
10310
+ display: inline-block;
10311
+ font-size: 10px;
10312
+ font-weight: 500;
10313
+ line-height: 14px;
10314
+ max-width: 170px;
10315
+ position: fixed;
10316
+ top: -500px;
10317
+ left: -500px;
10318
+ padding: 8px;
10319
+ text-align: center; }
10320
+
10321
+ .mdl-tooltip.is-active {
10322
+ -webkit-animation: pulse 200ms cubic-bezier(0, 0, 0.2, 1) forwards;
10323
+ animation: pulse 200ms cubic-bezier(0, 0, 0.2, 1) forwards; }
10324
+
10325
+ .mdl-tooltip--large {
10326
+ line-height: 14px;
10327
+ font-size: 14px;
10328
+ padding: 16px; }
10329
+
10330
+ @-webkit-keyframes pulse {
10331
+ 0% {
10332
+ -webkit-transform: scale(0);
10333
+ transform: scale(0);
10334
+ opacity: 0; }
10335
+ 50% {
10336
+ -webkit-transform: scale(0.99);
10337
+ transform: scale(0.99); }
10338
+ 100% {
10339
+ -webkit-transform: scale(1);
10340
+ transform: scale(1);
10341
+ opacity: 1;
10342
+ visibility: visible; } }
10343
+
10344
+ @keyframes pulse {
10345
+ 0% {
10346
+ -webkit-transform: scale(0);
10347
+ transform: scale(0);
10348
+ opacity: 0; }
10349
+ 50% {
10350
+ -webkit-transform: scale(0.99);
10351
+ transform: scale(0.99); }
10352
+ 100% {
10353
+ -webkit-transform: scale(1);
10354
+ transform: scale(1);
10355
+ opacity: 1;
10356
+ visibility: visible; } }
10357
+
10358
+ /**
10359
+ * Copyright 2015 Google Inc. All Rights Reserved.
10360
+ *
10361
+ * Licensed under the Apache License, Version 2.0 (the "License");
10362
+ * you may not use this file except in compliance with the License.
10363
+ * You may obtain a copy of the License at
10364
+ *
10365
+ * http://www.apache.org/licenses/LICENSE-2.0
10366
+ *
10367
+ * Unless required by applicable law or agreed to in writing, software
10368
+ * distributed under the License is distributed on an "AS IS" BASIS,
10369
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10370
+ * See the License for the specific language governing permissions and
10371
+ * limitations under the License.
10372
+ */
10373
+ /**
10374
+ * Copyright 2015 Google Inc. All Rights Reserved.
10375
+ *
10376
+ * Licensed under the Apache License, Version 2.0 (the "License");
10377
+ * you may not use this file except in compliance with the License.
10378
+ * You may obtain a copy of the License at
10379
+ *
10380
+ * http://www.apache.org/licenses/LICENSE-2.0
10381
+ *
10382
+ * Unless required by applicable law or agreed to in writing, software
10383
+ * distributed under the License is distributed on an "AS IS" BASIS,
10384
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10385
+ * See the License for the specific language governing permissions and
10386
+ * limitations under the License.
10387
+ */
10388
+ /*------------------------------------* $CONTENTS
10389
+ \*------------------------------------*/
10390
+ /**
10391
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
10392
+ * -----Typography
10393
+ * -----Colors
10394
+ * -----Textfield
10395
+ * -----Switch
10396
+ * -----Spinner
10397
+ * -----Radio
10398
+ * -----Menu
10399
+ * -----List
10400
+ * -----Layout
10401
+ * -----Icon toggles
10402
+ * -----Footer
10403
+ * -----Column
10404
+ * -----Checkbox
10405
+ * -----Card
10406
+ * -----Button
10407
+ * -----Animation
10408
+ * -----Progress
10409
+ * -----Badge
10410
+ * -----Shadows
10411
+ * -----Grid
10412
+ * -----Data table
10413
+ * -----Dialog
10414
+ * -----Snackbar
10415
+ * -----Tooltip
10416
+ * -----Chip
10417
+ *
10418
+ * Even though all variables have the `!default` directive, most of them
10419
+ * should not be changed as they are dependent one another. This can cause
10420
+ * visual distortions (like alignment issues) that are hard to track down
10421
+ * and fix.
10422
+ */
10423
+ /* ========== TYPOGRAPHY ========== */
10424
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
10425
+ page loading. For important text, such as the body, we want it to load
10426
+ immediately and not wait for the web font load, whereas for other sections,
10427
+ such as headers and titles, we're OK with things taking a bit longer to load.
10428
+ We do have some optional classes and parameters in the mixins, in case you
10429
+ definitely want to make sure you're using the preferred font and don't mind
10430
+ the performance hit.
10431
+ We should be able to improve on this once CSS Font Loading L3 becomes more
10432
+ widely available.
10433
+ */
10434
+ /* ========== COLORS ========== */
10435
+ /**
10436
+ *
10437
+ * Material design color palettes.
10438
+ * @see http://www.google.com/design/spec/style/color.html
10439
+ *
10440
+ **/
10441
+ /**
10442
+ * Copyright 2015 Google Inc. All Rights Reserved.
10443
+ *
10444
+ * Licensed under the Apache License, Version 2.0 (the "License");
10445
+ * you may not use this file except in compliance with the License.
10446
+ * You may obtain a copy of the License at
10447
+ *
10448
+ * http://www.apache.org/licenses/LICENSE-2.0
10449
+ *
10450
+ * Unless required by applicable law or agreed to in writing, software
10451
+ * distributed under the License is distributed on an "AS IS" BASIS,
10452
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10453
+ * See the License for the specific language governing permissions and
10454
+ * limitations under the License.
10455
+ */
10456
+ /* ========== Color Palettes ========== */
10457
+ /* colors.scss */
10458
+ /**
10459
+ * Copyright 2015 Google Inc. All Rights Reserved.
10460
+ *
10461
+ * Licensed under the Apache License, Version 2.0 (the "License");
10462
+ * you may not use this file except in compliance with the License.
10463
+ * You may obtain a copy of the License at
10464
+ *
10465
+ * http://www.apache.org/licenses/LICENSE-2.0
10466
+ *
10467
+ * Unless required by applicable law or agreed to in writing, software
10468
+ * distributed under the License is distributed on an "AS IS" BASIS,
10469
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10470
+ * See the License for the specific language governing permissions and
10471
+ * limitations under the License.
10472
+ */
10473
+ /* ========== IMAGES ========== */
10474
+ /* ========== Color & Themes ========== */
10475
+ /* ========== Typography ========== */
10476
+ /* ========== Components ========== */
10477
+ /* ========== Standard Buttons ========== */
10478
+ /* ========== Icon Toggles ========== */
10479
+ /* ========== Radio Buttons ========== */
10480
+ /* ========== Ripple effect ========== */
10481
+ /* ========== Layout ========== */
10482
+ /* ========== Content Tabs ========== */
10483
+ /* ========== Checkboxes ========== */
10484
+ /* ========== Switches ========== */
10485
+ /* ========== Spinner ========== */
10486
+ /* ========== Text fields ========== */
10487
+ /* ========== Card ========== */
10488
+ /* ========== Sliders ========== */
10489
+ /* ========== Progress ========== */
10490
+ /* ========== List ========== */
10491
+ /* ========== Item ========== */
10492
+ /* ========== Dropdown menu ========== */
10493
+ /* ========== Tooltips ========== */
10494
+ /* ========== Footer ========== */
10495
+ /* TEXTFIELD */
10496
+ /* SWITCH */
10497
+ /* SPINNER */
10498
+ /* RADIO */
10499
+ /* MENU */
10500
+ /* LIST */
10501
+ /* LAYOUT */
10502
+ /* ICON TOGGLE */
10503
+ /* FOOTER */
10504
+ /*mega-footer*/
10505
+ /*mini-footer*/
10506
+ /* CHECKBOX */
10507
+ /* CARD */
10508
+ /* Card dimensions */
10509
+ /* Cover image */
10510
+ /* BUTTON */
10511
+ /**
10512
+ *
10513
+ * Dimensions
10514
+ *
10515
+ */
10516
+ /* ANIMATION */
10517
+ /* PROGRESS */
10518
+ /* BADGE */
10519
+ /* SHADOWS */
10520
+ /* GRID */
10521
+ /* DATA TABLE */
10522
+ /* DIALOG */
10523
+ /* SNACKBAR */
10524
+ /* TOOLTIP */
10525
+ /* CHIP */
10526
+ /**
10527
+ * Copyright 2015 Google Inc. All Rights Reserved.
10528
+ *
10529
+ * Licensed under the Apache License, Version 2.0 (the "License");
10530
+ * you may not use this file except in compliance with the License.
10531
+ * You may obtain a copy of the License at
10532
+ *
10533
+ * http://www.apache.org/licenses/LICENSE-2.0
10534
+ *
10535
+ * Unless required by applicable law or agreed to in writing, software
10536
+ * distributed under the License is distributed on an "AS IS" BASIS,
10537
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10538
+ * See the License for the specific language governing permissions and
10539
+ * limitations under the License.
10540
+ */
10541
+ /* Typography */
10542
+ /* Shadows */
10543
+ /* Animations */
10544
+ /* Dialog */
10545
+ .mdl-shadow--2dp {
10546
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }
10547
+
10548
+ .mdl-shadow--3dp {
10549
+ box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 3px 3px -2px rgba(0, 0, 0, 0.2), 0 1px 8px 0 rgba(0, 0, 0, 0.12); }
10550
+
10551
+ .mdl-shadow--4dp {
10552
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2); }
10553
+
10554
+ .mdl-shadow--6dp {
10555
+ box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2); }
10556
+
10557
+ .mdl-shadow--8dp {
10558
+ box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2); }
10559
+
10560
+ .mdl-shadow--16dp {
10561
+ box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); }
10562
+
10563
+ .mdl-shadow--24dp {
10564
+ box-shadow: 0 9px 46px 8px rgba(0, 0, 0, 0.14), 0 11px 15px -7px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.2); }
10565
+
10566
+ /**
10567
+ * Copyright 2015 Google Inc. All Rights Reserved.
10568
+ *
10569
+ * Licensed under the Apache License, Version 2.0 (the "License");
10570
+ * you may not use this file except in compliance with the License.
10571
+ * You may obtain a copy of the License at
10572
+ *
10573
+ * http://www.apache.org/licenses/LICENSE-2.0
10574
+ *
10575
+ * Unless required by applicable law or agreed to in writing, software
10576
+ * distributed under the License is distributed on an "AS IS" BASIS,
10577
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10578
+ * See the License for the specific language governing permissions and
10579
+ * limitations under the License.
10580
+ */
10581
+ /*
10582
+ * NOTE: Some rules here are applied using duplicate selectors.
10583
+ * This is on purpose to increase their specificity when applied.
10584
+ * For example: `.mdl-cell--1-col-phone.mdl-cell--1-col-phone`
10585
+ */
10586
+ /**
10587
+ * Copyright 2015 Google Inc. All Rights Reserved.
10588
+ *
10589
+ * Licensed under the Apache License, Version 2.0 (the "License");
10590
+ * you may not use this file except in compliance with the License.
10591
+ * You may obtain a copy of the License at
10592
+ *
10593
+ * http://www.apache.org/licenses/LICENSE-2.0
10594
+ *
10595
+ * Unless required by applicable law or agreed to in writing, software
10596
+ * distributed under the License is distributed on an "AS IS" BASIS,
10597
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10598
+ * See the License for the specific language governing permissions and
10599
+ * limitations under the License.
10600
+ */
10601
+ /*------------------------------------* $CONTENTS
10602
+ \*------------------------------------*/
10603
+ /**
10604
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
10605
+ * -----Typography
10606
+ * -----Colors
10607
+ * -----Textfield
10608
+ * -----Switch
10609
+ * -----Spinner
10610
+ * -----Radio
10611
+ * -----Menu
10612
+ * -----List
10613
+ * -----Layout
10614
+ * -----Icon toggles
10615
+ * -----Footer
10616
+ * -----Column
10617
+ * -----Checkbox
10618
+ * -----Card
10619
+ * -----Button
10620
+ * -----Animation
10621
+ * -----Progress
10622
+ * -----Badge
10623
+ * -----Shadows
10624
+ * -----Grid
10625
+ * -----Data table
10626
+ * -----Dialog
10627
+ * -----Snackbar
10628
+ * -----Tooltip
10629
+ * -----Chip
10630
+ *
10631
+ * Even though all variables have the `!default` directive, most of them
10632
+ * should not be changed as they are dependent one another. This can cause
10633
+ * visual distortions (like alignment issues) that are hard to track down
10634
+ * and fix.
10635
+ */
10636
+ /* ========== TYPOGRAPHY ========== */
10637
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
10638
+ page loading. For important text, such as the body, we want it to load
10639
+ immediately and not wait for the web font load, whereas for other sections,
10640
+ such as headers and titles, we're OK with things taking a bit longer to load.
10641
+ We do have some optional classes and parameters in the mixins, in case you
10642
+ definitely want to make sure you're using the preferred font and don't mind
10643
+ the performance hit.
10644
+ We should be able to improve on this once CSS Font Loading L3 becomes more
10645
+ widely available.
10646
+ */
10647
+ /* ========== COLORS ========== */
10648
+ /**
10649
+ *
10650
+ * Material design color palettes.
10651
+ * @see http://www.google.com/design/spec/style/color.html
10652
+ *
10653
+ **/
10654
+ /**
10655
+ * Copyright 2015 Google Inc. All Rights Reserved.
10656
+ *
10657
+ * Licensed under the Apache License, Version 2.0 (the "License");
10658
+ * you may not use this file except in compliance with the License.
10659
+ * You may obtain a copy of the License at
10660
+ *
10661
+ * http://www.apache.org/licenses/LICENSE-2.0
10662
+ *
10663
+ * Unless required by applicable law or agreed to in writing, software
10664
+ * distributed under the License is distributed on an "AS IS" BASIS,
10665
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10666
+ * See the License for the specific language governing permissions and
10667
+ * limitations under the License.
10668
+ */
10669
+ /* ========== Color Palettes ========== */
10670
+ /* colors.scss */
10671
+ /**
10672
+ * Copyright 2015 Google Inc. All Rights Reserved.
10673
+ *
10674
+ * Licensed under the Apache License, Version 2.0 (the "License");
10675
+ * you may not use this file except in compliance with the License.
10676
+ * You may obtain a copy of the License at
10677
+ *
10678
+ * http://www.apache.org/licenses/LICENSE-2.0
10679
+ *
10680
+ * Unless required by applicable law or agreed to in writing, software
10681
+ * distributed under the License is distributed on an "AS IS" BASIS,
10682
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10683
+ * See the License for the specific language governing permissions and
10684
+ * limitations under the License.
10685
+ */
10686
+ /* ========== IMAGES ========== */
10687
+ /* ========== Color & Themes ========== */
10688
+ /* ========== Typography ========== */
10689
+ /* ========== Components ========== */
10690
+ /* ========== Standard Buttons ========== */
10691
+ /* ========== Icon Toggles ========== */
10692
+ /* ========== Radio Buttons ========== */
10693
+ /* ========== Ripple effect ========== */
10694
+ /* ========== Layout ========== */
10695
+ /* ========== Content Tabs ========== */
10696
+ /* ========== Checkboxes ========== */
10697
+ /* ========== Switches ========== */
10698
+ /* ========== Spinner ========== */
10699
+ /* ========== Text fields ========== */
10700
+ /* ========== Card ========== */
10701
+ /* ========== Sliders ========== */
10702
+ /* ========== Progress ========== */
10703
+ /* ========== List ========== */
10704
+ /* ========== Item ========== */
10705
+ /* ========== Dropdown menu ========== */
10706
+ /* ========== Tooltips ========== */
10707
+ /* ========== Footer ========== */
10708
+ /* TEXTFIELD */
10709
+ /* SWITCH */
10710
+ /* SPINNER */
10711
+ /* RADIO */
10712
+ /* MENU */
10713
+ /* LIST */
10714
+ /* LAYOUT */
10715
+ /* ICON TOGGLE */
10716
+ /* FOOTER */
10717
+ /*mega-footer*/
10718
+ /*mini-footer*/
10719
+ /* CHECKBOX */
10720
+ /* CARD */
10721
+ /* Card dimensions */
10722
+ /* Cover image */
10723
+ /* BUTTON */
10724
+ /**
10725
+ *
10726
+ * Dimensions
10727
+ *
10728
+ */
10729
+ /* ANIMATION */
10730
+ /* PROGRESS */
10731
+ /* BADGE */
10732
+ /* SHADOWS */
10733
+ /* GRID */
10734
+ /* DATA TABLE */
10735
+ /* DIALOG */
10736
+ /* SNACKBAR */
10737
+ /* TOOLTIP */
10738
+ /* CHIP */
10739
+ .mdl-grid {
10740
+ display: -webkit-flex;
10741
+ display: -ms-flexbox;
10742
+ display: flex;
10743
+ -webkit-flex-flow: row wrap;
10744
+ -ms-flex-flow: row wrap;
10745
+ flex-flow: row wrap;
10746
+ margin: 0 auto 0 auto;
10747
+ -webkit-align-items: stretch;
10748
+ -ms-flex-align: stretch;
10749
+ align-items: stretch; }
10750
+ .mdl-grid.mdl-grid--no-spacing {
10751
+ padding: 0; }
10752
+
10753
+ .mdl-cell {
10754
+ box-sizing: border-box; }
10755
+
10756
+ .mdl-cell--top {
10757
+ -webkit-align-self: flex-start;
10758
+ -ms-flex-item-align: start;
10759
+ align-self: flex-start; }
10760
+
10761
+ .mdl-cell--middle {
10762
+ -webkit-align-self: center;
10763
+ -ms-flex-item-align: center;
10764
+ -ms-grid-row-align: center;
10765
+ align-self: center; }
10766
+
10767
+ .mdl-cell--bottom {
10768
+ -webkit-align-self: flex-end;
10769
+ -ms-flex-item-align: end;
10770
+ align-self: flex-end; }
10771
+
10772
+ .mdl-cell--stretch {
10773
+ -webkit-align-self: stretch;
10774
+ -ms-flex-item-align: stretch;
10775
+ -ms-grid-row-align: stretch;
10776
+ align-self: stretch; }
10777
+
10778
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell {
10779
+ margin: 0; }
10780
+
10781
+ .mdl-cell--order-1 {
10782
+ -webkit-order: 1;
10783
+ -ms-flex-order: 1;
10784
+ order: 1; }
10785
+
10786
+ .mdl-cell--order-2 {
10787
+ -webkit-order: 2;
10788
+ -ms-flex-order: 2;
10789
+ order: 2; }
10790
+
10791
+ .mdl-cell--order-3 {
10792
+ -webkit-order: 3;
10793
+ -ms-flex-order: 3;
10794
+ order: 3; }
10795
+
10796
+ .mdl-cell--order-4 {
10797
+ -webkit-order: 4;
10798
+ -ms-flex-order: 4;
10799
+ order: 4; }
10800
+
10801
+ .mdl-cell--order-5 {
10802
+ -webkit-order: 5;
10803
+ -ms-flex-order: 5;
10804
+ order: 5; }
10805
+
10806
+ .mdl-cell--order-6 {
10807
+ -webkit-order: 6;
10808
+ -ms-flex-order: 6;
10809
+ order: 6; }
10810
+
10811
+ .mdl-cell--order-7 {
10812
+ -webkit-order: 7;
10813
+ -ms-flex-order: 7;
10814
+ order: 7; }
10815
+
10816
+ .mdl-cell--order-8 {
10817
+ -webkit-order: 8;
10818
+ -ms-flex-order: 8;
10819
+ order: 8; }
10820
+
10821
+ .mdl-cell--order-9 {
10822
+ -webkit-order: 9;
10823
+ -ms-flex-order: 9;
10824
+ order: 9; }
10825
+
10826
+ .mdl-cell--order-10 {
10827
+ -webkit-order: 10;
10828
+ -ms-flex-order: 10;
10829
+ order: 10; }
10830
+
10831
+ .mdl-cell--order-11 {
10832
+ -webkit-order: 11;
10833
+ -ms-flex-order: 11;
10834
+ order: 11; }
10835
+
10836
+ .mdl-cell--order-12 {
10837
+ -webkit-order: 12;
10838
+ -ms-flex-order: 12;
10839
+ order: 12; }
10840
+
10841
+ @media (max-width: 479px) {
10842
+ .mdl-grid {
10843
+ padding: 8px; }
10844
+ .mdl-cell {
10845
+ margin: 8px;
10846
+ width: calc(100% - 16px); }
10847
+ .mdl-grid--no-spacing > .mdl-cell {
10848
+ width: 100%; }
10849
+ .mdl-cell--hide-phone {
10850
+ display: none !important; }
10851
+ .mdl-cell--order-1-phone.mdl-cell--order-1-phone {
10852
+ -webkit-order: 1;
10853
+ -ms-flex-order: 1;
10854
+ order: 1; }
10855
+ .mdl-cell--order-2-phone.mdl-cell--order-2-phone {
10856
+ -webkit-order: 2;
10857
+ -ms-flex-order: 2;
10858
+ order: 2; }
10859
+ .mdl-cell--order-3-phone.mdl-cell--order-3-phone {
10860
+ -webkit-order: 3;
10861
+ -ms-flex-order: 3;
10862
+ order: 3; }
10863
+ .mdl-cell--order-4-phone.mdl-cell--order-4-phone {
10864
+ -webkit-order: 4;
10865
+ -ms-flex-order: 4;
10866
+ order: 4; }
10867
+ .mdl-cell--order-5-phone.mdl-cell--order-5-phone {
10868
+ -webkit-order: 5;
10869
+ -ms-flex-order: 5;
10870
+ order: 5; }
10871
+ .mdl-cell--order-6-phone.mdl-cell--order-6-phone {
10872
+ -webkit-order: 6;
10873
+ -ms-flex-order: 6;
10874
+ order: 6; }
10875
+ .mdl-cell--order-7-phone.mdl-cell--order-7-phone {
10876
+ -webkit-order: 7;
10877
+ -ms-flex-order: 7;
10878
+ order: 7; }
10879
+ .mdl-cell--order-8-phone.mdl-cell--order-8-phone {
10880
+ -webkit-order: 8;
10881
+ -ms-flex-order: 8;
10882
+ order: 8; }
10883
+ .mdl-cell--order-9-phone.mdl-cell--order-9-phone {
10884
+ -webkit-order: 9;
10885
+ -ms-flex-order: 9;
10886
+ order: 9; }
10887
+ .mdl-cell--order-10-phone.mdl-cell--order-10-phone {
10888
+ -webkit-order: 10;
10889
+ -ms-flex-order: 10;
10890
+ order: 10; }
10891
+ .mdl-cell--order-11-phone.mdl-cell--order-11-phone {
10892
+ -webkit-order: 11;
10893
+ -ms-flex-order: 11;
10894
+ order: 11; }
10895
+ .mdl-cell--order-12-phone.mdl-cell--order-12-phone {
10896
+ -webkit-order: 12;
10897
+ -ms-flex-order: 12;
10898
+ order: 12; }
10899
+ .mdl-cell--1-col,
10900
+ .mdl-cell--1-col-phone.mdl-cell--1-col-phone {
10901
+ width: calc(25% - 16px); }
10902
+ .mdl-grid--no-spacing > .mdl-cell--1-col, .mdl-grid--no-spacing >
10903
+ .mdl-cell--1-col-phone.mdl-cell--1-col-phone {
10904
+ width: 25%; }
10905
+ .mdl-cell--2-col,
10906
+ .mdl-cell--2-col-phone.mdl-cell--2-col-phone {
10907
+ width: calc(50% - 16px); }
10908
+ .mdl-grid--no-spacing > .mdl-cell--2-col, .mdl-grid--no-spacing >
10909
+ .mdl-cell--2-col-phone.mdl-cell--2-col-phone {
10910
+ width: 50%; }
10911
+ .mdl-cell--3-col,
10912
+ .mdl-cell--3-col-phone.mdl-cell--3-col-phone {
10913
+ width: calc(75% - 16px); }
10914
+ .mdl-grid--no-spacing > .mdl-cell--3-col, .mdl-grid--no-spacing >
10915
+ .mdl-cell--3-col-phone.mdl-cell--3-col-phone {
10916
+ width: 75%; }
10917
+ .mdl-cell--4-col,
10918
+ .mdl-cell--4-col-phone.mdl-cell--4-col-phone {
10919
+ width: calc(100% - 16px); }
10920
+ .mdl-grid--no-spacing > .mdl-cell--4-col, .mdl-grid--no-spacing >
10921
+ .mdl-cell--4-col-phone.mdl-cell--4-col-phone {
10922
+ width: 100%; }
10923
+ .mdl-cell--5-col,
10924
+ .mdl-cell--5-col-phone.mdl-cell--5-col-phone {
10925
+ width: calc(100% - 16px); }
10926
+ .mdl-grid--no-spacing > .mdl-cell--5-col, .mdl-grid--no-spacing >
10927
+ .mdl-cell--5-col-phone.mdl-cell--5-col-phone {
10928
+ width: 100%; }
10929
+ .mdl-cell--6-col,
10930
+ .mdl-cell--6-col-phone.mdl-cell--6-col-phone {
10931
+ width: calc(100% - 16px); }
10932
+ .mdl-grid--no-spacing > .mdl-cell--6-col, .mdl-grid--no-spacing >
10933
+ .mdl-cell--6-col-phone.mdl-cell--6-col-phone {
10934
+ width: 100%; }
10935
+ .mdl-cell--7-col,
10936
+ .mdl-cell--7-col-phone.mdl-cell--7-col-phone {
10937
+ width: calc(100% - 16px); }
10938
+ .mdl-grid--no-spacing > .mdl-cell--7-col, .mdl-grid--no-spacing >
10939
+ .mdl-cell--7-col-phone.mdl-cell--7-col-phone {
10940
+ width: 100%; }
10941
+ .mdl-cell--8-col,
10942
+ .mdl-cell--8-col-phone.mdl-cell--8-col-phone {
10943
+ width: calc(100% - 16px); }
10944
+ .mdl-grid--no-spacing > .mdl-cell--8-col, .mdl-grid--no-spacing >
10945
+ .mdl-cell--8-col-phone.mdl-cell--8-col-phone {
10946
+ width: 100%; }
10947
+ .mdl-cell--9-col,
10948
+ .mdl-cell--9-col-phone.mdl-cell--9-col-phone {
10949
+ width: calc(100% - 16px); }
10950
+ .mdl-grid--no-spacing > .mdl-cell--9-col, .mdl-grid--no-spacing >
10951
+ .mdl-cell--9-col-phone.mdl-cell--9-col-phone {
10952
+ width: 100%; }
10953
+ .mdl-cell--10-col,
10954
+ .mdl-cell--10-col-phone.mdl-cell--10-col-phone {
10955
+ width: calc(100% - 16px); }
10956
+ .mdl-grid--no-spacing > .mdl-cell--10-col, .mdl-grid--no-spacing >
10957
+ .mdl-cell--10-col-phone.mdl-cell--10-col-phone {
10958
+ width: 100%; }
10959
+ .mdl-cell--11-col,
10960
+ .mdl-cell--11-col-phone.mdl-cell--11-col-phone {
10961
+ width: calc(100% - 16px); }
10962
+ .mdl-grid--no-spacing > .mdl-cell--11-col, .mdl-grid--no-spacing >
10963
+ .mdl-cell--11-col-phone.mdl-cell--11-col-phone {
10964
+ width: 100%; }
10965
+ .mdl-cell--12-col,
10966
+ .mdl-cell--12-col-phone.mdl-cell--12-col-phone {
10967
+ width: calc(100% - 16px); }
10968
+ .mdl-grid--no-spacing > .mdl-cell--12-col, .mdl-grid--no-spacing >
10969
+ .mdl-cell--12-col-phone.mdl-cell--12-col-phone {
10970
+ width: 100%; }
10971
+ .mdl-cell--1-offset,
10972
+ .mdl-cell--1-offset-phone.mdl-cell--1-offset-phone {
10973
+ margin-left: calc(25% + 8px); }
10974
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--1-offset, .mdl-grid.mdl-grid--no-spacing >
10975
+ .mdl-cell--1-offset-phone.mdl-cell--1-offset-phone {
10976
+ margin-left: 25%; }
10977
+ .mdl-cell--2-offset,
10978
+ .mdl-cell--2-offset-phone.mdl-cell--2-offset-phone {
10979
+ margin-left: calc(50% + 8px); }
10980
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--2-offset, .mdl-grid.mdl-grid--no-spacing >
10981
+ .mdl-cell--2-offset-phone.mdl-cell--2-offset-phone {
10982
+ margin-left: 50%; }
10983
+ .mdl-cell--3-offset,
10984
+ .mdl-cell--3-offset-phone.mdl-cell--3-offset-phone {
10985
+ margin-left: calc(75% + 8px); }
10986
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--3-offset, .mdl-grid.mdl-grid--no-spacing >
10987
+ .mdl-cell--3-offset-phone.mdl-cell--3-offset-phone {
10988
+ margin-left: 75%; } }
10989
+
10990
+ @media (min-width: 480px) and (max-width: 839px) {
10991
+ .mdl-grid {
10992
+ padding: 8px; }
10993
+ .mdl-cell {
10994
+ margin: 8px;
10995
+ width: calc(50% - 16px); }
10996
+ .mdl-grid--no-spacing > .mdl-cell {
10997
+ width: 50%; }
10998
+ .mdl-cell--hide-tablet {
10999
+ display: none !important; }
11000
+ .mdl-cell--order-1-tablet.mdl-cell--order-1-tablet {
11001
+ -webkit-order: 1;
11002
+ -ms-flex-order: 1;
11003
+ order: 1; }
11004
+ .mdl-cell--order-2-tablet.mdl-cell--order-2-tablet {
11005
+ -webkit-order: 2;
11006
+ -ms-flex-order: 2;
11007
+ order: 2; }
11008
+ .mdl-cell--order-3-tablet.mdl-cell--order-3-tablet {
11009
+ -webkit-order: 3;
11010
+ -ms-flex-order: 3;
11011
+ order: 3; }
11012
+ .mdl-cell--order-4-tablet.mdl-cell--order-4-tablet {
11013
+ -webkit-order: 4;
11014
+ -ms-flex-order: 4;
11015
+ order: 4; }
11016
+ .mdl-cell--order-5-tablet.mdl-cell--order-5-tablet {
11017
+ -webkit-order: 5;
11018
+ -ms-flex-order: 5;
11019
+ order: 5; }
11020
+ .mdl-cell--order-6-tablet.mdl-cell--order-6-tablet {
11021
+ -webkit-order: 6;
11022
+ -ms-flex-order: 6;
11023
+ order: 6; }
11024
+ .mdl-cell--order-7-tablet.mdl-cell--order-7-tablet {
11025
+ -webkit-order: 7;
11026
+ -ms-flex-order: 7;
11027
+ order: 7; }
11028
+ .mdl-cell--order-8-tablet.mdl-cell--order-8-tablet {
11029
+ -webkit-order: 8;
11030
+ -ms-flex-order: 8;
11031
+ order: 8; }
11032
+ .mdl-cell--order-9-tablet.mdl-cell--order-9-tablet {
11033
+ -webkit-order: 9;
11034
+ -ms-flex-order: 9;
11035
+ order: 9; }
11036
+ .mdl-cell--order-10-tablet.mdl-cell--order-10-tablet {
11037
+ -webkit-order: 10;
11038
+ -ms-flex-order: 10;
11039
+ order: 10; }
11040
+ .mdl-cell--order-11-tablet.mdl-cell--order-11-tablet {
11041
+ -webkit-order: 11;
11042
+ -ms-flex-order: 11;
11043
+ order: 11; }
11044
+ .mdl-cell--order-12-tablet.mdl-cell--order-12-tablet {
11045
+ -webkit-order: 12;
11046
+ -ms-flex-order: 12;
11047
+ order: 12; }
11048
+ .mdl-cell--1-col,
11049
+ .mdl-cell--1-col-tablet.mdl-cell--1-col-tablet {
11050
+ width: calc(12.5% - 16px); }
11051
+ .mdl-grid--no-spacing > .mdl-cell--1-col, .mdl-grid--no-spacing >
11052
+ .mdl-cell--1-col-tablet.mdl-cell--1-col-tablet {
11053
+ width: 12.5%; }
11054
+ .mdl-cell--2-col,
11055
+ .mdl-cell--2-col-tablet.mdl-cell--2-col-tablet {
11056
+ width: calc(25% - 16px); }
11057
+ .mdl-grid--no-spacing > .mdl-cell--2-col, .mdl-grid--no-spacing >
11058
+ .mdl-cell--2-col-tablet.mdl-cell--2-col-tablet {
11059
+ width: 25%; }
11060
+ .mdl-cell--3-col,
11061
+ .mdl-cell--3-col-tablet.mdl-cell--3-col-tablet {
11062
+ width: calc(37.5% - 16px); }
11063
+ .mdl-grid--no-spacing > .mdl-cell--3-col, .mdl-grid--no-spacing >
11064
+ .mdl-cell--3-col-tablet.mdl-cell--3-col-tablet {
11065
+ width: 37.5%; }
11066
+ .mdl-cell--4-col,
11067
+ .mdl-cell--4-col-tablet.mdl-cell--4-col-tablet {
11068
+ width: calc(50% - 16px); }
11069
+ .mdl-grid--no-spacing > .mdl-cell--4-col, .mdl-grid--no-spacing >
11070
+ .mdl-cell--4-col-tablet.mdl-cell--4-col-tablet {
11071
+ width: 50%; }
11072
+ .mdl-cell--5-col,
11073
+ .mdl-cell--5-col-tablet.mdl-cell--5-col-tablet {
11074
+ width: calc(62.5% - 16px); }
11075
+ .mdl-grid--no-spacing > .mdl-cell--5-col, .mdl-grid--no-spacing >
11076
+ .mdl-cell--5-col-tablet.mdl-cell--5-col-tablet {
11077
+ width: 62.5%; }
11078
+ .mdl-cell--6-col,
11079
+ .mdl-cell--6-col-tablet.mdl-cell--6-col-tablet {
11080
+ width: calc(75% - 16px); }
11081
+ .mdl-grid--no-spacing > .mdl-cell--6-col, .mdl-grid--no-spacing >
11082
+ .mdl-cell--6-col-tablet.mdl-cell--6-col-tablet {
11083
+ width: 75%; }
11084
+ .mdl-cell--7-col,
11085
+ .mdl-cell--7-col-tablet.mdl-cell--7-col-tablet {
11086
+ width: calc(87.5% - 16px); }
11087
+ .mdl-grid--no-spacing > .mdl-cell--7-col, .mdl-grid--no-spacing >
11088
+ .mdl-cell--7-col-tablet.mdl-cell--7-col-tablet {
11089
+ width: 87.5%; }
11090
+ .mdl-cell--8-col,
11091
+ .mdl-cell--8-col-tablet.mdl-cell--8-col-tablet {
11092
+ width: calc(100% - 16px); }
11093
+ .mdl-grid--no-spacing > .mdl-cell--8-col, .mdl-grid--no-spacing >
11094
+ .mdl-cell--8-col-tablet.mdl-cell--8-col-tablet {
11095
+ width: 100%; }
11096
+ .mdl-cell--9-col,
11097
+ .mdl-cell--9-col-tablet.mdl-cell--9-col-tablet {
11098
+ width: calc(100% - 16px); }
11099
+ .mdl-grid--no-spacing > .mdl-cell--9-col, .mdl-grid--no-spacing >
11100
+ .mdl-cell--9-col-tablet.mdl-cell--9-col-tablet {
11101
+ width: 100%; }
11102
+ .mdl-cell--10-col,
11103
+ .mdl-cell--10-col-tablet.mdl-cell--10-col-tablet {
11104
+ width: calc(100% - 16px); }
11105
+ .mdl-grid--no-spacing > .mdl-cell--10-col, .mdl-grid--no-spacing >
11106
+ .mdl-cell--10-col-tablet.mdl-cell--10-col-tablet {
11107
+ width: 100%; }
11108
+ .mdl-cell--11-col,
11109
+ .mdl-cell--11-col-tablet.mdl-cell--11-col-tablet {
11110
+ width: calc(100% - 16px); }
11111
+ .mdl-grid--no-spacing > .mdl-cell--11-col, .mdl-grid--no-spacing >
11112
+ .mdl-cell--11-col-tablet.mdl-cell--11-col-tablet {
11113
+ width: 100%; }
11114
+ .mdl-cell--12-col,
11115
+ .mdl-cell--12-col-tablet.mdl-cell--12-col-tablet {
11116
+ width: calc(100% - 16px); }
11117
+ .mdl-grid--no-spacing > .mdl-cell--12-col, .mdl-grid--no-spacing >
11118
+ .mdl-cell--12-col-tablet.mdl-cell--12-col-tablet {
11119
+ width: 100%; }
11120
+ .mdl-cell--1-offset,
11121
+ .mdl-cell--1-offset-tablet.mdl-cell--1-offset-tablet {
11122
+ margin-left: calc(12.5% + 8px); }
11123
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--1-offset, .mdl-grid.mdl-grid--no-spacing >
11124
+ .mdl-cell--1-offset-tablet.mdl-cell--1-offset-tablet {
11125
+ margin-left: 12.5%; }
11126
+ .mdl-cell--2-offset,
11127
+ .mdl-cell--2-offset-tablet.mdl-cell--2-offset-tablet {
11128
+ margin-left: calc(25% + 8px); }
11129
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--2-offset, .mdl-grid.mdl-grid--no-spacing >
11130
+ .mdl-cell--2-offset-tablet.mdl-cell--2-offset-tablet {
11131
+ margin-left: 25%; }
11132
+ .mdl-cell--3-offset,
11133
+ .mdl-cell--3-offset-tablet.mdl-cell--3-offset-tablet {
11134
+ margin-left: calc(37.5% + 8px); }
11135
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--3-offset, .mdl-grid.mdl-grid--no-spacing >
11136
+ .mdl-cell--3-offset-tablet.mdl-cell--3-offset-tablet {
11137
+ margin-left: 37.5%; }
11138
+ .mdl-cell--4-offset,
11139
+ .mdl-cell--4-offset-tablet.mdl-cell--4-offset-tablet {
11140
+ margin-left: calc(50% + 8px); }
11141
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--4-offset, .mdl-grid.mdl-grid--no-spacing >
11142
+ .mdl-cell--4-offset-tablet.mdl-cell--4-offset-tablet {
11143
+ margin-left: 50%; }
11144
+ .mdl-cell--5-offset,
11145
+ .mdl-cell--5-offset-tablet.mdl-cell--5-offset-tablet {
11146
+ margin-left: calc(62.5% + 8px); }
11147
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--5-offset, .mdl-grid.mdl-grid--no-spacing >
11148
+ .mdl-cell--5-offset-tablet.mdl-cell--5-offset-tablet {
11149
+ margin-left: 62.5%; }
11150
+ .mdl-cell--6-offset,
11151
+ .mdl-cell--6-offset-tablet.mdl-cell--6-offset-tablet {
11152
+ margin-left: calc(75% + 8px); }
11153
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--6-offset, .mdl-grid.mdl-grid--no-spacing >
11154
+ .mdl-cell--6-offset-tablet.mdl-cell--6-offset-tablet {
11155
+ margin-left: 75%; }
11156
+ .mdl-cell--7-offset,
11157
+ .mdl-cell--7-offset-tablet.mdl-cell--7-offset-tablet {
11158
+ margin-left: calc(87.5% + 8px); }
11159
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--7-offset, .mdl-grid.mdl-grid--no-spacing >
11160
+ .mdl-cell--7-offset-tablet.mdl-cell--7-offset-tablet {
11161
+ margin-left: 87.5%; } }
11162
+
11163
+ @media (min-width: 840px) {
11164
+ .mdl-grid {
11165
+ padding: 8px; }
11166
+ .mdl-cell {
11167
+ margin: 8px;
11168
+ width: calc(33.3333333333% - 16px); }
11169
+ .mdl-grid--no-spacing > .mdl-cell {
11170
+ width: 33.3333333333%; }
11171
+ .mdl-cell--hide-desktop {
11172
+ display: none !important; }
11173
+ .mdl-cell--order-1-desktop.mdl-cell--order-1-desktop {
11174
+ -webkit-order: 1;
11175
+ -ms-flex-order: 1;
11176
+ order: 1; }
11177
+ .mdl-cell--order-2-desktop.mdl-cell--order-2-desktop {
11178
+ -webkit-order: 2;
11179
+ -ms-flex-order: 2;
11180
+ order: 2; }
11181
+ .mdl-cell--order-3-desktop.mdl-cell--order-3-desktop {
11182
+ -webkit-order: 3;
11183
+ -ms-flex-order: 3;
11184
+ order: 3; }
11185
+ .mdl-cell--order-4-desktop.mdl-cell--order-4-desktop {
11186
+ -webkit-order: 4;
11187
+ -ms-flex-order: 4;
11188
+ order: 4; }
11189
+ .mdl-cell--order-5-desktop.mdl-cell--order-5-desktop {
11190
+ -webkit-order: 5;
11191
+ -ms-flex-order: 5;
11192
+ order: 5; }
11193
+ .mdl-cell--order-6-desktop.mdl-cell--order-6-desktop {
11194
+ -webkit-order: 6;
11195
+ -ms-flex-order: 6;
11196
+ order: 6; }
11197
+ .mdl-cell--order-7-desktop.mdl-cell--order-7-desktop {
11198
+ -webkit-order: 7;
11199
+ -ms-flex-order: 7;
11200
+ order: 7; }
11201
+ .mdl-cell--order-8-desktop.mdl-cell--order-8-desktop {
11202
+ -webkit-order: 8;
11203
+ -ms-flex-order: 8;
11204
+ order: 8; }
11205
+ .mdl-cell--order-9-desktop.mdl-cell--order-9-desktop {
11206
+ -webkit-order: 9;
11207
+ -ms-flex-order: 9;
11208
+ order: 9; }
11209
+ .mdl-cell--order-10-desktop.mdl-cell--order-10-desktop {
11210
+ -webkit-order: 10;
11211
+ -ms-flex-order: 10;
11212
+ order: 10; }
11213
+ .mdl-cell--order-11-desktop.mdl-cell--order-11-desktop {
11214
+ -webkit-order: 11;
11215
+ -ms-flex-order: 11;
11216
+ order: 11; }
11217
+ .mdl-cell--order-12-desktop.mdl-cell--order-12-desktop {
11218
+ -webkit-order: 12;
11219
+ -ms-flex-order: 12;
11220
+ order: 12; }
11221
+ .mdl-cell--1-col,
11222
+ .mdl-cell--1-col-desktop.mdl-cell--1-col-desktop {
11223
+ width: calc(8.3333333333% - 16px); }
11224
+ .mdl-grid--no-spacing > .mdl-cell--1-col, .mdl-grid--no-spacing >
11225
+ .mdl-cell--1-col-desktop.mdl-cell--1-col-desktop {
11226
+ width: 8.3333333333%; }
11227
+ .mdl-cell--2-col,
11228
+ .mdl-cell--2-col-desktop.mdl-cell--2-col-desktop {
11229
+ width: calc(16.6666666667% - 16px); }
11230
+ .mdl-grid--no-spacing > .mdl-cell--2-col, .mdl-grid--no-spacing >
11231
+ .mdl-cell--2-col-desktop.mdl-cell--2-col-desktop {
11232
+ width: 16.6666666667%; }
11233
+ .mdl-cell--3-col,
11234
+ .mdl-cell--3-col-desktop.mdl-cell--3-col-desktop {
11235
+ width: calc(25% - 16px); }
11236
+ .mdl-grid--no-spacing > .mdl-cell--3-col, .mdl-grid--no-spacing >
11237
+ .mdl-cell--3-col-desktop.mdl-cell--3-col-desktop {
11238
+ width: 25%; }
11239
+ .mdl-cell--4-col,
11240
+ .mdl-cell--4-col-desktop.mdl-cell--4-col-desktop {
11241
+ width: calc(33.3333333333% - 16px); }
11242
+ .mdl-grid--no-spacing > .mdl-cell--4-col, .mdl-grid--no-spacing >
11243
+ .mdl-cell--4-col-desktop.mdl-cell--4-col-desktop {
11244
+ width: 33.3333333333%; }
11245
+ .mdl-cell--5-col,
11246
+ .mdl-cell--5-col-desktop.mdl-cell--5-col-desktop {
11247
+ width: calc(41.6666666667% - 16px); }
11248
+ .mdl-grid--no-spacing > .mdl-cell--5-col, .mdl-grid--no-spacing >
11249
+ .mdl-cell--5-col-desktop.mdl-cell--5-col-desktop {
11250
+ width: 41.6666666667%; }
11251
+ .mdl-cell--6-col,
11252
+ .mdl-cell--6-col-desktop.mdl-cell--6-col-desktop {
11253
+ width: calc(50% - 16px); }
11254
+ .mdl-grid--no-spacing > .mdl-cell--6-col, .mdl-grid--no-spacing >
11255
+ .mdl-cell--6-col-desktop.mdl-cell--6-col-desktop {
11256
+ width: 50%; }
11257
+ .mdl-cell--7-col,
11258
+ .mdl-cell--7-col-desktop.mdl-cell--7-col-desktop {
11259
+ width: calc(58.3333333333% - 16px); }
11260
+ .mdl-grid--no-spacing > .mdl-cell--7-col, .mdl-grid--no-spacing >
11261
+ .mdl-cell--7-col-desktop.mdl-cell--7-col-desktop {
11262
+ width: 58.3333333333%; }
11263
+ .mdl-cell--8-col,
11264
+ .mdl-cell--8-col-desktop.mdl-cell--8-col-desktop {
11265
+ width: calc(66.6666666667% - 16px); }
11266
+ .mdl-grid--no-spacing > .mdl-cell--8-col, .mdl-grid--no-spacing >
11267
+ .mdl-cell--8-col-desktop.mdl-cell--8-col-desktop {
11268
+ width: 66.6666666667%; }
11269
+ .mdl-cell--9-col,
11270
+ .mdl-cell--9-col-desktop.mdl-cell--9-col-desktop {
11271
+ width: calc(75% - 16px); }
11272
+ .mdl-grid--no-spacing > .mdl-cell--9-col, .mdl-grid--no-spacing >
11273
+ .mdl-cell--9-col-desktop.mdl-cell--9-col-desktop {
11274
+ width: 75%; }
11275
+ .mdl-cell--10-col,
11276
+ .mdl-cell--10-col-desktop.mdl-cell--10-col-desktop {
11277
+ width: calc(83.3333333333% - 16px); }
11278
+ .mdl-grid--no-spacing > .mdl-cell--10-col, .mdl-grid--no-spacing >
11279
+ .mdl-cell--10-col-desktop.mdl-cell--10-col-desktop {
11280
+ width: 83.3333333333%; }
11281
+ .mdl-cell--11-col,
11282
+ .mdl-cell--11-col-desktop.mdl-cell--11-col-desktop {
11283
+ width: calc(91.6666666667% - 16px); }
11284
+ .mdl-grid--no-spacing > .mdl-cell--11-col, .mdl-grid--no-spacing >
11285
+ .mdl-cell--11-col-desktop.mdl-cell--11-col-desktop {
11286
+ width: 91.6666666667%; }
11287
+ .mdl-cell--12-col,
11288
+ .mdl-cell--12-col-desktop.mdl-cell--12-col-desktop {
11289
+ width: calc(100% - 16px); }
11290
+ .mdl-grid--no-spacing > .mdl-cell--12-col, .mdl-grid--no-spacing >
11291
+ .mdl-cell--12-col-desktop.mdl-cell--12-col-desktop {
11292
+ width: 100%; }
11293
+ .mdl-cell--1-offset,
11294
+ .mdl-cell--1-offset-desktop.mdl-cell--1-offset-desktop {
11295
+ margin-left: calc(8.3333333333% + 8px); }
11296
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--1-offset, .mdl-grid.mdl-grid--no-spacing >
11297
+ .mdl-cell--1-offset-desktop.mdl-cell--1-offset-desktop {
11298
+ margin-left: 8.3333333333%; }
11299
+ .mdl-cell--2-offset,
11300
+ .mdl-cell--2-offset-desktop.mdl-cell--2-offset-desktop {
11301
+ margin-left: calc(16.6666666667% + 8px); }
11302
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--2-offset, .mdl-grid.mdl-grid--no-spacing >
11303
+ .mdl-cell--2-offset-desktop.mdl-cell--2-offset-desktop {
11304
+ margin-left: 16.6666666667%; }
11305
+ .mdl-cell--3-offset,
11306
+ .mdl-cell--3-offset-desktop.mdl-cell--3-offset-desktop {
11307
+ margin-left: calc(25% + 8px); }
11308
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--3-offset, .mdl-grid.mdl-grid--no-spacing >
11309
+ .mdl-cell--3-offset-desktop.mdl-cell--3-offset-desktop {
11310
+ margin-left: 25%; }
11311
+ .mdl-cell--4-offset,
11312
+ .mdl-cell--4-offset-desktop.mdl-cell--4-offset-desktop {
11313
+ margin-left: calc(33.3333333333% + 8px); }
11314
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--4-offset, .mdl-grid.mdl-grid--no-spacing >
11315
+ .mdl-cell--4-offset-desktop.mdl-cell--4-offset-desktop {
11316
+ margin-left: 33.3333333333%; }
11317
+ .mdl-cell--5-offset,
11318
+ .mdl-cell--5-offset-desktop.mdl-cell--5-offset-desktop {
11319
+ margin-left: calc(41.6666666667% + 8px); }
11320
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--5-offset, .mdl-grid.mdl-grid--no-spacing >
11321
+ .mdl-cell--5-offset-desktop.mdl-cell--5-offset-desktop {
11322
+ margin-left: 41.6666666667%; }
11323
+ .mdl-cell--6-offset,
11324
+ .mdl-cell--6-offset-desktop.mdl-cell--6-offset-desktop {
11325
+ margin-left: calc(50% + 8px); }
11326
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--6-offset, .mdl-grid.mdl-grid--no-spacing >
11327
+ .mdl-cell--6-offset-desktop.mdl-cell--6-offset-desktop {
11328
+ margin-left: 50%; }
11329
+ .mdl-cell--7-offset,
11330
+ .mdl-cell--7-offset-desktop.mdl-cell--7-offset-desktop {
11331
+ margin-left: calc(58.3333333333% + 8px); }
11332
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--7-offset, .mdl-grid.mdl-grid--no-spacing >
11333
+ .mdl-cell--7-offset-desktop.mdl-cell--7-offset-desktop {
11334
+ margin-left: 58.3333333333%; }
11335
+ .mdl-cell--8-offset,
11336
+ .mdl-cell--8-offset-desktop.mdl-cell--8-offset-desktop {
11337
+ margin-left: calc(66.6666666667% + 8px); }
11338
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--8-offset, .mdl-grid.mdl-grid--no-spacing >
11339
+ .mdl-cell--8-offset-desktop.mdl-cell--8-offset-desktop {
11340
+ margin-left: 66.6666666667%; }
11341
+ .mdl-cell--9-offset,
11342
+ .mdl-cell--9-offset-desktop.mdl-cell--9-offset-desktop {
11343
+ margin-left: calc(75% + 8px); }
11344
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--9-offset, .mdl-grid.mdl-grid--no-spacing >
11345
+ .mdl-cell--9-offset-desktop.mdl-cell--9-offset-desktop {
11346
+ margin-left: 75%; }
11347
+ .mdl-cell--10-offset,
11348
+ .mdl-cell--10-offset-desktop.mdl-cell--10-offset-desktop {
11349
+ margin-left: calc(83.3333333333% + 8px); }
11350
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--10-offset, .mdl-grid.mdl-grid--no-spacing >
11351
+ .mdl-cell--10-offset-desktop.mdl-cell--10-offset-desktop {
11352
+ margin-left: 83.3333333333%; }
11353
+ .mdl-cell--11-offset,
11354
+ .mdl-cell--11-offset-desktop.mdl-cell--11-offset-desktop {
11355
+ margin-left: calc(91.6666666667% + 8px); }
11356
+ .mdl-grid.mdl-grid--no-spacing > .mdl-cell--11-offset, .mdl-grid.mdl-grid--no-spacing >
11357
+ .mdl-cell--11-offset-desktop.mdl-cell--11-offset-desktop {
11358
+ margin-left: 91.6666666667%; } }
assets/css/trackship.css DELETED
@@ -1,640 +0,0 @@
1
- .trackship_section {
2
- border-radius: 3px;
3
- padding: 30px;
4
- margin-top: 30px;
5
- text-align: center;
6
- max-width: 930px;
7
- margin: 30px auto;
8
- }
9
- .ts_landing_header{
10
- font-size: 26px;
11
- line-height: 28px;
12
- margin: 0;
13
- font-weight: 700;
14
- }
15
- .ts_landing_description{
16
- font-size: 15px;
17
- max-width: 585px;
18
- margin: 1em auto;
19
- }
20
- .ts_landing_banner{
21
- text-align:center;
22
- background: #fafafa;
23
- border: 1px solid #e0e0e0;
24
- padding: 15px;
25
- max-width: 400px;
26
- margin: 30px auto;
27
- position: relative;
28
- }
29
- .ts_landing_banner img{
30
- width: 100%;
31
- }
32
- .open_ts_video{
33
- position: absolute;
34
- width: 60px;
35
- height: 60px;
36
- font-size: 60px;
37
- top: 42%;
38
- left: 44%;
39
- color: #59c889;
40
- background: #fff;
41
- cursor: pointer;
42
- }
43
- #ts_dashboard:checked ~ #content_trackship_dashboard,#ts_settings:checked ~ #content_trackship_settings, #ts_tracking_page:checked ~ #content_tracking_page, #ts_notifications:checked ~ #content_status_notifications{
44
- display: block !important;
45
- }
46
- .woocommerce_page_trackship-for-woocommerce #wpcontent {
47
- padding-left: 0;
48
- }
49
- .ts_nav_div label.tab_label{
50
- color: #59c889;
51
- }
52
- input.tab_input:checked + label {
53
- color: #3c4758;
54
- }
55
-
56
- .trackship_admin_content section.inner_tab_section {
57
- display: none;
58
- padding: 0;
59
- border-top: 1px solid #ddd;
60
- }
61
- .woocommerce.zorem_admin_layout table.form-table th label {
62
- font-weight: 500;
63
- color: #444;
64
- cursor: auto;
65
- }
66
-
67
- .zorem_admin_layout table.form-table.late-shipments-email-content-table{
68
- background: #fff;
69
- display: none;
70
- }
71
- .zorem_admin_layout h3.table-heading {
72
- background: #fafeff;
73
- color: #005B9A;
74
- margin: 0;
75
- padding: 15px;
76
- font-weight: 400;
77
- }
78
- .zorem_admin_layout h3.table-heading:after {
79
- content: '';
80
- clear: both;
81
- }
82
- ..woocommerce.zorem_admin_layout #trackship_late_shipments_form table.form-table.heading-table td{
83
- padding: 12px 25px;
84
- }
85
- .woocommerce.zorem_admin_layout .border_0 table.form-table.heading-table td{
86
- padding: 0 0 5px;
87
- }
88
- .zorem_admin_layout h3 {
89
- margin: 1em 0;
90
- }
91
- .woocommerce.zorem_admin_layout table.form-table.heading-table td h3 {
92
- margin: 0;
93
- color: #3c4858;
94
- font-weight: 500;
95
- }
96
- .woocommerce.zorem_admin_layout table.form-table td.button-column {
97
- padding: 5px 15px;
98
- }
99
- .woocommerce.zorem_admin_layout .border_0 table.form-table td.button-column {
100
- padding: 5px 15px 5px 0;
101
- }
102
- .woocommerce.zorem_admin_layout .get_shipment_status_tool.border_0 table.form-table th{
103
- padding: 0 10px 0px 15px;
104
- border-bottom: 1px solid #e0e0e0;
105
- vertical-align: middle;
106
- }
107
- .woocommerce.zorem_admin_layout .get_shipment_status_tool.border_0 table.form-table td{
108
- padding: 10px;
109
- border-bottom: 1px solid #e0e0e0;
110
- text-align: right;
111
- }
112
- .trackship_admin_content div.submit {
113
- padding: 0;
114
- }
115
- .trackship_admin_content div.submit .spinner {
116
- display: none;
117
- float: none;
118
- margin: 0px 10px 0;
119
- }
120
- .trackship_admin_content .late-shipments-email-content-table .spinner {
121
- float: none;
122
- margin: 0px 10px 0;
123
- }
124
- ul.trackship_dashboard_ul {
125
- margin: 25px 0 0;
126
- }
127
- ul.trackship_dashboard_ul li {
128
- width: 32%;
129
- display: inline-block;
130
- margin: 0 5px 0 0;
131
- border: 1px solid #eee;
132
- text-align: left;
133
- padding: 10px 0;
134
- background: #eaf8fb;
135
- min-height: 47px;
136
- vertical-align: top;
137
- -webkit-box-shadow: 0 1px 3px -2px rgba(234,248,251,.12), 0 1px 2px rgba(234,248,251,.24);
138
- -moz-box-shadow: 0 1px 3px -2px rgba(234,248,251,.12), 0 1px 2px rgba(234,248,251,.24);
139
- box-shadow: 0 1px 3px -2px rgba(234,248,251,.12), 0 1px 2px rgba(234,248,251,.24);
140
- }
141
- ul.trackship_dashboard_ul li label {
142
- padding-left: 20px;
143
- }
144
- ul.trackship_dashboard_ul li strong{
145
- font-weight: 800;
146
- font-size: 15px;
147
- display: block;
148
- margin-top: 5px;
149
- padding-left: 20px;
150
- }
151
- .sidebar_subscription_details{
152
- color: #3c4858;
153
- }
154
- .sidebar_subscription_details tr td strong{
155
- font-weight:700;
156
- margin-left: 5px;
157
- }
158
- .select_t_layout_section {
159
- display: inline-block;
160
- width: 150px;
161
- margin-right: 10px;
162
- margin-top: 5px;
163
- }
164
- .trackship-notice{
165
- background: #fff;
166
- border: 1px solid #59c889;
167
- border-radius: 3px;
168
- padding: 15px;
169
- margin: 10px 0 -10px;
170
- }
171
- .trackship-notice p{
172
- margin: 0;
173
- }
174
- .wp-core-ui .button-primary.bulk_shipment_status_button {
175
- margin-top: 10px;
176
- }
177
- .menu_trackship_link{
178
- text-decoration: none;
179
- padding: 15px 20px;
180
- font-size: 14px;
181
- color: #005b9a;
182
- display: inline-block;
183
- line-height: 1;
184
- outline: none;
185
- vertical-align: middle;
186
- border-top-right-radius: 5px;
187
- border-top-left-radius: 5px;
188
- background: #fafafa;
189
- border: 1px solid #e0e0e0;
190
- border-bottom: 0;
191
- }
192
-
193
- .post-type-shop_order .wp-list-table .column-shipment_status {
194
- width: 20ch;
195
- padding: .5em;
196
- }
197
- ul.wcast-shipment-status-list {
198
- margin: 0;
199
- }
200
- .wcast-shipment-status-list li {
201
- position: relative;
202
- padding: 10px;
203
- min-height: 50px;
204
- box-sizing: border-box;
205
- }
206
- .wcast-shipment-status-list li:last-child{
207
- margin-bottom: 0;
208
- }
209
- .wcast-shipment-status-list .ast-shipment-status {
210
- display: grid;
211
- }
212
- .ast-shipment-tracking-status {
213
- font-weight: 600;
214
- }
215
- .ft11 {
216
- font-size: 11px;
217
- }
218
- .has_est_delivery_0 .showif_has_est_delivery_0 {
219
- display: block;
220
- }
221
- .ast-shipment-status .shipment-icon:before {
222
- content: ' ';
223
- width: 16px;
224
- height: 16px;
225
- background-size: cover;
226
- display: inline-block;
227
- vertical-align: text-bottom;
228
- }
229
- .ast-shipment-status .icon-default:before{
230
- background-image: url(icons/invalid-v3.png);
231
- }
232
- .ast-shipment-status .icon-INVALID_TRACKING_NUM:before{
233
- background-image: url(icons/invalid-v3.png);
234
- }
235
- .ast-shipment-status .icon-wrong_shipping_provider:before{
236
- background-image: url(icons/failure-v4.png);
237
- }
238
- .ast-shipment-status .icon-carrier_unsupported:before{
239
- background-image: url(icons/Carrier-unsupported-v3.png);
240
- }
241
- .ast-shipment-status .icon-delivered:before{
242
- background-image: url(icons/delivered-v4.png);
243
- }
244
- .ast-shipment-status .icon-in_transit:before{
245
- background-image: url(icons/in-transit-v4.png);
246
- }
247
- .ast-shipment-status .icon-on_hold:before{
248
- background-image: url(icons/On-hold-v3.png);
249
- }
250
- .ast-shipment-status .icon-pre_transit:before{
251
- background-image: url(icons/pre-transit-v4.png);
252
- }
253
- .ast-shipment-status .icon-out_for_delivery:before{
254
- background-image: url(icons/out-for-delivery-v4.png);
255
- }
256
- .ast-shipment-status .icon-available_for_pickup:before{
257
- background-image: url(icons/available-for-picup-v4.png);
258
- }
259
- .ast-shipment-status .icon-return_to_sender:before{
260
- background-image: url(icons/return-to-sender-v4.png);
261
- }
262
- .ast-shipment-status .icon-failure:before{
263
- background-image: url(icons/failure-v4.png);
264
- }
265
- .ast-shipment-status .icon-exception:before{
266
- background-image: url(icons/failure-v4.png);
267
- }
268
- .ast-shipment-status .icon-unknown:before{
269
- background-image: url(icons/unknown-v4.png);
270
- }
271
- .ast-shipment-status .icon-pending_trackship:before{
272
- background-image: url(icons/pending-trackship-v4.png);
273
- }
274
- .ast-shipment-status .icon-invalid_user_key:before{
275
- background-image: url(icons/invalid-user-key-v4.png);
276
- }
277
- .woocommerce.zorem_admin_layout table.form-table.trackship_status_table tr td strong{
278
- vertical-align:middle;
279
- }
280
- .woocommerce.zorem_admin_layout table.form-table.shipment-status-email-table td {
281
- padding: 15px;
282
- }
283
- .woocommerce.zorem_admin_layout table.form-table.shipment-status-email-table td:first-child {
284
- width: 240px;
285
- padding: 15px 0;
286
- }
287
- span.shipment_status_toggle {
288
- margin-right: 15px;
289
- }
290
- .woocommerce.zorem_admin_layout table.form-table.shipment-status-email-table td {
291
- border-bottom: 1px solid #e0e0e0;
292
- padding: 15px;
293
- }
294
- .shipment-status-email-table tr td.status-label-column {
295
- width: 130px;
296
- }
297
- .shipment-status-email-table .shipment-status-label {
298
- display: -webkit-inline-box;
299
- display: -webkit-inline-flex;
300
- display: inline-flex;
301
- line-height: 2.2em;
302
- color: #fff;
303
- background: #e5e5e5;
304
- border-radius: 4px;
305
- border: 0;
306
- margin: -.25em 0;
307
- cursor: pointer;
308
- white-space: nowrap;
309
- max-width: 100%;
310
- padding: 0 1em;
311
- text-decoration: none;
312
- }
313
- .shipment-status-email-table .shipment-status-label.in-transit{
314
- background: #7ad1cc;
315
- }
316
- .shipment-status-email-table .shipment-status-label.on-hold{
317
- background: #feeb77;
318
- color: #3c4858;
319
- }
320
- .shipment-status-email-table .shipment-status-label.available-for-pickup{
321
- background: #ff9800;
322
- }
323
- .shipment-status-email-table .shipment-status-label.return-to-sender{
324
- background: #A8414A;
325
- }
326
- .shipment-status-email-table .shipment-status-label.failed-attempt{
327
- background: #CD2128;
328
- }
329
- .shipment-status-email-table .shipment-status-label.exception{
330
- background: #CD2128;
331
- }
332
- .shipment-status-email-table .shipment-status-label.out-for-delivery{
333
- background: #95CB65;
334
- }
335
- .shipment-status-email-table .shipment-status-label.delivered-status{
336
- background: #0F8042;
337
- }
338
- .shipment-status-email-table .shipment-status-label.late-shipments{
339
- background: #7ad1cc;
340
- }
341
- .shipment-status-email-table tr.disable{
342
- opacity: 0.7;
343
- }
344
- .shipment-status-email-table tr.disable td:last-child {
345
- pointer-events: none;
346
- }
347
-
348
- .zorem_admin_layout .shipment-status-email-table tr.enable{
349
- background: #fff;
350
- }
351
- .zorem_admin_layout .shipment-status-email-table tr.disable{
352
- background: transparent;
353
- }
354
- .zorem_admin_layout .shipment-status-email-table tr.disable td:last-child{
355
- pointer-events:none;
356
- }
357
- p.delivered_message {
358
- display: inline-block;
359
- max-width: 85%;
360
- }
361
-
362
- .woocommerce table.form-table .shipment-status-label.woocommerce-help-tip{
363
- font-size: 14px;
364
- padding: 0 1em;
365
- line-height: 2.2em;
366
- margin: -.25em 0;
367
- width: auto;
368
- height: auto;
369
- }
370
- .woocommerce table.form-table .shipment-status-label.woocommerce-help-tip:after{
371
- content: "";
372
- }
373
- .woocommerce_page_trackship-for-woocommerce #tiptip_content {
374
- background: #59c889;
375
- padding: 15px;
376
- font-size: 12px;
377
- }
378
- .woocommerce_page_trackship-for-woocommerce #tiptip_holder.tip_top #tiptip_arrow_inner {
379
- border-top-color: #59c889;
380
- }
381
- .woocommerce_page_trackship-for-woocommerce #tiptip_holder.tip_bottom #tiptip_arrow_inner {
382
- border-bottom-color: #59c889;
383
- }
384
- .popup_header{
385
- border-bottom: 1px solid #e0e0e0;
386
- padding: 20px;
387
- }
388
- .popup_header h3{
389
- font-size: 20px;
390
- display: inline-block;
391
- margin: 0;
392
- color: #3c4858;
393
- }
394
-
395
- .popup_header .popup_close_icon{
396
- color: #59c889;
397
- width: 60px;
398
- height: 60px;
399
- font-size: 30px;
400
- border-left: 1px solid #e0e0e0;
401
- position: absolute;
402
- right: 0;
403
- top: 0px;
404
- cursor: pointer;
405
- }
406
- .popup_header .popup_close_icon:before{
407
- vertical-align: middle;
408
- vertical-align: -webkit-baseline-middle;
409
- }
410
-
411
-
412
- .wp-core-ui .btn_ts_outline{
413
- background: transparent;
414
- border: 1px solid #59c889;
415
- color: #59c889;
416
- }
417
- .wp-core-ui .btn_ts_outline:hover,.wp-core-ui .btn_ts_outline:focus{
418
- background: transparent;
419
- border: 1px solid #59c889;
420
- color: #59c889;
421
- }
422
- .zorem_admin_layout table.form-table.late-shipments-email-content-table #wcast_late_shipments_days{
423
- width: 60px;
424
- }
425
- .zorem_admin_layout table.form-table.late-shipments-email-content-table #wcast_late_shipments_email_content{
426
- width: 100%;
427
- height: 80px;
428
- margin-bottom: 10px;
429
- }
430
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr{
431
- border-bottom: 1px solid #e0e0e0;
432
- }
433
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr:last-child{
434
- border-bottom: 0;
435
- }
436
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr td,.zorem_admin_layout table.form-table.late-shipments-email-content-table tr th{
437
- padding: 15px 0;
438
- }
439
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr:last-child{
440
- border-top: 1px solid #e0e0e0;
441
- }
442
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr td select{
443
- width: 100px;
444
- vertical-align: middle;
445
- }
446
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr td label{
447
- margin-right: 10px;
448
- }
449
-
450
- .wp-core-ui .ts_launch_customizer_btn{
451
- float: right;
452
- }
453
- .wp-core-ui .btn_ts_transparent {
454
- background: transparent;
455
- text-shadow: none;
456
- border-color: #bdbdbd;
457
- box-shadow: none;
458
- font-size: 14px;
459
- line-height: 32px;
460
- height: 35px;
461
- padding: 0 10px;
462
- color: #59c889;
463
- background: #fafafa;
464
- }
465
- .wp-core-ui .btn_ts_transparent:focus{
466
- outline: 0;
467
- box-shadow: none;
468
- }
469
- .trackship_status_section {
470
- width: 50%;
471
- float: left;
472
- }
473
- .trackship_status_section.first .outer_form_table{
474
- margin-right: 10px;
475
- }
476
- .trackship_status_section.last .outer_form_table{
477
- margin-left: 10px;
478
- }
479
- .clearfix::after {
480
- content: "";
481
- clear: both;
482
- display: table;
483
- }
484
- .wp-core-ui .api_connected .dashicons {
485
- vertical-align: middle;
486
- margin-right: 5px;
487
- }
488
- .trackship_status_table tr td:last-child{
489
- text-align:right;
490
- }
491
- #trackship_dashboard_widget .hndle{
492
- justify-content: left;
493
- }
494
- #trackship_dashboard_widget .hndle small{
495
- font-size: 11px;
496
- color: #3c4758;
497
- margin: 0 0 0 5px;
498
- }
499
- #trackship_dashboard_widget .inside{
500
- padding: 0;
501
- margin: 0;
502
- }
503
- .ts-widget-content{
504
- width: 100%;
505
- }
506
- .ts-widget-row{
507
- display: flex;
508
- }
509
- .ts-widget-content .ts-widget__section{
510
- flex: 1;
511
- padding: 15px;
512
- }
513
- .ts-widget-rborder{
514
- border-right: 1px solid #e0e0e0;
515
- }
516
- .ts-widget-bborder{
517
- border-bottom: 1px solid #e0e0e0;
518
- }
519
- #trackship_dashboard_widget .ts-widget-content h3{
520
- margin: 0 0 5px;
521
- font-weight: 400;
522
- font-size: 14px;
523
- color: #3f4856;
524
- }
525
- .ts-widget-content .ts-widget-analytics-number{
526
- font-size: 18px;
527
- font-weight: 600;
528
- color: #3c4758;
529
- margin: 0 5px 0 0;
530
- line-height: 26px;
531
- }
532
- .ts-widget-content .ts-widget__section span{
533
- vertical-align: middle;
534
- }
535
- .ts-widget-footer{
536
- padding: 15px;
537
- }
538
- .ts-widget-footer:after {
539
- content: '';
540
- display: contents;
541
- clear: both;
542
- }
543
- .ts-widget-footer img{
544
- width: 80px;
545
- margin-top: 3px;
546
- }
547
- .ts-widget-footer a.ts_link{
548
- float: right;
549
- }
550
- .ts-widget-footer a{
551
- color: #2196f3;
552
- }
553
- .tracking_page_desc {
554
- display: inline-block;
555
- margin: 0;
556
- }
557
- .disable_ts_btn{
558
- background: transparent;
559
- opacity: 0.7;
560
- pointer-events:none;
561
- }
562
- .ast-tgl-flat:checked + .ast-tgl-btn.ast-tgl-btn-green{
563
- background: rgb(89 200 137 / 0.4);
564
- }
565
- .ast-tgl-flat:checked + .ast-tgl-btn.ast-tgl-btn-green:after {
566
- background: #59c889;
567
- }
568
- ul.settings_ul li label.left_label{
569
- width: 22%;
570
- display: inline-block;
571
- }
572
- .wp-core-ui .disconnect_ts{
573
- color: #f44336;
574
- margin: 0 20px;
575
- }
576
- .wp-core-ui .disconnect_ts:hover{
577
- color: #f44336;
578
- margin: 0 20px;
579
- border: 1px solid #f44336;
580
- }
581
- .ts_nav_div .settings_ul>li{
582
- padding: 5px 25px;
583
- }
584
- .woocommerce.zorem_admin_layout .ts_nav_div table.form-table.order-status-table td:first-child {
585
- padding: 10px 0 10px 25px;
586
- }
587
- .woocommerce.zorem_admin_layout .ts_nav_div table.form-table.shipment-status-email-table td:first-child {
588
- padding: 15px 25px;
589
- }
590
-
591
- .rtl.trackship_admin_settings #wpcontent {
592
- padding-right: 0;
593
- }
594
- .rtl .woocommerce.zorem_admin_layout table.form-table.heading-table td h3.tracking_page_heading{
595
- margin-right: 25px;
596
- }
597
- .rtl ul.trackship_dashboard_ul li{
598
- text-align: right;
599
- margin: 0 0 0 5px;
600
- }
601
- .rtl ul.trackship_dashboard_ul li label{
602
- padding-left: 0px;
603
- padding-right: 20px;
604
- }
605
- .rtl ul.trackship_dashboard_ul li strong{
606
- padding-left: 0px;
607
- padding-right: 20px;
608
- }
609
- .rtl select#wc_ast_trackship_page_id{
610
- margin-left: 0;
611
- margin-right: 25px;
612
- }
613
- .rtl .tracking_page_desc{
614
- margin-right: 25px;
615
- }
616
- .rtl .shipment-status-email-table td:last-child{
617
- text-align: left;
618
- }
619
- .rtl .woocommerce.zorem_admin_layout .get_shipment_status_tool.border_0 table.form-table td{
620
- text-align: left;
621
- }
622
- .rtl .settings_ul .setting_ul_checkbox_label{
623
- margin-right: 10px;
624
- margin-left: auto;
625
- }
626
- .rtl .trackship_status_table tr td:last-child{
627
- text-align: left;
628
- }
629
- .rtl .ts_customizer_btn{
630
- right: auto;
631
- left: 25px;
632
- }
633
-
634
-
635
- @media screen and (max-width: 782px) {
636
- .trackship_status_section {
637
- width: auto;
638
- float: none;
639
- }
640
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/images/AOSM-addons-icon.jpg DELETED
Binary file
assets/images/AST-banner.png ADDED
Binary file
assets/images/Tracking-Per-Item-addon.jpg ADDED
Binary file
assets/images/WooCommerce-PDF-Invoices-Packing-Slips.png DELETED
Binary file
assets/images/WooCommerce-PDF-Invoices.png DELETED
Binary file
assets/images/aliexpress.png DELETED
Binary file
assets/images/alp-icon.png DELETED
Binary file
assets/images/ast-addons-notice-image.jpg ADDED
Binary file
assets/images/ast-logo.png CHANGED
Binary file
assets/images/ast-pro-banner.png DELETED
Binary file
assets/images/cbr-icon.png DELETED
Binary file
assets/images/cev-icon.png DELETED
Binary file
assets/images/customcat.png DELETED
Binary file
assets/images/dear-system.png DELETED
Binary file
assets/images/ordoro.png DELETED
Binary file
assets/images/paypal-addon-banner.png DELETED
Binary file
assets/images/quickbooks.png DELETED
Binary file
assets/images/readytoship.png DELETED
Binary file
assets/images/royal-mail.png DELETED
Binary file
assets/images/shipstation.png DELETED
Binary file
assets/images/smswoo-addons-icon.jpg DELETED
Binary file
assets/images/smswoo-icon.png DELETED
Binary file
assets/images/smswoo.png ADDED
Binary file
assets/images/sre-icon.png DELETED
Binary file
assets/images/t_layout_1.jpg ADDED
Binary file
assets/images/t_layout_2.jpg ADDED
Binary file
assets/images/timeline-round.png DELETED
Binary file
assets/images/tpi-addon-icon.png DELETED
Binary file
assets/images/trackship-ast-banner.png DELETED
Binary file
assets/images/trackship-banner.png ADDED
Binary file
assets/images/ts-banner.jpg ADDED
Binary file
assets/images/ts-header-banner.png DELETED
Binary file
assets/images/ts_bg.png ADDED
Binary file
assets/images/woo-UPS-shipping.png DELETED
Binary file
assets/images/woo-shipping.png DELETED
Binary file
assets/images/zorem-logo.png ADDED
Binary file
assets/js/admin.js CHANGED
@@ -70,8 +70,6 @@ jQuery( function( $ ) {
70
  checked = 'change_order_to_partial_shipped';
71
  } else if(change_order_to_shipped == 'change_order_to_shipped'){
72
  checked = 'change_order_to_shipped';
73
- } else if(change_order_to_shipped == 'change_order_to_custom_shipped'){
74
- checked = 'change_order_to_shipped';
75
  } else if($('input#change_order_to_shipped').prop("checked") == true){
76
  checked = 'change_order_to_shipped';
77
  } else{
@@ -111,7 +109,6 @@ jQuery( function( $ ) {
111
  type: 'POST',
112
  success: function(response) {
113
  $( '#advanced-shipment-tracking-form' ).unblock();
114
-
115
  if ( response == 'reload' ) {
116
  location.reload(true);
117
  return false;
@@ -290,7 +287,6 @@ jQuery(document).on("click", ".add_inline_tracking", function(){
290
  var ajax_data = {
291
  action: 'ast_open_inline_tracking_form',
292
  order_id: order_id,
293
- security: ast_orders_params.order_nonce,
294
  };
295
 
296
  jQuery.ajax({
@@ -299,11 +295,13 @@ jQuery(document).on("click", ".add_inline_tracking", function(){
299
  type: 'POST',
300
  success: function(response) {
301
  jQuery( ".add_tracking_popup" ).remove();
302
- jQuery( ".tracking_details_popup" ).remove();
303
  jQuery("body").append(response);
304
  jQuery('.add_tracking_popup').show();
305
  jQuery( "#add_tracking_number_form #tracking_number" ).focus();
306
- jQuery('.tracking_provider_dropdown').select2();
 
 
 
307
 
308
  var selected_provider = jQuery("#tracking_provider").val();
309
 
@@ -312,11 +310,6 @@ jQuery(document).on("click", ".add_inline_tracking", function(){
312
  } else{
313
  jQuery('.tracking_product_code_field').hide();
314
  }
315
-
316
- jQuery( '.ast-date-picker-field' ).datepicker({
317
- dateFormat: 'yy-mm-dd'
318
- });
319
-
320
  jQuery('.wc_actions').unblock();
321
  },
322
  error: function(response) {
@@ -336,10 +329,6 @@ jQuery(document).on("click", ".popupclose", function(){
336
  jQuery('.add_tracking_popup').hide();
337
  });
338
 
339
- jQuery(document).on("click", ".popup_close_icon", function(){
340
- jQuery('.add_tracking_popup').hide();
341
- });
342
-
343
  jQuery(document).on("submit", "#add_tracking_number_form", function(){
344
 
345
  var form = jQuery('#add_tracking_number_form');
@@ -422,8 +411,7 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
422
  jQuery(document).on("click", ".inline_tracking_delete", function(){
423
  var r = confirm( 'Do you really want to delete tracking number?' );
424
  if (r === true) {
425
- var tracking_id = jQuery( this ).attr( 'rel' );
426
- var nonce = jQuery( this ).data( 'nonce' );
427
  var order_id = jQuery( this ).data( 'order' );
428
  jQuery( '#tracking-item-' + tracking_id ).block({
429
  message: null,
@@ -434,7 +422,6 @@ jQuery(document).on("click", ".inline_tracking_delete", function(){
434
  });
435
  var ajax_data = {
436
  action: 'wc_shipment_tracking_delete_item',
437
- security: nonce,
438
  tracking_id: tracking_id,
439
  order_id: order_id,
440
  };
70
  checked = 'change_order_to_partial_shipped';
71
  } else if(change_order_to_shipped == 'change_order_to_shipped'){
72
  checked = 'change_order_to_shipped';
 
 
73
  } else if($('input#change_order_to_shipped').prop("checked") == true){
74
  checked = 'change_order_to_shipped';
75
  } else{
109
  type: 'POST',
110
  success: function(response) {
111
  $( '#advanced-shipment-tracking-form' ).unblock();
 
112
  if ( response == 'reload' ) {
113
  location.reload(true);
114
  return false;
287
  var ajax_data = {
288
  action: 'ast_open_inline_tracking_form',
289
  order_id: order_id,
 
290
  };
291
 
292
  jQuery.ajax({
295
  type: 'POST',
296
  success: function(response) {
297
  jQuery( ".add_tracking_popup" ).remove();
 
298
  jQuery("body").append(response);
299
  jQuery('.add_tracking_popup').show();
300
  jQuery( "#add_tracking_number_form #tracking_number" ).focus();
301
+
302
+ jQuery('#tracking_provider').select2({
303
+ matcher: modelMatcher
304
+ });
305
 
306
  var selected_provider = jQuery("#tracking_provider").val();
307
 
310
  } else{
311
  jQuery('.tracking_product_code_field').hide();
312
  }
 
 
 
 
 
313
  jQuery('.wc_actions').unblock();
314
  },
315
  error: function(response) {
329
  jQuery('.add_tracking_popup').hide();
330
  });
331
 
 
 
 
 
332
  jQuery(document).on("submit", "#add_tracking_number_form", function(){
333
 
334
  var form = jQuery('#add_tracking_number_form');
411
  jQuery(document).on("click", ".inline_tracking_delete", function(){
412
  var r = confirm( 'Do you really want to delete tracking number?' );
413
  if (r === true) {
414
+ var tracking_id = jQuery( this ).attr( 'rel' );
 
415
  var order_id = jQuery( this ).data( 'order' );
416
  jQuery( '#tracking-item-' + tracking_id ).block({
417
  message: null,
422
  });
423
  var ajax_data = {
424
  action: 'wc_shipment_tracking_delete_item',
 
425
  tracking_id: tracking_id,
426
  order_id: order_id,
427
  };
assets/js/admin.min.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery(function(a){var b={init:function(){a("#woocommerce-shipment-tracking").on("click","a.delete-tracking",this.delete_tracking).on("click","button.button-show-form",this.show_form).on("click","button.button-save-form",this.save_form)},save_form:function(){if(!a("input#tracking_number").val())return!1;a("#shipment-tracking-form").block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var b={action:"wc_shipment_tracking_save_form",order_id:woocommerce_admin_meta_boxes.post_id,tracking_provider:a("#tracking_provider").val(),custom_tracking_provider:a("#custom_tracking_provider").val(),custom_tracking_link:a("input#custom_tracking_link").val(),tracking_number:a("input#tracking_number").val(),date_shipped:a("input#date_shipped").val(),security:a("#wc_shipment_tracking_create_nonce").val()};return a.post(woocommerce_admin_meta_boxes.ajax_url,b,function(b){a("#shipment-tracking-form").unblock(),"-1"!=b&&(a("#shipment-tracking-form").hide(),a("#woocommerce-shipment-tracking #tracking-items").append(b),a("#woocommerce-shipment-tracking button.button-show-form").show(),a("#tracking_provider").selectedIndex=0,a("#custom_tracking_provider").val(""),a("input#custom_tracking_link").val(""),a("input#tracking_number").val(""),a("input#date_shipped").val(""),a("p.preview_tracking_link").hide())}),!1},show_form:function(){a("#shipment-tracking-form").show(),a("#woocommerce-shipment-tracking button.button-show-form").hide()},delete_tracking:function(){var b=a(this).attr("rel");a("#tracking-item-"+b).block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var c={action:"wc_shipment_tracking_delete_item",order_id:woocommerce_admin_meta_boxes.post_id,tracking_id:b,security:a("#wc_shipment_tracking_delete_nonce").val()};return a.post(woocommerce_admin_meta_boxes.ajax_url,c,function(c){a("#tracking-item-"+b).unblock(),"-1"!=c&&a("#tracking-item-"+b).remove()}),!1},refresh_items:function(){var b={action:"wc_shipment_tracking_get_items",order_id:woocommerce_admin_meta_boxes.post_id,security:a("#wc_shipment_tracking_get_nonce").val()};a("#woocommerce-shipment-tracking").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),a.post(woocommerce_admin_meta_boxes.ajax_url,b,function(b){a("#woocommerce-shipment-tracking").unblock(),"-1"!=b&&a("#woocommerce-shipment-tracking #tracking-items").html(b)})}};b.init(),window.wc_shipment_tracking_refresh=b.refresh_items});
assets/js/amcharts/amcharts.js ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function(){var d;window.AmCharts?d=window.AmCharts:(d={},window.AmCharts=d,d.themes={},d.maps={},d.inheriting={},d.charts=[],d.onReadyArray=[],d.useUTC=!1,d.updateRate=60,d.uid=0,d.lang={},d.translations={},d.mapTranslations={},d.windows={},d.initHandlers=[],d.amString="am",d.pmString="pm");d.Class=function(a){var b=function(){arguments[0]!==d.inheriting&&(this.events={},this.construct.apply(this,arguments))};a.inherits?(b.prototype=new a.inherits(d.inheriting),b.base=a.inherits.prototype,delete a.inherits):
2
+ (b.prototype.createEvents=function(){for(var a=0;a<arguments.length;a++)this.events[arguments[a]]=[]},b.prototype.listenTo=function(a,b,c){this.removeListener(a,b,c);a.events[b].push({handler:c,scope:this})},b.prototype.addListener=function(a,b,c){this.removeListener(this,a,b);a&&this.events[a]&&this.events[a].push({handler:b,scope:c})},b.prototype.removeListener=function(a,b,c){if(a&&a.events&&(a=a.events[b]))for(b=a.length-1;0<=b;b--)a[b].handler===c&&a.splice(b,1)},b.prototype.fire=function(a){for(var b=
3
+ this.events[a.type],c=0;c<b.length;c++){var d=b[c];d.handler.call(d.scope,a)}});for(var c in a)b.prototype[c]=a[c];return b};d.addChart=function(a){window.requestAnimationFrame?d.animationRequested||(d.animationRequested=!0,window.requestAnimationFrame(d.update)):d.updateInt||(d.updateInt=setInterval(function(){d.update()},Math.round(1E3/d.updateRate)));d.charts.push(a)};d.removeChart=function(a){for(var b=d.charts,c=b.length-1;0<=c;c--)b[c]==a&&b.splice(c,1);0===b.length&&(d.requestAnimation&&(window.cancelAnimationFrame(d.requestAnimation),
4
+ d.animationRequested=!1),d.updateInt&&(clearInterval(d.updateInt),d.updateInt=NaN))};d.isModern=!0;d.getIEVersion=function(){var a=0,b,c;"Microsoft Internet Explorer"==navigator.appName&&(b=navigator.userAgent,c=/MSIE ([0-9]{1,}[.0-9]{0,})/,null!==c.exec(b)&&(a=parseFloat(RegExp.$1)));return a};d.applyLang=function(a,b){var c=d.translations;b.dayNames=d.extend({},d.dayNames);b.shortDayNames=d.extend({},d.shortDayNames);b.monthNames=d.extend({},d.monthNames);b.shortMonthNames=d.extend({},d.shortMonthNames);
5
+ b.amString="am";b.pmString="pm";c&&(c=c[a])&&(d.lang=c,b.langObj=c,c.monthNames&&(b.dayNames=d.extend({},c.dayNames),b.shortDayNames=d.extend({},c.shortDayNames),b.monthNames=d.extend({},c.monthNames),b.shortMonthNames=d.extend({},c.shortMonthNames)),c.am&&(b.amString=c.am),c.pm&&(b.pmString=c.pm));d.amString=b.amString;d.pmString=b.pmString};d.IEversion=d.getIEVersion();9>d.IEversion&&0<d.IEversion&&(d.isModern=!1,d.isIE=!0);d.dx=0;d.dy=0;if(document.addEventListener||window.opera)d.isNN=!0,d.isIE=
6
+ !1,d.dx=.5,d.dy=.5;document.attachEvent&&(d.isNN=!1,d.isIE=!0,d.isModern||(d.dx=0,d.dy=0));window.chrome&&(d.chrome=!0);d.handleMouseUp=function(a){for(var b=d.charts,c=0;c<b.length;c++){var e=b[c];e&&e.handleReleaseOutside&&e.handleReleaseOutside(a)}};d.handleMouseMove=function(a){for(var b=d.charts,c=0;c<b.length;c++){var e=b[c];e&&e.handleMouseMove&&e.handleMouseMove(a)}};d.handleWheel=function(a){for(var b=d.charts,c=0;c<b.length;c++){var e=b[c];if(e&&e.mouseIsOver){(e.mouseWheelScrollEnabled||
7
+ e.mouseWheelZoomEnabled)&&e.handleWheel&&(e.handleMouseMove(a),e.handleWheel(a));break}}};d.resetMouseOver=function(){for(var a=d.charts,b=0;b<a.length;b++){var c=a[b];c&&(c.mouseIsOver=!1)}};d.ready=function(a){d.onReadyArray.push(a)};d.handleLoad=function(){d.isReady=!0;for(var a=d.onReadyArray,b=0;b<a.length;b++){var c=a[b];isNaN(d.processDelay)?c():setTimeout(c,d.processDelay*b)}d.onReadyArray=[]};d.addInitHandler=function(a,b){d.initHandlers.push({method:a,types:b})};d.callInitHandler=function(a){var b=
8
+ d.initHandlers;if(d.initHandlers)for(var c=0;c<b.length;c++){var e=b[c];e.types?d.isInArray(e.types,a.type)&&e.method(a):e.method(a)}};d.getUniqueId=function(){d.uid++;return"AmChartsEl-"+d.uid};d.isNN&&(document.addEventListener("mousemove",d.handleMouseMove),document.addEventListener("mouseup",d.handleMouseUp,!0),window.addEventListener("load",d.handleLoad,!0));d.isIE&&(document.attachEvent("onmousemove",d.handleMouseMove),document.attachEvent("onmouseup",d.handleMouseUp),window.attachEvent("onload",
9
+ d.handleLoad));d.addWheelListeners=function(){d.wheelIsListened||(d.isNN&&(window.addEventListener("DOMMouseScroll",d.handleWheel,!0),document.addEventListener("mousewheel",d.handleWheel,!0)),d.isIE&&document.attachEvent("onmousewheel",d.handleWheel));d.wheelIsListened=!0};d.clear=function(){var a=d.charts;if(a)for(var b=a.length-1;0<=b;b--)a[b].clear();d.updateInt&&clearInterval(d.updateInt);d.requestAnimation&&window.cancelAnimationFrame(d.requestAnimation);d.charts=[];d.isNN&&(document.removeEventListener("mousemove",
10
+ d.handleMouseMove,!0),document.removeEventListener("mouseup",d.handleMouseUp,!0),window.removeEventListener("load",d.handleLoad,!0),window.removeEventListener("DOMMouseScroll",d.handleWheel,!0),document.removeEventListener("mousewheel",d.handleWheel,!0));d.isIE&&(document.detachEvent("onmousemove",d.handleMouseMove),document.detachEvent("onmouseup",d.handleMouseUp),window.detachEvent("onload",d.handleLoad))};d.makeChart=function(a,b,c){var e=b.type,g=b.theme;d.isString(g)&&(g=d.themes[g],b.theme=
11
+ g);var f;switch(e){case "serial":f=new d.AmSerialChart(g);break;case "xy":f=new d.AmXYChart(g);break;case "pie":f=new d.AmPieChart(g);break;case "radar":f=new d.AmRadarChart(g);break;case "gauge":f=new d.AmAngularGauge(g);break;case "funnel":f=new d.AmFunnelChart(g);break;case "map":f=new d.AmMap(g);break;case "stock":f=new d.AmStockChart(g);break;case "gantt":f=new d.AmGanttChart(g)}d.extend(f,b);d.isReady?isNaN(c)?f.write(a):setTimeout(function(){d.realWrite(f,a)},c):d.ready(function(){isNaN(c)?
12
+ f.write(a):setTimeout(function(){d.realWrite(f,a)},c)});return f};d.realWrite=function(a,b){a.write(b)};d.updateCount=0;d.validateAt=Math.round(d.updateRate/10);d.update=function(){var a=d.charts;d.updateCount++;var b=!1;d.updateCount==d.validateAt&&(b=!0,d.updateCount=0);if(a)for(var c=a.length-1;0<=c;c--)a[c].update&&a[c].update(),b&&(a[c].autoResize?a[c].validateSize&&a[c].validateSize():a[c].premeasure&&a[c].premeasure());window.requestAnimationFrame&&(d.requestAnimation=window.requestAnimationFrame(d.update))};
13
+ "complete"==document.readyState&&d.handleLoad()})();(function(){var d=window.AmCharts;d.toBoolean=function(a,b){if(void 0===a)return b;switch(String(a).toLowerCase()){case "true":case "yes":case "1":return!0;case "false":case "no":case "0":case null:return!1;default:return!!a}};d.removeFromArray=function(a,b){var c;if(void 0!==b&&void 0!==a)for(c=a.length-1;0<=c;c--)a[c]==b&&a.splice(c,1)};d.getPath=function(){var a=document.getElementsByTagName("script");if(a)for(var b=0;b<a.length;b++){var c=a[b].src;if(-1!==c.search(/\/(amcharts|ammap)\.js/))return c.replace(/\/(amcharts|ammap)\.js.*/,
14
+ "/")}};d.normalizeUrl=function(a){return""!==a&&-1===a.search(/\/$/)?a+"/":a};d.isAbsolute=function(a){return 0===a.search(/^http[s]?:|^\//)};d.isInArray=function(a,b){for(var c=0;c<a.length;c++)if(a[c]==b)return!0;return!1};d.getDecimals=function(a){var b=0;isNaN(a)||(a=String(a),-1!=a.indexOf("e-")?b=Number(a.split("-")[1]):-1!=a.indexOf(".")&&(b=a.split(".")[1].length));return b};d.wordwrap=function(a,b,c,e){var g,f,h,k;a+="";if(1>b)return a;g=-1;for(a=(k=a.split(/\r\n|\n|\r/)).length;++g<a;k[g]+=
15
+ h){h=k[g];for(k[g]="";h.length>b;k[g]+=d.trim(h.slice(0,f))+((h=h.slice(f)).length?c:""))f=2==e||(f=h.slice(0,b+1).match(/\S*(\s)?$/))[1]?b:f.input.length-f[0].length||1==e&&b||f.input.length+(f=h.slice(b).match(/^\S*/))[0].length;h=d.trim(h)}return k.join(c)};d.trim=function(a){return a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};d.wrappedText=function(a,b,c,e,g,f,h,k){var l=d.text(a,b,c,e,g,f,h);if(l){var m=l.getBBox();if(m.width>k){var n="\n";d.isModern||(n="<br>");k=Math.floor(k/(m.width/
16
+ b.length));2<k&&(k-=2);b=d.wordwrap(b,k,n,!0);l.remove();l=d.text(a,b,c,e,g,f,h)}}return l};d.getStyle=function(a,b){var c="";if(document.defaultView&&document.defaultView.getComputedStyle)try{c=document.defaultView.getComputedStyle(a,"").getPropertyValue(b)}catch(e){}else a.currentStyle&&(b=b.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()}),c=a.currentStyle[b]);return c};d.removePx=function(a){if(void 0!==a)return Number(a.substring(0,a.length-2))};d.getURL=function(a,b){if(a)if("_self"!=
17
+ b&&b)if("_top"==b&&window.top)window.top.location.href=a;else if("_parent"==b&&window.parent)window.parent.location.href=a;else if("_blank"==b)window.open(a);else{var c=document.getElementsByName(b)[0];c?c.src=a:(c=d.windows[b])?c.opener&&!c.opener.closed?c.location.href=a:d.windows[b]=window.open(a):d.windows[b]=window.open(a)}else window.location.href=a};d.ifArray=function(a){return a&&"object"==typeof a&&0<a.length?!0:!1};d.callMethod=function(a,b){var c;for(c=0;c<b.length;c++){var e=b[c];if(e){if(e[a])e[a]();
18
+ var d=e.length;if(0<d){var f;for(f=0;f<d;f++){var h=e[f];if(h&&h[a])h[a]()}}}}};d.toNumber=function(a){return"number"==typeof a?a:Number(String(a).replace(/[^0-9\-.]+/g,""))};d.toColor=function(a){if(""!==a&&void 0!==a)if(-1!=a.indexOf(",")){a=a.split(",");var b;for(b=0;b<a.length;b++){var c=a[b].substring(a[b].length-6,a[b].length);a[b]="#"+c}}else a=a.substring(a.length-6,a.length),a="#"+a;return a};d.toCoordinate=function(a,b,c){var e;void 0!==a&&(a=String(a),c&&c<b&&(b=c),e=Number(a),-1!=a.indexOf("!")&&
19
+ (e=b-Number(a.substr(1))),-1!=a.indexOf("%")&&(e=b*Number(a.substr(0,a.length-1))/100));return e};d.fitToBounds=function(a,b,c){a<b&&(a=b);a>c&&(a=c);return a};d.isDefined=function(a){return void 0===a?!1:!0};d.stripNumbers=function(a){return a.replace(/[0-9]+/g,"")};d.roundTo=function(a,b){if(0>b)return a;var c=Math.pow(10,b);return Math.round(a*c)/c};d.toFixed=function(a,b){var c=!1;0>a&&(c=!0,a=Math.abs(a));var e=String(Math.round(a*Math.pow(10,b)));if(0<b){var d=e.length;if(d<b){var f;for(f=0;f<
20
+ b-d;f++)e="0"+e}d=e.substring(0,e.length-b);""===d&&(d=0);e=d+"."+e.substring(e.length-b,e.length);return c?"-"+e:e}return String(e)};d.formatDuration=function(a,b,c,e,g,f){var h=d.intervals,k=f.decimalSeparator;if(a>=h[b].contains){var l=a-Math.floor(a/h[b].contains)*h[b].contains;"ss"==b?(l=d.formatNumber(l,f),1==l.split(k)[0].length&&(l="0"+l)):l=d.roundTo(l,f.precision);("mm"==b||"hh"==b)&&10>l&&(l="0"+l);c=l+""+e[b]+""+c;a=Math.floor(a/h[b].contains);b=h[b].nextInterval;return d.formatDuration(a,
21
+ b,c,e,g,f)}"ss"==b&&(a=d.formatNumber(a,f),1==a.split(k)[0].length&&(a="0"+a));"mm"==b&&(a=d.roundTo(a,f.precision));("mm"==b||"hh"==b)&&10>a&&(a="0"+a);c=a+""+e[b]+""+c;if(h[g].count>h[b].count)for(a=h[b].count;a<h[g].count;a++)b=h[b].nextInterval,"ss"==b||"mm"==b||"hh"==b?c="00"+e[b]+""+c:"DD"==b&&(c="0"+e[b]+""+c);":"==c.charAt(c.length-1)&&(c=c.substring(0,c.length-1));return c};d.formatNumber=function(a,b,c,e,g){a=d.roundTo(a,b.precision);isNaN(c)&&(c=b.precision);var f=b.decimalSeparator;b=
22
+ b.thousandsSeparator;void 0==f&&(f=",");void 0==b&&(b=" ");var h;h=0>a?"-":"";a=Math.abs(a);var k=String(a),l=!1;-1!=k.indexOf("e")&&(l=!0);0<=c&&!l&&(k=d.toFixed(a,c));var m="";if(l)m=k;else{var k=k.split("."),l=String(k[0]),n;for(n=l.length;0<=n;n-=3)m=n!=l.length?0!==n?l.substring(n-3,n)+b+m:l.substring(n-3,n)+m:l.substring(n-3,n);void 0!==k[1]&&(m=m+f+k[1]);void 0!==c&&0<c&&"0"!=m&&(m=d.addZeroes(m,f,c))}m=h+m;""===h&&!0===e&&0!==a&&(m="+"+m);!0===g&&(m+="%");return m};d.addZeroes=function(a,
23
+ b,c){a=a.split(b);void 0===a[1]&&0<c&&(a[1]="0");return a[1].length<c?(a[1]+="0",d.addZeroes(a[0]+b+a[1],b,c)):void 0!==a[1]?a[0]+b+a[1]:a[0]};d.scientificToNormal=function(a){var b;a=String(a).split("e");var c;if("-"==a[1].substr(0,1)){b="0.";for(c=0;c<Math.abs(Number(a[1]))-1;c++)b+="0";b+=a[0].split(".").join("")}else{var e=0;b=a[0].split(".");b[1]&&(e=b[1].length);b=a[0].split(".").join("");for(c=0;c<Math.abs(Number(a[1]))-e;c++)b+="0"}return b};d.toScientific=function(a,b){if(0===a)return"0";
24
+ var c=Math.floor(Math.log(Math.abs(a))*Math.LOG10E),e=String(e).split(".").join(b);return String(e)+"e"+c};d.randomColor=function(){return"#"+("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6)};d.hitTest=function(a,b,c){var e=!1,g=a.x,f=a.x+a.width,h=a.y,k=a.y+a.height,l=d.isInRectangle;e||(e=l(g,h,b));e||(e=l(g,k,b));e||(e=l(f,h,b));e||(e=l(f,k,b));e||!0===c||(e=d.hitTest(b,a,!0));return e};d.isInRectangle=function(a,b,c){return a>=c.x-5&&a<=c.x+c.width+5&&b>=c.y-5&&b<=c.y+c.height+5?
25
+ !0:!1};d.isPercents=function(a){if(-1!=String(a).indexOf("%"))return!0};d.formatValue=function(a,b,c,e,g,f,h,k){if(b){void 0===g&&(g="");var l;for(l=0;l<c.length;l++){var m=c[l],n=b[m];void 0!==n&&(n=f?d.addPrefix(n,k,h,e):d.formatNumber(n,e),a=a.replace(new RegExp("\\[\\["+g+""+m+"\\]\\]","g"),n))}}return a};d.formatDataContextValue=function(a,b){if(a){var c=a.match(/\[\[.*?\]\]/g),e;for(e=0;e<c.length;e++){var d=c[e],d=d.substr(2,d.length-4);void 0!==b[d]&&(a=a.replace(new RegExp("\\[\\["+d+"\\]\\]",
26
+ "g"),b[d]))}}return a};d.massReplace=function(a,b){for(var c in b)if(b.hasOwnProperty(c)){var e=b[c];void 0===e&&(e="");a=a.replace(c,e)}return a};d.cleanFromEmpty=function(a){return a.replace(/\[\[[^\]]*\]\]/g,"")};d.addPrefix=function(a,b,c,e,g){var f=d.formatNumber(a,e),h="",k,l,m;if(0===a)return"0";0>a&&(h="-");a=Math.abs(a);if(1<a)for(k=b.length-1;-1<k;k--){if(a>=b[k].number&&(l=a/b[k].number,m=Number(e.precision),1>m&&(m=1),c=d.roundTo(l,m),m=d.formatNumber(c,{precision:-1,decimalSeparator:e.decimalSeparator,
27
+ thousandsSeparator:e.thousandsSeparator}),!g||l==c)){f=h+""+m+""+b[k].prefix;break}}else for(k=0;k<c.length;k++)if(a<=c[k].number){l=a/c[k].number;m=Math.abs(Math.floor(Math.log(l)*Math.LOG10E));l=d.roundTo(l,m);f=h+""+l+""+c[k].prefix;break}return f};d.remove=function(a){a&&a.remove()};d.getEffect=function(a){">"==a&&(a="easeOutSine");"<"==a&&(a="easeInSine");"elastic"==a&&(a="easeOutElastic");return a};d.getObjById=function(a,b){var c,e;for(e=0;e<a.length;e++){var d=a[e];if(d.id==b){c=d;break}}return c};
28
+ d.applyTheme=function(a,b,c){b||(b=d.theme);try{b=JSON.parse(JSON.stringify(b))}catch(e){}b&&b[c]&&d.extend(a,b[c])};d.isString=function(a){return"string"==typeof a?!0:!1};d.extend=function(a,b,c){var e;a||(a={});for(e in b)c?a.hasOwnProperty(e)||(a[e]=b[e]):a[e]=b[e];return a};d.copyProperties=function(a,b){for(var c in a)a.hasOwnProperty(c)&&"events"!=c&&void 0!==a[c]&&"function"!=typeof a[c]&&"cname"!=c&&(b[c]=a[c])};d.processObject=function(a,b,c,e){if(!1===a instanceof b&&(a=e?d.extend(new b(c),
29
+ a):d.extend(a,new b(c),!0),a.listeners))for(var g in a.listeners)b=a.listeners[g],a.addListener(b.event,b.method);return a};d.fixNewLines=function(a){var b=RegExp("\\n","g");a&&(a=a.replace(b,"<br />"));return a};d.fixBrakes=function(a){if(d.isModern){var b=RegExp("<br>","g");a&&(a=a.replace(b,"\n"))}else a=d.fixNewLines(a);return a};d.deleteObject=function(a,b){if(a){if(void 0===b||null===b)b=20;if(0!==b)if("[object Array]"===Object.prototype.toString.call(a))for(var c=0;c<a.length;c++)d.deleteObject(a[c],
30
+ b-1),a[c]=null;else if(a&&!a.tagName)try{for(c in a.theme=null,a)a[c]&&("object"==typeof a[c]&&d.deleteObject(a[c],b-1),"function"!=typeof a[c]&&(a[c]=null))}catch(e){}}};d.bounce=function(a,b,c,e,d){return(b/=d)<1/2.75?7.5625*e*b*b+c:b<2/2.75?e*(7.5625*(b-=1.5/2.75)*b+.75)+c:b<2.5/2.75?e*(7.5625*(b-=2.25/2.75)*b+.9375)+c:e*(7.5625*(b-=2.625/2.75)*b+.984375)+c};d.easeInOutQuad=function(a,b,c,e,d){b/=d/2;if(1>b)return e/2*b*b+c;b--;return-e/2*(b*(b-2)-1)+c};d.easeInSine=function(a,b,c,e,d){return-e*
31
+ Math.cos(b/d*(Math.PI/2))+e+c};d.easeOutSine=function(a,b,c,e,d){return e*Math.sin(b/d*(Math.PI/2))+c};d.easeOutElastic=function(a,b,c,e,d){a=1.70158;var f=0,h=e;if(0===b)return c;if(1==(b/=d))return c+e;f||(f=.3*d);h<Math.abs(e)?(h=e,a=f/4):a=f/(2*Math.PI)*Math.asin(e/h);return h*Math.pow(2,-10*b)*Math.sin(2*(b*d-a)*Math.PI/f)+e+c};d.fixStepE=function(a){a=a.toExponential(0).split("e");var b=Number(a[1]);9==Number(a[0])&&b++;return d.generateNumber(1,b)};d.generateNumber=function(a,b){var c="",e;
32
+ e=0>b?Math.abs(b)-1:Math.abs(b);var d;for(d=0;d<e;d++)c+="0";return 0>b?Number("0."+c+String(a)):Number(String(a)+c)};d.setCN=function(a,b,c,e){if(a.addClassNames&&b&&(b=b.node)&&c){var d=b.getAttribute("class");a=a.classNamePrefix+"-";e&&(a="");d?b.setAttribute("class",d+" "+a+c):b.setAttribute("class",a+c)}};d.removeCN=function(a,b,c){b&&(b=b.node)&&c&&(b=b.classList)&&b.remove(a.classNamePrefix+"-"+c)};d.parseDefs=function(a,b){for(var c in a){var e=typeof a[c];if(0<a[c].length&&"object"==e)for(var g=
33
+ 0;g<a[c].length;g++)e=document.createElementNS(d.SVG_NS,c),b.appendChild(e),d.parseDefs(a[c][g],e);else"object"==e?(e=document.createElementNS(d.SVG_NS,c),b.appendChild(e),d.parseDefs(a[c],e)):b.setAttribute(c,a[c])}}})();(function(){var d=window.AmCharts;d.AxisBase=d.Class({construct:function(a){this.createEvents("clickItem","rollOverItem","rollOutItem","rollOverGuide","rollOutGuide","clickGuide");this.titleDY=this.y=this.x=this.dy=this.dx=0;this.axisThickness=1;this.axisColor="#000000";this.axisAlpha=1;this.gridCount=this.tickLength=5;this.gridAlpha=.15;this.gridThickness=1;this.gridColor="#000000";this.dashLength=0;this.labelFrequency=1;this.showLastLabel=this.showFirstLabel=!0;this.fillColor="#FFFFFF";this.fillAlpha=
34
+ 0;this.labelsEnabled=!0;this.labelRotation=0;this.autoGridCount=!0;this.offset=0;this.guides=[];this.visible=!0;this.counter=0;this.guides=[];this.ignoreAxisWidth=this.inside=!1;this.minHorizontalGap=75;this.minVerticalGap=35;this.titleBold=!0;this.minorGridEnabled=!1;this.minorGridAlpha=.07;this.autoWrap=!1;this.titleAlign="middle";this.labelOffset=0;this.bcn="axis-";this.centerLabels=!1;this.firstDayOfWeek=1;this.centerLabelOnFullPeriod=this.markPeriodChange=this.boldPeriodBeginning=!0;this.titleWidth=
35
+ 0;this.periods=[{period:"fff",count:1},{period:"fff",count:5},{period:"fff",count:10},{period:"fff",count:50},{period:"fff",count:100},{period:"fff",count:500},{period:"ss",count:1},{period:"ss",count:5},{period:"ss",count:10},{period:"ss",count:30},{period:"mm",count:1},{period:"mm",count:5},{period:"mm",count:10},{period:"mm",count:30},{period:"hh",count:1},{period:"hh",count:3},{period:"hh",count:6},{period:"hh",count:12},{period:"DD",count:1},{period:"DD",count:2},{period:"DD",count:3},{period:"DD",
36
+ count:4},{period:"DD",count:5},{period:"WW",count:1},{period:"MM",count:1},{period:"MM",count:2},{period:"MM",count:3},{period:"MM",count:6},{period:"YYYY",count:1},{period:"YYYY",count:2},{period:"YYYY",count:5},{period:"YYYY",count:10},{period:"YYYY",count:50},{period:"YYYY",count:100}];this.dateFormats=[{period:"fff",format:"NN:SS.QQQ"},{period:"ss",format:"JJ:NN:SS"},{period:"mm",format:"JJ:NN"},{period:"hh",format:"JJ:NN"},{period:"DD",format:"MMM DD"},{period:"WW",format:"MMM DD"},{period:"MM",
37
+ format:"MMM"},{period:"YYYY",format:"YYYY"}];this.nextPeriod={fff:"ss",ss:"mm",mm:"hh",hh:"DD",DD:"MM",MM:"YYYY"};d.applyTheme(this,a,"AxisBase")},zoom:function(a,b){this.start=a;this.end=b;this.dataChanged=!0;this.draw()},fixAxisPosition:function(){var a=this.position;"H"==this.orientation?("left"==a&&(a="bottom"),"right"==a&&(a="top")):("bottom"==a&&(a="left"),"top"==a&&(a="right"));this.position=a},init:function(){this.createBalloon()},draw:function(){var a=this.chart;this.prevBY=this.prevBX=NaN;
38
+ this.allLabels=[];this.counter=0;this.destroy();this.fixAxisPosition();this.setBalloonBounds();this.labels=[];var b=a.container,c=b.set();a.gridSet.push(c);this.set=c;b=b.set();a.axesLabelsSet.push(b);this.labelsSet=b;this.axisLine=new this.axisRenderer(this);this.autoGridCount?("V"==this.orientation?(a=this.height/this.minVerticalGap,3>a&&(a=3)):a=this.width/this.minHorizontalGap,this.gridCountR=Math.max(a,1)):this.gridCountR=this.gridCount;this.axisWidth=this.axisLine.axisWidth;this.addTitle()},
39
+ setOrientation:function(a){this.orientation=a?"H":"V"},addTitle:function(){var a=this.title;this.titleLabel=null;if(a){var b=this.chart,c=this.titleColor;void 0===c&&(c=b.color);var e=this.titleFontSize;isNaN(e)&&(e=b.fontSize+1);a=d.text(b.container,a,c,b.fontFamily,e,this.titleAlign,this.titleBold);d.setCN(b,a,this.bcn+"title");this.titleLabel=a}},positionTitle:function(){var a=this.titleLabel;if(a){var b,c,e=this.labelsSet,g={};0<e.length()?g=e.getBBox():(g.x=0,g.y=0,g.width=this.width,g.height=
40
+ this.height,d.VML&&(g.y+=this.y,g.x+=this.x));e.push(a);var e=g.x,f=g.y;d.VML&&(f-=this.y,e-=this.x);var h=g.width,g=g.height,k=this.width,l=this.height,m=0,n=a.getBBox().height/2,q=this.inside,p=this.titleAlign;switch(this.position){case "top":b="left"==p?-1:"right"==p?k:k/2;c=f-10-n;break;case "bottom":b="left"==p?-1:"right"==p?k:k/2;c=f+g+10+n;break;case "left":b=e-10-n;q&&(b-=5);m=-90;c=("left"==p?l+1:"right"==p?-1:l/2)+this.titleDY;this.titleWidth=n+10;break;case "right":b=e+h+10+n,q&&(b+=7),
41
+ c=("left"==p?l+2:"right"==p?-2:l/2)+this.titleDY,this.titleWidth=n+10,m=-90}this.marginsChanged?(a.translate(b,c),this.tx=b,this.ty=c):a.translate(this.tx,this.ty);this.marginsChanged=!1;isNaN(this.titleRotation)||(m=this.titleRotation);0!==m&&a.rotate(m)}},pushAxisItem:function(a,b){var c=this,e=a.graphics();0<e.length()&&(b?c.labelsSet.push(e):c.set.push(e));if(e=a.getLabel())c.labelsSet.push(e),e.click(function(b){c.handleMouse(b,a,"clickItem")}).touchend(function(b){c.handleMouse(b,a,"clickItem")}).mouseover(function(b){c.handleMouse(b,
42
+ a,"rollOverItem")}).mouseout(function(b){c.handleMouse(b,a,"rollOutItem")})},handleMouse:function(a,b,c){this.fire({type:c,value:b.value,serialDataItem:b.serialDataItem,axis:this,target:b.label,chart:this.chart,event:a})},addGuide:function(a){for(var b=this.guides,c=!1,e=b.length,g=0;g<b.length;g++)b[g]==a&&(c=!0,e=g);a=d.processObject(a,d.Guide,this.theme);a.id||(a.id="guideAuto"+e+"_"+(new Date).getTime());c||b.push(a)},removeGuide:function(a){var b=this.guides,c;for(c=0;c<b.length;c++)b[c]==a&&
43
+ b.splice(c,1)},handleGuideOver:function(a){clearTimeout(this.chart.hoverInt);var b={x:0,y:0,width:0,height:0};a.graphics&&(b=a.graphics.getBBox());var c=this.x+b.x+b.width/2,b=this.y+b.y+b.height/2,e=a.fillColor;void 0===e&&(e=a.lineColor);this.chart.showBalloon(a.balloonText,e,!0,c,b);this.fire({type:"rollOverGuide",guide:a,chart:this.chart})},handleGuideOut:function(a){this.chart.hideBalloon();this.fire({type:"rollOutGuide",guide:a,chart:this.chart})},handleGuideClick:function(a){this.chart.hideBalloon();
44
+ this.fire({type:"clickGuide",guide:a,chart:this.chart})},addEventListeners:function(a,b){var c=this;a.mouseover(function(){c.handleGuideOver(b)});a.mouseup(function(){c.handleGuideClick(b)});a.touchstart(function(){c.handleGuideOver(b)});a.mouseout(function(){c.handleGuideOut(b)})},getBBox:function(){var a;this.labelsSet&&(a=this.labelsSet.getBBox());a?d.VML||(a={x:a.x+this.x,y:a.y+this.y,width:a.width,height:a.height}):a={x:0,y:0,width:0,height:0};return a},destroy:function(){d.remove(this.set);
45
+ d.remove(this.labelsSet);var a=this.axisLine;a&&d.remove(a.axisSet);d.remove(this.grid0)},chooseMinorFrequency:function(a){for(var b=10;0<b;b--)if(a/b==Math.round(a/b))return a/b},parseDatesDraw:function(){var a,b=this.chart,c=this.showFirstLabel,e=this.showLastLabel,g,f="",h=d.extractPeriod(this.minPeriod),k=d.getPeriodDuration(h.period,h.count),l,m,n,q,p,t=this.firstDayOfWeek,r=this.boldPeriodBeginning;a=this.minorGridEnabled;var w,z=this.gridAlpha,x,u=this.choosePeriod(0),A=u.period,u=u.count,
46
+ y=d.getPeriodDuration(A,u);y<k&&(A=h.period,u=h.count,y=k);h=A;"WW"==h&&(h="DD");this.stepWidth=this.getStepWidth(this.timeDifference);var B=Math.ceil(this.timeDifference/y)+5,D=l=d.resetDateToMin(new Date(this.startTime-y),A,u,t).getTime();if(h==A&&1==u&&this.centerLabelOnFullPeriod||this.autoWrap||this.centerLabels)n=y*this.stepWidth,this.autoWrap&&!this.centerLabels&&(n=-n);this.cellWidth=k*this.stepWidth;q=Math.round(l/y);k=-1;q/2==Math.round(q/2)&&(k=-2,l-=y);q=this.firstTime;var C=0,I=0;a&&
47
+ 1<u&&(w=this.chooseMinorFrequency(u),x=d.getPeriodDuration(A,w),"DD"==A&&(x+=d.getPeriodDuration("hh")),"fff"==A&&(x=1));if(0<this.gridCountR)for(B-5-k>this.autoRotateCount&&!isNaN(this.autoRotateAngle)&&(this.labelRotationR=this.autoRotateAngle),a=k;a<=B;a++){p=q+y*(a+Math.floor((D-q)/y))-C;"DD"==A&&(p+=36E5);p=d.resetDateToMin(new Date(p),A,u,t).getTime();"MM"==A&&(g=(p-l)/y,1.5<=(p-l)/y&&(p=p-(g-1)*y+d.getPeriodDuration("DD",3),p=d.resetDateToMin(new Date(p),A,1).getTime(),C+=y));g=(p-this.startTime)*
48
+ this.stepWidth;if("radar"==b.type){if(g=this.axisWidth-g,0>g||g>this.axisWidth)continue}else this.rotate?"date"==this.type&&"middle"==this.gridPosition&&(I=-y*this.stepWidth/2):"date"==this.type&&(g=this.axisWidth-g);f=!1;this.nextPeriod[h]&&(f=this.checkPeriodChange(this.nextPeriod[h],1,p,l,h));l=!1;f&&this.markPeriodChange?(f=this.dateFormatsObject[this.nextPeriod[h]],this.twoLineMode&&(f=this.dateFormatsObject[h]+"\n"+f,f=d.fixBrakes(f)),l=!0):f=this.dateFormatsObject[h];r||(l=!1);this.currentDateFormat=
49
+ f;f=d.formatDate(new Date(p),f,b);if(a==k&&!c||a==B&&!e)f=" ";this.labelFunction&&(f=this.labelFunction(f,new Date(p),this,A,u,m).toString());this.boldLabels&&(l=!0);m=new this.axisItemRenderer(this,g,f,!1,n,I,!1,l);this.pushAxisItem(m);m=l=p;if(!isNaN(w))for(g=1;g<u;g+=w)this.gridAlpha=this.minorGridAlpha,f=p+x*g,f=d.resetDateToMin(new Date(f),A,w,t).getTime(),f=new this.axisItemRenderer(this,(f-this.startTime)*this.stepWidth,void 0,void 0,void 0,void 0,void 0,void 0,void 0,!0),this.pushAxisItem(f);
50
+ this.gridAlpha=z}},choosePeriod:function(a){var b=d.getPeriodDuration(this.periods[a].period,this.periods[a].count),c=this.periods;return this.timeDifference<b&&0<a?c[a-1]:Math.ceil(this.timeDifference/b)<=this.gridCountR?c[a]:a+1<c.length?this.choosePeriod(a+1):c[a]},getStepWidth:function(a){var b;this.startOnAxis?(b=this.axisWidth/(a-1),1==a&&(b=this.axisWidth)):b=this.axisWidth/a;return b},timeZoom:function(a,b){this.startTime=a;this.endTime=b},minDuration:function(){var a=d.extractPeriod(this.minPeriod);
51
+ return d.getPeriodDuration(a.period,a.count)},checkPeriodChange:function(a,b,c,e,g){c=new Date(c);var f=new Date(e),h=this.firstDayOfWeek;e=b;"DD"==a&&(b=1);c=d.resetDateToMin(c,a,b,h).getTime();b=d.resetDateToMin(f,a,b,h).getTime();return"DD"==a&&"hh"!=g&&c-b<d.getPeriodDuration(a,e)-d.getPeriodDuration("hh",1)?!1:c!=b?!0:!1},generateDFObject:function(){this.dateFormatsObject={};var a;for(a=0;a<this.dateFormats.length;a++){var b=this.dateFormats[a];this.dateFormatsObject[b.period]=b.format}},hideBalloon:function(){this.balloon&&
52
+ this.balloon.hide&&this.balloon.hide();this.prevBY=this.prevBX=NaN},formatBalloonText:function(a){return a},showBalloon:function(a,b,c,e){var d=this.offset;switch(this.position){case "bottom":b=this.height+d;break;case "top":b=-d;break;case "left":a=-d;break;case "right":a=this.width+d}c||(c=this.currentDateFormat);if("V"==this.orientation){if(0>b||b>this.height)return;if(isNaN(b)){this.hideBalloon();return}b=this.adjustBalloonCoordinate(b,e);e=this.coordinateToValue(b)}else{if(0>a||a>this.width)return;
53
+ if(isNaN(a)){this.hideBalloon();return}a=this.adjustBalloonCoordinate(a,e);e=this.coordinateToValue(a)}var f;if(d=this.chart.chartCursor)f=d.index;if(this.balloon&&void 0!==e&&this.balloon.enabled){if(this.balloonTextFunction){if("date"==this.type||!0===this.parseDates)e=new Date(e);e=this.balloonTextFunction(e)}else this.balloonText?e=this.formatBalloonText(this.balloonText,f,c):isNaN(e)||(e=this.formatValue(e,c));if(a!=this.prevBX||b!=this.prevBY)this.balloon.setPosition(a,b),this.prevBX=a,this.prevBY=
54
+ b,e&&this.balloon.showBalloon(e)}},adjustBalloonCoordinate:function(a){return a},createBalloon:function(){var a=this.chart,b=a.chartCursor;b&&(b=b.cursorPosition,"mouse"!=b&&(this.stickBalloonToCategory=!0),"start"==b&&(this.stickBalloonToStart=!0),"ValueAxis"==this.cname&&(this.stickBalloonToCategory=!1));this.balloon&&(this.balloon.destroy&&this.balloon.destroy(),d.extend(this.balloon,a.balloon,!0))},setBalloonBounds:function(){var a=this.balloon;if(a){var b=this.chart;a.cornerRadius=0;a.shadowAlpha=
55
+ 0;a.borderThickness=1;a.borderAlpha=1;a.adjustBorderColor=!1;a.showBullet=!1;this.balloon=a;a.chart=b;a.mainSet=b.plotBalloonsSet;a.pointerWidth=this.tickLength;if(this.parseDates||"date"==this.type)a.pointerWidth=0;a.className=this.id;b="V";"V"==this.orientation&&(b="H");this.stickBalloonToCategory||(a.animationDuration=0);var c,e,d,f,h=this.inside,k=this.width,l=this.height;switch(this.position){case "bottom":c=0;e=k;h?(d=0,f=l):(d=l,f=l+1E3);break;case "top":c=0;e=k;h?(d=0,f=l):(d=-1E3,f=0);break;
56
+ case "left":d=0;f=l;h?(c=0,e=k):(c=-1E3,e=0);break;case "right":d=0,f=l,h?(c=0,e=k):(c=k,e=k+1E3)}a.drop||(a.pointerOrientation=b);a.setBounds(c,d,e,f)}}})})();(function(){var d=window.AmCharts;d.ValueAxis=d.Class({inherits:d.AxisBase,construct:function(a){this.cname="ValueAxis";this.createEvents("axisChanged","logarithmicAxisFailed","axisZoomed","axisIntZoomed");d.ValueAxis.base.construct.call(this,a);this.dataChanged=!0;this.stackType="none";this.position="left";this.unitPosition="right";this.includeAllValues=this.recalculateToPercents=this.includeHidden=this.includeGuidesInMinMax=this.integersOnly=!1;this.durationUnits={DD:"d. ",hh:":",mm:":",ss:""};
57
+ this.scrollbar=!1;this.baseValue=0;this.radarCategoriesEnabled=!0;this.axisFrequency=1;this.gridType="polygons";this.useScientificNotation=!1;this.axisTitleOffset=10;this.pointPosition="axis";this.minMaxMultiplier=1;this.logGridLimit=2;this.totalTextOffset=this.treatZeroAs=0;this.minPeriod="ss";this.relativeStart=0;this.relativeEnd=1;d.applyTheme(this,a,this.cname)},updateData:function(){0>=this.gridCountR&&(this.gridCountR=1);this.totals=[];this.data=this.chart.chartData;var a=this.chart;"xy"!=a.type&&
58
+ (this.stackGraphs("smoothedLine"),this.stackGraphs("line"),this.stackGraphs("column"),this.stackGraphs("step"));this.recalculateToPercents&&this.recalculate();if(this.synchronizationMultiplier&&this.synchronizeWith)d.isString(this.synchronizeWith)&&(this.synchronizeWith=a.getValueAxisById(this.synchronizeWith)),this.synchronizeWith&&(this.synchronizeWithAxis(this.synchronizeWith),this.foundGraphs=!0);else if(this.foundGraphs=!1,this.getMinMax(),0===this.start&&this.end==this.data.length-1&&isNaN(this.minZoom)&&
59
+ isNaN(this.maxZoom)||isNaN(this.fullMin)&&isNaN(this.fullMax))this.fullMin=this.min,this.fullMax=this.max,"date"!=this.type&&this.strictMinMax&&(isNaN(this.minimum)||(this.fullMin=this.minimum),isNaN(this.maximum)||(this.fullMax=this.maximum)),this.logarithmic&&(this.fullMin=this.logMin,0===this.fullMin&&(this.fullMin=this.treatZeroAs)),"date"==this.type&&(this.minimumDate||(this.fullMin=this.minRR),this.maximumDate||(this.fullMax=this.maxRR),this.strictMinMax&&(this.minimumDate&&(this.fullMin=this.minimumDate.getTime()),
60
+ this.maximumDate&&(this.fullMax=this.maximumDate.getTime())))},draw:function(){d.ValueAxis.base.draw.call(this);var a=this.chart,b=this.set;this.labelRotationR=this.labelRotation;d.setCN(a,this.set,"value-axis value-axis-"+this.id);d.setCN(a,this.labelsSet,"value-axis value-axis-"+this.id);d.setCN(a,this.axisLine.axisSet,"value-axis value-axis-"+this.id);var c=this.type;"duration"==c&&(this.duration="ss");!0===this.dataChanged&&(this.updateData(),this.dataChanged=!1);"date"==c&&(this.logarithmic=
61
+ !1,this.min=this.minRR,this.max=this.maxRR,this.reversed=!1,this.getDateMinMax());if(this.logarithmic){var e=this.treatZeroAs,g=this.getExtremes(0,this.data.length-1).min;!isNaN(this.minimum)&&this.minimum<g&&(g=this.minimum);this.logMin=g;this.minReal<g&&(this.minReal=g);isNaN(this.minReal)&&(this.minReal=g);0<e&&0===g&&(this.minReal=g=e);if(0>=g||0>=this.minimum){this.fire({type:"logarithmicAxisFailed",chart:a});return}}this.grid0=null;var f,h,k=a.dx,l=a.dy,e=!1,g=this.logarithmic;if(isNaN(this.min)||
62
+ isNaN(this.max)||!this.foundGraphs||Infinity==this.min||-Infinity==this.max)e=!0;else{"date"==this.type&&this.min==this.max&&(this.max+=this.minDuration(),this.min-=this.minDuration());var m=this.labelFrequency,n=this.showFirstLabel,q=this.showLastLabel,p=1,t=0;this.minCalc=this.min;this.maxCalc=this.max;if(this.strictMinMax&&(isNaN(this.minimum)||(this.min=this.minimum),isNaN(this.maximum)||(this.max=this.maximum),this.min==this.max))return;isNaN(this.minZoom)||(this.minReal=this.min=this.minZoom);
63
+ isNaN(this.maxZoom)||(this.max=this.maxZoom);if(this.logarithmic){h=this.fullMin;var r=this.fullMax;isNaN(this.minimum)||(h=this.minimum);isNaN(this.maximum)||(r=this.maximum);var r=Math.log(r)*Math.LOG10E-Math.log(h)*Math.LOG10E,w=Math.log(this.max)/Math.LN10-Math.log(h)*Math.LOG10E;this.relativeStart=d.roundTo((Math.log(this.minReal)/Math.LN10-Math.log(h)*Math.LOG10E)/r,5);this.relativeEnd=d.roundTo(w/r,5)}else this.relativeStart=d.roundTo(d.fitToBounds((this.min-this.fullMin)/(this.fullMax-this.fullMin),
64
+ 0,1),5),this.relativeEnd=d.roundTo(d.fitToBounds((this.max-this.fullMin)/(this.fullMax-this.fullMin),0,1),5);var r=Math.round((this.maxCalc-this.minCalc)/this.step)+1,z;!0===g?(z=Math.log(this.max)*Math.LOG10E-Math.log(this.minReal)*Math.LOG10E,this.stepWidth=this.axisWidth/z,z>this.logGridLimit&&(r=Math.ceil(Math.log(this.max)*Math.LOG10E)+1,t=Math.round(Math.log(this.minReal)*Math.LOG10E),r>this.gridCountR&&(p=Math.ceil(r/this.gridCountR)))):this.stepWidth=this.axisWidth/(this.max-this.min);var x=
65
+ 0;1>this.step&&-1<this.step&&(x=d.getDecimals(this.step));this.integersOnly&&(x=0);x>this.maxDecCount&&(x=this.maxDecCount);w=this.precision;isNaN(w)||(x=w);isNaN(this.maxZoom)&&(this.max=d.roundTo(this.max,this.maxDecCount),this.min=d.roundTo(this.min,this.maxDecCount));h={};h.precision=x;h.decimalSeparator=a.nf.decimalSeparator;h.thousandsSeparator=a.nf.thousandsSeparator;this.numberFormatter=h;var u;this.exponential=!1;for(h=t;h<r;h+=p){var A=d.roundTo(this.step*h+this.min,x);-1!=String(A).indexOf("e")&&
66
+ (this.exponential=!0)}this.duration&&(this.maxInterval=d.getMaxInterval(this.max,this.duration));var x=this.step,y,A=this.minorGridAlpha;this.minorGridEnabled&&(y=this.getMinorGridStep(x,this.stepWidth*x));if(this.autoGridCount||0!==this.gridCount)if("date"==c)this.generateDFObject(),this.timeDifference=this.max-this.min,this.maxTime=this.lastTime=this.max,this.startTime=this.firstTime=this.min,this.parseDatesDraw();else for(r>=this.autoRotateCount&&!isNaN(this.autoRotateAngle)&&(this.labelRotationR=
67
+ this.autoRotateAngle),c=this.minCalc,g&&(r++,c=this.maxCalc-r*x),this.gridCountReal=r,h=this.startCount=t;h<r;h+=p)if(t=x*h+c,t=d.roundTo(t,this.maxDecCount+1),!this.integersOnly||Math.round(t)==t)if(isNaN(w)||Number(d.toFixed(t,w))==t){if(!0===g)if(z>this.logGridLimit){if(t=Math.pow(10,h),t>this.max)continue}else if(0>=t&&(t=c+x*h+x/2,0>=t))continue;u=this.formatValue(t,!1,h);Math.round(h/m)!=h/m&&(u=void 0);if(0===h&&!n||h==r-1&&!q)u=" ";f=this.getCoordinate(t);var B;this.rotate&&this.autoWrap&&
68
+ (B=this.stepWidth*x-10);u=new this.axisItemRenderer(this,f,u,void 0,B,void 0,void 0,this.boldLabels);this.pushAxisItem(u);if(t==this.baseValue&&"radar"!=a.type){var D,C,I=this.width,H=this.height;"H"==this.orientation?0<=f&&f<=I+1&&(D=[f,f,f+k],C=[H,0,l]):0<=f&&f<=H+1&&(D=[0,I,I+k],C=[f,f,f+l]);D&&(f=d.fitToBounds(2*this.gridAlpha,0,1),isNaN(this.zeroGridAlpha)||(f=this.zeroGridAlpha),f=d.line(a.container,D,C,this.gridColor,f,1,this.dashLength),f.translate(this.x,this.y),this.grid0=f,a.axesSet.push(f),
69
+ f.toBack(),d.setCN(a,f,this.bcn+"zero-grid-"+this.id),d.setCN(a,f,this.bcn+"zero-grid"))}if(!isNaN(y)&&0<A&&h<r-1){f=x/y;g&&(y=x*(h+p)+this.minCalc,y=d.roundTo(y,this.maxDecCount+1),z>this.logGridLimit&&(y=Math.pow(10,h+p)),f=9,y=(y-t)/f);I=this.gridAlpha;this.gridAlpha=this.minorGridAlpha;for(H=1;H<f;H++){var Q=this.getCoordinate(t+y*H),Q=new this.axisItemRenderer(this,Q,"",!1,0,0,!1,!1,0,!0);this.pushAxisItem(Q)}this.gridAlpha=I}}z=this.guides;B=z.length;if(0<B){D=this.fillAlpha;for(h=this.fillAlpha=
70
+ 0;h<B;h++)C=z[h],k=NaN,y=C.above,isNaN(C.toValue)||(k=this.getCoordinate(C.toValue),u=new this.axisItemRenderer(this,k,"",!0,NaN,NaN,C),this.pushAxisItem(u,y)),l=NaN,isNaN(C.value)||(l=this.getCoordinate(C.value),u=new this.axisItemRenderer(this,l,C.label,!0,NaN,(k-l)/2,C),this.pushAxisItem(u,y)),isNaN(k)&&(l-=3,k=l+3),u&&(m=u.label)&&this.addEventListeners(m,C),isNaN(k-l)||0>l&&0>k||(k=new this.guideFillRenderer(this,l,k,C),this.pushAxisItem(k,y),y=k.graphics(),C.graphics=y,this.addEventListeners(y,
71
+ C));this.fillAlpha=D}u=this.baseValue;this.min>this.baseValue&&this.max>this.baseValue&&(u=this.min);this.min<this.baseValue&&this.max<this.baseValue&&(u=this.max);g&&u<this.minReal&&(u=this.minReal);this.baseCoord=this.getCoordinate(u,!0);u={type:"axisChanged",target:this,chart:a};u.min=g?this.minReal:this.min;u.max=this.max;this.fire(u);this.axisCreated=!0}g=this.axisLine.set;u=this.labelsSet;b.translate(this.x,this.y);u.translate(this.x,this.y);this.positionTitle();"radar"!=a.type&&g.toFront();
72
+ !this.visible||e?(b.hide(),g.hide(),u.hide()):(b.show(),g.show(),u.show());this.axisY=this.y;this.axisX=this.x},getDateMinMax:function(){this.minimumDate&&(this.minimumDate instanceof Date||(this.minimumDate=d.getDate(this.minimumDate,this.chart.dataDateFormat,"fff")),this.min=this.minimumDate.getTime());this.maximumDate&&(this.maximumDate instanceof Date||(this.maximumDate=d.getDate(this.maximumDate,this.chart.dataDateFormat,"fff")),this.max=this.maximumDate.getTime())},formatValue:function(a,b,
73
+ c){var e=this.exponential,g=this.logarithmic,f=this.numberFormatter,h=this.chart;if(f)return!0===this.logarithmic&&(e=-1!=String(a).indexOf("e")?!0:!1),this.useScientificNotation&&(e=!0),this.usePrefixes&&(e=!1),e?(c=-1==String(a).indexOf("e")?a.toExponential(15):String(a),e=c.split("e"),c=Number(e[0]),e=Number(e[1]),c=d.roundTo(c,14),b||isNaN(this.precision)||(c=d.roundTo(c,this.precision)),10==c&&(c=1,e+=1),c=c+"e"+e,0===a&&(c="0"),1==a&&(c="1")):(g&&(e=String(a).split("."),e[1]?(f.precision=e[1].length,
74
+ 0>c&&(f.precision=Math.abs(c)),b&&1<a&&(f.precision=0),b||isNaN(this.precision)||(f.precision=this.precision)):f.precision=-1),c=this.usePrefixes?d.addPrefix(a,h.prefixesOfBigNumbers,h.prefixesOfSmallNumbers,f,!b):d.formatNumber(a,f,f.precision)),this.duration&&(b&&(f.precision=0),c=d.formatDuration(a,this.duration,"",this.durationUnits,this.maxInterval,f)),"date"==this.type&&(c=d.formatDate(new Date(a),this.currentDateFormat,h)),this.recalculateToPercents?c+="%":(b=this.unit)&&(c="left"==this.unitPosition?
75
+ b+c:c+b),this.labelFunction&&(c="date"==this.type?this.labelFunction(c,new Date(a),this).toString():this.labelFunction(a,c,this).toString()),c},getMinorGridStep:function(a,b){var c=[5,4,2];60>b&&c.shift();for(var e=Math.floor(Math.log(Math.abs(a))*Math.LOG10E),d=0;d<c.length;d++){var f=a/c[d],h=Math.floor(Math.log(Math.abs(f))*Math.LOG10E);if(!(1<Math.abs(e-h)))if(1>a){if(h=Math.pow(10,-h)*f,h==Math.round(h))return f}else if(f==Math.round(f))return f}return 1},stackGraphs:function(a){var b=this.stackType;
76
+ "stacked"==b&&(b="regular");"line"==b&&(b="none");"100% stacked"==b&&(b="100%");this.stackType=b;var c=[],e=[],g=[],f=[],h,k=this.chart.graphs,l,m,n,q,p,t=this.baseValue,r=!1;if("line"==a||"step"==a||"smoothedLine"==a)r=!0;if(r&&("regular"==b||"100%"==b))for(q=0;q<k.length;q++)n=k[q],n.stackGraph=null,n.hidden||(m=n.type,n.chart==this.chart&&n.valueAxis==this&&a==m&&n.stackable&&(l&&(n.stackGraph=l),l=n));n=this.start-10;l=this.end+10;q=this.data.length-1;n=d.fitToBounds(n,0,q);l=d.fitToBounds(l,
77
+ 0,q);for(p=n;p<=l;p++){var w=0;for(q=0;q<k.length;q++)if(n=k[q],n.hidden)n.newStack&&(g[p]=NaN,e[p]=NaN);else if(m=n.type,n.chart==this.chart&&n.valueAxis==this&&a==m&&n.stackable)if(m=this.data[p].axes[this.id].graphs[n.id],h=m.values.value,isNaN(h))n.newStack&&(g[p]=NaN,e[p]=NaN);else{var z=d.getDecimals(h);w<z&&(w=z);isNaN(f[p])?f[p]=Math.abs(h):f[p]+=Math.abs(h);f[p]=d.roundTo(f[p],w);z=n.fillToGraph;r&&z&&(z=this.data[p].axes[this.id].graphs[z.id])&&(m.values.open=z.values.value);"regular"==
78
+ b&&(r&&(isNaN(c[p])?(c[p]=h,m.values.close=h,m.values.open=this.baseValue):(isNaN(h)?m.values.close=c[p]:m.values.close=h+c[p],m.values.open=c[p],c[p]=m.values.close)),"column"==a&&(n.newStack&&(g[p]=NaN,e[p]=NaN),m.values.close=h,0>h?(m.values.close=h,isNaN(e[p])?m.values.open=t:(m.values.close+=e[p],m.values.open=e[p]),e[p]=m.values.close):(m.values.close=h,isNaN(g[p])?m.values.open=t:(m.values.close+=g[p],m.values.open=g[p]),g[p]=m.values.close)))}}for(p=this.start;p<=this.end;p++)for(q=0;q<k.length;q++)(n=
79
+ k[q],n.hidden)?n.newStack&&(g[p]=NaN,e[p]=NaN):(m=n.type,n.chart==this.chart&&n.valueAxis==this&&a==m&&n.stackable&&(m=this.data[p].axes[this.id].graphs[n.id],h=m.values.value,isNaN(h)||(c=h/f[p]*100,m.values.percents=c,m.values.total=f[p],n.newStack&&(g[p]=NaN,e[p]=NaN),"100%"==b&&(isNaN(e[p])&&(e[p]=0),isNaN(g[p])&&(g[p]=0),0>c?(m.values.close=d.fitToBounds(c+e[p],-100,100),m.values.open=e[p],e[p]=m.values.close):(m.values.close=d.fitToBounds(c+g[p],-100,100),m.values.open=g[p],g[p]=m.values.close)))))},
80
+ recalculate:function(){var a=this.chart,b=a.graphs,c;for(c=0;c<b.length;c++){var e=b[c];if(e.valueAxis==this){var g="value";if("candlestick"==e.type||"ohlc"==e.type)g="open";var f,h,k=this.end+2,k=d.fitToBounds(this.end+1,0,this.data.length-1),l=this.start;0<l&&l--;var m;h=this.start;e.compareFromStart&&(h=0);if(!isNaN(a.startTime)&&(m=a.categoryAxis)){var n=m.minDuration(),n=new Date(a.startTime+n/2),q=d.resetDateToMin(new Date(a.startTime),m.minPeriod).getTime();d.resetDateToMin(new Date(n),m.minPeriod).getTime()>
81
+ q&&h++}if(m=a.recalculateFromDate)m=d.getDate(m,a.dataDateFormat,"fff"),h=a.getClosestIndex(a.chartData,"time",m.getTime(),!0,0,a.chartData.length),k=a.chartData.length-1;for(m=h;m<=k&&(h=this.data[m].axes[this.id].graphs[e.id],f=h.values[g],e.recalculateValue&&(f=h.dataContext[e.valueField+e.recalculateValue]),isNaN(f));m++);this.recBaseValue=f;for(g=l;g<=k;g++){h=this.data[g].axes[this.id].graphs[e.id];h.percents={};var l=h.values,p;for(p in l)h.percents[p]="percents"!=p?l[p]/f*100-100:l[p]}}}},
82
+ getMinMax:function(){var a=!1,b=this.chart,c=b.graphs,e;for(e=0;e<c.length;e++){var g=c[e].type;("line"==g||"step"==g||"smoothedLine"==g)&&this.expandMinMax&&(a=!0)}a&&(0<this.start&&this.start--,this.end<this.data.length-1&&this.end++);"serial"==b.type&&(!0!==b.categoryAxis.parseDates||a||this.end<this.data.length-1&&this.end++);this.includeAllValues&&(this.start=0,this.end=this.data.length-1);a=this.minMaxMultiplier;b=this.getExtremes(this.start,this.end);this.min=b.min;this.max=b.max;this.minRR=
83
+ this.min;this.maxRR=this.max;a=(this.max-this.min)*(a-1);this.min-=a;this.max+=a;a=this.guides.length;if(this.includeGuidesInMinMax&&0<a)for(b=0;b<a;b++)c=this.guides[b],c.toValue<this.min&&(this.min=c.toValue),c.value<this.min&&(this.min=c.value),c.toValue>this.max&&(this.max=c.toValue),c.value>this.max&&(this.max=c.value);isNaN(this.minimum)||(this.min=this.minimum);isNaN(this.maximum)||(this.max=this.maximum);"date"==this.type&&this.getDateMinMax();this.min>this.max&&(a=this.max,this.max=this.min,
84
+ this.min=a);isNaN(this.minZoom)||(this.min=this.minZoom);isNaN(this.maxZoom)||(this.max=this.maxZoom);this.minCalc=this.min;this.maxCalc=this.max;this.minReal=this.min;this.maxReal=this.max;0===this.min&&0===this.max&&(this.max=9);this.min>this.max&&(this.min=this.max-1);a=this.min;b=this.max;c=this.max-this.min;e=0===c?Math.pow(10,Math.floor(Math.log(Math.abs(this.max))*Math.LOG10E))/10:Math.pow(10,Math.floor(Math.log(Math.abs(c))*Math.LOG10E))/10;isNaN(this.maximum)&&(this.max=Math.ceil(this.max/
85
+ e)*e+e);isNaN(this.minimum)&&(this.min=Math.floor(this.min/e)*e-e);0>this.min&&0<=a&&(this.min=0);0<this.max&&0>=b&&(this.max=0);"100%"==this.stackType&&(this.min=0>this.min?-100:0,this.max=0>this.max?0:100);c=this.max-this.min;e=Math.pow(10,Math.floor(Math.log(Math.abs(c))*Math.LOG10E))/10;this.step=Math.ceil(c/this.gridCountR/e)*e;c=Math.pow(10,Math.floor(Math.log(Math.abs(this.step))*Math.LOG10E));c=d.fixStepE(c);e=Math.ceil(this.step/c);5<e&&(e=10);5>=e&&2<e&&(e=5);this.step=Math.ceil(this.step/
86
+ (c*e))*c*e;isNaN(this.setStep)||(this.step=this.setStep);1>c?(this.maxDecCount=Math.abs(Math.log(Math.abs(c))*Math.LOG10E),this.maxDecCount=Math.round(this.maxDecCount),this.step=d.roundTo(this.step,this.maxDecCount+1)):this.maxDecCount=0;this.min=this.step*Math.floor(this.min/this.step);this.max=this.step*Math.ceil(this.max/this.step);0>this.min&&0<=a&&(this.min=0);0<this.max&&0>=b&&(this.max=0);1<this.minReal&&1<this.max-this.minReal&&(this.minReal=Math.floor(this.minReal));c=Math.pow(10,Math.floor(Math.log(Math.abs(this.minReal))*
87
+ Math.LOG10E));0===this.min&&(this.minReal=c);0===this.min&&1<this.minReal&&(this.minReal=1);0<this.min&&0<this.minReal-this.step&&(this.minReal=this.min+this.step<this.minReal?this.min+this.step:this.min);this.logarithmic&&(2<Math.log(b)*Math.LOG10E-Math.log(a)*Math.LOG10E?(this.minReal=this.min=Math.pow(10,Math.floor(Math.log(Math.abs(a))*Math.LOG10E)),this.maxReal=this.max=Math.pow(10,Math.ceil(Math.log(Math.abs(b))*Math.LOG10E))):(a=Math.pow(10,Math.floor(Math.log(Math.abs(a))*Math.LOG10E))/10,
88
+ Math.pow(10,Math.floor(Math.log(Math.abs(this.min))*Math.LOG10E))/10<a&&(this.minReal=this.min=10*a)))},getExtremes:function(a,b){var c,e,d;for(d=a;d<=b;d++){var f=this.data[d].axes[this.id].graphs,h;for(h in f)if(f.hasOwnProperty(h)){var k=this.chart.graphsById[h];if(k.includeInMinMax&&(!k.hidden||this.includeHidden)){isNaN(c)&&(c=Infinity);isNaN(e)&&(e=-Infinity);this.foundGraphs=!0;k=f[h].values;this.recalculateToPercents&&(k=f[h].percents);var l;if(this.minMaxField)l=k[this.minMaxField],l<c&&
89
+ (c=l),l>e&&(e=l);else for(var m in k)k.hasOwnProperty(m)&&"percents"!=m&&"total"!=m&&"error"!=m&&(l=k[m],l<c&&(c=l),l>e&&(e=l))}}}return{min:c,max:e}},zoomOut:function(a){this.maxZoom=this.minZoom=NaN;this.zoomToRelativeValues(0,1,a)},zoomToRelativeValues:function(a,b,c){if(this.reversed){var e=a;a=1-b;b=1-e}var d=this.fullMax,e=this.fullMin,f=e+(d-e)*a,h=e+(d-e)*b;0<=this.minimum&&0>f&&(f=0);this.logarithmic&&(isNaN(this.minimum)||(e=this.minimum),isNaN(this.maximum)||(d=this.maximum),d=Math.log(d)*
90
+ Math.LOG10E-Math.log(e)*Math.LOG10E,f=Math.pow(10,d*a+Math.log(e)*Math.LOG10E),h=Math.pow(10,d*b+Math.log(e)*Math.LOG10E));return this.zoomToValues(f,h,c)},zoomToValues:function(a,b,c){if(b<a){var e=b;b=a;a=e}var g=this.fullMax,e=this.fullMin;this.relativeStart=d.roundTo((a-e)/(g-e),9);this.relativeEnd=d.roundTo((b-e)/(g-e),9);if(this.logarithmic){isNaN(this.minimum)||(e=this.minimum);isNaN(this.maximum)||(g=this.maximum);var g=Math.log(g)*Math.LOG10E-Math.log(e)*Math.LOG10E,f=Math.log(b)/Math.LN10-
91
+ Math.log(e)*Math.LOG10E;this.relativeStart=d.roundTo((Math.log(a)/Math.LN10-Math.log(e)*Math.LOG10E)/g,9);this.relativeEnd=d.roundTo(f/g,9)}if(this.minZoom!=a||this.maxZoom!=b)return this.minZoom=a,this.maxZoom=b,e={type:"axisZoomed"},e.chart=this.chart,e.valueAxis=this,e.startValue=a,e.endValue=b,e.relativeStart=this.relativeStart,e.relativeEnd=this.relativeEnd,this.prevStartValue==a&&this.prevEndValue==b||this.fire(e),this.prevStartValue=a,this.prevEndValue=b,c||(a={},d.copyProperties(e,a),a.type=
92
+ "axisIntZoomed",this.fire(a)),0===this.relativeStart&&1==this.relativeEnd&&(this.maxZoom=this.minZoom=NaN),!0},coordinateToValue:function(a){if(isNaN(a))return NaN;var b=this.axisWidth,c=this.stepWidth,e=this.reversed,d=this.rotate,f=this.min,h=this.minReal;return!0===this.logarithmic?Math.pow(10,(d?!0===e?(b-a)/c:a/c:!0===e?a/c:(b-a)/c)+Math.log(h)*Math.LOG10E):!0===e?d?f-(a-b)/c:a/c+f:d?a/c+f:f-(a-b)/c},getCoordinate:function(a,b){if(isNaN(a))return NaN;var c=this.rotate,e=this.reversed,d=this.axisWidth,
93
+ f=this.stepWidth,h=this.min,k=this.minReal;!0===this.logarithmic?(0===a&&(a=this.treatZeroAs),h=Math.log(a)*Math.LOG10E-Math.log(k)*Math.LOG10E,c=c?!0===e?d-f*h:f*h:!0===e?f*h:d-f*h):c=!0===e?c?d-f*(a-h):f*(a-h):c?f*(a-h):d-f*(a-h);1E7<Math.abs(c)&&(c=c/Math.abs(c)*1E7);b||(c=Math.round(c));return c},synchronizeWithAxis:function(a){this.synchronizeWith=a;this.listenTo(this.synchronizeWith,"axisChanged",this.handleSynchronization)},handleSynchronization:function(){if(this.synchronizeWith){d.isString(this.synchronizeWith)&&
94
+ (this.synchronizeWith=this.chart.getValueAxisById(this.synchronizeWith));var a=this.synchronizeWith,b=a.min,c=a.max,a=a.step,e=this.synchronizationMultiplier;e&&(this.min=b*e,this.max=c*e,this.step=a*e,b=Math.abs(Math.log(Math.abs(Math.pow(10,Math.floor(Math.log(Math.abs(this.step))*Math.LOG10E))))*Math.LOG10E),this.maxDecCount=b=Math.round(b),this.draw())}}})})();(function(){var d=window.AmCharts;d.RecAxis=d.Class({construct:function(a){var b=a.chart,c=a.axisThickness,e=a.axisColor,g=a.axisAlpha,f=a.offset,h=a.dx,k=a.dy,l=a.x,m=a.y,n=a.height,q=a.width,p=b.container;"H"==a.orientation?(e=d.line(p,[0,q],[0,0],e,g,c),this.axisWidth=a.width,"bottom"==a.position?(k=c/2+f+n+m-1,c=l):(k=-c/2-f+m+k,c=h+l)):(this.axisWidth=a.height,"right"==a.position?(e=d.line(p,[0,0,-h],[0,n,n-k],e,g,c),k=m+k,c=c/2+f+h+q+l-1):(e=d.line(p,[0,0],[0,n],e,g,c),k=m,c=-c/2-f+l));e.translate(c,
95
+ k);c=b.container.set();c.push(e);b.axesSet.push(c);d.setCN(b,e,a.bcn+"line");this.axisSet=c;this.set=e}})})();(function(){var d=window.AmCharts;d.RecItem=d.Class({construct:function(a,b,c,e,g,f,h,k,l,m,n,q){b=Math.round(b);var p=a.chart;this.value=c;void 0==c&&(c="");l||(l=0);void 0==e&&(e=!0);var t=p.fontFamily,r=a.fontSize;void 0==r&&(r=p.fontSize);var w=a.color;void 0==w&&(w=p.color);void 0!==n&&(w=n);var z=a.chart.container,x=z.set();this.set=x;var u=a.axisThickness,A=a.axisColor,y=a.axisAlpha,B=a.tickLength,D=a.gridAlpha,C=a.gridThickness,I=a.gridColor,H=a.dashLength,Q=a.fillColor,M=a.fillAlpha,P=a.labelsEnabled;
96
+ n=a.labelRotationR;var ia=a.counter,J=a.inside,aa=a.labelOffset,ma=a.dx,na=a.dy,Pa=a.orientation,Z=a.position,da=a.previousCoord,X=a.height,xa=a.width,ea=a.offset,fa,Ba;h?(void 0!==h.id&&(q=p.classNamePrefix+"-guide-"+h.id),P=!0,isNaN(h.tickLength)||(B=h.tickLength),void 0!=h.lineColor&&(I=h.lineColor),void 0!=h.color&&(w=h.color),isNaN(h.lineAlpha)||(D=h.lineAlpha),isNaN(h.dashLength)||(H=h.dashLength),isNaN(h.lineThickness)||(C=h.lineThickness),!0===h.inside&&(J=!0,0<ea&&(ea=0)),isNaN(h.labelRotation)||
97
+ (n=h.labelRotation),isNaN(h.fontSize)||(r=h.fontSize),h.position&&(Z=h.position),void 0!==h.boldLabel&&(k=h.boldLabel),isNaN(h.labelOffset)||(aa=h.labelOffset)):""===c&&(B=0);m&&!isNaN(a.minorTickLength)&&(B=a.minorTickLength);var ga="start";0<g&&(ga="middle");a.centerLabels&&(ga="middle");var V=n*Math.PI/180,Y,Da,G=0,v=0,oa=0,ha=Y=0,Qa=0;"V"==Pa&&(n=0);var ca;P&&""!==c&&(ca=a.autoWrap&&0===n?d.wrappedText(z,c,w,t,r,ga,k,Math.abs(g),0):d.text(z,c,w,t,r,ga,k),ga=ca.getBBox(),ha=ga.width,Qa=ga.height);
98
+ if("H"==Pa){if(0<=b&&b<=xa+1&&(0<B&&0<y&&b+l<=xa+1&&(fa=d.line(z,[b+l,b+l],[0,B],A,y,C),x.push(fa)),0<D&&(Ba=d.line(z,[b,b+ma,b+ma],[X,X+na,na],I,D,C,H),x.push(Ba))),v=0,G=b,h&&90==n&&J&&(G-=r),!1===e?(ga="start",v="bottom"==Z?J?v+B:v-B:J?v-B:v+B,G+=3,0<g&&(G+=g/2-3,ga="middle"),0<n&&(ga="middle")):ga="middle",1==ia&&0<M&&!h&&!m&&da<xa&&(e=d.fitToBounds(b,0,xa),da=d.fitToBounds(da,0,xa),Y=e-da,0<Y&&(Da=d.rect(z,Y,a.height,Q,M),Da.translate(e-Y+ma,na),x.push(Da))),"bottom"==Z?(v+=X+r/2+ea,J?(0<n?(v=
99
+ X-ha/2*Math.sin(V)-B-3,a.centerRotatedLabels||(G+=ha/2*Math.cos(V)-4+2)):0>n?(v=X+ha*Math.sin(V)-B-3+2,G+=-ha*Math.cos(V)-Qa*Math.sin(V)-4):v-=B+r+3+3,v-=aa):(0<n?(v=X+ha/2*Math.sin(V)+B+3,a.centerRotatedLabels||(G-=ha/2*Math.cos(V))):0>n?(v=X+B+3-ha/2*Math.sin(V)+2,G+=ha/2*Math.cos(V)):v+=B+u+3+3,v+=aa)):(v+=na+r/2-ea,G+=ma,J?(0<n?(v=ha/2*Math.sin(V)+B+3,a.centerRotatedLabels||(G-=ha/2*Math.cos(V))):v+=B+3,v+=aa):(0<n?(v=-(ha/2)*Math.sin(V)-B-6,a.centerRotatedLabels||(G+=ha/2*Math.cos(V))):v-=B+
100
+ r+3+u+3,v-=aa)),"bottom"==Z?Y=(J?X-B-1:X+u-1)+ea:(oa=ma,Y=(J?na:na-B-u+1)-ea),f&&(G+=f),r=G,0<n&&(r+=ha/2*Math.cos(V)),ca&&(f=0,J&&(f=ha/2*Math.cos(V)),r+f>xa+2||0>r))ca.remove(),ca=null}else{0<=b&&b<=X+1&&(0<B&&0<y&&b+l<=X+1&&(fa=d.line(z,[0,B+1],[b+l,b+l],A,y,C),x.push(fa)),0<D&&(Ba=d.line(z,[0,ma,xa+ma],[b,b+na,b+na],I,D,C,H),x.push(Ba)));ga="end";if(!0===J&&"left"==Z||!1===J&&"right"==Z)ga="start";v=b-Qa/2+2;1==ia&&0<M&&!h&&!m&&(e=d.fitToBounds(b,0,X),da=d.fitToBounds(da,0,X),V=e-da,Da=d.polygon(z,
101
+ [0,a.width,a.width,0],[0,0,V,V],Q,M),Da.translate(ma,e-V+na),x.push(Da));v+=r/2;"right"==Z?(G+=ma+xa+ea,v+=na,J?(f||(v-=r/2+3),G=G-(B+4)-aa):(G+=B+4+u,v-=2,G+=aa)):J?(G+=B+4-ea,f||(v-=r/2+3),h&&(G+=ma,v+=na),G+=aa):(G+=-B-u-4-2-ea,v-=2,G-=aa);fa&&("right"==Z?(oa+=ma+ea+xa-1,Y+=na,oa=J?oa-u:oa+u):(oa-=ea,J||(oa-=B+u)));f&&(v+=f);J=-3;"right"==Z&&(J+=na);ca&&(v>X+1||v<J-r/10)&&(ca.remove(),ca=null)}fa&&(fa.translate(oa,Y),d.setCN(p,fa,a.bcn+"tick"),d.setCN(p,fa,q,!0),h&&d.setCN(p,fa,"guide"));!1===
102
+ a.visible&&(fa&&fa.remove(),ca&&(ca.remove(),ca=null));ca&&(ca.attr({"text-anchor":ga}),ca.translate(G,v,NaN,!0),0!==n&&ca.rotate(-n,a.chart.backgroundColor),a.allLabels.push(ca),this.label=ca,d.setCN(p,ca,a.bcn+"label"),d.setCN(p,ca,q,!0),h&&d.setCN(p,ca,"guide"));Ba&&(d.setCN(p,Ba,a.bcn+"grid"),d.setCN(p,Ba,q,!0),h&&d.setCN(p,Ba,"guide"));Da&&(d.setCN(p,Da,a.bcn+"fill"),d.setCN(p,Da,q,!0));m?Ba&&d.setCN(p,Ba,a.bcn+"grid-minor"):(a.counter=0===ia?1:0,a.previousCoord=b);0===this.set.node.childNodes.length&&
103
+ this.set.remove()},graphics:function(){return this.set},getLabel:function(){return this.label}})})();(function(){var d=window.AmCharts;d.RecFill=d.Class({construct:function(a,b,c,e){var g=a.dx,f=a.dy,h=a.orientation,k=0;if(c<b){var l=b;b=c;c=l}var m=e.fillAlpha;isNaN(m)&&(m=0);var l=a.chart.container,n=e.fillColor;"V"==h?(b=d.fitToBounds(b,0,a.height),c=d.fitToBounds(c,0,a.height)):(b=d.fitToBounds(b,0,a.width),c=d.fitToBounds(c,0,a.width));c-=b;isNaN(c)&&(c=4,k=2,m=0);0>c&&"object"==typeof n&&(n=n.join(",").split(",").reverse());"V"==h?(h=d.rect(l,a.width,c,n,m),h.translate(g,b-k+f)):(h=d.rect(l,
104
+ c,a.height,n,m),h.translate(b-k+g,f));d.setCN(a.chart,h,"guide-fill");e.id&&d.setCN(a.chart,h,"guide-fill-"+e.id);this.set=l.set([h])},graphics:function(){return this.set},getLabel:function(){}})})();(function(){var d=window.AmCharts;d.AmChart=d.Class({construct:function(a){this.svgIcons=this.tapToActivate=!0;this.theme=a;this.classNamePrefix="amcharts";this.addClassNames=!1;this.version="3.21.13";d.addChart(this);this.createEvents("buildStarted","dataUpdated","init","rendered","drawn","failed","resized","animationFinished");this.height=this.width="100%";this.dataChanged=!0;this.chartCreated=!1;this.previousWidth=this.previousHeight=0;this.backgroundColor="#FFFFFF";this.borderAlpha=this.backgroundAlpha=
105
+ 0;this.color=this.borderColor="#000000";this.fontFamily="Verdana";this.fontSize=11;this.usePrefixes=!1;this.autoResize=!0;this.autoDisplay=!1;this.addCodeCredits=this.accessible=!0;this.touchStartTime=this.touchClickDuration=0;this.precision=-1;this.percentPrecision=2;this.decimalSeparator=".";this.thousandsSeparator=",";this.labels=[];this.allLabels=[];this.titles=[];this.marginRight=this.marginLeft=this.autoMarginOffset=0;this.timeOuts=[];this.creditsPosition="top-left";var b=document.createElement("div"),
106
+ c=b.style;c.overflow="hidden";c.position="relative";c.textAlign="left";this.chartDiv=b;b=document.createElement("div");c=b.style;c.overflow="hidden";c.position="relative";c.textAlign="left";this.legendDiv=b;this.titleHeight=0;this.hideBalloonTime=150;this.handDrawScatter=2;this.cssScale=this.handDrawThickness=1;this.cssAngle=0;this.prefixesOfBigNumbers=[{number:1E3,prefix:"k"},{number:1E6,prefix:"M"},{number:1E9,prefix:"G"},{number:1E12,prefix:"T"},{number:1E15,prefix:"P"},{number:1E18,prefix:"E"},
107
+ {number:1E21,prefix:"Z"},{number:1E24,prefix:"Y"}];this.prefixesOfSmallNumbers=[{number:1E-24,prefix:"y"},{number:1E-21,prefix:"z"},{number:1E-18,prefix:"a"},{number:1E-15,prefix:"f"},{number:1E-12,prefix:"p"},{number:1E-9,prefix:"n"},{number:1E-6,prefix:"\u03bc"},{number:.001,prefix:"m"}];this.panEventsEnabled=!0;this.product="amcharts";this.animations=[];this.balloon=new d.AmBalloon(this.theme);this.balloon.chart=this;this.processTimeout=0;this.processCount=1E3;this.animatable=[];this.langObj={};
108
+ d.applyTheme(this,a,"AmChart")},drawChart:function(){0<this.realWidth&&0<this.realHeight&&(this.drawBackground(),this.redrawLabels(),this.drawTitles(),this.brr(),this.renderFix(),this.chartDiv&&(this.boundingRect=this.chartDiv.getBoundingClientRect()))},makeAccessible:function(a,b,c){this.accessible&&a&&(c&&a.setAttr("role",c),a.setAttr("aria-label",b))},drawBackground:function(){d.remove(this.background);var a=this.container,b=this.backgroundColor,c=this.backgroundAlpha,e=this.set;d.isModern||0!==
109
+ c||(c=.001);var g=this.updateWidth();this.realWidth=g;var f=this.updateHeight();this.realHeight=f;b=d.polygon(a,[0,g-1,g-1,0],[0,0,f-1,f-1],b,c,1,this.borderColor,this.borderAlpha);d.setCN(this,b,"bg");this.background=b;e.push(b);if(b=this.backgroundImage)a=a.image(b,0,0,g,f),d.setCN(this,b,"bg-image"),this.bgImg=a,e.push(a)},drawTitles:function(a){var b=this.titles;this.titleHeight=0;if(d.ifArray(b)){var c=20,e;for(e=0;e<b.length;e++){var g=b[e],g=d.processObject(g,d.Title,this.theme);if(!1!==g.enabled){var f=
110
+ g.color;void 0===f&&(f=this.color);var h=g.size;isNaN(h)&&(h=this.fontSize+2);isNaN(g.alpha);var k=this.marginLeft,l=!0;void 0!==g.bold&&(l=g.bold);f=d.wrappedText(this.container,g.text,f,this.fontFamily,h,"middle",l,this.realWidth-35-this.marginRight-k);f.translate(k+(this.realWidth-this.marginRight-k)/2,c);f.node.style.pointerEvents="none";g.sprite=f;void 0!==g.tabIndex&&f.setAttr("tabindex",g.tabIndex);d.setCN(this,f,"title");g.id&&d.setCN(this,f,"title-"+g.id);f.attr({opacity:g.alpha});c+=f.getBBox().height+
111
+ 5;a?f.remove():this.freeLabelsSet.push(f)}}this.titleHeight=c-10}},write:function(a){var b=this;if(b.listeners)for(var c=0;c<b.listeners.length;c++){var e=b.listeners[c];b.addListener(e.event,e.method)}b.fire({type:"buildStarted",chart:b});b.afterWriteTO&&clearTimeout(b.afterWriteTO);0<b.processTimeout?b.afterWriteTO=setTimeout(function(){b.afterWrite.call(b,a)},b.processTimeout):b.afterWrite(a)},afterWrite:function(a){var b;if(b="object"!=typeof a?document.getElementById(a):a){for(;b.firstChild;)b.removeChild(b.firstChild);
112
+ this.div=b;b.style.overflow="hidden";b.style.textAlign="left";a=this.chartDiv;var c=this.legendDiv,e=this.legend,g=c.style,f=a.style;this.measure();this.previousHeight=this.divRealHeight;this.previousWidth=this.divRealWidth;var h,k=document.createElement("div");h=k.style;h.position="relative";this.containerDiv=k;k.className=this.classNamePrefix+"-main-div";a.className=this.classNamePrefix+"-chart-div";b.appendChild(k);(b=this.exportConfig)&&d.AmExport&&!this.AmExport&&(this.AmExport=new d.AmExport(this,
113
+ b));this.amExport&&d.AmExport&&(this.AmExport=d.extend(this.amExport,new d.AmExport(this),!0));this.AmExport&&this.AmExport.init&&this.AmExport.init();if(e){e=this.addLegend(e,e.divId);if(e.enabled)switch(g.left=null,g.top=null,g.right=null,f.left=null,f.right=null,f.top=null,g.position="relative",f.position="relative",h.width="100%",h.height="100%",e.position){case "bottom":k.appendChild(a);k.appendChild(c);break;case "top":k.appendChild(c);k.appendChild(a);break;case "absolute":g.position="absolute";
114
+ f.position="absolute";void 0!==e.left&&(g.left=e.left+"px");void 0!==e.right&&(g.right=e.right+"px");void 0!==e.top&&(g.top=e.top+"px");void 0!==e.bottom&&(g.bottom=e.bottom+"px");e.marginLeft=0;e.marginRight=0;k.appendChild(a);k.appendChild(c);break;case "right":g.position="relative";f.position="absolute";k.appendChild(a);k.appendChild(c);break;case "left":g.position="absolute";f.position="relative";k.appendChild(a);k.appendChild(c);break;case "outside":k.appendChild(a)}else k.appendChild(a);this.prevLegendPosition=
115
+ e.position}else k.appendChild(a);this.listenersAdded||(this.addListeners(),this.listenersAdded=!0);(this.mouseWheelScrollEnabled||this.mouseWheelZoomEnabled)&&d.addWheelListeners();this.initChart()}},createLabelsSet:function(){d.remove(this.labelsSet);this.labelsSet=this.container.set();this.freeLabelsSet.push(this.labelsSet)},initChart:function(){this.balloon=d.processObject(this.balloon,d.AmBalloon,this.theme);window.AmCharts_path&&(this.path=window.AmCharts_path);void 0===this.path&&(this.path=
116
+ d.getPath());void 0===this.path&&(this.path="amcharts/");this.path=d.normalizeUrl(this.path);void 0===this.pathToImages&&(this.pathToImages=this.path+"images/");this.initHC||(d.callInitHandler(this),this.initHC=!0);d.applyLang(this.language,this);var a=this.numberFormatter;a&&(isNaN(a.precision)||(this.precision=a.precision),void 0!==a.thousandsSeparator&&(this.thousandsSeparator=a.thousandsSeparator),void 0!==a.decimalSeparator&&(this.decimalSeparator=a.decimalSeparator));(a=this.percentFormatter)&&
117
+ !isNaN(a.precision)&&(this.percentPrecision=a.precision);this.nf={precision:this.precision,thousandsSeparator:this.thousandsSeparator,decimalSeparator:this.decimalSeparator};this.pf={precision:this.percentPrecision,thousandsSeparator:this.thousandsSeparator,decimalSeparator:this.decimalSeparator};this.destroy();(a=this.container)?(a.container.innerHTML="",a.width=this.realWidth,a.height=this.realHeight,a.addDefs(this),this.chartDiv.appendChild(a.container)):a=new d.AmDraw(this.chartDiv,this.realWidth,
118
+ this.realHeight,this);this.container=a;this.extension=".png";this.svgIcons&&d.SVG&&(this.extension=".svg");this.checkDisplay();this.checkTransform(this.div);a.chart=this;d.VML||d.SVG?(a.handDrawn=this.handDrawn,a.handDrawScatter=this.handDrawScatter,a.handDrawThickness=this.handDrawThickness,d.remove(this.set),this.set=a.set(),d.remove(this.gridSet),this.gridSet=a.set(),d.remove(this.cursorLineSet),this.cursorLineSet=a.set(),d.remove(this.graphsBehindSet),this.graphsBehindSet=a.set(),d.remove(this.bulletBehindSet),
119
+ this.bulletBehindSet=a.set(),d.remove(this.columnSet),this.columnSet=a.set(),d.remove(this.graphsSet),this.graphsSet=a.set(),d.remove(this.trendLinesSet),this.trendLinesSet=a.set(),d.remove(this.axesSet),this.axesSet=a.set(),d.remove(this.cursorSet),this.cursorSet=a.set(),d.remove(this.scrollbarsSet),this.scrollbarsSet=a.set(),d.remove(this.bulletSet),this.bulletSet=a.set(),d.remove(this.freeLabelsSet),this.freeLabelsSet=a.set(),d.remove(this.axesLabelsSet),this.axesLabelsSet=a.set(),d.remove(this.balloonsSet),
120
+ this.balloonsSet=a.set(),d.remove(this.plotBalloonsSet),this.plotBalloonsSet=a.set(),d.remove(this.zoomButtonSet),this.zoomButtonSet=a.set(),d.remove(this.zbSet),this.zbSet=null,d.remove(this.linkSet),this.linkSet=a.set()):this.fire({type:"failed",chart:this})},premeasure:function(){var a=this.div;if(a){try{this.boundingRect=this.chartDiv.getBoundingClientRect()}catch(e){}var b=a.offsetWidth,c=a.offsetHeight;a.clientHeight&&(b=a.clientWidth,c=a.clientHeight);if(b!=this.mw||c!=this.mh)this.mw=b,this.mh=
121
+ c,this.measure()}},measure:function(){var a=this.div;if(a){var b=this.chartDiv,c=a.offsetWidth,e=a.offsetHeight,g=this.container;a.clientHeight&&(c=a.clientWidth,e=a.clientHeight);var e=Math.round(e),c=Math.round(c),a=Math.round(d.toCoordinate(this.width,c)),f=Math.round(d.toCoordinate(this.height,e));(c!=this.previousWidth||e!=this.previousHeight)&&0<a&&0<f&&(b.style.width=a+"px",b.style.height=f+"px",b.style.padding=0,g&&g.setSize(a,f),this.balloon=d.processObject(this.balloon,d.AmBalloon,this.theme));
122
+ this.balloon&&this.balloon.setBounds&&this.balloon.setBounds(2,2,a-2,f);this.updateWidth();this.balloon.chart=this;this.realWidth=a;this.realHeight=f;this.divRealWidth=c;this.divRealHeight=e}},checkDisplay:function(){if(this.autoDisplay&&this.container){var a=d.rect(this.container,10,10),b=a.getBBox();0===b.width&&0===b.height&&(this.divRealHeight=this.divRealWidth=this.realHeight=this.realWidth=0,this.previousWidth=this.previousHeight=NaN);a.remove()}},checkTransform:function(a){if(this.autoTransform&&
123
+ window.getComputedStyle&&a){if(a.style){var b=window.getComputedStyle(a,null);if(b&&(b=b.getPropertyValue("-webkit-transform")||b.getPropertyValue("-moz-transform")||b.getPropertyValue("-ms-transform")||b.getPropertyValue("-o-transform")||b.getPropertyValue("transform"))&&"none"!==b){var c=b.split("(")[1].split(")")[0].split(","),b=c[0],c=c[1],b=Math.sqrt(b*b+c*c);isNaN(b)||(this.cssScale*=b)}}a.parentNode&&this.checkTransform(a.parentNode)}},destroy:function(){this.chartDiv.innerHTML="";this.clearTimeOuts();
124
+ this.legend&&this.legend.destroy()},clearTimeOuts:function(){var a=this.timeOuts;if(a){var b;for(b=0;b<a.length;b++)clearTimeout(a[b])}this.timeOuts=[]},clear:function(a){try{document.removeEventListener("touchstart",this.docfn1,!0),document.removeEventListener("touchend",this.docfn2,!0)}catch(b){}d.callMethod("clear",[this.chartScrollbar,this.scrollbarV,this.scrollbarH,this.chartCursor]);this.chartCursor=this.scrollbarH=this.scrollbarV=this.chartScrollbar=null;this.clearTimeOuts();this.container&&
125
+ (this.container.remove(this.chartDiv),this.container.remove(this.legendDiv));a||d.removeChart(this);if(a=this.div)for(;a.firstChild;)a.removeChild(a.firstChild);this.legend&&this.legend.destroy();this.AmExport&&this.AmExport.clear&&this.AmExport.clear()},setMouseCursor:function(a){"auto"==a&&d.isNN&&(a="default");this.chartDiv.style.cursor=a;this.legendDiv.style.cursor=a},redrawLabels:function(){this.labels=[];var a=this.allLabels;this.createLabelsSet();var b;for(b=0;b<a.length;b++)this.drawLabel(a[b])},
126
+ drawLabel:function(a){var b=this;if(b.container&&!1!==a.enabled){a=d.processObject(a,d.Label,b.theme);var c=a.y,e=a.text,g=a.align,f=a.size,h=a.color,k=a.rotation,l=a.alpha,m=a.bold,n=d.toCoordinate(a.x,b.realWidth),c=d.toCoordinate(c,b.realHeight);n||(n=0);c||(c=0);void 0===h&&(h=b.color);isNaN(f)&&(f=b.fontSize);g||(g="start");"left"==g&&(g="start");"right"==g&&(g="end");"center"==g&&(g="middle",k?c=b.realHeight-c+c/2:n=b.realWidth/2-n);void 0===l&&(l=1);void 0===k&&(k=0);c+=f/2;e=d.text(b.container,
127
+ e,h,b.fontFamily,f,g,m,l);e.translate(n,c);void 0!==a.tabIndex&&e.setAttr("tabindex",a.tabIndex);d.setCN(b,e,"label");a.id&&d.setCN(b,e,"label-"+a.id);0!==k&&e.rotate(k);a.url?(e.setAttr("cursor","pointer"),e.click(function(){d.getURL(a.url,b.urlTarget)})):e.node.style.pointerEvents="none";b.labelsSet.push(e);b.labels.push(e)}},addLabel:function(a,b,c,e,d,f,h,k,l,m){a={x:a,y:b,text:c,align:e,size:d,color:f,alpha:k,rotation:h,bold:l,url:m,enabled:!0};this.container&&this.drawLabel(a);this.allLabels.push(a)},
128
+ clearLabels:function(){var a=this.labels,b;for(b=a.length-1;0<=b;b--)a[b].remove();this.labels=[];this.allLabels=[]},updateHeight:function(){var a=this.divRealHeight,b=this.legend;if(b){var c=this.legendDiv.offsetHeight,b=b.position;if("top"==b||"bottom"==b){a-=c;if(0>a||isNaN(a))a=0;this.chartDiv.style.height=a+"px"}}return a},updateWidth:function(){var a=this.divRealWidth,b=this.divRealHeight,c=this.legend;if(c){var e=this.legendDiv,d=e.offsetWidth;isNaN(c.width)||(d=c.width);c.ieW&&(d=c.ieW);var f=
129
+ e.offsetHeight,e=e.style,h=this.chartDiv.style,k=c.position;if(("right"==k||"left"==k)&&void 0===c.divId){a-=d;if(0>a||isNaN(a))a=0;h.width=a+"px";this.balloon&&this.balloon.setBounds&&this.balloon.setBounds(2,2,a-2,this.realHeight);"left"==k?(h.left=d+"px",e.left="0px"):(h.left="0px",e.left=a+"px");b>f&&(e.top=(b-f)/2+"px")}}return a},getTitleHeight:function(){this.drawTitles(!0);return this.titleHeight},addTitle:function(a,b,c,e,d){isNaN(b)&&(b=this.fontSize+2);a={text:a,size:b,color:c,alpha:e,
130
+ bold:d,enabled:!0};this.titles.push(a);return a},handleWheel:function(a){var b=0;a||(a=window.event);a.wheelDelta?b=a.wheelDelta/120:a.detail&&(b=-a.detail/3);b&&this.handleWheelReal(b,a.shiftKey);a.preventDefault&&a.preventDefault()},handleWheelReal:function(){},handleDocTouchStart:function(){this.handleMouseMove();this.tmx=this.mouseX;this.tmy=this.mouseY;this.touchStartTime=(new Date).getTime()},handleDocTouchEnd:function(){-.5<this.tmx&&this.tmx<this.divRealWidth+1&&0<this.tmy&&this.tmy<this.divRealHeight?
131
+ (this.handleMouseMove(),4>Math.abs(this.mouseX-this.tmx)&&4>Math.abs(this.mouseY-this.tmy)?(this.tapped=!0,this.panRequired&&this.panEventsEnabled&&this.chartDiv&&(this.chartDiv.style.msTouchAction="none",this.chartDiv.style.touchAction="none")):this.mouseIsOver||this.resetTouchStyle()):(this.tapped=!1,this.resetTouchStyle())},resetTouchStyle:function(){this.panEventsEnabled&&this.chartDiv&&(this.chartDiv.style.msTouchAction="auto",this.chartDiv.style.touchAction="auto")},checkTouchDuration:function(a){var b=
132
+ this,c=(new Date).getTime();if(a)if(a.touches)b.isTouchEvent=!0;else if(!b.isTouchEvent)return!0;if(c-b.touchStartTime>b.touchClickDuration)return!0;setTimeout(function(){b.resetTouchDuration()},300)},resetTouchDuration:function(){this.isTouchEvent=!1},checkTouchMoved:function(){if(4<Math.abs(this.mouseX-this.tmx)||4<Math.abs(this.mouseY-this.tmy))return!0},addListeners:function(){var a=this,b=a.chartDiv;document.addEventListener?("ontouchstart"in document.documentElement&&(b.addEventListener("touchstart",
133
+ function(b){a.handleTouchStart.call(a,b)},!0),b.addEventListener("touchmove",function(b){a.handleMouseMove.call(a,b)},!0),b.addEventListener("touchend",function(b){a.handleTouchEnd.call(a,b)},!0),a.docfn1=function(b){a.handleDocTouchStart.call(a,b)},a.docfn2=function(b){a.handleDocTouchEnd.call(a,b)},document.addEventListener("touchstart",a.docfn1,!0),document.addEventListener("touchend",a.docfn2,!0)),b.addEventListener("mousedown",function(b){a.mouseIsOver=!0;a.handleMouseMove.call(a,b);a.handleMouseDown.call(a,
134
+ b);a.handleDocTouchStart.call(a,b)},!0),b.addEventListener("mouseover",function(b){a.handleMouseOver.call(a,b)},!0),b.addEventListener("mouseout",function(b){a.handleMouseOut.call(a,b)},!0),b.addEventListener("mouseup",function(b){a.handleDocTouchEnd.call(a,b)},!0)):(b.attachEvent("onmousedown",function(b){a.handleMouseDown.call(a,b)}),b.attachEvent("onmouseover",function(b){a.handleMouseOver.call(a,b)}),b.attachEvent("onmouseout",function(b){a.handleMouseOut.call(a,b)}))},dispDUpd:function(){this.skipEvents||
135
+ (this.dispatchDataUpdated&&(this.dispatchDataUpdated=!1,this.fire({type:"dataUpdated",chart:this})),this.chartCreated||(this.chartCreated=!0,this.fire({type:"init",chart:this})),this.chartRendered||(this.fire({type:"rendered",chart:this}),this.chartRendered=!0),this.fire({type:"drawn",chart:this}));this.skipEvents=!1},validateSize:function(){var a=this;a.premeasure();a.checkDisplay();a.cssScale=1;a.cssAngle=0;a.checkTransform(a.div);if(a.divRealWidth!=a.previousWidth||a.divRealHeight!=a.previousHeight){var b=
136
+ a.legend;if(0<a.realWidth&&0<a.realHeight){a.sizeChanged=!0;if(b){a.legendInitTO&&clearTimeout(a.legendInitTO);var c=setTimeout(function(){b.invalidateSize()},10);a.timeOuts.push(c);a.legendInitTO=c}a.marginsUpdated=!1;clearTimeout(a.initTO);c=setTimeout(function(){a.initChart()},10);a.timeOuts.push(c);a.initTO=c}a.renderFix();b&&b.renderFix&&b.renderFix();a.positionCred();clearTimeout(a.resizedTO);a.resizedTO=setTimeout(function(){a.fire({type:"resized",chart:a})},10);a.previousHeight=a.divRealHeight;
137
+ a.previousWidth=a.divRealWidth}},invalidateSize:function(){this.previousHeight=this.previousWidth=NaN;this.invalidateSizeReal()},invalidateSizeReal:function(){var a=this;a.marginsUpdated=!1;clearTimeout(a.validateTO);var b=setTimeout(function(){a.validateSize()},5);a.timeOuts.push(b);a.validateTO=b},validateData:function(a){this.chartCreated&&(this.dataChanged=!0,this.marginsUpdated=!1,this.initChart(a))},validateNow:function(a,b){this.initTO&&clearTimeout(this.initTO);a&&(this.dataChanged=!0,this.marginsUpdated=
138
+ !1);this.skipEvents=b;this.chartRendered=!1;var c=this.legend;c&&c.position!=this.prevLegendPosition&&(this.previousWidth=this.mw=0,c.invalidateSize&&(c.invalidateSize(),this.validateSize()));this.write(this.div)},showItem:function(a){a.hidden=!1;this.initChart()},hideItem:function(a){a.hidden=!0;this.initChart()},hideBalloon:function(){var a=this;clearTimeout(a.hoverInt);clearTimeout(a.balloonTO);a.hoverInt=setTimeout(function(){a.hideBalloonReal.call(a)},a.hideBalloonTime)},cleanChart:function(){},
139
+ hideBalloonReal:function(){var a=this.balloon;a&&a.hide&&a.hide()},showBalloon:function(a,b,c,e,d){var f=this;clearTimeout(f.balloonTO);clearTimeout(f.hoverInt);f.balloonTO=setTimeout(function(){f.showBalloonReal.call(f,a,b,c,e,d)},1)},showBalloonReal:function(a,b,c,e,d){this.handleMouseMove();var f=this.balloon;f.enabled&&(f.followCursor(!1),f.changeColor(b),!c||f.fixedPosition?(f.setPosition(e,d),isNaN(e)||isNaN(d)?f.followCursor(!0):f.followCursor(!1)):f.followCursor(!0),a&&f.showBalloon(a))},
140
+ handleMouseOver:function(){this.outTO&&clearTimeout(this.outTO);d.resetMouseOver();this.mouseIsOver=!0},handleMouseOut:function(){var a=this;d.resetMouseOver();a.outTO&&clearTimeout(a.outTO);a.outTO=setTimeout(function(){a.handleMouseOutReal()},10)},handleMouseOutReal:function(){this.mouseIsOver=!1},handleMouseMove:function(a){a||(a=window.event);this.mouse2Y=this.mouse2X=NaN;var b,c,e,d;if(a){if(a.touches){var f=a.touches.item(1);f&&this.panEventsEnabled&&this.boundingRect&&(e=f.clientX-this.boundingRect.left,
141
+ d=f.clientY-this.boundingRect.top);a=a.touches.item(0);if(!a)return}else this.wasTouched=!1;this.boundingRect&&a.clientX&&(b=a.clientX-this.boundingRect.left,c=a.clientY-this.boundingRect.top);isNaN(e)?this.mouseX=b:(this.mouseX=Math.min(b,e),this.mouse2X=Math.max(b,e));isNaN(d)?this.mouseY=c:(this.mouseY=Math.min(c,d),this.mouse2Y=Math.max(c,d));this.autoTransform&&(this.mouseX/=this.cssScale,this.mouseY/=this.cssScale)}},handleTouchStart:function(a){this.hideBalloonReal();a&&(a.touches&&this.tapToActivate&&
142
+ !this.tapped||!this.panRequired)||(this.handleMouseMove(a),this.handleMouseDown(a))},handleTouchEnd:function(a){this.wasTouched=!0;this.handleMouseMove(a);d.resetMouseOver();this.handleReleaseOutside(a)},handleReleaseOutside:function(){this.handleDocTouchEnd.call(this)},handleMouseDown:function(a){d.resetMouseOver();this.mouseIsOver=!0;a&&a.preventDefault&&(this.panEventsEnabled?a.preventDefault():a.touches||a.preventDefault())},addLegend:function(a,b){a=d.processObject(a,d.AmLegend,this.theme);a.divId=
143
+ b;a.ieW=0;var c;c="object"!=typeof b&&b?document.getElementById(b):b;this.legend=a;a.chart=this;c?(a.div=c,a.position="outside",a.autoMargins=!1):a.div=this.legendDiv;return a},removeLegend:function(){this.legend=void 0;this.previousWidth=0;this.legendDiv.innerHTML=""},handleResize:function(){(d.isPercents(this.width)||d.isPercents(this.height))&&this.invalidateSizeReal();this.renderFix()},renderFix:function(){if(!d.VML){var a=this.container;a&&a.renderFix()}},getSVG:function(){if(d.hasSVG)return this.container},
144
+ animate:function(a,b,c,e,g,f,h){a["an_"+b]&&d.removeFromArray(this.animations,a["an_"+b]);c={obj:a,frame:0,attribute:b,from:c,to:e,time:g,effect:f,suffix:h};a["an_"+b]=c;this.animations.push(c);return c},setLegendData:function(a){var b=this.legend;b&&b.setData(a)},stopAnim:function(a){d.removeFromArray(this.animations,a)},updateAnimations:function(){var a;this.container&&this.container.update();if(this.animations)for(a=this.animations.length-1;0<=a;a--){var b=this.animations[a],c=d.updateRate*b.time,
145
+ e=b.frame+1,g=b.obj,f=b.attribute;if(e<=c){b.frame++;var h=Number(b.from),k=Number(b.to)-h,c=d[b.effect](0,e,h,k,c);0===k?(this.animations.splice(a,1),g.node.style[f]=Number(b.to)+b.suffix):g.node.style[f]=c+b.suffix}else g.node.style[f]=Number(b.to)+b.suffix,g.animationFinished=!0,this.animations.splice(a,1)}},update:function(){this.updateAnimations();var a=this.animatable;if(0<a.length){for(var b=!0,c=a.length-1;0<=c;c--){var e=a[c];e&&(e.animationFinished?a.splice(c,1):b=!1)}b&&(this.fire({type:"animationFinished",
146
+ chart:this}),this.animatable=[])}},inIframe:function(){try{return window.self!==window.top}catch(a){return!0}},brr:function(){if(!this.hideCredits){var a="amcharts.com",b=window.location.hostname.split("."),c;2<=b.length&&(c=b[b.length-2]+"."+b[b.length-1]);this.amLink&&(b=this.amLink.parentNode)&&b.removeChild(this.amLink);if(c!=a||!0===this.inIframe()){c=a="http://www."+a;var b="JavaScript charts",e="JS chart by amCharts";"ammap"==this.product&&(c=a+"/javascript-maps/",b="Interactive JavaScript maps",
147
+ e="JS map by amCharts");a=document.createElement("a");e=document.createTextNode(e);a.setAttribute("href",c);a.setAttribute("title",b);this.urlTarget&&a.setAttribute("target",this.urlTarget);a.appendChild(e);this.chartDiv.appendChild(a);this.amLink=a;a=a.style;a.position="absolute";a.textDecoration="none";a.color=this.color;a.fontFamily=this.fontFamily;a.fontSize="11px";a.opacity=.7;a.display="block";this.positionCred()}}},positionCred:function(){var a=this.amLink;if(a){var b=this.creditsPosition,
148
+ c=a.style,e=a.offsetWidth,a=a.offsetHeight,d=0,f=0,h=this.realWidth,k=this.realHeight,l=this.type;if("serial"==l||"xy"==l||"gantt"==l)d=this.marginLeftReal,f=this.marginTopReal,h=d+this.plotAreaWidth,k=f+this.plotAreaHeight;var l=5+d,m=f+5;"bottom-left"==b&&(l=5+d,m=k-a-3);"bottom-right"==b&&(l=h-e-5,m=k-a-3);"top-right"==b&&(l=h-e-5,m=f+5);c.left=l+"px";c.top=m+"px"}}});d.Slice=d.Class({construct:function(){}});d.SerialDataItem=d.Class({construct:function(){}});d.GraphDataItem=d.Class({construct:function(){}});
149
+ d.Guide=d.Class({construct:function(a){this.cname="Guide";d.applyTheme(this,a,this.cname)}});d.Title=d.Class({construct:function(a){this.cname="Title";d.applyTheme(this,a,this.cname)}});d.Label=d.Class({construct:function(a){this.cname="Label";d.applyTheme(this,a,this.cname)}})})();(function(){var d=window.AmCharts;d.AmGraph=d.Class({construct:function(a){this.cname="AmGraph";this.createEvents("rollOverGraphItem","rollOutGraphItem","clickGraphItem","doubleClickGraphItem","rightClickGraphItem","clickGraph","rollOverGraph","rollOutGraph");this.type="line";this.stackable=!0;this.columnCount=1;this.columnIndex=0;this.centerCustomBullets=this.showBalloon=!0;this.maxBulletSize=50;this.minBulletSize=4;this.balloonText="[[value]]";this.hidden=this.scrollbar=this.animationPlayed=!1;
150
+ this.pointPosition="middle";this.depthCount=1;this.includeInMinMax=!0;this.negativeBase=0;this.visibleInLegend=!0;this.showAllValueLabels=!1;this.showBulletsAt=this.showBalloonAt="close";this.lineThickness=1;this.dashLength=0;this.connect=!0;this.lineAlpha=1;this.bullet="none";this.bulletBorderThickness=2;this.bulletBorderAlpha=0;this.bulletAlpha=1;this.bulletSize=8;this.cornerRadiusTop=this.hideBulletsCount=this.bulletOffset=0;this.cursorBulletAlpha=1;this.gradientOrientation="vertical";this.dy=
151
+ this.dx=0;this.periodValue="";this.clustered=!0;this.periodSpan=1;this.accessibleLabel="[[title]] [[category]] [[value]]";this.accessibleSkipText="Press enter to skip [[title]]";this.y=this.x=0;this.switchable=!0;this.minDistance=.8;this.tcc=1;this.labelRotation=0;this.labelAnchor="auto";this.labelOffset=3;this.bcn="graph-";this.dateFormat="MMM DD, YYYY";this.noRounding=!0;d.applyTheme(this,a,this.cname)},init:function(){this.createBalloon()},draw:function(){var a=this.chart;a.isRolledOverBullet=
152
+ !1;var b=a.type;if(a.drawGraphs){isNaN(this.precision)||(this.numberFormatter?this.numberFormatter.precision=this.precision:this.numberFormatter={precision:this.precision,decimalSeparator:a.decimalSeparator,thousandsSeparator:a.thousandsSeparator});var c=a.container;this.container=c;this.destroy();var e=c.set();this.set=e;e.translate(this.x,this.y);var g=c.set();this.bulletSet=g;g.translate(this.x,this.y);this.behindColumns?(a.graphsBehindSet.push(e),a.bulletBehindSet.push(g)):(a.graphsSet.push(e),
153
+ a.bulletSet.push(g));var f=this.bulletAxis;d.isString(f)&&(this.bulletAxis=a.getValueAxisById(f));c=c.set();d.remove(this.columnsSet);this.columnsSet=c;d.setCN(a,e,"graph-"+this.type);d.setCN(a,e,"graph-"+this.id);d.setCN(a,g,"graph-"+this.type);d.setCN(a,g,"graph-"+this.id);this.columnsArray=[];this.ownColumns=[];this.allBullets=[];this.animationArray=[];g=this.labelPosition;g||(f=this.valueAxis.stackType,g="top","column"==this.type&&(a.rotate&&(g="right"),"100%"==f||"regular"==f)&&(g="middle"),
154
+ this.labelPosition=g);d.ifArray(this.data)&&(a=!1,"xy"==b?this.xAxis.axisCreated&&this.yAxis.axisCreated&&(a=!0):this.valueAxis.axisCreated&&(a=!0),!this.hidden&&a&&this.createGraph());e.push(c)}},createGraph:function(){var a=this,b=a.chart;a.startAlpha=b.startAlpha;a.seqAn=b.sequencedAnimation;a.baseCoord=a.valueAxis.baseCoord;void 0===a.fillAlphas&&(a.fillAlphas=0);a.bulletColorR=a.bulletColor;void 0===a.bulletColorR&&(a.bulletColorR=a.lineColorR,a.bulletColorNegative=a.negativeLineColor);void 0===
155
+ a.bulletAlpha&&(a.bulletAlpha=a.lineAlpha);if("step"==c||d.VML)a.noRounding=!1;var c=b.type;"gantt"==c&&(c="serial");clearTimeout(a.playedTO);if(!isNaN(a.valueAxis.min)&&!isNaN(a.valueAxis.max)){switch(c){case "serial":a.categoryAxis&&(a.createSerialGraph(),"candlestick"==a.type&&1>a.valueAxis.minMaxMultiplier&&a.positiveClip(a.set));break;case "radar":a.createRadarGraph();break;case "xy":a.createXYGraph()}a.playedTO=setTimeout(function(){a.setAnimationPlayed.call(a)},500*a.chart.startDuration)}},
156
+ setAnimationPlayed:function(){this.animationPlayed=!0},createXYGraph:function(){var a=[],b=[],c=this.xAxis,e=this.yAxis;this.pmh=e.height;this.pmw=c.width;this.pmy=this.pmx=0;var d;for(d=this.start;d<=this.end;d++){var f=this.data[d].axes[c.id].graphs[this.id],h=f.values,k=h.x,l=h.y,h=c.getCoordinate(k,this.noRounding),m=e.getCoordinate(l,this.noRounding);if(!isNaN(k)&&!isNaN(l)&&(a.push(h),b.push(m),f.x=h,f.y=m,k=this.createBullet(f,h,m,d),l=this.labelText)){var l=this.createLabel(f,l),n=0;k&&(n=
157
+ k.size);this.positionLabel(f,h,m,l,n)}}this.drawLineGraph(a,b);this.launchAnimation()},createRadarGraph:function(){var a=this.valueAxis.stackType,b=[],c=[],e=[],d=[],f,h,k,l,m;for(m=this.start;m<=this.end;m++){var n=this.data[m].axes[this.valueAxis.id].graphs[this.id],q,p;"none"==a||"3d"==a?q=n.values.value:(q=n.values.close,p=n.values.open);if(isNaN(q))this.connect||(this.drawLineGraph(b,c,e,d),b=[],c=[],e=[],d=[]);else{var t=this.valueAxis.getCoordinate(q,this.noRounding)-this.height,t=t*this.valueAxis.rMultiplier,
158
+ r=-360/(this.end-this.start+1)*m;"middle"==this.valueAxis.pointPosition&&(r-=180/(this.end-this.start+1));q=t*Math.sin(r/180*Math.PI);t*=Math.cos(r/180*Math.PI);b.push(q);c.push(t);if(!isNaN(p)){var w=this.valueAxis.getCoordinate(p,this.noRounding)-this.height,w=w*this.valueAxis.rMultiplier,z=w*Math.sin(r/180*Math.PI),r=w*Math.cos(r/180*Math.PI);e.push(z);d.push(r);isNaN(k)&&(k=z);isNaN(l)&&(l=r)}r=this.createBullet(n,q,t,m);n.x=q;n.y=t;if(z=this.labelText)z=this.createLabel(n,z),w=0,r&&(w=r.size),
159
+ this.positionLabel(n,q,t,z,w);isNaN(f)&&(f=q);isNaN(h)&&(h=t)}}b.push(f);c.push(h);isNaN(k)||(e.push(k),d.push(l));this.drawLineGraph(b,c,e,d);this.launchAnimation()},positionLabel:function(a,b,c,e,d){if(e){var f=this.chart,h=this.valueAxis,k="middle",l=!1,m=this.labelPosition,n=e.getBBox(),q=this.chart.rotate,p=a.isNegative,t=this.fontSize;void 0===t&&(t=this.chart.fontSize);c-=n.height/2-t/2-1;void 0!==a.labelIsNegative&&(p=a.labelIsNegative);switch(m){case "right":m=q?p?"left":"right":"right";
160
+ break;case "top":m=q?"top":p?"bottom":"top";break;case "bottom":m=q?"bottom":p?"top":"bottom";break;case "left":m=q?p?"right":"left":"left"}var t=a.columnGraphics,r=0,w=0;t&&(r=t.x,w=t.y);var z=this.labelOffset;switch(m){case "right":k="start";b+=d/2+z;break;case "top":c=h.reversed?c+(d/2+n.height/2+z):c-(d/2+n.height/2+z);break;case "bottom":c=h.reversed?c-(d/2+n.height/2+z):c+(d/2+n.height/2+z);break;case "left":k="end";b-=d/2+z;break;case "inside":"column"==this.type&&(l=!0,q?p?(k="end",b=r-3-
161
+ z):(k="start",b=r+3+z):c=p?w+7+z:w-10-z);break;case "middle":"column"==this.type&&(l=!0,q?b-=(b-r)/2+z-3:c-=(c-w)/2+z-3)}"auto"!=this.labelAnchor&&(k=this.labelAnchor);e.attr({"text-anchor":k});this.labelRotation&&e.rotate(this.labelRotation);e.translate(b,c);!this.showAllValueLabels&&t&&l&&(n=e.getBBox(),n.height>a.columnHeight||n.width>a.columnWidth)&&(e.remove(),e=null);if(e&&"radar"!=f.type)if(q){if(0>c||c>this.height)e.remove(),e=null;!this.showAllValueLabels&&e&&(0>b||b>this.width)&&(e.remove(),
162
+ e=null)}else{if(0>b||b>this.width)e.remove(),e=null;!this.showAllValueLabels&&e&&(0>c||c>this.height)&&(e.remove(),e=null)}e&&this.allBullets.push(e);return e}},getGradRotation:function(){var a=270;"horizontal"==this.gradientOrientation&&(a=0);return this.gradientRotation=a},createSerialGraph:function(){this.dashLengthSwitched=this.fillColorsSwitched=this.lineColorSwitched=void 0;var a=this.chart,b=this.id,c=this.index,e=this.data,g=this.chart.container,f=this.valueAxis,h=this.type,k=this.columnWidthReal,
163
+ l=this.showBulletsAt;isNaN(this.columnWidth)||(k=this.columnWidth);isNaN(k)&&(k=.8);var m=this.useNegativeColorIfDown,n=this.width,q=this.height,p=this.y,t=this.rotate,r=this.columnCount,w=d.toCoordinate(this.cornerRadiusTop,k/2),z=this.connect,x=[],u=[],A,y,B,D,C=this.chart.graphs.length,I,H=this.dx/this.tcc,Q=this.dy/this.tcc,M=f.stackType,P=this.start,ia=this.end,J=this.scrollbar,aa="graph-column-";J&&(aa="scrollbar-graph-column-");var ma=this.categoryAxis,na=this.baseCoord,Pa=this.negativeBase,
164
+ Z=this.columnIndex,da=this.lineThickness,X=this.lineAlpha,xa=this.lineColorR,ea=this.dashLength,fa=this.set,Ba,ga=this.getGradRotation(),V=this.chart.columnSpacing,Y=ma.cellWidth,Da=(Y*k-r)/r;V>Da&&(V=Da);var G,v,oa,ha=q,Qa=n,ca=0,tb=0,ub=0,vb=0,lb=0,mb=0,wb=this.fillColorsR,Ra=this.negativeFillColors,Ja=this.negativeLineColor,bb=this.fillAlphas,cb=this.negativeFillAlphas;"object"==typeof bb&&(bb=bb[0]);"object"==typeof cb&&(cb=cb[0]);var xb=this.noRounding;"step"==h&&(xb=!1);var nb=f.getCoordinate(f.min);
165
+ f.logarithmic&&(nb=f.getCoordinate(f.minReal));this.minCoord=nb;this.resetBullet&&(this.bullet="none");if(!(J||"line"!=h&&"smoothedLine"!=h&&"step"!=h||(1==e.length&&"step"!=h&&"none"==this.bullet&&(this.bullet="round",this.resetBullet=!0),!Ra&&void 0==Ja||m))){var Ua=Pa;Ua>f.max&&(Ua=f.max);Ua<f.min&&(Ua=f.min);f.logarithmic&&(Ua=f.minReal);var Ka=f.getCoordinate(Ua)+.5,Mb=f.getCoordinate(f.max);t?(ha=q,Qa=Math.abs(Mb-Ka),ub=q,vb=Math.abs(nb-Ka),mb=tb=0,f.reversed?(ca=0,lb=Ka):(ca=Ka,lb=0)):(Qa=
166
+ n,ha=Math.abs(Mb-Ka),vb=n,ub=Math.abs(nb-Ka),lb=ca=0,f.reversed?(mb=p,tb=Ka):mb=Ka)}var La=Math.round;this.pmx=La(ca);this.pmy=La(tb);this.pmh=La(ha);this.pmw=La(Qa);this.nmx=La(lb);this.nmy=La(mb);this.nmh=La(ub);this.nmw=La(vb);d.isModern||(this.nmy=this.nmx=0,this.nmh=this.height);this.clustered||(r=1);k="column"==h?(Y*k-V*(r-1))/r:Y*k;1>k&&(k=1);var Nb=this.fixedColumnWidth;isNaN(Nb)||(k=Nb);var L;if("line"==h||"step"==h||"smoothedLine"==h){if(0<P){for(L=P-1;-1<L;L--)if(G=e[L],v=G.axes[f.id].graphs[b],
167
+ oa=v.values.value,!isNaN(oa)){P=L;break}if(this.lineColorField)for(L=P;-1<L;L--)if(G=e[L],v=G.axes[f.id].graphs[b],v.lineColor){this.lineColorSwitched=v.lineColor;void 0===this.bulletColor&&(this.bulletColorSwitched=this.lineColorSwitched);break}if(this.fillColorsField)for(L=P;-1<L;L--)if(G=e[L],v=G.axes[f.id].graphs[b],v.fillColors){this.fillColorsSwitched=v.fillColors;break}if(this.dashLengthField)for(L=P;-1<L;L--)if(G=e[L],v=G.axes[f.id].graphs[b],!isNaN(v.dashLength)){this.dashLengthSwitched=
168
+ v.dashLength;break}}if(ia<e.length-1)for(L=ia+1;L<e.length;L++)if(G=e[L],v=G.axes[f.id].graphs[b],oa=v.values.value,!isNaN(oa)){ia=L;break}}ia<e.length-1&&ia++;var T=[],U=[],Ma=!1;if("line"==h||"step"==h||"smoothedLine"==h)if(this.stackable&&"regular"==M||"100%"==M||this.fillToGraph)Ma=!0;var Ob=this.noStepRisers,db=-1E3,eb=-1E3,ob=this.minDistance,Sa=!0,Va=!1;for(L=P;L<=ia;L++){G=e[L];v=G.axes[f.id].graphs[b];v.index=L;var fb,Ta=NaN;if(m&&void 0==this.openField)for(var yb=L+1;yb<e.length&&(!e[yb]||
169
+ !(fb=e[L+1].axes[f.id].graphs[b])||!fb.values||(Ta=fb.values.value,isNaN(Ta)));yb++);var S,R,K,ba,ja=NaN,E=NaN,F=NaN,O=NaN,N=NaN,qa=NaN,ra=NaN,sa=NaN,ta=NaN,ya=NaN,Ea=NaN,ka=NaN,la=NaN,W=NaN,zb=NaN,Ab=NaN,ua=NaN,va=void 0,Na=wb,Wa=bb,Ha=xa,Ca,za,Bb=this.proCandlesticks,pb=this.topRadius,Fa=q-1,pa=n-1,gb=this.pattern;void 0!=v.pattern&&(gb=v.pattern);isNaN(v.alpha)||(Wa=v.alpha);isNaN(v.dashLength)||(ea=v.dashLength);var Ia=v.values;f.recalculateToPercents&&(Ia=v.percents);"none"==M&&(Z=isNaN(v.columnIndex)?
170
+ this.columnIndex:v.columnIndex);if(Ia){W=this.stackable&&"none"!=M&&"3d"!=M?Ia.close:Ia.value;if("candlestick"==h||"ohlc"==h)W=Ia.close,Ab=Ia.low,ra=f.getCoordinate(Ab),zb=Ia.high,ta=f.getCoordinate(zb);ua=Ia.open;F=f.getCoordinate(W,xb);isNaN(ua)||(N=f.getCoordinate(ua,xb),m&&"regular"!=M&&"100%"!=M&&(Ta=ua,ua=N=NaN));m&&(void 0==this.openField?fb&&(fb.isNegative=Ta<W?!0:!1,isNaN(Ta)&&(v.isNegative=!Sa)):v.isNegative=Ta>W?!0:!1);if(!J)switch(this.showBalloonAt){case "close":v.y=F;break;case "open":v.y=
171
+ N;break;case "high":v.y=ta;break;case "low":v.y=ra}var ja=G.x[ma.id],Xa=this.periodSpan-1;"step"!=h||isNaN(G.cellWidth)||(Y=G.cellWidth);var wa=Math.floor(Y/2)+Math.floor(Xa*Y/2),Ga=wa,qb=0;"left"==this.stepDirection&&(qb=(2*Y+Xa*Y)/2,ja-=qb);"center"==this.stepDirection&&(qb=Y/2,ja-=qb);"start"==this.pointPosition&&(ja-=Y/2+Math.floor(Xa*Y/2),wa=0,Ga=Math.floor(Y)+Math.floor(Xa*Y));"end"==this.pointPosition&&(ja+=Y/2+Math.floor(Xa*Y/2),wa=Math.floor(Y)+Math.floor(Xa*Y),Ga=0);if(Ob){var Cb=this.columnWidth;
172
+ isNaN(Cb)||(wa*=Cb,Ga*=Cb)}J||(v.x=ja);-1E5>ja&&(ja=-1E5);ja>n+1E5&&(ja=n+1E5);t?(E=F,O=N,N=F=ja,isNaN(ua)&&!this.fillToGraph&&(O=na),qa=ra,sa=ta):(O=E=ja,isNaN(ua)&&!this.fillToGraph&&(N=na));if(!Bb&&W<ua||Bb&&W<Ba)v.isNegative=!0,Ra&&(Na=Ra),cb&&(Wa=cb),void 0!=Ja&&(Ha=Ja);Va=!1;isNaN(W)||(m?W>Ta?(Sa&&(Va=!0),Sa=!1):(Sa||(Va=!0),Sa=!0):v.isNegative=W<Pa?!0:!1,Ba=W);var Pb=!1;J&&a.chartScrollbar.ignoreCustomColors&&(Pb=!0);Pb||(void 0!=v.color&&(Na=v.color),v.fillColors&&(Na=v.fillColors));F=d.fitToBounds(F,
173
+ -3E4,3E4);switch(h){case "line":if(isNaN(W))z||(this.drawLineGraph(x,u,T,U),x=[],u=[],T=[],U=[]);else{if(Math.abs(E-db)>=ob||Math.abs(F-eb)>=ob)x.push(E),u.push(F),db=E,eb=F;ya=E;Ea=F;ka=E;la=F;!Ma||isNaN(N)||isNaN(O)||(T.push(O),U.push(N));if(Va||void 0!=v.lineColor&&v.lineColor!=this.lineColorSwitched||void 0!=v.fillColors&&v.fillColors!=this.fillColorsSwitched||!isNaN(v.dashLength))this.drawLineGraph(x,u,T,U),x=[E],u=[F],T=[],U=[],!Ma||isNaN(N)||isNaN(O)||(T.push(O),U.push(N)),m?(Sa?(this.lineColorSwitched=
174
+ xa,this.fillColorsSwitched=wb):(this.lineColorSwitched=Ja,this.fillColorsSwitched=Ra),void 0===this.bulletColor&&(this.bulletColorSwitched=xa)):(this.lineColorSwitched=v.lineColor,this.fillColorsSwitched=v.fillColors,void 0===this.bulletColor&&(this.bulletColorSwitched=this.lineColorSwitched)),this.dashLengthSwitched=v.dashLength;v.gap&&(this.drawLineGraph(x,u,T,U),x=[],u=[],T=[],U=[],eb=db=-1E3)}break;case "smoothedLine":if(isNaN(W))z||(this.drawSmoothedGraph(x,u,T,U),x=[],u=[],T=[],U=[]);else{if(Math.abs(E-
175
+ db)>=ob||Math.abs(F-eb)>=ob)x.push(E),u.push(F),db=E,eb=F;ya=E;Ea=F;ka=E;la=F;!Ma||isNaN(N)||isNaN(O)||(T.push(O),U.push(N));if(Va||void 0!=v.lineColor&&v.lineColor!=this.lineColorSwitched||void 0!=v.fillColors&&v.fillColors!=this.fillColorsSwitched||!isNaN(v.dashLength))this.drawSmoothedGraph(x,u,T,U),x=[E],u=[F],T=[],U=[],!Ma||isNaN(N)||isNaN(O)||(T.push(O),U.push(N)),this.lineColorSwitched=v.lineColor,this.fillColorsSwitched=v.fillColors,this.dashLengthSwitched=v.dashLength;v.gap&&(this.drawSmoothedGraph(x,
176
+ u,T,U),x=[],u=[],T=[],U=[])}break;case "step":if(!isNaN(W)){t?(isNaN(A)||(x.push(A),u.push(F-wa)),u.push(F-wa),x.push(E),u.push(F+Ga),x.push(E),!Ma||isNaN(N)||isNaN(O)||(isNaN(B)||(T.push(B),U.push(N-wa)),T.push(O),U.push(N-wa),T.push(O),U.push(N+Ga))):(isNaN(y)||(u.push(y),x.push(E-wa)),x.push(E-wa),u.push(F),x.push(E+Ga),u.push(F),!Ma||isNaN(N)||isNaN(O)||(isNaN(D)||(T.push(O-wa),U.push(D)),T.push(O-wa),U.push(N),T.push(O+Ga),U.push(N)));A=E;y=F;B=O;D=N;ya=E;Ea=F;ka=E;la=F;if(Va||void 0!=v.lineColor||
177
+ void 0!=v.fillColors||!isNaN(v.dashLength)){var Db=x[x.length-2],dc=u[u.length-2];x.pop();u.pop();T.pop();U.pop();this.drawLineGraph(x,u,T,U);x=[Db];u=[dc];T=[];U=[];Ma&&(T=[Db,Db+wa+Ga],U=[D,D]);t?(u.push(F+Ga),x.push(E)):(x.push(E+Ga),u.push(F));this.lineColorSwitched=v.lineColor;this.fillColorsSwitched=v.fillColors;this.dashLengthSwitched=v.dashLength;m&&(Sa?(this.lineColorSwitched=xa,this.fillColorsSwitched=wb):(this.lineColorSwitched=Ja,this.fillColorsSwitched=Ra))}if(Ob||v.gap)A=y=NaN,this.drawLineGraph(x,
178
+ u,T,U),x=[],u=[],T=[],U=[]}else if(!z){if(1>=this.periodSpan||1<this.periodSpan&&E-A>wa+Ga)A=y=NaN;this.drawLineGraph(x,u,T,U);x=[];u=[];T=[];U=[]}break;case "column":Ca=Ha;void 0!=v.lineColor&&(Ca=v.lineColor);if(!isNaN(W)){m||(v.isNegative=W<Pa?!0:!1);v.isNegative&&(Ra&&(Na=Ra),void 0!=Ja&&(Ca=Ja));var Qb=f.min,Rb=f.max,rb=ua;isNaN(rb)&&(rb=Pa);if(!(W<Qb&&rb<Qb||W>Rb&&rb>Rb)){var Aa;if(t){"3d"==M?(R=F-(r/2-this.depthCount+1)*(k+V)+V/2+Q*Z,S=O+H*Z,Aa=Z):(R=Math.floor(F-(r/2-Z)*(k+V)+V/2),S=O,Aa=
179
+ 0);K=k;ya=E;Ea=R+k/2;ka=E;la=R+k/2;R+K>q+Aa*Q&&(K=q-R+Aa*Q);R<Aa*Q&&(K+=R,R=Aa*Q);ba=E-O;var ec=S;S=d.fitToBounds(S,0,n);ba+=ec-S;ba=d.fitToBounds(ba,-S,n-S+H*Z);v.labelIsNegative=0>ba?!0:!1;0===ba&&1/W===1/-0&&(v.labelIsNegative=!0);isNaN(G.percentWidthValue)||(K=this.height*G.percentWidthValue/100,R=ja-K/2,Ea=R+K/2);K=d.roundTo(K,2);ba=d.roundTo(ba,2);R<q&&0<K&&(va=new d.Cuboid(g,ba,K,H-a.d3x,Q-a.d3y,Na,Wa,da,Ca,X,ga,w,t,ea,gb,pb,aa),v.columnWidth=Math.abs(ba),v.columnHeight=Math.abs(K))}else{"3d"==
180
+ M?(S=E-(r/2-this.depthCount+1)*(k+V)+V/2+H*Z,R=N+Q*Z,Aa=Z):(S=E-(r/2-Z)*(k+V)+V/2,R=N,Aa=0);K=k;ya=S+k/2;Ea=F;ka=S+k/2;la=F;S+K>n+Aa*H&&(K=n-S+Aa*H);S<Aa*H&&(K+=S-Aa*H,S=Aa*H);ba=F-N;v.labelIsNegative=0<ba?!0:!1;0===ba&&1/W!==1/Math.abs(W)&&(v.labelIsNegative=!0);var fc=R;R=d.fitToBounds(R,this.dy,q);ba+=fc-R;ba=d.fitToBounds(ba,-R+Q*Aa,q-R);isNaN(G.percentWidthValue)||(K=this.width*G.percentWidthValue/100,S=ja-K/2,ya=S+K/2);K=d.roundTo(K,2);ba=d.roundTo(ba,2);S<n+Z*H&&0<K&&(this.showOnAxis&&(R-=
181
+ Q/2),va=new d.Cuboid(g,K,ba,H-a.d3x,Q-a.d3y,Na,Wa,da,Ca,this.lineAlpha,ga,w,t,ea,gb,pb,aa),v.columnHeight=Math.abs(ba),v.columnWidth=Math.abs(K))}}if(va){za=va.set;d.setCN(a,va.set,"graph-"+this.type);d.setCN(a,va.set,"graph-"+this.id);v.className&&d.setCN(a,va.set,v.className,!0);v.columnGraphics=za;S=d.roundTo(S,2);R=d.roundTo(R,2);za.translate(S,R);(v.url||this.showHandOnHover)&&za.setAttr("cursor","pointer");if(!J){"none"==M&&(I=t?(this.end+1-L)*C-c:C*L+c);"3d"==M&&(t?(I=(this.end+1-L)*C-c-1E3*
182
+ this.depthCount,ya+=H*Z,ka+=H*Z,v.y+=H*Z):(I=(C-c)*(L+1)+1E3*this.depthCount,Ea+=Q*Z,la+=Q*Z,v.y+=Q*Z));if("regular"==M||"100%"==M)I=t?0<Ia.value?(this.end+1-L)*C+c+1E3*this.depthCount:(this.end+1-L)*C-c+1E3*this.depthCount:0<Ia.value?C*L+c:C*L-c;this.columnsArray.push({column:va,depth:I});v.x=t?R+K/2:S+K/2;this.ownColumns.push(va);this.animateColumns(va,L,E,O,F,N);this.addListeners(za,v);void 0!==this.tabIndex&&za.setAttr("tabindex",this.tabIndex)}this.columnsSet.push(za)}}break;case "candlestick":if(!isNaN(ua)&&
183
+ !isNaN(W)){var Ya,hb;Ca=Ha;void 0!=v.lineColor&&(Ca=v.lineColor);ya=E;la=Ea=F;ka=E;if(t){"open"==l&&(ka=O);"high"==l&&(ka=sa);"low"==l&&(ka=qa);E=d.fitToBounds(E,0,pa);O=d.fitToBounds(O,0,pa);qa=d.fitToBounds(qa,0,pa);sa=d.fitToBounds(sa,0,pa);if(0===E&&0===O&&0===qa&&0===sa)continue;if(E==pa&&O==pa&&qa==pa&&sa==pa)continue;R=F-k/2;S=O;K=k;R+K>q&&(K=q-R);0>R&&(K+=R,R=0);if(R<q&&0<K){var Eb,Fb;W>ua?(Eb=[E,sa],Fb=[O,qa]):(Eb=[O,sa],Fb=[E,qa]);!isNaN(sa)&&!isNaN(qa)&&F<q&&0<F&&(Ya=d.line(g,Eb,[F,F],
184
+ Ca,X,da),hb=d.line(g,Fb,[F,F],Ca,X,da));ba=E-O;va=new d.Cuboid(g,ba,K,H,Q,Na,bb,da,Ca,X,ga,w,t,ea,gb,pb,aa)}}else{"open"==l&&(la=N);"high"==l&&(la=ta);"low"==l&&(la=ra);F=d.fitToBounds(F,0,Fa);N=d.fitToBounds(N,0,Fa);ra=d.fitToBounds(ra,0,Fa);ta=d.fitToBounds(ta,0,Fa);if(0===F&&0===N&&0===ra&&0===ta)continue;if(F==Fa&&N==Fa&&ra==Fa&&ta==Fa)continue;S=E-k/2;R=N+da/2;K=k;S+K>n&&(K=n-S);0>S&&(K+=S,S=0);ba=F-N;if(S<n&&0<K){Bb&&W>=ua&&(Wa=0);var va=new d.Cuboid(g,K,ba,H,Q,Na,Wa,da,Ca,X,ga,w,t,ea,gb,pb,
185
+ aa),Gb,Hb;W>ua?(Gb=[F,ta],Hb=[N,ra]):(Gb=[N,ta],Hb=[F,ra]);!isNaN(ta)&&!isNaN(ra)&&E<n&&0<E&&(Ya=d.line(g,[E,E],Gb,Ca,X,da),hb=d.line(g,[E,E],Hb,Ca,X,da),d.setCN(a,Ya,this.bcn+"line-high"),v.className&&d.setCN(a,Ya,v.className,!0),d.setCN(a,hb,this.bcn+"line-low"),v.className&&d.setCN(a,hb,v.className,!0))}}va&&(za=va.set,v.columnGraphics=za,fa.push(za),za.translate(S,R-da/2),(v.url||this.showHandOnHover)&&za.setAttr("cursor","pointer"),Ya&&(fa.push(Ya),fa.push(hb)),J||(v.x=t?R+K/2:S+K/2,this.animateColumns(va,
186
+ L,E,O,F,N),this.addListeners(za,v),void 0!==this.tabIndex&&za.setAttr("tabindex",this.tabIndex)))}break;case "ohlc":if(!(isNaN(ua)||isNaN(zb)||isNaN(Ab)||isNaN(W))){var Sb=g.set();fa.push(Sb);W<ua&&(v.isNegative=!0,void 0!=Ja&&(Ha=Ja));void 0!=v.lineColor&&(Ha=v.lineColor);var Za,$a,ab;if(t){la=F;ka=E;"open"==l&&(ka=O);"high"==l&&(ka=sa);"low"==l&&(ka=qa);qa=d.fitToBounds(qa,0,pa);sa=d.fitToBounds(sa,0,pa);if(0===E&&0===O&&0===qa&&0===sa)continue;if(E==pa&&O==pa&&qa==pa&&sa==pa)continue;var Ib=F-
187
+ k/2,Ib=d.fitToBounds(Ib,0,q),Tb=d.fitToBounds(F,0,q),Jb=F+k/2,Jb=d.fitToBounds(Jb,0,q);0<=O&&O<=pa&&($a=d.line(g,[O,O],[Ib,Tb],Ha,X,da,ea));0<F&&F<q&&(Za=d.line(g,[qa,sa],[F,F],Ha,X,da,ea));0<=E&&E<=pa&&(ab=d.line(g,[E,E],[Tb,Jb],Ha,X,da,ea))}else{la=F;"open"==l&&(la=N);"high"==l&&(la=ta);"low"==l&&(la=ra);var ka=E,ra=d.fitToBounds(ra,0,Fa),ta=d.fitToBounds(ta,0,Fa),Kb=E-k/2,Kb=d.fitToBounds(Kb,0,n),Ub=d.fitToBounds(E,0,n),Lb=E+k/2,Lb=d.fitToBounds(Lb,0,n);0<=N&&N<=Fa&&($a=d.line(g,[Kb,Ub],[N,N],
188
+ Ha,X,da,ea));0<E&&E<n&&(Za=d.line(g,[E,E],[ra,ta],Ha,X,da,ea));0<=F&&F<=Fa&&(ab=d.line(g,[Ub,Lb],[F,F],Ha,X,da,ea))}fa.push($a);fa.push(Za);fa.push(ab);d.setCN(a,$a,this.bcn+"stroke-open");d.setCN(a,ab,this.bcn+"stroke-close");d.setCN(a,Za,this.bcn+"stroke");v.className&&d.setCN(a,Sb,v.className,!0);Za&&this.addListeners(Za,v);ab&&this.addListeners(ab,v);$a&&this.addListeners($a,v);ya=E;Ea=F}}if(!J&&!isNaN(W)){var Vb=this.hideBulletsCount;if(this.end-this.start<=Vb||0===Vb){var Wb=this.createBullet(v,
189
+ ka,la,L),Xb=this.labelText;if(Xb&&!isNaN(ya)&&!isNaN(ya)){var gc=this.createLabel(v,Xb),Yb=0;Wb&&(Yb=Wb.size);this.positionLabel(v,ya,Ea,gc,Yb)}if("regular"==M||"100%"==M){var Zb=f.totalText;if(Zb){var Oa=this.createLabel(v,Zb,f.totalTextColor);d.setCN(a,Oa,this.bcn+"label-total");this.allBullets.push(Oa);if(Oa){var $b=Oa.getBBox(),ac=$b.width,bc=$b.height,ib,jb,sb=f.totalTextOffset,cc=f.totals[L];cc&&cc.remove();var kb=0;"column"!=h&&(kb=this.bulletSize);t?(jb=Ea,ib=0>W?E-ac/2-2-kb-sb:E+ac/2+3+kb+
190
+ sb):(ib=ya,jb=0>W?F+bc/2+kb+sb:F-bc/2-3-kb-sb);Oa.translate(ib,jb);f.totals[L]=Oa;t?(0>jb||jb>q)&&Oa.remove():(0>ib||ib>n)&&Oa.remove()}}}}}}}this.lastDataItem=v;if("line"==h||"step"==h||"smoothedLine"==h)"smoothedLine"==h?this.drawSmoothedGraph(x,u,T,U):this.drawLineGraph(x,u,T,U),J||this.launchAnimation();this.bulletsHidden&&this.hideBullets();this.customBulletsHidden&&this.hideCustomBullets()},animateColumns:function(a,b){var c=this,e=c.chart.startDuration;0<e&&!c.animationPlayed&&(c.seqAn?(a.set.hide(),
191
+ c.animationArray.push(a),e=setTimeout(function(){c.animate.call(c)},e/(c.end-c.start+1)*(b-c.start)*1E3),c.timeOuts.push(e)):c.animate(a),c.chart.animatable.push(a))},createLabel:function(a,b,c){var e=this.chart,g=a.labelColor;g||(g=this.color);g||(g=e.color);c&&(g=c);c=this.fontSize;void 0===c&&(this.fontSize=c=e.fontSize);var f=this.labelFunction;b=e.formatString(b,a);b=d.cleanFromEmpty(b);f&&(b=f(a,b));if(void 0!==b&&""!==b)return a=d.text(this.container,b,g,e.fontFamily,c),a.node.style.pointerEvents=
192
+ "none",d.setCN(e,a,this.bcn+"label"),this.bulletSet.push(a),a},positiveClip:function(a){a.clipRect(this.pmx,this.pmy,this.pmw,this.pmh)},negativeClip:function(a){a.clipRect(this.nmx,this.nmy,this.nmw,this.nmh)},drawLineGraph:function(a,b,c,e){var g=this;if(1<a.length){var f=g.noRounding,h=g.set,k=g.chart,l=g.container,m=l.set(),n=l.set();h.push(n);h.push(m);var q=g.lineAlpha,p=g.lineThickness,h=g.fillAlphas,t=g.lineColorR,r=g.negativeLineAlpha;isNaN(r)&&(r=q);var w=g.lineColorSwitched;w&&(t=w);var w=
193
+ g.fillColorsR,z=g.fillColorsSwitched;z&&(w=z);var x=g.dashLength;(z=g.dashLengthSwitched)&&(x=z);var z=g.negativeLineColor,u=g.negativeFillColors,A=g.negativeFillAlphas,y=g.baseCoord;0!==g.negativeBase&&(y=g.valueAxis.getCoordinate(g.negativeBase,f),y>g.height&&(y=g.height),0>y&&(y=0));q=d.line(l,a,b,t,q,p,x,!1,!1,f);q.node.setAttribute("stroke-linejoin","round");d.setCN(k,q,g.bcn+"stroke");m.push(q);m.click(function(a){g.handleGraphEvent(a,"clickGraph")}).mouseover(function(a){g.handleGraphEvent(a,
194
+ "rollOverGraph")}).mouseout(function(a){g.handleGraphEvent(a,"rollOutGraph")}).touchmove(function(a){g.chart.handleMouseMove(a)}).touchend(function(a){g.chart.handleTouchEnd(a)});void 0===z||g.useNegativeColorIfDown||(p=d.line(l,a,b,z,r,p,x,!1,!1,f),p.node.setAttribute("stroke-linejoin","round"),d.setCN(k,p,g.bcn+"stroke"),d.setCN(k,p,g.bcn+"stroke-negative"),n.push(p));if(0<h||0<A)if(p=a.join(";").split(";"),r=b.join(";").split(";"),q=k.type,"serial"==q||"radar"==q?0<c.length?(c.reverse(),e.reverse(),
195
+ p=a.concat(c),r=b.concat(e)):"radar"==q?(r.push(0),p.push(0)):g.rotate?(r.push(r[r.length-1]),p.push(y),r.push(r[0]),p.push(y),r.push(r[0]),p.push(p[0])):(p.push(p[p.length-1]),r.push(y),p.push(p[0]),r.push(y),p.push(a[0]),r.push(r[0])):"xy"==q&&(b=g.fillToAxis)&&(d.isString(b)&&(b=k.getValueAxisById(b)),"H"==b.orientation?(y="top"==b.position?0:b.height,p.push(p[p.length-1]),r.push(y),p.push(p[0]),r.push(y),p.push(a[0]),r.push(r[0])):(y="left"==b.position?0:b.width,r.push(r[r.length-1]),p.push(y),
196
+ r.push(r[0]),p.push(y),r.push(r[0]),p.push(p[0]))),a=g.gradientRotation,0<h&&(b=d.polygon(l,p,r,w,h,1,"#000",0,a,f),b.pattern(g.pattern,NaN,k.path),d.setCN(k,b,g.bcn+"fill"),m.push(b),b.toBack()),u||void 0!==z)isNaN(A)&&(A=h),u||(u=z),f=d.polygon(l,p,r,u,A,1,"#000",0,a,f),d.setCN(k,f,g.bcn+"fill"),d.setCN(k,f,g.bcn+"fill-negative"),f.pattern(g.pattern,NaN,k.path),n.push(f),f.toBack(),n.click(function(a){g.handleGraphEvent(a,"clickGraph")}).mouseover(function(a){g.handleGraphEvent(a,"rollOverGraph")}).mouseout(function(a){g.handleGraphEvent(a,
197
+ "rollOutGraph")}).touchmove(function(a){g.chart.handleMouseMove(a)}).touchend(function(a){g.chart.handleTouchEnd(a)});g.applyMask(n,m)}},applyMask:function(a,b){var c=a.length();"serial"!=this.chart.type||this.scrollbar||(this.positiveClip(b),0<c&&this.negativeClip(a))},drawSmoothedGraph:function(a,b,c,e){if(1<a.length){var g=this.set,f=this.chart,h=this.container,k=h.set(),l=h.set();g.push(l);g.push(k);var m=this.lineAlpha,n=this.lineThickness,g=this.dashLength,q=this.fillAlphas,p=this.lineColorR,
198
+ t=this.fillColorsR,r=this.negativeLineColor,w=this.negativeFillColors,z=this.negativeFillAlphas,x=this.baseCoord,u=this.lineColorSwitched;u&&(p=u);(u=this.fillColorsSwitched)&&(t=u);var A=this.negativeLineAlpha;isNaN(A)&&(A=m);u=this.getGradRotation();m=new d.Bezier(h,a,b,p,m,n,t,0,g,void 0,u);d.setCN(f,m,this.bcn+"stroke");k.push(m.path);void 0!==r&&(n=new d.Bezier(h,a,b,r,A,n,t,0,g,void 0,u),d.setCN(f,n,this.bcn+"stroke"),d.setCN(f,n,this.bcn+"stroke-negative"),l.push(n.path));0<q&&(n=a.join(";").split(";"),
199
+ m=b.join(";").split(";"),p="",0<c.length?(c.push("M"),e.push("M"),c.reverse(),e.reverse(),n=a.concat(c),m=b.concat(e)):(this.rotate?(p+=" L"+x+","+b[b.length-1],p+=" L"+x+","+b[0]):(p+=" L"+a[a.length-1]+","+x,p+=" L"+a[0]+","+x),p+=" L"+a[0]+","+b[0]),a=new d.Bezier(h,n,m,NaN,0,0,t,q,g,p,u),d.setCN(f,a,this.bcn+"fill"),a.path.pattern(this.pattern,NaN,f.path),k.push(a.path),w||void 0!==r)&&(z||(z=q),w||(w=r),h=new d.Bezier(h,n,m,NaN,0,0,w,z,g,p,u),h.path.pattern(this.pattern,NaN,f.path),d.setCN(f,
200
+ h,this.bcn+"fill"),d.setCN(f,h,this.bcn+"fill-negative"),l.push(h.path));this.applyMask(l,k)}},launchAnimation:function(){var a=this,b=a.chart.startDuration;if(0<b&&!a.animationPlayed){var c=a.set,e=a.bulletSet;d.VML||(c.attr({opacity:a.startAlpha}),e.attr({opacity:a.startAlpha}));c.hide();e.hide();a.seqAn?(b=setTimeout(function(){a.animateGraphs.call(a)},a.index*b*1E3),a.timeOuts.push(b)):a.animateGraphs()}},animateGraphs:function(){var a=this.chart,b=this.set,c=this.bulletSet,e=this.x,d=this.y;
201
+ b.show();c.show();var f=a.startDuration,h=a.startEffect;b&&(this.rotate?(b.translate(-1E3,d),c.translate(-1E3,d)):(b.translate(e,-1E3),c.translate(e,-1E3)),b.animate({opacity:1,translate:e+","+d},f,h),c.animate({opacity:1,translate:e+","+d},f,h),a.animatable.push(b))},animate:function(a){var b=this.chart,c=this.animationArray;!a&&0<c.length&&(a=c[0],c.shift());c=d[d.getEffect(b.startEffect)];b=b.startDuration;a&&(this.rotate?a.animateWidth(b,c):a.animateHeight(b,c),a.set.show())},legendKeyColor:function(){var a=
202
+ this.legendColor,b=this.lineAlpha;void 0===a&&(a=this.lineColorR,0===b&&(b=this.fillColorsR)&&(a="object"==typeof b?b[0]:b));return a},legendKeyAlpha:function(){var a=this.legendAlpha;void 0===a&&(a=this.lineAlpha,this.fillAlphas>a&&(a=this.fillAlphas),0===a&&(a=this.bulletAlpha),0===a&&(a=1));return a},createBullet:function(a,b,c){if(!isNaN(b)&&!isNaN(c)&&("none"!=this.bullet||this.customBullet||a.bullet||a.customBullet)){var e=this.chart,g=this.container,f=this.bulletOffset,h=this.bulletSize;isNaN(a.bulletSize)||
203
+ (h=a.bulletSize);var k=a.values.value,l=this.maxValue,m=this.minValue,n=this.maxBulletSize,q=this.minBulletSize;isNaN(l)||(isNaN(k)||(h=(k-m)/(l-m)*(n-q)+q),m==l&&(h=n));l=h;this.bulletAxis&&(h=a.values.error,isNaN(h)||(k=h),h=this.bulletAxis.stepWidth*k);h<this.minBulletSize&&(h=this.minBulletSize);this.rotate?b=a.isNegative?b-f:b+f:c=a.isNegative?c+f:c-f;q=this.bulletColorR;a.lineColor&&void 0===this.bulletColor&&(this.bulletColorSwitched=a.lineColor);this.bulletColorSwitched&&(q=this.bulletColorSwitched);
204
+ a.isNegative&&void 0!==this.bulletColorNegative&&(q=this.bulletColorNegative);void 0!==a.color&&(q=a.color);var p;"xy"==e.type&&this.valueField&&(p=this.pattern,a.pattern&&(p=a.pattern));f=this.bullet;a.bullet&&(f=a.bullet);var k=this.bulletBorderThickness,m=this.bulletBorderColorR,n=this.bulletBorderAlpha,t=this.bulletAlpha;m||(m=q);this.useLineColorForBulletBorder&&(m=this.lineColorR,a.isNegative&&this.negativeLineColor&&(m=this.negativeLineColor),this.lineColorSwitched&&(m=this.lineColorSwitched));
205
+ var r=a.alpha;isNaN(r)||(t=r);p=d.bullet(g,f,h,q,t,k,m,n,l,0,p,e.path);l=this.customBullet;a.customBullet&&(l=a.customBullet);l&&(p&&p.remove(),"function"==typeof l?(l=new l,l.chart=e,a.bulletConfig&&(l.availableSpace=c,l.graph=this,l.graphDataItem=a,l.bulletY=c,a.bulletConfig.minCoord=this.minCoord-c,l.bulletConfig=a.bulletConfig),l.write(g),p&&l.showBullet&&l.set.push(p),a.customBulletGraphics=l.cset,p=l.set):(p=g.set(),l=g.image(l,0,0,h,h),p.push(l),this.centerCustomBullets&&l.translate(-h/2,-h/
206
+ 2)));if(p){(a.url||this.showHandOnHover)&&p.setAttr("cursor","pointer");if("serial"==e.type||"gantt"==e.type)if(-.5>b||b>this.width||c<-h/2||c>this.height)p.remove(),p=null;p&&(this.bulletSet.push(p),p.translate(b,c),this.addListeners(p,a),this.allBullets.push(p));a.bx=b;a.by=c;d.setCN(e,p,this.bcn+"bullet");a.className&&d.setCN(e,p,a.className,!0)}if(p){p.size=h||0;if(e=this.bulletHitAreaSize)g=d.circle(g,e,"#FFFFFF",.001,0),g.translate(b,c),a.hitBullet=g,this.bulletSet.push(g),this.addListeners(g,
207
+ a);a.bulletGraphics=p;void 0!==this.tabIndex&&p.setAttr("tabindex",this.tabIndex)}else p={size:0};p.graphDataItem=a;return p}},showBullets:function(){var a=this.allBullets,b;this.bulletsHidden=!1;for(b=0;b<a.length;b++)a[b].show()},hideBullets:function(){var a=this.allBullets,b;this.bulletsHidden=!0;for(b=0;b<a.length;b++)a[b].hide()},showCustomBullets:function(){var a=this.allBullets,b;this.customBulletsHidden=!1;for(b=0;b<a.length;b++){var c=a[b].graphDataItem;c&&c.customBulletGraphics&&c.customBulletGraphics.show()}},
208
+ hideCustomBullets:function(){var a=this.allBullets,b;this.customBulletsHidden=!0;for(b=0;b<a.length;b++){var c=a[b].graphDataItem;c&&c.customBulletGraphics&&c.customBulletGraphics.hide()}},addListeners:function(a,b){var c=this;a.mouseover(function(a){c.handleRollOver(b,a)}).mouseout(function(a){c.handleRollOut(b,a)}).touchend(function(a){c.handleRollOver(b,a);c.chart.panEventsEnabled&&c.handleClick(b,a)}).touchstart(function(a){c.handleRollOver(b,a)}).click(function(a){c.handleClick(b,a)}).dblclick(function(a){c.handleDoubleClick(b,
209
+ a)}).contextmenu(function(a){c.handleRightClick(b,a)});var e=c.chart;if(e.accessible&&c.accessibleLabel){var d=e.formatString(c.accessibleLabel,b);e.makeAccessible(a,d)}},handleRollOver:function(a,b){this.handleGraphEvent(b,"rollOverGraph");if(a){var c=this.chart;a.bulletConfig&&(c.isRolledOverBullet=!0);var e={type:"rollOverGraphItem",item:a,index:a.index,graph:this,target:this,chart:this.chart,event:b};this.fire(e);c.fire(e);clearTimeout(c.hoverInt);(c=c.chartCursor)&&c.valueBalloonsEnabled||this.showGraphBalloon(a,
210
+ "V",!0)}},handleRollOut:function(a,b){var c=this.chart;if(a){var e={type:"rollOutGraphItem",item:a,index:a.index,graph:this,target:this,chart:this.chart,event:b};this.fire(e);c.fire(e);c.isRolledOverBullet=!1}this.handleGraphEvent(b,"rollOutGraph");(c=c.chartCursor)&&c.valueBalloonsEnabled||this.hideBalloon()},handleClick:function(a,b){if(!this.chart.checkTouchMoved()&&this.chart.checkTouchDuration(b)){if(a){var c={type:"clickGraphItem",item:a,index:a.index,graph:this,target:this,chart:this.chart,
211
+ event:b};this.fire(c);this.chart.fire(c);d.getURL(a.url,this.urlTarget)}this.handleGraphEvent(b,"clickGraph")}},handleGraphEvent:function(a,b){var c={type:b,graph:this,target:this,chart:this.chart,event:a};this.fire(c);this.chart.fire(c)},handleRightClick:function(a,b){if(a){var c={type:"rightClickGraphItem",item:a,index:a.index,graph:this,target:this,chart:this.chart,event:b};this.fire(c);this.chart.fire(c)}},handleDoubleClick:function(a,b){if(a){var c={type:"doubleClickGraphItem",item:a,index:a.index,
212
+ graph:this,target:this,chart:this.chart,event:b};this.fire(c);this.chart.fire(c)}},zoom:function(a,b){this.start=a;this.end=b;this.draw()},changeOpacity:function(a){var b=this.set;b&&b.setAttr("opacity",a);if(b=this.ownColumns){var c;for(c=0;c<b.length;c++){var e=b[c].set;e&&e.setAttr("opacity",a)}}(b=this.bulletSet)&&b.setAttr("opacity",a)},destroy:function(){d.remove(this.set);d.remove(this.bulletSet);var a=this.timeOuts;if(a){var b;for(b=0;b<a.length;b++)clearTimeout(a[b])}this.timeOuts=[]},createBalloon:function(){var a=
213
+ this.chart;this.balloon?this.balloon.destroy&&this.balloon.destroy():this.balloon={};var b=this.balloon;d.extend(b,a.balloon,!0);b.chart=a;b.mainSet=a.plotBalloonsSet;b.className=this.id},hideBalloon:function(){var a=this,b=a.chart;b.chartCursor?b.chartCursor.valueBalloonsEnabled||b.hideBalloon():b.hideBalloon();clearTimeout(a.hoverInt);a.hoverInt=setTimeout(function(){a.hideBalloonReal.call(a)},b.hideBalloonTime)},hideBalloonReal:function(){this.balloon&&this.balloon.hide();this.fixBulletSize()},
214
+ fixBulletSize:function(){if(d.isModern){var a=this.resizedDItem;if(a){var b=a.bulletGraphics;if(b&&!b.doNotScale){b.translate(a.bx,a.by,1);var c=this.bulletAlpha;isNaN(a.alpha)||(c=a.alpha);b.setAttr("fill-opacity",c);b.setAttr("stroke-opacity",this.bulletBorderAlpha)}}this.resizedDItem=null}},showGraphBalloon:function(a,b,c,e,g){if(a){var f=this.chart,h=this.balloon,k=0,l=0,m=f.chartCursor,n=!0;m?m.valueBalloonsEnabled||(h=f.balloon,k=this.x,l=this.y,n=!1):(h=f.balloon,k=this.x,l=this.y,n=!1);clearTimeout(this.hoverInt);
215
+ if(f.chartCursor&&(this.currentDataItem=a,"serial"==f.type&&f.isRolledOverBullet&&f.chartCursor.valueBalloonsEnabled)){this.hideBalloonReal();return}this.resizeBullet(a,e,g);if(h&&h.enabled&&this.showBalloon&&!this.hidden){var m=f.formatString(this.balloonText,a,!0),q=this.balloonFunction;q&&(m=q(a,a.graph));m&&(m=d.cleanFromEmpty(m));m&&""!==m?(e=f.getBalloonColor(this,a),h.drop||(h.pointerOrientation=b),b=a.x,g=a.y,f.rotate&&(b=a.y,g=a.x),b+=k,g+=l,isNaN(b)||isNaN(g)?this.hideBalloonReal():(a=this.width,
216
+ q=this.height,n&&h.setBounds(k,l,a+k,q+l),h.changeColor(e),h.setPosition(b,g),h.fixPrevious(),h.fixedPosition&&(c=!1),!c&&"radar"!=f.type&&(b<k-.5||b>a+k||g<l-.5||g>q+l)?(h.showBalloon(m),h.hide(0)):(h.followCursor(c),h.showBalloon(m)))):(this.hideBalloonReal(),h.hide(),this.resizeBullet(a,e,g))}else this.hideBalloonReal()}},resizeBullet:function(a,b,c){this.fixBulletSize();if(a&&d.isModern&&(1!=b||!isNaN(c))){var e=a.bulletGraphics;e&&!e.doNotScale&&(e.translate(a.bx,a.by,b),isNaN(c)||(e.setAttr("fill-opacity",
217
+ c),e.setAttr("stroke-opacity",c)),this.resizedDItem=a)}}})})();(function(){var d=window.AmCharts;d.ChartCursor=d.Class({construct:function(a){this.cname="ChartCursor";this.createEvents("changed","zoomed","onHideCursor","onShowCursor","draw","selected","moved","panning","zoomStarted");this.enabled=!0;this.cursorAlpha=1;this.selectionAlpha=.2;this.cursorColor="#CC0000";this.categoryBalloonAlpha=1;this.color="#FFFFFF";this.type="cursor";this.zoomed=!1;this.zoomable=!0;this.pan=!1;this.categoryBalloonDateFormat="MMM DD, YYYY";this.categoryBalloonText="[[category]]";
218
+ this.categoryBalloonEnabled=this.valueBalloonsEnabled=!0;this.rolledOver=!1;this.cursorPosition="middle";this.bulletsEnabled=this.skipZoomDispatch=!1;this.bulletSize=8;this.selectWithoutZooming=this.oneBalloonOnly=!1;this.graphBulletSize=1.7;this.animationDuration=.3;this.zooming=!1;this.adjustment=0;this.avoidBalloonOverlapping=!0;this.leaveCursor=!1;this.leaveAfterTouch=!0;this.valueZoomable=!1;this.balloonPointerOrientation="horizontal";this.hLineEnabled=this.vLineEnabled=!0;this.vZoomEnabled=
219
+ this.hZoomEnabled=!1;d.applyTheme(this,a,this.cname)},draw:function(){this.destroy();var a=this.chart;a.panRequired=!0;var b=a.container;this.rotate=a.rotate;this.container=b;this.prevLineHeight=this.prevLineWidth=NaN;b=b.set();b.translate(this.x,this.y);this.set=b;a.cursorSet.push(b);this.createElements();d.isString(this.limitToGraph)&&(this.limitToGraph=d.getObjById(a.graphs,this.limitToGraph),this.fullWidth=!1,this.cursorPosition="middle");this.pointer=this.balloonPointerOrientation.substr(0,1).toUpperCase();
220
+ this.isHidden=!1;this.hideLines();this.valueLineAxis||(this.valueLineAxis=a.valueAxes[0])},createElements:function(){var a=this,b=a.chart,c=b.dx,e=b.dy,g=a.width,f=a.height,h,k,l=a.cursorAlpha,m=a.valueLineAlpha;a.rotate?(h=m,k=l):(k=m,h=l);"xy"==b.type&&(k=l,void 0!==m&&(k=m),h=l);a.vvLine=d.line(a.container,[c,0,0],[e,0,f],a.cursorColor,h,1);d.setCN(b,a.vvLine,"cursor-line");d.setCN(b,a.vvLine,"cursor-line-vertical");a.hhLine=d.line(a.container,[0,g,g+c],[0,0,e],a.cursorColor,k,1);d.setCN(b,a.hhLine,
221
+ "cursor-line");d.setCN(b,a.hhLine,"cursor-line-horizontal");a.vLine=a.rotate?a.vvLine:a.hhLine;a.set.push(a.vvLine);a.set.push(a.hhLine);a.set.node.style.pointerEvents="none";a.fullLines=a.container.set();b=b.cursorLineSet;b.push(a.fullLines);b.translate(a.x,a.y);b.clipRect(-1,-1,g+2,f+2);void 0!==a.tabIndex&&(b.setAttr("tabindex",a.tabIndex),b.keyup(function(b){a.handleKeys(b)}).focus(function(b){a.showCursor()}).blur(function(b){a.hideCursor()}));a.set.clipRect(0,0,g,f)},handleKeys:function(a){var b=
222
+ this.prevIndex,c=this.chart;if(c){var e=c.chartData;e&&(isNaN(b)&&(b=e.length-1),37!=a.keyCode&&40!=a.keyCode||b--,39!=a.keyCode&&38!=a.keyCode||b++,b=d.fitToBounds(b,c.startIndex,c.endIndex),(a=this.chart.chartData[b])&&this.setPosition(a.x.categoryAxis),this.prevIndex=b)}},update:function(){var a=this.chart;if(a){var b=a.mouseX-this.x,c=a.mouseY-this.y;this.mouseX=b;this.mouseY=c;this.mouse2X=a.mouse2X-this.x;this.mouse2Y=a.mouse2Y-this.y;var e;if(a.chartData&&0<a.chartData.length){this.mouseIsOver()?
223
+ (this.hideGraphBalloons=!1,this.rolledOver=e=!0,this.updateDrawing(),this.vvLine&&isNaN(this.fx)&&(a.rotate||!this.limitToGraph)&&this.vvLine.translate(b,0),!this.hhLine||!isNaN(this.fy)||a.rotate&&this.limitToGraph||this.hhLine.translate(0,c),isNaN(this.mouse2X)?this.dispatchMovedEvent(b,c):e=!1):this.forceShow||this.hideCursor();if(this.zooming){if(!isNaN(this.mouse2X)){isNaN(this.mouse2X0)||this.dispatchPanEvent();return}if(this.pan){this.dispatchPanEvent();return}(this.hZoomEnabled||this.vZoomEnabled)&&
224
+ this.zooming&&this.updateSelection()}e&&this.showCursor()}}},updateDrawing:function(){this.drawing&&this.chart.setMouseCursor("crosshair");if(this.drawingNow&&(d.remove(this.drawingLine),1<Math.abs(this.drawStartX-this.mouseX)||1<Math.abs(this.drawStartY-this.mouseY))){var a=this.chart,b=a.marginTop,a=a.marginLeft;this.drawingLine=d.line(this.container,[this.drawStartX+a,this.mouseX+a],[this.drawStartY+b,this.mouseY+b],this.cursorColor,1,1)}},fixWidth:function(a){if(this.fullWidth&&this.prevLineWidth!=
225
+ a){var b=this.vvLine,c=0;b&&(b.remove(),c=b.x);b=this.container.set();b.translate(c,0);c=d.rect(this.container,a,this.height,this.cursorColor,this.cursorAlpha,this.cursorAlpha,this.cursorColor);d.setCN(this.chart,c,"cursor-fill");c.translate(-a/2-1,0);b.push(c);this.vvLine=b;this.fullLines.push(b);this.prevLineWidth=a}},fixHeight:function(a){if(this.fullWidth&&this.prevLineHeight!=a){var b=this.hhLine,c=0;b&&(b.remove(),c=b.y);b=this.container.set();b.translate(0,c);c=d.rect(this.container,this.width,
226
+ a,this.cursorColor,this.cursorAlpha);c.translate(0,-a/2);b.push(c);this.fullLines.push(b);this.hhLine=b;this.prevLineHeight=a}},fixVLine:function(a,b){if(!isNaN(a)&&this.vvLine){if(isNaN(this.prevLineX)){var c=0,e=this.mouseX;if(this.limitToGraph){var d=this.chart.categoryAxis;d&&(this.chart.rotate||(c="bottom"==d.position?this.height:-this.height),e=a)}this.vvLine.translate(e,c)}else this.prevLineX!=a&&this.vvLine.translate(this.prevLineX,this.prevLineY);this.fx=a;this.prevLineX!=a&&(c=this.animationDuration,
227
+ this.zooming&&(c=0),this.vvLine.stop(),this.vvLine.animate({translate:a+","+b},c,"easeOutSine"),this.prevLineX=a,this.prevLineY=b)}},fixHLine:function(a,b){if(!isNaN(a)&&this.hhLine){if(isNaN(this.prevLineY)){var c=0,e=this.mouseY;if(this.limitToGraph){var d=this.chart.categoryAxis;d&&(this.chart.rotate&&(c="right"==d.position?this.width:-this.width),e=a)}this.hhLine.translate(c,e)}else this.prevLineY!=a&&this.hhLine.translate(this.prevLineX,this.prevLineY);this.fy=a;this.prevLineY!=a&&(c=this.animationDuration,
228
+ this.zooming&&(c=0),this.hhLine.stop(),this.hhLine.animate({translate:b+","+a},c,"easeOutSine"),this.prevLineY=a,this.prevLineX=b)}},hideCursor:function(a){this.forceShow=!1;this.chart.wasTouched&&this.leaveAfterTouch||this.isHidden||this.leaveCursor||(this.hideCursorReal(),a?this.chart.handleCursorHide():this.fire({target:this,chart:this.chart,type:"onHideCursor"}),this.chart.setMouseCursor("auto"))},hideCursorReal:function(){this.hideLines();this.isHidden=!0;this.index=this.prevLineY=this.prevLineX=
229
+ this.mouseY0=this.mouseX0=this.fy=this.fx=NaN},hideLines:function(){this.vvLine&&this.vvLine.hide();this.hhLine&&this.hhLine.hide();this.fullLines&&this.fullLines.hide();this.isHidden=!0;this.chart.handleCursorHide()},showCursor:function(a){!this.drawing&&this.enabled&&(this.vLineEnabled&&this.vvLine&&this.vvLine.show(),this.hLineEnabled&&this.hhLine&&this.hhLine.show(),this.isHidden=!1,this.updateFullLine(),a||this.fire({target:this,chart:this.chart,type:"onShowCursor"}),this.pan&&this.chart.setMouseCursor("move"))},
230
+ updateFullLine:function(){this.zooming&&this.fullWidth&&this.selection&&(this.rotate?0<this.selection.height&&this.hhLine.hide():0<this.selection.width&&this.vvLine.hide())},updateSelection:function(){if(!this.pan&&this.enabled){var a=this.mouseX,b=this.mouseY;isNaN(this.fx)||(a=this.fx);isNaN(this.fy)||(b=this.fy);this.clearSelection();var c=this.mouseX0,e=this.mouseY0,g=this.width,f=this.height,a=d.fitToBounds(a,0,g),b=d.fitToBounds(b,0,f),h;a<c&&(h=a,a=c,c=h);b<e&&(h=b,b=e,e=h);this.hZoomEnabled?
231
+ g=a-c:c=0;this.vZoomEnabled?f=b-e:e=0;isNaN(this.mouse2X)&&0<Math.abs(g)&&0<Math.abs(f)&&(a=this.chart,b=d.rect(this.container,g,f,this.cursorColor,this.selectionAlpha),d.setCN(a,b,"cursor-selection"),b.width=g,b.height=f,b.translate(c,e),this.set.push(b),this.selection=b);this.updateFullLine()}},mouseIsOver:function(){var a=this.mouseX,b=this.mouseY;if(this.justReleased)return this.justReleased=!1,!0;if(this.mouseIsDown)return!0;if(!this.chart.mouseIsOver)return this.handleMouseOut(),!1;if(0<a&&
232
+ a<this.width&&0<b&&b<this.height)return!0;this.handleMouseOut();return!1},fixPosition:function(){this.prevY=this.prevX=NaN},handleMouseDown:function(){this.update();if(this.mouseIsOver())if(this.mouseIsDown=!0,this.mouseX0=this.mouseX,this.mouseY0=this.mouseY,this.mouse2X0=this.mouse2X,this.mouse2Y0=this.mouse2Y,this.drawing)this.drawStartY=this.mouseY,this.drawStartX=this.mouseX,this.drawingNow=!0;else if(this.dispatchMovedEvent(this.mouseX,this.mouseY),!this.pan&&isNaN(this.mouse2X0)&&(isNaN(this.fx)||
233
+ (this.mouseX0=this.fx),isNaN(this.fy)||(this.mouseY0=this.fy)),this.hZoomEnabled||this.vZoomEnabled){this.zooming=!0;var a={chart:this.chart,target:this,type:"zoomStarted"};a.x=this.mouseX/this.width;a.y=this.mouseY/this.height;this.index0=a.index=this.index;this.timestamp0=this.timestamp;this.fire(a)}},registerInitialMouse:function(){},handleReleaseOutside:function(){this.mouseIsDown=!1;if(this.drawingNow){this.drawingNow=!1;d.remove(this.drawingLine);var a=this.drawStartX,b=this.drawStartY,c=this.mouseX,
234
+ e=this.mouseY,g=this.chart;(2<Math.abs(a-c)||2<Math.abs(b-e))&&this.fire({type:"draw",target:this,chart:g,initialX:a,initialY:b,finalX:c,finalY:e})}this.zooming&&(this.zooming=!1,this.selectWithoutZooming?this.dispatchZoomEvent("selected"):(this.hZoomEnabled||this.vZoomEnabled)&&this.dispatchZoomEvent("zoomed"),this.rolledOver&&this.dispatchMovedEvent(this.mouseX,this.mouseY));this.mouse2Y0=this.mouse2X0=this.mouseY0=this.mouseX0=NaN},dispatchZoomEvent:function(a){if(!this.pan){var b=this.selection;
235
+ if(b&&3<Math.abs(b.width)&&3<Math.abs(b.height)){var c=Math.min(this.index,this.index0),e=Math.max(this.index,this.index0),d=c,f=e,h=this.chart,k=h.chartData,l=h.categoryAxis;l&&l.parseDates&&!l.equalSpacing&&(d=k[c]?k[c].time:Math.min(this.timestamp0,this.timestamp),f=k[e]?h.getEndTime(k[e].time):Math.max(this.timestamp0,this.timestamp));var b={type:a,chart:this.chart,target:this,end:f,start:d,startIndex:c,endIndex:e,selectionHeight:b.height,selectionWidth:b.width,selectionY:b.y,selectionX:b.x},
236
+ m;this.hZoomEnabled&&4<Math.abs(this.mouseX0-this.mouseX)&&(b.startX=this.mouseX0/this.width,b.endX=this.mouseX/this.width,m=!0);this.vZoomEnabled&&4<Math.abs(this.mouseY0-this.mouseY)&&(b.startY=1-this.mouseY0/this.height,b.endY=1-this.mouseY/this.height,m=!0);m&&(this.prevY=this.prevX=NaN,this.fire(b),"selected"!=a&&this.clearSelection());this.hideCursor()}}},dispatchMovedEvent:function(a,b,c,e){a=Math.round(a);b=Math.round(b);if(!this.isHidden&&(a!=this.prevX||b!=this.prevY||"changed"==c)){c||
237
+ (c="moved");var d=this.fx,f=this.fy;isNaN(d)&&(d=a);isNaN(f)&&(f=b);var h=!1;this.zooming&&this.pan&&(h=!0);h={hidden:this.isHidden,type:c,chart:this.chart,target:this,x:a,y:b,finalX:d,finalY:f,zooming:this.zooming,panning:h,mostCloseGraph:this.mostCloseGraph,index:this.index,skip:e,hideBalloons:this.hideGraphBalloons};this.prevIndex=this.index;this.rotate?(h.position=b,h.finalPosition=f):(h.position=a,h.finalPosition=d);this.prevX=a;this.prevY=b;e?this.chart.handleCursorMove(h):(this.fire(h),"changed"==
238
+ c&&this.chart.fire(h))}},dispatchPanEvent:function(){if(this.mouseIsDown){var a=d.roundTo((this.mouseX-this.mouseX0)/this.width,3),b=d.roundTo((this.mouseY-this.mouseY0)/this.height,3),c=d.roundTo((this.mouse2X-this.mouse2X0)/this.width,3),e=d.roundTo((this.mouse2Y-this.mouse2Y0)/this.height,2),g=!1;0!==Math.abs(a)&&0!==Math.abs(b)&&(g=!0);if(this.prevDeltaX==a||this.prevDeltaY==b)g=!1;isNaN(c)||isNaN(e)||(0!==Math.abs(c)&&0!==Math.abs(e)&&(g=!0),this.prevDelta2X!=c&&this.prevDelta2Y!=e)||(g=!1);
239
+ g&&(this.hideLines(),this.fire({type:"panning",chart:this.chart,target:this,deltaX:a,deltaY:b,delta2X:c,delta2Y:e,index:this.index}),this.prevDeltaX=a,this.prevDeltaY=b,this.prevDelta2X=c,this.prevDelta2Y=e)}},clearSelection:function(){var a=this.selection;a&&(a.width=0,a.height=0,a.remove())},destroy:function(){this.clear();d.remove(this.selection);this.selection=null;clearTimeout(this.syncTO);d.remove(this.set)},clear:function(){},setTimestamp:function(a){this.timestamp=a},setIndex:function(a,b){a!=
240
+ this.index&&(this.index=a,b||this.isHidden||this.dispatchMovedEvent(this.mouseX,this.mouseY,"changed"))},handleMouseOut:function(){this.enabled&&this.rolledOver&&(this.leaveCursor||this.setIndex(void 0),this.forceShow=!1,this.hideCursor(),this.rolledOver=!1)},showCursorAt:function(a){var b=this.chart.categoryAxis;b&&this.setPosition(b.categoryToCoordinate(a),a)},setPosition:function(a,b){var c=this.chart,e=c.categoryAxis;if(e){var d,f;void 0===b&&(b=e.coordinateToValue(a));e.showBalloonAt(b,a);this.forceShow=
241
+ !0;e.stickBalloonToCategory?c.rotate?this.fixHLine(a,0):this.fixVLine(a,0):(this.showCursor(),c.rotate?this.hhLine.translate(0,a):this.vvLine.translate(a,0));c.rotate?d=a:f=a;c.rotate?(this.vvLine&&this.vvLine.hide(),this.hhLine&&this.hhLine.show()):(this.hhLine&&this.hhLine.hide(),this.vvLine&&this.vvLine.show());this.updateFullLine();this.isHidden=!1;this.dispatchMovedEvent(f,d,"moved",!0)}},enableDrawing:function(a){this.enabled=!a;this.hideCursor();this.drawing=a},syncWithCursor:function(a,b){clearTimeout(this.syncTO);
242
+ a&&(a.isHidden?this.hideCursor(!0):this.syncWithCursorReal(a,b))},isZooming:function(a){this.zooming=a},syncWithCursorReal:function(a,b){var c=a.vvLine,e=a.hhLine;this.index=a.index;this.forceShow=!0;this.zooming&&this.pan||this.showCursor(!0);this.hideGraphBalloons=b;this.justReleased=a.justReleased;this.zooming=a.zooming;this.index0=a.index0;this.mouseX0=a.mouseX0;this.mouseY0=a.mouseY0;this.mouse2X0=a.mouse2X0;this.mouse2Y0=a.mouse2Y0;this.timestamp0=a.timestamp0;this.prevDeltaX=a.prevDeltaX;this.prevDeltaY=
243
+ a.prevDeltaY;this.prevDelta2X=a.prevDelta2X;this.prevDelta2Y=a.prevDelta2Y;this.fx=a.fx;this.fy=a.fy;a.zooming&&this.updateSelection();var d=a.mouseX,f=a.mouseY;this.rotate?(d=NaN,this.vvLine&&this.vvLine.hide(),this.hhLine&&e&&(isNaN(a.fy)?this.hhLine.translate(0,a.mouseY):this.fixHLine(a.fy,0))):(f=NaN,this.hhLine&&this.hhLine.hide(),this.vvLine&&c&&(isNaN(a.fx)?this.vvLine.translate(a.mouseX,0):this.fixVLine(a.fx,0)));this.dispatchMovedEvent(d,f,"moved",!0)}})})();(function(){var d=window.AmCharts;d.SimpleChartScrollbar=d.Class({construct:function(a){this.createEvents("zoomed","zoomStarted","zoomEnded");this.backgroundColor="#D4D4D4";this.backgroundAlpha=1;this.selectedBackgroundColor="#EFEFEF";this.scrollDuration=this.selectedBackgroundAlpha=1;this.resizeEnabled=!0;this.hideResizeGrips=!1;this.scrollbarHeight=20;this.updateOnReleaseOnly=!1;9>document.documentMode&&(this.updateOnReleaseOnly=!0);this.dragIconHeight=this.dragIconWidth=35;this.dragIcon="dragIconRoundBig";
244
+ this.dragCursorHover="cursor: move; cursor: grab; cursor: -moz-grab; cursor: -webkit-grab;";this.dragCursorDown="cursor: move; cursor: grab; cursor: -moz-grabbing; cursor: -webkit-grabbing;";this.vResizeCursor="ns-resize";this.hResizeCursor="ew-resize";this.enabled=!0;this.percentStart=this.offset=0;this.percentEnd=1;d.applyTheme(this,a,"SimpleChartScrollbar")},getPercents:function(){var a=this.getDBox(),b=a.x,c=a.y,e=a.width,a=a.height;this.rotate?(b=1-c/this.height,c=1-(c+a)/this.height):(c=b/this.width,
245
+ b=(b+e)/this.width);this.percentStart=c;this.percentEnd=b},draw:function(){var a=this;a.destroy();if(a.enabled){var b=a.chart.container,c=a.rotate,e=a.chart;e.panRequired=!0;var g=b.set();a.set=g;c?d.setCN(e,g,"scrollbar-vertical"):d.setCN(e,g,"scrollbar-horizontal");e.scrollbarsSet.push(g);var f,h;c?(f=a.scrollbarHeight,h=e.plotAreaHeight):(h=a.scrollbarHeight,f=e.plotAreaWidth);a.width=f;if((a.height=h)&&f){var k=d.rect(b,f,h,a.backgroundColor,a.backgroundAlpha,1,a.backgroundColor,a.backgroundAlpha);
246
+ d.setCN(e,k,"scrollbar-bg");a.bg=k;g.push(k);k=d.rect(b,f,h,"#000",.005);g.push(k);a.invisibleBg=k;k.click(function(){a.handleBgClick()}).mouseover(function(){a.handleMouseOver()}).mouseout(function(){a.handleMouseOut()}).touchend(function(){a.handleBgClick()});k=d.rect(b,f,h,a.selectedBackgroundColor,a.selectedBackgroundAlpha);d.setCN(e,k,"scrollbar-bg-selected");a.selectedBG=k;g.push(k);f=d.rect(b,f,h,"#000",.005);a.dragger=f;g.push(f);f.mousedown(function(b){a.handleDragStart(b)}).mouseup(function(){a.handleDragStop()}).mouseover(function(){a.handleDraggerOver()}).mouseout(function(){a.handleMouseOut()}).touchstart(function(b){a.handleDragStart(b)}).touchend(function(){a.handleDragStop()});
247
+ h=e.pathToImages;var l,k=a.dragIcon.replace(/\.[a-z]*$/i,"");d.isAbsolute(k)&&(h="");c?(l=h+k+"H"+e.extension,h=a.dragIconWidth,c=a.dragIconHeight):(l=h+k+e.extension,c=a.dragIconWidth,h=a.dragIconHeight);k=b.image(l,0,0,c,h);d.setCN(e,k,"scrollbar-grip-left");l=b.image(l,0,0,c,h);d.setCN(e,l,"scrollbar-grip-right");var m=10,n=20;e.panEventsEnabled&&(m=25,n=a.scrollbarHeight);var q=d.rect(b,m,n,"#000",.005),p=d.rect(b,m,n,"#000",.005);p.translate(-(m-c)/2,-(n-h)/2);q.translate(-(m-c)/2,-(n-h)/2);
248
+ c=b.set([k,p]);b=b.set([l,q]);a.iconLeft=c;g.push(a.iconLeft);a.iconRight=b;g.push(b);a.updateGripCursor(!1);e.makeAccessible(c,a.accessibleLabel);e.makeAccessible(b,a.accessibleLabel);e.makeAccessible(f,a.accessibleLabel);c.setAttr("role","menuitem");b.setAttr("role","menuitem");f.setAttr("role","menuitem");void 0!==a.tabIndex&&(c.setAttr("tabindex",a.tabIndex),c.keyup(function(b){a.handleKeys(b,1,0)}));void 0!==a.tabIndex&&(f.setAttr("tabindex",a.tabIndex),f.keyup(function(b){a.handleKeys(b,1,1)}));
249
+ void 0!==a.tabIndex&&(b.setAttr("tabindex",a.tabIndex),b.keyup(function(b){a.handleKeys(b,0,1)}));c.mousedown(function(){a.leftDragStart()}).mouseup(function(){a.leftDragStop()}).mouseover(function(){a.iconRollOver()}).mouseout(function(){a.iconRollOut()}).touchstart(function(){a.leftDragStart()}).touchend(function(){a.leftDragStop()});b.mousedown(function(){a.rightDragStart()}).mouseup(function(){a.rightDragStop()}).mouseover(function(){a.iconRollOver()}).mouseout(function(){a.iconRollOut()}).touchstart(function(){a.rightDragStart()}).touchend(function(){a.rightDragStop()});
250
+ d.ifArray(e.chartData)?g.show():g.hide();a.hideDragIcons();a.clipDragger(!1)}g.translate(a.x,a.y);g.node.style.msTouchAction="none";g.node.style.touchAction="none"}},handleKeys:function(a,b,c){this.getPercents();var e=this.percentStart,d=this.percentEnd;if(this.rotate)var f=d,d=e,e=f;if(37==a.keyCode||40==a.keyCode)e-=.02*b,d-=.02*c;if(39==a.keyCode||38==a.keyCode)e+=.02*b,d+=.02*c;this.rotate&&(a=d,d=e,e=a);isNaN(d)||isNaN(e)||this.percentZoom(e,d,!0)},updateScrollbarSize:function(a,b){if(!isNaN(a)&&
251
+ !isNaN(b)){a=Math.round(a);b=Math.round(b);var c=this.dragger,e,d,f,h,k;this.rotate?(e=0,d=a,f=this.width+1,h=b-a,c.setAttr("height",b-a),c.setAttr("y",d)):(e=a,d=0,f=b-a,h=this.height+1,k=b-a,c.setAttr("x",e),c.setAttr("width",k));this.clipAndUpdate(e,d,f,h)}},update:function(){var a,b=!1,c,e,d=this.x,f=this.y,h=this.dragger,k=this.getDBox();if(k){c=k.x+d;e=k.y+f;var l=k.width,k=k.height,m=this.rotate,n=this.chart,q=this.width,p=this.height,t=n.mouseX,n=n.mouseY;a=this.initialMouse;this.forceClip&&
252
+ this.clipDragger(!0);if(this.dragging){var r=this.initialCoord;if(m)a=r+(n-a),0>a&&(a=0),r=p-k,a>r&&(a=r),h.setAttr("y",a);else{a=r+(t-a);0>a&&(a=0);r=q-l;if(a>r||isNaN(a))a=r;h.setAttr("x",a)}this.clipDragger(!0)}if(this.resizingRight){if(m)if(a=n-e,!isNaN(this.maxHeight)&&a>this.maxHeight&&(a=this.maxHeight),a+e>p+f&&(a=p-e+f),0>a)this.resizingRight=!1,b=this.resizingLeft=!0;else{if(0===a||isNaN(a))a=.1;h.setAttr("height",a)}else if(a=t-c,!isNaN(this.maxWidth)&&a>this.maxWidth&&(a=this.maxWidth),
253
+ a+c>q+d&&(a=q-c+d),0>a)this.resizingRight=!1,b=this.resizingLeft=!0;else{if(0===a||isNaN(a))a=.1;h.setAttr("width",a)}this.clipDragger(!0)}if(this.resizingLeft){if(m)if(c=e,e=n,e<f&&(e=f),isNaN(e)&&(e=f),e>p+f&&(e=p+f),a=!0===b?c-e:k+c-e,!isNaN(this.maxHeight)&&a>this.maxHeight&&(a=this.maxHeight,e=c),0>a)this.resizingRight=!0,this.resizingLeft=!1,h.setAttr("y",c+k-f);else{if(0===a||isNaN(a))a=.1;h.setAttr("y",e-f);h.setAttr("height",a)}else if(e=t,e<d&&(e=d),isNaN(e)&&(e=d),e>q+d&&(e=q+d),a=!0===
254
+ b?c-e:l+c-e,!isNaN(this.maxWidth)&&a>this.maxWidth&&(a=this.maxWidth,e=c),0>a)this.resizingRight=!0,this.resizingLeft=!1,h.setAttr("x",c+l-d);else{if(0===a||isNaN(a))a=.1;h.setAttr("x",e-d);h.setAttr("width",a)}this.clipDragger(!0)}}},stopForceClip:function(){this.animating=this.forceClip=!1},clipDragger:function(a){var b=this.getDBox();if(b){var c=b.x,e=b.y,d=b.width,b=b.height,f=!1;if(this.rotate){if(c=0,d=this.width+1,this.clipY!=e||this.clipH!=b)f=!0}else if(e=0,b=this.height+1,this.clipX!=c||
255
+ this.clipW!=d)f=!0;f&&this.clipAndUpdate(c,e,d,b);a&&(this.updateOnReleaseOnly||this.dispatchScrollbarEvent())}},maskGraphs:function(){},clipAndUpdate:function(a,b,c,d){this.clipX=a;this.clipY=b;this.clipW=c;this.clipH=d;this.selectedBG.setAttr("width",c);this.selectedBG.setAttr("height",d);this.selectedBG.translate(a,b);this.updateDragIconPositions();this.maskGraphs(a,b,c,d)},dispatchScrollbarEvent:function(){if(this.skipEvent)this.skipEvent=!1;else{var a=this.chart;a.hideBalloon();var b=this.getDBox(),
256
+ c=b.x,d=b.y,g=b.width,b=b.height;this.getPercents();this.rotate?(c=d,g=this.height/b):g=this.width/g;a={type:"zoomed",position:c,chart:a,target:this,multiplier:g,relativeStart:this.percentStart,relativeEnd:this.percentEnd};if(this.percentStart!=this.prevPercentStart||this.percentEnd!=this.prevPercentEnd||this.prevMultiplier!=g)this.fire(a),this.prevPercentStart=this.percentStart,this.prevPercentEnd=this.percentEnd,this.prevMultiplier=g}},updateDragIconPositions:function(){var a=this.getDBox(),b=a.x,
257
+ c=a.y,d=this.iconLeft,g=this.iconRight,f,h,k=this.scrollbarHeight;this.rotate?(f=this.dragIconWidth,h=this.dragIconHeight,d.translate((k-h)/2,c-f/2),g.translate((k-h)/2,c+a.height-f/2)):(f=this.dragIconHeight,h=this.dragIconWidth,d.translate(b-h/2,(k-f)/2),g.translate(b-h/2+a.width,(k-f)/2))},showDragIcons:function(){this.resizeEnabled&&(this.iconLeft.show(),this.iconRight.show())},hideDragIcons:function(){if(!this.resizingLeft&&!this.resizingRight&&!this.dragging){if(this.hideResizeGrips||!this.resizeEnabled)this.iconLeft.hide(),
258
+ this.iconRight.hide();this.removeCursors()}},removeCursors:function(){this.chart.setMouseCursor("auto")},fireZoomEvent:function(a){this.fire({type:a,chart:this.chart,target:this})},percentZoom:function(a,b,c){a=d.fitToBounds(a,0,b);b=d.fitToBounds(b,a,1);if(this.dragger&&this.enabled){this.dragger.stop();isNaN(a)&&(a=0);isNaN(b)&&(b=1);var e,g;this.rotate?(e=this.height,b=e-e*b,g=e-e*a):(e=this.width,g=e*b,b=e*a);this.updateScrollbarSize(b,g);this.clipDragger(!1);this.getPercents();c&&this.dispatchScrollbarEvent()}},
259
+ destroy:function(){this.clear();d.remove(this.set);d.remove(this.iconRight);d.remove(this.iconLeft)},clear:function(){},handleDragStart:function(){if(this.enabled){this.fireZoomEvent("zoomStarted");var a=this.chart;this.dragger.stop();this.removeCursors();d.isModern&&(this.dragger.node.style.cssText=this.dragCursorDown);this.dragging=!0;var b=this.getDBox();this.rotate?(this.initialCoord=b.y,this.initialMouse=a.mouseY):(this.initialCoord=b.x,this.initialMouse=a.mouseX)}},handleDragStop:function(){this.updateOnReleaseOnly&&
260
+ (this.update(),this.skipEvent=!1,this.dispatchScrollbarEvent());this.dragging=!1;this.mouseIsOver&&this.removeCursors();d.isModern&&(this.dragger.node.style.cssText=this.dragCursorHover);this.update();this.fireZoomEvent("zoomEnded")},handleDraggerOver:function(){this.handleMouseOver();d.isModern&&(this.dragger.node.style.cssText=this.dragCursorHover)},leftDragStart:function(){this.fireZoomEvent("zoomStarted");this.dragger.stop();this.resizingLeft=!0;this.updateGripCursor(!0)},updateGripCursor:function(a){d.isModern&&
261
+ (a=this.rotate?a?this.vResizeCursorDown:this.vResizeCursorHover:a?this.hResizeCursorDown:this.hResizeCursorHover)&&(this.iconRight&&(this.iconRight.node.style.cssText=a),this.iconLeft&&(this.iconLeft.node.style.cssText=a))},leftDragStop:function(){this.resizingLeft&&(this.resizingLeft=!1,this.mouseIsOver||this.removeCursors(),this.updateOnRelease(),this.fireZoomEvent("zoomEnded"));this.updateGripCursor(!1)},rightDragStart:function(){this.fireZoomEvent("zoomStarted");this.dragger.stop();this.resizingRight=
262
+ !0;this.updateGripCursor(!0)},rightDragStop:function(){this.resizingRight&&(this.resizingRight=!1,this.mouseIsOver||this.removeCursors(),this.updateOnRelease(),this.fireZoomEvent("zoomEnded"));this.updateGripCursor(!1)},iconRollOut:function(){this.removeCursors()},iconRollOver:function(){this.rotate?this.vResizeCursor&&this.chart.setMouseCursor(this.vResizeCursor):this.hResizeCursor&&this.chart.setMouseCursor(this.hResizeCursor);this.handleMouseOver()},getDBox:function(){if(this.dragger)return this.dragger.getBBox()},
263
+ handleBgClick:function(){var a=this;if(!a.resizingRight&&!a.resizingLeft){a.zooming=!0;var b,c,e=a.scrollDuration,g=a.dragger;b=a.getDBox();var f=b.height,h=b.width;c=a.chart;var k=a.y,l=a.x,m=a.rotate;m?(b="y",c=c.mouseY-f/2-k,c=d.fitToBounds(c,0,a.height-f)):(b="x",c=c.mouseX-h/2-l,c=d.fitToBounds(c,0,a.width-h));a.updateOnReleaseOnly?(a.skipEvent=!1,g.setAttr(b,c),a.dispatchScrollbarEvent(),a.clipDragger()):(a.animating=!0,c=Math.round(c),m?g.animate({y:c},e,">"):g.animate({x:c},e,">"),a.forceClip=
264
+ !0,clearTimeout(a.forceTO),a.forceTO=setTimeout(function(){a.stopForceClip.call(a)},5E3*e))}},updateOnRelease:function(){this.updateOnReleaseOnly&&(this.update(),this.skipEvent=!1,this.dispatchScrollbarEvent())},handleReleaseOutside:function(){if(this.set){if(this.resizingLeft||this.resizingRight||this.dragging)this.dragging=this.resizingRight=this.resizingLeft=!1,this.updateOnRelease(),this.removeCursors();this.animating=this.mouseIsOver=!1;this.hideDragIcons();this.update()}},handleMouseOver:function(){this.mouseIsOver=
265
+ !0;this.showDragIcons()},handleMouseOut:function(){this.mouseIsOver=!1;this.hideDragIcons();this.removeCursors()}})})();(function(){var d=window.AmCharts;d.ChartScrollbar=d.Class({inherits:d.SimpleChartScrollbar,construct:function(a){this.cname="ChartScrollbar";d.ChartScrollbar.base.construct.call(this,a);this.graphLineColor="#BBBBBB";this.graphLineAlpha=0;this.graphFillColor="#BBBBBB";this.graphFillAlpha=1;this.selectedGraphLineColor="#888888";this.selectedGraphLineAlpha=0;this.selectedGraphFillColor="#888888";this.selectedGraphFillAlpha=1;this.gridCount=0;this.gridColor="#FFFFFF";this.gridAlpha=.7;this.skipEvent=
266
+ this.autoGridCount=!1;this.color="#FFFFFF";this.scrollbarCreated=!1;this.oppositeAxis=!0;this.accessibleLabel="Zoom chart using cursor arrows";d.applyTheme(this,a,this.cname)},init:function(){var a=this.categoryAxis,b=this.chart,c=this.gridAxis;a||("CategoryAxis"==this.gridAxis.cname?(this.catScrollbar=!0,a=new d.CategoryAxis,a.id="scrollbar"):(a=new d.ValueAxis,a.data=b.chartData,a.id=c.id,a.type=c.type,a.maximumDate=c.maximumDate,a.minimumDate=c.minimumDate,a.minPeriod=c.minPeriod,a.minMaxField=
267
+ c.minMaxField),this.categoryAxis=a);a.chart=b;var e=b.categoryAxis;e&&(a.firstDayOfWeek=e.firstDayOfWeek);a.dateFormats=c.dateFormats;a.markPeriodChange=c.markPeriodChange;a.boldPeriodBeginning=c.boldPeriodBeginning;a.labelFunction=c.labelFunction;a.axisItemRenderer=d.RecItem;a.axisRenderer=d.RecAxis;a.guideFillRenderer=d.RecFill;a.inside=!0;a.fontSize=this.fontSize;a.tickLength=0;a.axisAlpha=0;d.isString(this.graph)&&(this.graph=d.getObjById(b.graphs,this.graph));(a=this.graph)&&this.catScrollbar&&
268
+ (c=this.valueAxis,c||(this.valueAxis=c=new d.ValueAxis,c.visible=!1,c.scrollbar=!0,c.axisItemRenderer=d.RecItem,c.axisRenderer=d.RecAxis,c.guideFillRenderer=d.RecFill,c.labelsEnabled=!1,c.chart=b),b=this.unselectedGraph,b||(b=new d.AmGraph,b.scrollbar=!0,this.unselectedGraph=b,b.negativeBase=a.negativeBase,b.noStepRisers=a.noStepRisers),b=this.selectedGraph,b||(b=new d.AmGraph,b.scrollbar=!0,this.selectedGraph=b,b.negativeBase=a.negativeBase,b.noStepRisers=a.noStepRisers));this.scrollbarCreated=!0},
269
+ draw:function(){var a=this;d.ChartScrollbar.base.draw.call(a);if(a.enabled){a.scrollbarCreated||a.init();var b=a.chart,c=b.chartData,e=a.categoryAxis,g=a.rotate,f=a.x,h=a.y,k=a.width,l=a.height,m=a.gridAxis,n=a.set;e.setOrientation(!g);e.parseDates=m.parseDates;"ValueAxis"==a.categoryAxis.cname&&(e.rotate=!g);e.equalSpacing=m.equalSpacing;e.minPeriod=m.minPeriod;e.startOnAxis=m.startOnAxis;e.width=k-1;e.height=l;e.gridCount=a.gridCount;e.gridColor=a.gridColor;e.gridAlpha=a.gridAlpha;e.color=a.color;
270
+ e.tickLength=0;e.axisAlpha=0;e.autoGridCount=a.autoGridCount;e.parseDates&&!e.equalSpacing&&e.timeZoom(b.firstTime,b.lastTime);e.minimum=a.gridAxis.fullMin;e.maximum=a.gridAxis.fullMax;e.strictMinMax=!0;e.zoom(0,c.length-1);if((m=a.graph)&&a.catScrollbar){var q=a.valueAxis,p=m.valueAxis;q.id=p.id;q.rotate=g;q.setOrientation(g);q.width=k;q.height=l;q.dataProvider=c;q.reversed=p.reversed;q.logarithmic=p.logarithmic;q.gridAlpha=0;q.axisAlpha=0;n.push(q.set);g?(q.y=h,q.x=0):(q.x=f,q.y=0);var f=Infinity,
271
+ h=-Infinity,t;for(t=0;t<c.length;t++){var r=c[t].axes[p.id].graphs[m.id].values,w;for(w in r)if(r.hasOwnProperty(w)&&"percents"!=w&&"total"!=w){var z=r[w];z<f&&(f=z);z>h&&(h=z)}}Infinity!=f&&(q.minimum=f);-Infinity!=h&&(q.maximum=h+.1*(h-f));f==h&&(--q.minimum,q.maximum+=1);void 0!==a.minimum&&(q.minimum=a.minimum);void 0!==a.maximum&&(q.maximum=a.maximum);q.zoom(0,c.length-1);w=a.unselectedGraph;w.id=m.id;w.bcn="scrollbar-graph-";w.rotate=g;w.chart=b;w.data=c;w.valueAxis=q;w.chart=m.chart;w.categoryAxis=
272
+ a.categoryAxis;w.periodSpan=m.periodSpan;w.valueField=m.valueField;w.openField=m.openField;w.closeField=m.closeField;w.highField=m.highField;w.lowField=m.lowField;w.lineAlpha=a.graphLineAlpha;w.lineColorR=a.graphLineColor;w.fillAlphas=a.graphFillAlpha;w.fillColorsR=a.graphFillColor;w.connect=m.connect;w.hidden=m.hidden;w.width=k;w.height=l;w.pointPosition=m.pointPosition;w.stepDirection=m.stepDirection;w.periodSpan=m.periodSpan;p=a.selectedGraph;p.id=m.id;p.bcn=w.bcn+"selected-";p.rotate=g;p.chart=
273
+ b;p.data=c;p.valueAxis=q;p.chart=m.chart;p.categoryAxis=e;p.periodSpan=m.periodSpan;p.valueField=m.valueField;p.openField=m.openField;p.closeField=m.closeField;p.highField=m.highField;p.lowField=m.lowField;p.lineAlpha=a.selectedGraphLineAlpha;p.lineColorR=a.selectedGraphLineColor;p.fillAlphas=a.selectedGraphFillAlpha;p.fillColorsR=a.selectedGraphFillColor;p.connect=m.connect;p.hidden=m.hidden;p.width=k;p.height=l;p.pointPosition=m.pointPosition;p.stepDirection=m.stepDirection;p.periodSpan=m.periodSpan;
274
+ b=a.graphType;b||(b=m.type);w.type=b;p.type=b;c=c.length-1;w.zoom(0,c);p.zoom(0,c);p.set.click(function(){a.handleBackgroundClick()}).mouseover(function(){a.handleMouseOver()}).mouseout(function(){a.handleMouseOut()});w.set.click(function(){a.handleBackgroundClick()}).mouseover(function(){a.handleMouseOver()}).mouseout(function(){a.handleMouseOut()});n.push(w.set);n.push(p.set)}n.push(e.set);n.push(e.labelsSet);a.bg.toBack();a.invisibleBg.toFront();a.dragger.toFront();a.iconLeft.toFront();a.iconRight.toFront()}},
275
+ timeZoom:function(a,b,c){this.startTime=a;this.endTime=b;this.timeDifference=b-a;this.skipEvent=!d.toBoolean(c);this.zoomScrollbar();this.dispatchScrollbarEvent()},zoom:function(a,b){this.start=a;this.end=b;this.skipEvent=!0;this.zoomScrollbar()},dispatchScrollbarEvent:function(){if(this.categoryAxis&&"ValueAxis"==this.categoryAxis.cname)d.ChartScrollbar.base.dispatchScrollbarEvent.call(this);else if(this.skipEvent)this.skipEvent=!1;else{var a=this.chart.chartData,b,c,e=this.dragger.getBBox();b=e.x;
276
+ var g=e.y,f=e.width,e=e.height,h=this.chart;this.rotate?(b=g,c=e):c=f;f={type:"zoomed",target:this};f.chart=h;var k=this.categoryAxis,l=this.stepWidth,g=h.minSelectedTime,e=h.maxSelectedTime,m=!1;if(k.parseDates&&!k.equalSpacing){if(a=h.lastTime,h=h.firstTime,k=Math.round(b/l)+h,b=this.dragging?k+this.timeDifference:Math.round((b+c)/l)+h,k>b&&(k=b),0<g&&b-k<g&&(b=Math.round(k+(b-k)/2),m=Math.round(g/2),k=b-m,b+=m,m=!0),0<e&&b-k>e&&(b=Math.round(k+(b-k)/2),m=Math.round(e/2),k=b-m,b+=m,m=!0),b>a&&(b=
277
+ a),b-g<k&&(k=b-g),k<h&&(k=h),k+g>b&&(b=k+g),k!=this.startTime||b!=this.endTime)this.startTime=k,this.endTime=b,f.start=k,f.end=b,f.startDate=new Date(k),f.endDate=new Date(b),this.fire(f)}else{k.startOnAxis||(b+=l/2);c-=this.stepWidth/2;g=k.xToIndex(b);b=k.getCoordinate(g)-this.stepWidth/2;b=k.xToIndex(b+c);if(g!=this.start||this.end!=b)k.startOnAxis&&(this.resizingRight&&g==b&&b++,this.resizingLeft&&g==b&&(0<g?g--:b=1)),this.start=g,this.end=this.dragging?this.start+this.difference:b,f.start=this.start,
278
+ f.end=this.end,k.parseDates&&(a[this.start]&&(f.startDate=new Date(a[this.start].time)),a[this.end]&&(f.endDate=new Date(a[this.end].time))),this.fire(f);this.percentStart=g;this.percentEnd=b}m&&this.zoomScrollbar(!0)}},zoomScrollbar:function(a){if((!(this.dragging||this.resizingLeft||this.resizingRight||this.animating)||a)&&this.dragger&&this.enabled){var b,c,d=this.chart;a=d.chartData;var g=this.categoryAxis;g.parseDates&&!g.equalSpacing?(a=g.stepWidth,c=d.firstTime,b=a*(this.startTime-c),c=a*(this.endTime-
279
+ c)):(a[this.start]&&(b=a[this.start].x[g.id]),a[this.end]&&(c=a[this.end].x[g.id]),a=g.stepWidth,g.startOnAxis||(d=a/2,b-=d,c+=d));this.stepWidth=a;isNaN(b)||isNaN(c)||this.updateScrollbarSize(b,c)}},maskGraphs:function(a,b,c,d){var g=this.selectedGraph;g&&g.set.clipRect(a,b,c,d)},handleDragStart:function(){d.ChartScrollbar.base.handleDragStart.call(this);this.difference=this.end-this.start;this.timeDifference=this.endTime-this.startTime;0>this.timeDifference&&(this.timeDifference=0)},handleBackgroundClick:function(){d.ChartScrollbar.base.handleBackgroundClick.call(this);
280
+ this.dragging||(this.difference=this.end-this.start,this.timeDifference=this.endTime-this.startTime,0>this.timeDifference&&(this.timeDifference=0))}})})();(function(){var d=window.AmCharts;d.AmBalloon=d.Class({construct:function(a){this.cname="AmBalloon";this.enabled=!0;this.fillColor="#FFFFFF";this.fillAlpha=.8;this.borderThickness=2;this.borderColor="#FFFFFF";this.borderAlpha=1;this.cornerRadius=0;this.maxWidth=220;this.horizontalPadding=8;this.verticalPadding=4;this.pointerWidth=6;this.pointerOrientation="V";this.color="#000000";this.adjustBorderColor=!0;this.show=this.follow=this.showBullet=!1;this.bulletSize=3;this.shadowAlpha=.4;this.shadowColor=
281
+ "#000000";this.fadeOutDuration=this.animationDuration=.3;this.fixedPosition=!0;this.offsetY=6;this.offsetX=1;this.textAlign="center";this.disableMouseEvents=!0;this.deltaSignX=this.deltaSignY=1;d.isModern||(this.offsetY*=1.5);this.sdy=this.sdx=0;d.applyTheme(this,a,this.cname)},draw:function(){var a=this.pointToX,b=this.pointToY;d.isModern||(this.drop=!1);var c=this.chart;d.VML&&(this.fadeOutDuration=0);this.xAnim&&c.stopAnim(this.xAnim);this.yAnim&&c.stopAnim(this.yAnim);this.sdy=this.sdx=0;if(!isNaN(a)){var e=
282
+ this.follow,g=c.container,f=this.set;d.remove(f);this.removeDiv();f=g.set();f.node.style.pointerEvents="none";this.set=f;this.mainSet?(this.mainSet.push(this.set),this.sdx=this.mainSet.x,this.sdy=this.mainSet.y):c.balloonsSet.push(f);if(this.show){var h=this.l,k=this.t,l=this.r,m=this.b,n=this.balloonColor,q=this.fillColor,p=this.borderColor,t=q;void 0!=n&&(this.adjustBorderColor?t=p=n:q=n);var r=this.horizontalPadding,w=this.verticalPadding,z=this.pointerWidth,x=this.pointerOrientation,u=this.cornerRadius,
283
+ A=c.fontFamily,y=this.fontSize;void 0==y&&(y=c.fontSize);var n=document.createElement("div"),B=c.classNamePrefix;n.className=B+"-balloon-div";this.className&&(n.className=n.className+" "+B+"-balloon-div-"+this.className);B=n.style;this.disableMouseEvents&&(B.pointerEvents="none");B.position="absolute";var D=this.minWidth,C=document.createElement("div");n.appendChild(C);var I=C.style;isNaN(D)||(I.minWidth=D-2*r+"px");I.textAlign=this.textAlign;I.maxWidth=this.maxWidth+"px";I.fontSize=y+"px";I.color=
284
+ this.color;I.fontFamily=A;C.innerHTML=this.text;c.chartDiv.appendChild(n);this.textDiv=n;var I=n.offsetWidth,H=n.offsetHeight;n.clientHeight&&(I=n.clientWidth,H=n.clientHeight);A=H+2*w;C=I+2*r;!isNaN(D)&&C<D&&(C=D);window.opera&&(A+=2);var Q=!1,y=this.offsetY;c.handDrawn&&(y+=c.handDrawScatter+2);"H"!=x?(D=a-C/2,b<k+A+10&&"down"!=x?(Q=!0,e&&(b+=y),y=b+z,this.deltaSignY=-1):(e&&(b-=y),y=b-A-z,this.deltaSignY=1)):(2*z>A&&(z=A/2),y=b-A/2,a<h+(l-h)/2?(D=a+z,this.deltaSignX=-1):(D=a-C-z,this.deltaSignX=
285
+ 1));y+A>=m&&(y=m-A);y<k&&(y=k);D<h&&(D=h);D+C>l&&(D=l-C);var k=y+w,m=D+r,M=this.shadowAlpha,P=this.shadowColor,r=this.borderThickness,ia=this.bulletSize,J,w=this.fillAlpha,aa=this.borderAlpha;this.showBullet&&(J=d.circle(g,ia,t,w),f.push(J));this.drop?(h=C/1.6,l=0,"V"==x&&(x="down"),"H"==x&&(x="left"),"down"==x&&(D=a+1,y=b-h-h/3),"up"==x&&(l=180,D=a+1,y=b+h+h/3),"left"==x&&(l=270,D=a+h+h/3+2,y=b),"right"==x&&(l=90,D=a-h-h/3+2,y=b),k=y-H/2+1,m=D-I/2-1,q=d.drop(g,h,l,q,w,r,p,aa)):0<u||0===z?(0<M&&(a=
286
+ d.rect(g,C,A,q,0,r+1,P,M,u),d.isModern?a.translate(1,1):a.translate(4,4),f.push(a)),q=d.rect(g,C,A,q,w,r,p,aa,u)):(t=[],u=[],"H"!=x?(h=a-D,h>C-z&&(h=C-z),h<z&&(h=z),t=[0,h-z,a-D,h+z,C,C,0,0],u=Q?[0,0,b-y,0,0,A,A,0]:[A,A,b-y,A,A,0,0,A]):(x=b-y,x>A-z&&(x=A-z),x<z&&(x=z),u=[0,x-z,b-y,x+z,A,A,0,0],t=a<h+(l-h)/2?[0,0,D<a?0:a-D,0,0,C,C,0]:[C,C,D+C>a?C:a-D,C,C,0,0,C]),0<M&&(a=d.polygon(g,t,u,q,0,r,P,M),a.translate(1,1),f.push(a)),q=d.polygon(g,t,u,q,w,r,p,aa));this.bg=q;f.push(q);q.toFront();d.setCN(c,q,
287
+ "balloon-bg");this.className&&d.setCN(c,q,"balloon-bg-"+this.className);g=1*this.deltaSignX;m+=this.sdx;k+=this.sdy;B.left=m+"px";B.top=k+"px";f.translate(D-g,y,1,!0);q=q.getBBox();this.bottom=y+A+1;this.yPos=q.y+y;J&&J.translate(this.pointToX-D+g,b-y);b=this.animationDuration;0<this.animationDuration&&!e&&!isNaN(this.prevX)&&(f.translate(this.prevX,this.prevY,NaN,!0),f.animate({translate:D-g+","+y},b,"easeOutSine"),n&&(B.left=this.prevTX+"px",B.top=this.prevTY+"px",this.xAnim=c.animate({node:n},
288
+ "left",this.prevTX,m,b,"easeOutSine","px"),this.yAnim=c.animate({node:n},"top",this.prevTY,k,b,"easeOutSine","px")));this.prevX=D-g;this.prevY=y;this.prevTX=m;this.prevTY=k}}},fixPrevious:function(){this.rPrevX=this.prevX;this.rPrevY=this.prevY;this.rPrevTX=this.prevTX;this.rPrevTY=this.prevTY},restorePrevious:function(){this.prevX=this.rPrevX;this.prevY=this.rPrevY;this.prevTX=this.rPrevTX;this.prevTY=this.rPrevTY},followMouse:function(){if(this.follow&&this.show){var a=this.chart.mouseX-this.offsetX*
289
+ this.deltaSignX-this.sdx,b=this.chart.mouseY-this.sdy;this.pointToX=a;this.pointToY=b;if(a!=this.previousX||b!=this.previousY)if(this.previousX=a,this.previousY=b,0===this.cornerRadius)this.draw();else{var c=this.set;if(c){var d=c.getBBox(),a=a-d.width/2,g=b-d.height-10;a<this.l&&(a=this.l);a>this.r-d.width&&(a=this.r-d.width);g<this.t&&(g=b+10);c.translate(a,g);b=this.textDiv.style;b.left=a+this.horizontalPadding+"px";b.top=g+this.verticalPadding+"px"}}}},changeColor:function(a){this.balloonColor=
290
+ a},setBounds:function(a,b,c,d){this.l=a;this.t=b;this.r=c;this.b=d;this.destroyTO&&clearTimeout(this.destroyTO)},showBalloon:function(a){if(this.text!=a||this.positionChanged)this.text=a,this.isHiding=!1,this.show=!0,this.destroyTO&&clearTimeout(this.destroyTO),a=this.chart,this.fadeAnim1&&a.stopAnim(this.fadeAnim1),this.fadeAnim2&&a.stopAnim(this.fadeAnim2),this.draw(),this.positionChanged=!1},hide:function(a){var b=this;b.text=void 0;isNaN(a)&&(a=b.fadeOutDuration);var c=b.chart;if(0<a&&!b.isHiding){b.isHiding=
291
+ !0;b.destroyTO&&clearTimeout(b.destroyTO);b.destroyTO=setTimeout(function(){b.destroy.call(b)},1E3*a);b.follow=!1;b.show=!1;var d=b.set;d&&(d.setAttr("opacity",b.fillAlpha),b.fadeAnim1=d.animate({opacity:0},a,"easeInSine"));b.textDiv&&(b.fadeAnim2=c.animate({node:b.textDiv},"opacity",1,0,a,"easeInSine",""))}else b.show=!1,b.follow=!1,b.destroy()},setPosition:function(a,b){if(a!=this.pointToX||b!=this.pointToY)this.previousX=this.pointToX,this.previousY=this.pointToY,this.pointToX=a,this.pointToY=
292
+ b,this.positionChanged=!0},followCursor:function(a){var b=this;b.follow=a;clearInterval(b.interval);var c=b.chart.mouseX-b.sdx,d=b.chart.mouseY-b.sdy;!isNaN(c)&&a&&(b.pointToX=c-b.offsetX*b.deltaSignX,b.pointToY=d,b.followMouse(),b.interval=setInterval(function(){b.followMouse.call(b)},40))},removeDiv:function(){if(this.textDiv){var a=this.textDiv.parentNode;a&&a.removeChild(this.textDiv)}},destroy:function(){clearInterval(this.interval);d.remove(this.set);this.removeDiv();this.set=null}})})();(function(){var d=window.AmCharts;d.AmCoordinateChart=d.Class({inherits:d.AmChart,construct:function(a){d.AmCoordinateChart.base.construct.call(this,a);this.theme=a;this.createEvents("rollOverGraphItem","rollOutGraphItem","clickGraphItem","doubleClickGraphItem","rightClickGraphItem","clickGraph","rollOverGraph","rollOutGraph");this.startAlpha=1;this.startDuration=0;this.startEffect="elastic";this.sequencedAnimation=!0;this.colors="#FF6600 #FCD202 #B0DE09 #0D8ECF #2A0CD0 #CD0D74 #CC0000 #00CC00 #0000CC #DDDDDD #999999 #333333 #990000".split(" ");
293
+ this.balloonDateFormat="MMM DD, YYYY";this.valueAxes=[];this.graphs=[];this.guides=[];this.gridAboveGraphs=!1;d.applyTheme(this,a,"AmCoordinateChart")},initChart:function(){d.AmCoordinateChart.base.initChart.call(this);this.drawGraphs=!0;var a=this.categoryAxis;a&&(this.categoryAxis=d.processObject(a,d.CategoryAxis,this.theme));this.processValueAxes();this.createValueAxes();this.processGraphs();this.processGuides();d.VML&&(this.startAlpha=1);this.setLegendData(this.graphs);this.gridAboveGraphs&&(this.gridSet.toFront(),
294
+ this.bulletSet.toFront(),this.balloonsSet.toFront())},createValueAxes:function(){if(0===this.valueAxes.length){var a=new d.ValueAxis;this.addValueAxis(a)}},parseData:function(){this.processValueAxes();this.processGraphs()},parseSerialData:function(a){this.chartData=[];if(a)if(0<this.processTimeout){1>this.processCount&&(this.processCount=1);var b=a.length/this.processCount;this.parseCount=Math.ceil(b)-1;for(var c=0;c<b;c++)this.delayParseSerialData(a,c)}else this.parseCount=0,this.parsePartSerialData(a,
295
+ 0,a.length,0);else this.onDataUpdated()},delayParseSerialData:function(a,b){var c=this,d=c.processCount;setTimeout(function(){c.parsePartSerialData.call(c,a,b*d,(b+1)*d,b)},c.processTimeout)},parsePartSerialData:function(a,b,c,e){c>a.length&&(c=a.length);var g=this.graphs,f={},h=this.seriesIdField;h||(h=this.categoryField);var k=!1,l,m=this.categoryAxis,n,q,p;m&&(k=m.parseDates,n=m.forceShowField,p=m.classNameField,q=m.labelColorField,l=m.categoryFunction);var t,r,w={},z;k&&(t=d.extractPeriod(m.minPeriod),
296
+ r=t.period,t=t.count,z=d.getPeriodDuration(r,t));var x={};this.lookupTable=x;var u,A=this.dataDateFormat,y={};for(u=b;u<c;u++){var B={},D=a[u];b=D[this.categoryField];B.dataContext=D;B.category=l?l(b,D,m):String(b);n&&(B.forceShow=D[n]);p&&(B.className=D[p]);q&&(B.labelColor=D[q]);x[D[h]]=B;if(k&&(m.categoryFunction?b=m.categoryFunction(b,D,m):(!A||b instanceof Date||(b=b.toString()+" |"),b=d.getDate(b,A,m.minPeriod)),b=d.resetDateToMin(b,r,t,m.firstDayOfWeek),B.category=b,B.time=b.getTime(),isNaN(B.time)))continue;
297
+ var C=this.valueAxes;B.axes={};B.x={};var I;for(I=0;I<C.length;I++){var H=C[I].id;B.axes[H]={};B.axes[H].graphs={};var Q;for(Q=0;Q<g.length;Q++){b=g[Q];var M=b.id,P=1.1;isNaN(b.gapPeriod)||(P=b.gapPeriod);var ia=b.periodValue;if(b.valueAxis.id==H){B.axes[H].graphs[M]={};var J={};J.index=u;var aa=D;b.dataProvider&&(aa=f);J.values=this.processValues(aa,b,ia);if(!b.connect||b.forceGap&&!isNaN(b.gapPeriod))if(y&&y[M]&&0<P&&B.time-w[M]>=z*P&&(y[M].gap=!0),b.forceGap){var P=0,ma;for(ma in J.values)P++;
298
+ 0<P&&(w[M]=B.time,y[M]=J)}else w[M]=B.time,y[M]=J;this.processFields(b,J,aa);J.category=B.category;J.serialDataItem=B;J.graph=b;B.axes[H].graphs[M]=J}}}this.chartData[u]=B}if(this.parseCount==e){for(a=0;a<g.length;a++)b=g[a],b.dataProvider&&this.parseGraphData(b);this.dataChanged=!1;this.dispatchDataUpdated=!0;this.onDataUpdated()}},processValues:function(a,b,c){var e={},g,f=!1;"candlestick"!=b.type&&"ohlc"!=b.type||""===c||(f=!0);for(var h="value error open close low high".split(" "),k=0;k<h.length;k++){var l=
299
+ h[k];"value"!=l&&"error"!=l&&f&&(c=l.charAt(0).toUpperCase()+l.slice(1));var m=a[b[l+"Field"]+c];null!==m&&(g=Number(m),isNaN(g)||(e[l]=g),"date"==b.valueAxis.type&&void 0!==m&&(g=d.getDate(m,b.chart.dataDateFormat),e[l]=g.getTime()))}return e},parseGraphData:function(a){var b=a.dataProvider,c=a.seriesIdField;c||(c=this.seriesIdField);c||(c=this.categoryField);var d;for(d=0;d<b.length;d++){var g=b[d],f=this.lookupTable[String(g[c])],h=a.valueAxis.id;f&&(h=f.axes[h].graphs[a.id],h.serialDataItem=f,
300
+ h.values=this.processValues(g,a,a.periodValue),this.processFields(a,h,g))}},addValueAxis:function(a){a.chart=this;this.valueAxes.push(a);this.validateData()},removeValueAxesAndGraphs:function(){var a=this.valueAxes,b;for(b=a.length-1;-1<b;b--)this.removeValueAxis(a[b])},removeValueAxis:function(a){var b=this.graphs,c;for(c=b.length-1;0<=c;c--){var d=b[c];d&&d.valueAxis==a&&this.removeGraph(d)}b=this.valueAxes;for(c=b.length-1;0<=c;c--)b[c]==a&&b.splice(c,1);this.validateData()},addGraph:function(a){this.graphs.push(a);
301
+ this.chooseGraphColor(a,this.graphs.length-1);this.validateData()},removeGraph:function(a){var b=this.graphs,c;for(c=b.length-1;0<=c;c--)b[c]==a&&(b.splice(c,1),a.destroy());this.validateData()},handleValueAxisZoom:function(){},processValueAxes:function(){var a=this.valueAxes,b;for(b=0;b<a.length;b++){var c=a[b],c=d.processObject(c,d.ValueAxis,this.theme);a[b]=c;c.chart=this;c.init();this.listenTo(c,"axisIntZoomed",this.handleValueAxisZoom);c.id||(c.id="valueAxisAuto"+b+"_"+(new Date).getTime());
302
+ void 0===c.usePrefixes&&(c.usePrefixes=this.usePrefixes)}},processGuides:function(){var a=this.guides,b=this.categoryAxis;if(a)for(var c=0;c<a.length;c++){var e=a[c];(void 0!==e.category||void 0!==e.date)&&b&&b.addGuide(e);e.id||(e.id="guideAuto"+c+"_"+(new Date).getTime());var g=e.valueAxis;g?(d.isString(g)&&(g=this.getValueAxisById(g)),g?g.addGuide(e):this.valueAxes[0].addGuide(e)):isNaN(e.value)||this.valueAxes[0].addGuide(e)}},processGraphs:function(){var a=this.graphs,b;this.graphsById={};for(b=
303
+ 0;b<a.length;b++){var c=a[b],c=d.processObject(c,d.AmGraph,this.theme);a[b]=c;this.chooseGraphColor(c,b);c.chart=this;c.init();d.isString(c.valueAxis)&&(c.valueAxis=this.getValueAxisById(c.valueAxis));c.valueAxis||(c.valueAxis=this.valueAxes[0]);c.id||(c.id="graphAuto"+b+"_"+(new Date).getTime());this.graphsById[c.id]=c}},formatString:function(a,b,c){var e=b.graph,g=e.valueAxis;if(g.duration&&g.maxInterval&&b.values.value){var f=g.numberFormatter;f||(f=chart.nf);g=d.formatDuration(b.values.value,
304
+ g.duration,"",g.durationUnits,g.maxInterval,f);a=a.split("[[value]]").join(g)}a=d.massReplace(a,{"[[title]]":e.title,"[[description]]":b.description});a=c?d.fixNewLines(a):d.fixBrakes(a);return a=d.cleanFromEmpty(a)},getBalloonColor:function(a,b,c){var e=a.lineColor,g=a.balloonColor;c&&(g=e);c=a.fillColorsR;"object"==typeof c?e=c[0]:void 0!==c&&(e=c);b.isNegative&&(c=a.negativeLineColor,a=a.negativeFillColors,"object"==typeof a?c=a[0]:void 0!==a&&(c=a),void 0!==c&&(e=c));void 0!==b.color&&(e=b.color);
305
+ void 0!==b.lineColor&&(e=b.lineColor);b=b.fillColors;void 0!==b&&(e=b,d.ifArray(b)&&(e=b[0]));void 0===g&&(g=e);return g},getGraphById:function(a){return d.getObjById(this.graphs,a)},getValueAxisById:function(a){return d.getObjById(this.valueAxes,a)},processFields:function(a,b,c){if(a.itemColors){var e=a.itemColors,g=b.index;b.color=g<e.length?e[g]:d.randomColor()}e="lineColor color alpha fillColors description bullet customBullet bulletSize bulletConfig url labelColor dashLength pattern gap className columnIndex".split(" ");
306
+ for(g=0;g<e.length;g++){var f=e[g],h=a[f+"Field"];h&&(h=c[h],d.isDefined(h)&&(b[f]=h))}b.dataContext=c},chooseGraphColor:function(a,b){if(a.lineColor)a.lineColorR=a.lineColor;else{var c;c=this.colors.length>b?this.colors[b]:a.lineColorR?a.lineColorR:d.randomColor();a.lineColorR=c}a.fillColorsR=a.fillColors?a.fillColors:a.lineColorR;a.bulletBorderColorR=a.bulletBorderColor?a.bulletBorderColor:a.useLineColorForBulletBorder?a.lineColorR:a.bulletColor;a.bulletColorR=a.bulletColor?a.bulletColor:a.lineColorR;
307
+ if(c=this.patterns)a.pattern=c[b]},handleLegendEvent:function(a){var b=a.type;if(a=a.dataItem){var c=a.hidden,d=a.showBalloon;switch(b){case "clickMarker":this.textClickEnabled&&(d?this.hideGraphsBalloon(a):this.showGraphsBalloon(a));break;case "clickLabel":d?this.hideGraphsBalloon(a):this.showGraphsBalloon(a);break;case "rollOverItem":c||this.highlightGraph(a);break;case "rollOutItem":c||this.unhighlightGraph();break;case "hideItem":this.hideGraph(a);break;case "showItem":this.showGraph(a)}}},highlightGraph:function(a){var b=
308
+ this.graphs;if(b){var c,d=.2;this.legend&&(d=this.legend.rollOverGraphAlpha);if(1!=d)for(c=0;c<b.length;c++){var g=b[c];g!=a&&g.changeOpacity(d)}}},unhighlightGraph:function(){var a;this.legend&&(a=this.legend.rollOverGraphAlpha);if(1!=a){a=this.graphs;var b;for(b=0;b<a.length;b++)a[b].changeOpacity(1)}},showGraph:function(a){a.switchable&&(a.hidden=!1,this.dataChanged=!0,"xy"!=this.type&&(this.marginsUpdated=!1),this.chartCreated&&this.initChart())},hideGraph:function(a){a.switchable&&(this.dataChanged=
309
+ !0,"xy"!=this.type&&(this.marginsUpdated=!1),a.hidden=!0,this.chartCreated&&this.initChart())},hideGraphsBalloon:function(a){a.showBalloon=!1;this.updateLegend()},showGraphsBalloon:function(a){a.showBalloon=!0;this.updateLegend()},updateLegend:function(){this.legend&&this.legend.invalidateSize()},resetAnimation:function(){this.animatable=[];var a=this.graphs;if(a){var b;for(b=0;b<a.length;b++)a[b].animationPlayed=!1}},animateAgain:function(){this.resetAnimation();this.validateNow()}})})();(function(){var d=window.AmCharts;d.TrendLine=d.Class({construct:function(a){this.cname="TrendLine";this.createEvents("click","rollOver","rollOut");this.isProtected=!1;this.dashLength=0;this.lineColor="#00CC00";this.lineThickness=this.lineAlpha=1;d.applyTheme(this,a,this.cname)},draw:function(){var a=this;a.destroy();var b=a.chart,c=b.container,e,g,f,h,k=a.categoryAxis,l=a.initialDate,m=a.initialCategory,n=a.finalDate,q=a.finalCategory,p=a.valueAxis,t=a.valueAxisX,r=a.initialXValue,w=a.finalXValue,
310
+ z=a.initialValue,x=a.finalValue,u=p.recalculateToPercents,A=b.dataDateFormat;k&&(l&&(l=d.getDate(l,A,"fff"),a.initialDate=l,e=k.dateToCoordinate(l)),m&&(e=k.categoryToCoordinate(m)),n&&(n=d.getDate(n,A,"fff"),a.finalDate=n,g=k.dateToCoordinate(n)),q&&(g=k.categoryToCoordinate(q)));t&&!u&&(isNaN(r)||(e=t.getCoordinate(r)),isNaN(w)||(g=t.getCoordinate(w)));p&&!u&&(isNaN(z)||(f=p.getCoordinate(z)),isNaN(x)||(h=p.getCoordinate(x)));if(!(isNaN(e)||isNaN(g)||isNaN(f)||isNaN(f))){b.rotate?(k=[f,h],h=[e,
311
+ g]):(k=[e,g],h=[f,h]);f=d.line(c,k,h,a.lineColor,a.lineAlpha,a.lineThickness,a.dashLength);e=k;g=h;n=k[1]-k[0];q=h[1]-h[0];0===n&&(n=.01);0===q&&(q=.01);l=n/Math.abs(n);m=q/Math.abs(q);q=90*Math.PI/180-Math.asin(n/(n*q/Math.abs(n*q)*Math.sqrt(Math.pow(n,2)+Math.pow(q,2))));n=Math.abs(5*Math.cos(q));q=Math.abs(5*Math.sin(q));e.push(k[1]-l*q,k[0]-l*q);g.push(h[1]+m*n,h[0]+m*n);h=d.polygon(c,e,g,"#ffffff",.005,0);c=c.set([h,f]);c.translate(b.marginLeftReal,b.marginTopReal);b.trendLinesSet.push(c);d.setCN(b,
312
+ f,"trend-line");d.setCN(b,f,"trend-line-"+a.id);a.line=f;a.set=c;if(f=a.initialImage)f=d.processObject(f,d.Image,a.theme),f.chart=b,f.draw(),f.translate(e[0]+f.offsetX,g[0]+f.offsetY),c.push(f.set);if(f=a.finalImage)f=d.processObject(f,d.Image,a.theme),f.chart=b,f.draw(),f.translate(e[1]+f.offsetX,g[1]+f.offsetY),c.push(f.set);c.mouseup(function(){a.handleLineClick()}).mouseover(function(){a.handleLineOver()}).mouseout(function(){a.handleLineOut()});c.touchend&&c.touchend(function(){a.handleLineClick()});
313
+ c.clipRect(0,0,b.plotAreaWidth,b.plotAreaHeight)}},handleLineClick:function(){this.fire({type:"click",trendLine:this,chart:this.chart})},handleLineOver:function(){var a=this.rollOverColor;void 0!==a&&this.line.attr({stroke:a});this.balloonText&&(clearTimeout(this.chart.hoverInt),a=this.line.getBBox(),this.chart.showBalloon(this.balloonText,this.lineColor,!0,this.x+a.x+a.width/2,this.y+a.y+a.height/2));this.fire({type:"rollOver",trendLine:this,chart:this.chart})},handleLineOut:function(){this.line.attr({stroke:this.lineColor});
314
+ this.balloonText&&this.chart.hideBalloon();this.fire({type:"rollOut",trendLine:this,chart:this.chart})},destroy:function(){d.remove(this.set)}})})();(function(){var d=window.AmCharts;d.Image=d.Class({construct:function(a){this.cname="Image";this.height=this.width=20;this.rotation=this.offsetY=this.offsetX=0;this.balloonColor=this.color="#000000";this.opacity=1;d.applyTheme(this,a,this.cname)},draw:function(){var a=this;a.set&&a.set.remove();var b=a.chart.container;a.set=b.set();var c,d;a.url?(c=b.image(a.url,0,0,a.width,a.height),d=1):a.svgPath&&(c=b.path(a.svgPath),c.setAttr("fill",a.color),c.setAttr("stroke",a.outlineColor),b=c.getBBox(),d=
315
+ Math.min(a.width/b.width,a.height/b.height));c&&(c.setAttr("opacity",a.opacity),a.set.rotate(a.rotation),c.translate(-a.width/2,-a.height/2,d),a.balloonText&&c.mouseover(function(){a.chart.showBalloon(a.balloonText,a.balloonColor,!0)}).mouseout(function(){a.chart.hideBalloon()}).touchend(function(){a.chart.hideBalloon()}).touchstart(function(){a.chart.showBalloon(a.balloonText,a.balloonColor,!0)}),a.set.push(c))},translate:function(a,b){this.set&&this.set.translate(a,b)}})})();(function(){var d=window.AmCharts;d.circle=function(a,b,c,e,g,f,h,k,l){0>=b&&(b=.001);if(void 0==g||0===g)g=.01;void 0===f&&(f="#000000");void 0===h&&(h=0);e={fill:c,stroke:f,"fill-opacity":e,"stroke-width":g,"stroke-opacity":h};a=isNaN(l)?a.circle(0,0,b).attr(e):a.ellipse(0,0,b,l).attr(e);k&&a.gradient("radialGradient",[c,d.adjustLuminosity(c,-.6)]);return a};d.text=function(a,b,c,e,g,f,h,k){f||(f="middle");"right"==f&&(f="end");"left"==f&&(f="start");isNaN(k)&&(k=1);void 0!==b&&(b=String(b),d.isIE&&
316
+ !d.isModern&&(b=b.replace("&amp;","&"),b=b.replace("&","&amp;")));c={fill:c,"font-family":e,"font-size":g+"px",opacity:k};!0===h&&(c["font-weight"]="bold");c["text-anchor"]=f;return a.text(b,c)};d.polygon=function(a,b,c,e,g,f,h,k,l,m,n){isNaN(f)&&(f=.01);isNaN(k)&&(k=g);var q=e,p=!1;"object"==typeof q&&1<q.length&&(p=!0,q=q[0]);void 0===h&&(h=q);g={fill:q,stroke:h,"fill-opacity":g,"stroke-width":f,"stroke-opacity":k};void 0!==n&&0<n&&(g["stroke-dasharray"]=n);n=d.dx;f=d.dy;a.handDrawn&&(c=d.makeHD(b,
317
+ c,a.handDrawScatter),b=c[0],c=c[1]);h=Math.round;m&&(h=Number);k="M"+(h(b[0])+n)+","+(h(c[0])+f);for(q=1;q<b.length;q++)m&&(b[q]=d.roundTo(b[q],5),c[q]=d.roundTo(c[q],5)),k+=" L"+(h(b[q])+n)+","+(h(c[q])+f);a=a.path(k+" Z").attr(g);p&&a.gradient("linearGradient",e,l);return a};d.rect=function(a,b,c,e,g,f,h,k,l,m,n){if(isNaN(b)||isNaN(c))return a.set();isNaN(f)&&(f=0);void 0===l&&(l=0);void 0===m&&(m=270);isNaN(g)&&(g=0);var q=e,p=!1;"object"==typeof q&&(q=q[0],p=!0);void 0===h&&(h=q);void 0===k&&
318
+ (k=g);b=Math.round(b);c=Math.round(c);var t=0,r=0;0>b&&(b=Math.abs(b),t=-b);0>c&&(c=Math.abs(c),r=-c);t+=d.dx;r+=d.dy;g={fill:q,stroke:h,"fill-opacity":g,"stroke-opacity":k};void 0!==n&&0<n&&(g["stroke-dasharray"]=n);a=a.rect(t,r,b,c,l,f).attr(g);p&&a.gradient("linearGradient",e,m);return a};d.bullet=function(a,b,c,e,g,f,h,k,l,m,n,q,p){var t;"circle"==b&&(b="round");switch(b){case "round":t=d.circle(a,c/2,e,g,f,h,k);break;case "square":t=d.polygon(a,[-c/2,c/2,c/2,-c/2],[c/2,c/2,-c/2,-c/2],e,g,f,h,
319
+ k,m-180,void 0,p);break;case "rectangle":t=d.polygon(a,[-c,c,c,-c],[c/2,c/2,-c/2,-c/2],e,g,f,h,k,m-180,void 0,p);break;case "diamond":t=d.polygon(a,[-c/2,0,c/2,0],[0,-c/2,0,c/2],e,g,f,h,k);break;case "triangleUp":t=d.triangle(a,c,0,e,g,f,h,k);break;case "triangleDown":t=d.triangle(a,c,180,e,g,f,h,k);break;case "triangleLeft":t=d.triangle(a,c,270,e,g,f,h,k);break;case "triangleRight":t=d.triangle(a,c,90,e,g,f,h,k);break;case "bubble":t=d.circle(a,c/2,e,g,f,h,k,!0);break;case "line":t=d.line(a,[-c/
320
+ 2,c/2],[0,0],e,g,f,h,k);break;case "yError":t=a.set();t.push(d.line(a,[0,0],[-c/2,c/2],e,g,f));t.push(d.line(a,[-l,l],[-c/2,-c/2],e,g,f));t.push(d.line(a,[-l,l],[c/2,c/2],e,g,f));break;case "xError":t=a.set(),t.push(d.line(a,[-c/2,c/2],[0,0],e,g,f)),t.push(d.line(a,[-c/2,-c/2],[-l,l],e,g,f)),t.push(d.line(a,[c/2,c/2],[-l,l],e,g,f))}t&&t.pattern(n,NaN,q);return t};d.triangle=function(a,b,c,d,g,f,h,k){if(void 0===f||0===f)f=1;void 0===h&&(h="#000");void 0===k&&(k=0);d={fill:d,stroke:h,"fill-opacity":g,
321
+ "stroke-width":f,"stroke-opacity":k};b/=2;var l;0===c&&(l=" M"+-b+","+b+" L0,"+-b+" L"+b+","+b+" Z");180==c&&(l=" M"+-b+","+-b+" L0,"+b+" L"+b+","+-b+" Z");90==c&&(l=" M"+-b+","+-b+" L"+b+",0 L"+-b+","+b+" Z");270==c&&(l=" M"+-b+",0 L"+b+","+b+" L"+b+","+-b+" Z");return a.path(l).attr(d)};d.line=function(a,b,c,e,g,f,h,k,l,m,n){if(a.handDrawn&&!n)return d.handDrawnLine(a,b,c,e,g,f,h,k,l,m,n);f={fill:"none","stroke-width":f};void 0!==h&&0<h&&(f["stroke-dasharray"]=h);isNaN(g)||(f["stroke-opacity"]=
322
+ g);e&&(f.stroke=e);e=Math.round;m&&(e=Number,b[0]=d.roundTo(b[0],5),c[0]=d.roundTo(c[0],5));m=d.dx;g=d.dy;h="M"+(e(b[0])+m)+","+(e(c[0])+g);for(k=1;k<b.length;k++)b[k]=d.roundTo(b[k],5),c[k]=d.roundTo(c[k],5),h+=" L"+(e(b[k])+m)+","+(e(c[k])+g);if(d.VML)return a.path(h,void 0,!0).attr(f);l&&(h+=" M0,0 L0,0");return a.path(h).attr(f)};d.makeHD=function(a,b,c){for(var d=[],g=[],f=1;f<a.length;f++)for(var h=Number(a[f-1]),k=Number(b[f-1]),l=Number(a[f]),m=Number(b[f]),n=Math.round(Math.sqrt(Math.pow(l-
323
+ h,2)+Math.pow(m-k,2))/50)+1,l=(l-h)/n,m=(m-k)/n,q=0;q<=n;q++){var p=k+q*m+Math.random()*c;d.push(h+q*l+Math.random()*c);g.push(p)}return[d,g]};d.handDrawnLine=function(a,b,c,e,g,f,h,k,l,m){var n,q=a.set();for(n=1;n<b.length;n++)for(var p=[b[n-1],b[n]],t=[c[n-1],c[n]],t=d.makeHD(p,t,a.handDrawScatter),p=t[0],t=t[1],r=1;r<p.length;r++)q.push(d.line(a,[p[r-1],p[r]],[t[r-1],t[r]],e,g,f+Math.random()*a.handDrawThickness-a.handDrawThickness/2,h,k,l,m,!0));return q};d.doNothing=function(a){return a};d.drop=
324
+ function(a,b,c,d,g,f,h,k){var l=1/180*Math.PI,m=c-20,n=Math.sin(m*l)*b,q=Math.cos(m*l)*b,p=Math.sin((m+40)*l)*b,t=Math.cos((m+40)*l)*b,r=.8*b,w=-b/3,z=b/3;0===c&&(w=-w,z=0);180==c&&(z=0);90==c&&(w=0);270==c&&(w=0,z=-z);c={fill:d,stroke:h,"stroke-width":f,"stroke-opacity":k,"fill-opacity":g};b="M"+n+","+q+" A"+b+","+b+",0,1,1,"+p+","+t+(" A"+r+","+r+",0,0,0,"+(Math.sin((m+20)*l)*b+z)+","+(Math.cos((m+20)*l)*b+w));b+=" A"+r+","+r+",0,0,0,"+n+","+q;return a.path(b,void 0,void 0,"1000,1000").attr(c)};
325
+ d.wedge=function(a,b,c,e,g,f,h,k,l,m,n,q,p,t){var r=Math.round;f=r(f);h=r(h);k=r(k);var w=r(h/f*k),z=d.VML,x=359.5+f/100;359.94<x&&(x=359.94);g>=x&&(g=x);var u=1/180*Math.PI,x=b+Math.sin(e*u)*k,A=c-Math.cos(e*u)*w,y=b+Math.sin(e*u)*f,B=c-Math.cos(e*u)*h,D=b+Math.sin((e+g)*u)*f,C=c-Math.cos((e+g)*u)*h,I=b+Math.sin((e+g)*u)*k,u=c-Math.cos((e+g)*u)*w,H={fill:d.adjustLuminosity(m.fill,-.2),"stroke-opacity":0,"fill-opacity":m["fill-opacity"]},Q=0;180<Math.abs(g)&&(Q=1);e=a.set();var M;z&&(x=r(10*x),y=
326
+ r(10*y),D=r(10*D),I=r(10*I),A=r(10*A),B=r(10*B),C=r(10*C),u=r(10*u),b=r(10*b),l=r(10*l),c=r(10*c),f*=10,h*=10,k*=10,w*=10,1>Math.abs(g)&&1>=Math.abs(D-y)&&1>=Math.abs(C-B)&&(M=!0));g="";var P;q&&(H["fill-opacity"]=0,H["stroke-opacity"]=m["stroke-opacity"]/2,H.stroke=m.stroke);if(0<l){P=" M"+x+","+(A+l)+" L"+y+","+(B+l);z?(M||(P+=" A"+(b-f)+","+(l+c-h)+","+(b+f)+","+(l+c+h)+","+y+","+(B+l)+","+D+","+(C+l)),P+=" L"+I+","+(u+l),0<k&&(M||(P+=" B"+(b-k)+","+(l+c-w)+","+(b+k)+","+(l+c+w)+","+I+","+(l+u)+
327
+ ","+x+","+(l+A)))):(P+=" A"+f+","+h+",0,"+Q+",1,"+D+","+(C+l)+" L"+I+","+(u+l),0<k&&(P+=" A"+k+","+w+",0,"+Q+",0,"+x+","+(A+l)));P+=" Z";var ia=l;z&&(ia/=10);for(var J=0;J<ia;J+=10){var aa=a.path(P,void 0,void 0,"1000,1000").attr(H);e.push(aa);aa.translate(0,-J)}P=a.path(" M"+x+","+A+" L"+x+","+(A+l)+" L"+y+","+(B+l)+" L"+y+","+B+" L"+x+","+A+" Z",void 0,void 0,"1000,1000").attr(H);l=a.path(" M"+D+","+C+" L"+D+","+(C+l)+" L"+I+","+(u+l)+" L"+I+","+u+" L"+D+","+C+" Z",void 0,void 0,"1000,1000").attr(H);
328
+ e.push(P);e.push(l)}z?(M||(g=" A"+r(b-f)+","+r(c-h)+","+r(b+f)+","+r(c+h)+","+r(y)+","+r(B)+","+r(D)+","+r(C)),h=" M"+r(x)+","+r(A)+" L"+r(y)+","+r(B)+g+" L"+r(I)+","+r(u)):h=" M"+x+","+A+" L"+y+","+B+(" A"+f+","+h+",0,"+Q+",1,"+D+","+C)+" L"+I+","+u;0<k&&(z?M||(h+=" B"+(b-k)+","+(c-w)+","+(b+k)+","+(c+w)+","+I+","+u+","+x+","+A):h+=" A"+k+","+w+",0,"+Q+",0,"+x+","+A);a.handDrawn&&(k=d.line(a,[x,y],[A,B],m.stroke,m.thickness*Math.random()*a.handDrawThickness,m["stroke-opacity"]),e.push(k));a=a.path(h+
329
+ " Z",void 0,void 0,"1000,1000").attr(m);if(n){k=[];for(w=0;w<n.length;w++)k.push(d.adjustLuminosity(m.fill,n[w]));"radial"!=t||d.isModern||(k=[]);0<k.length&&a.gradient(t+"Gradient",k)}d.isModern&&"radial"==t&&a.grad&&(a.grad.setAttribute("gradientUnits","userSpaceOnUse"),a.grad.setAttribute("r",f),a.grad.setAttribute("cx",b),a.grad.setAttribute("cy",c));a.pattern(q,NaN,p);e.wedge=a;e.push(a);return e};d.rgb2hex=function(a){return(a=a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&
330
+ 4===a.length?"#"+("0"+parseInt(a[1],10).toString(16)).slice(-2)+("0"+parseInt(a[2],10).toString(16)).slice(-2)+("0"+parseInt(a[3],10).toString(16)).slice(-2):""};d.adjustLuminosity=function(a,b){a&&-1!=a.indexOf("rgb")&&(a=d.rgb2hex(a));a=String(a).replace(/[^0-9a-f]/gi,"");6>a.length&&(a=String(a[0])+String(a[0])+String(a[1])+String(a[1])+String(a[2])+String(a[2]));b=b||0;var c="#",e,g;for(g=0;3>g;g++)e=parseInt(a.substr(2*g,2),16),e=Math.round(Math.min(Math.max(0,e+e*b),255)).toString(16),c+=("00"+
331
+ e).substr(e.length);return c}})();(function(){var d=window.AmCharts;d.Bezier=d.Class({construct:function(a,b,c,e,g,f,h,k,l,m,n){var q=a.chart,p=d.bezierX,t=d.bezierY;isNaN(q.bezierX)||(p=q.bezierX);isNaN(q.bezierY)||(t=q.bezierY);isNaN(p)&&(q.rotate?(p=20,t=4):(t=20,p=4));var r,w;"object"==typeof h&&1<h.length&&(w=!0,r=h,h=h[0]);"object"==typeof k&&(k=k[0]);0===k&&(h="none");f={fill:h,"fill-opacity":k,"stroke-width":f};void 0!==l&&0<l&&(f["stroke-dasharray"]=l);isNaN(g)||(f["stroke-opacity"]=g);e&&(f.stroke=e);e="M"+Math.round(b[0])+
332
+ ","+Math.round(c[0])+" ";g=[];for(l=0;l<b.length;l++)isNaN(b[l])||isNaN(c[l])?(e+=this.drawSegment(g,p,t),l<b.length-1&&(e+="L"+b[l+1]+","+c[l+1]+" "),g=[]):g.push({x:Number(b[l]),y:Number(c[l])});e+=this.drawSegment(g,p,t);m&&(e+=m);this.path=a.path(e).attr(f);this.node=this.path.node;w&&this.path.gradient("linearGradient",r,n)},drawSegment:function(a,b,c){var d="";if(2<a.length)for(var g=0;g<a.length-1;g++){var f=[],h=a[g-1],k=a[g],l=a[g+1],m=a[g+2];0===g?(f.push({x:k.x,y:k.y}),f.push({x:k.x,y:k.y}),
333
+ f.push({x:l.x,y:l.y}),f.push({x:m.x,y:m.y})):g>=a.length-2?(f.push({x:h.x,y:h.y}),f.push({x:k.x,y:k.y}),f.push({x:l.x,y:l.y}),f.push({x:l.x,y:l.y})):(f.push({x:h.x,y:h.y}),f.push({x:k.x,y:k.y}),f.push({x:l.x,y:l.y}),f.push({x:m.x,y:m.y}));h=[];k=Math.round;h.push({x:k(f[1].x),y:k(f[1].y)});h.push({x:k((-f[0].x+b*f[1].x+f[2].x)/b),y:k((-f[0].y+c*f[1].y+f[2].y)/c)});h.push({x:k((f[1].x+b*f[2].x-f[3].x)/b),y:k((f[1].y+c*f[2].y-f[3].y)/c)});h.push({x:k(f[2].x),y:k(f[2].y)});d+="C"+h[1].x+","+h[1].y+","+
334
+ h[2].x+","+h[2].y+","+h[3].x+","+h[3].y+" "}else 1<a.length&&(d+="L"+a[1].x+","+a[1].y);return d}})})();(function(){var d=window.AmCharts;d.AmDraw=d.Class({construct:function(a,b,c,e){d.SVG_NS="http://www.w3.org/2000/svg";d.SVG_XLINK="http://www.w3.org/1999/xlink";d.hasSVG=!!document.createElementNS&&!!document.createElementNS(d.SVG_NS,"svg").createSVGRect;1>b&&(b=10);1>c&&(c=10);this.div=a;this.width=b;this.height=c;this.rBin=document.createElement("div");d.hasSVG?(d.SVG=!0,b=this.createSvgElement("svg"),a.appendChild(b),this.container=b,this.addDefs(e),this.R=new d.SVGRenderer(this)):d.isIE&&d.VMLRenderer&&
335
+ (d.VML=!0,d.vmlStyleSheet||(document.namespaces.add("amvml","urn:schemas-microsoft-com:vml"),31>document.styleSheets.length?(b=document.createStyleSheet(),b.addRule(".amvml","behavior:url(#default#VML); display:inline-block; antialias:true"),d.vmlStyleSheet=b):document.styleSheets[0].addRule(".amvml","behavior:url(#default#VML); display:inline-block; antialias:true")),this.container=a,this.R=new d.VMLRenderer(this,e),this.R.disableSelection(a))},createSvgElement:function(a){return document.createElementNS(d.SVG_NS,
336
+ a)},circle:function(a,b,c,e){var g=new d.AmDObject("circle",this);g.attr({r:c,cx:a,cy:b});this.addToContainer(g.node,e);return g},ellipse:function(a,b,c,e,g){var f=new d.AmDObject("ellipse",this);f.attr({rx:c,ry:e,cx:a,cy:b});this.addToContainer(f.node,g);return f},setSize:function(a,b){0<a&&0<b&&(this.container.style.width=a+"px",this.container.style.height=b+"px")},rect:function(a,b,c,e,g,f,h){var k=new d.AmDObject("rect",this);d.VML&&(g=Math.round(100*g/Math.min(c,e)),c+=2*f,e+=2*f,k.bw=f,k.node.style.marginLeft=
337
+ -f,k.node.style.marginTop=-f);1>c&&(c=1);1>e&&(e=1);k.attr({x:a,y:b,width:c,height:e,rx:g,ry:g,"stroke-width":f});this.addToContainer(k.node,h);return k},image:function(a,b,c,e,g,f){var h=new d.AmDObject("image",this);h.attr({x:b,y:c,width:e,height:g});this.R.path(h,a);this.addToContainer(h.node,f);return h},addToContainer:function(a,b){b||(b=this.container);b.appendChild(a)},text:function(a,b,c){return this.R.text(a,b,c)},path:function(a,b,c,e){var g=new d.AmDObject("path",this);e||(e="100,100");
338
+ g.attr({cs:e});c?g.attr({dd:a}):g.attr({d:a});this.addToContainer(g.node,b);return g},set:function(a){return this.R.set(a)},remove:function(a){if(a){var b=this.rBin;b.appendChild(a);b.innerHTML=""}},renderFix:function(){var a=this.container,b=a.style;b.top="0px";b.left="0px";try{var c=a.getBoundingClientRect(),d=c.left-Math.round(c.left),g=c.top-Math.round(c.top);d&&(b.left=d+"px");g&&(b.top=g+"px")}catch(f){}},update:function(){this.R.update()},addDefs:function(a){if(d.hasSVG){var b=this.createSvgElement("desc"),
339
+ c=this.container;c.setAttribute("version","1.1");c.style.position="absolute";this.setSize(this.width,this.height);if(a.accessibleTitle){var e=this.createSvgElement("text");c.appendChild(e);e.innerHTML=a.accessibleTitle;e.style.opacity=0}d.rtl&&(c.setAttribute("direction","rtl"),c.style.left="auto",c.style.right="0px");a&&(a.addCodeCredits&&b.appendChild(document.createTextNode("JavaScript chart by amCharts "+a.version)),a.accessibleDescription&&(b.innerHTML="",b.appendChild(document.createTextNode(a.accessibleDescription))),
340
+ c.appendChild(b),a.defs&&(b=this.createSvgElement("defs"),c.appendChild(b),d.parseDefs(a.defs,b),this.defs=b))}}})})();(function(){var d=window.AmCharts;d.AmDObject=d.Class({construct:function(a,b){this.D=b;this.R=b.R;this.node=this.R.create(this,a);this.y=this.x=0;this.scale=1},attr:function(a){this.R.attr(this,a);return this},getAttr:function(a){return this.node.getAttribute(a)},setAttr:function(a,b){this.R.setAttr(this,a,b);return this},clipRect:function(a,b,c,d){this.R.clipRect(this,a,b,c,d)},translate:function(a,b,c,d){d||(a=Math.round(a),b=Math.round(b));this.R.move(this,a,b,c);this.x=a;this.y=b;this.scale=
341
+ c;this.angle&&this.rotate(this.angle)},rotate:function(a,b){this.R.rotate(this,a,b);this.angle=a},animate:function(a,b,c){for(var e in a)if(a.hasOwnProperty(e)){var g=e,f=a[e];c=d.getEffect(c);this.R.animate(this,g,f,b,c)}},push:function(a){if(a){var b=this.node;b.appendChild(a.node);var c=a.clipPath;c&&b.appendChild(c);(a=a.grad)&&b.appendChild(a)}},text:function(a){this.R.setText(this,a)},remove:function(){this.stop();this.R.remove(this)},clear:function(){var a=this.node;if(a.hasChildNodes())for(;1<=
342
+ a.childNodes.length;)a.removeChild(a.firstChild)},hide:function(){this.setAttr("visibility","hidden")},show:function(){this.setAttr("visibility","visible")},getBBox:function(){return this.R.getBBox(this)},toFront:function(){var a=this.node;if(a){this.prevNextNode=a.nextSibling;var b=a.parentNode;b&&b.appendChild(a)}},toPrevious:function(){var a=this.node;a&&this.prevNextNode&&(a=a.parentNode)&&a.insertBefore(this.prevNextNode,null)},toBack:function(){var a=this.node;if(a){this.prevNextNode=a.nextSibling;
343
+ var b=a.parentNode;if(b){var c=b.firstChild;c&&b.insertBefore(a,c)}}},mouseover:function(a){this.R.addListener(this,"mouseover",a);return this},mouseout:function(a){this.R.addListener(this,"mouseout",a);return this},click:function(a){this.R.addListener(this,"click",a);return this},dblclick:function(a){this.R.addListener(this,"dblclick",a);return this},mousedown:function(a){this.R.addListener(this,"mousedown",a);return this},mouseup:function(a){this.R.addListener(this,"mouseup",a);return this},touchmove:function(a){this.R.addListener(this,
344
+ "touchmove",a);return this},touchstart:function(a){this.R.addListener(this,"touchstart",a);return this},touchend:function(a){this.R.addListener(this,"touchend",a);return this},keyup:function(a){this.R.addListener(this,"keyup",a);return this},focus:function(a){this.R.addListener(this,"focus",a);return this},blur:function(a){this.R.addListener(this,"blur",a);return this},contextmenu:function(a){this.node.addEventListener?this.node.addEventListener("contextmenu",a,!0):this.R.addListener(this,"contextmenu",
345
+ a);return this},stop:function(){d.removeFromArray(this.R.animations,this.an_translate);d.removeFromArray(this.R.animations,this.an_y);d.removeFromArray(this.R.animations,this.an_x)},length:function(){return this.node.childNodes.length},gradient:function(a,b,c){this.R.gradient(this,a,b,c)},pattern:function(a,b,c){a&&this.R.pattern(this,a,b,c)}})})();(function(){var d=window.AmCharts;d.VMLRenderer=d.Class({construct:function(a,b){this.chart=b;this.D=a;this.cNames={circle:"oval",ellipse:"oval",rect:"roundrect",path:"shape"};this.styleMap={x:"left",y:"top",width:"width",height:"height","font-family":"fontFamily","font-size":"fontSize",visibility:"visibility"}},create:function(a,b){var c;if("group"==b)c=document.createElement("div"),a.type="div";else if("text"==b)c=document.createElement("div"),a.type="text";else if("image"==b)c=document.createElement("img"),
346
+ a.type="image";else{a.type="shape";a.shapeType=this.cNames[b];c=document.createElement("amvml:"+this.cNames[b]);var d=document.createElement("amvml:stroke");c.appendChild(d);a.stroke=d;var g=document.createElement("amvml:fill");c.appendChild(g);a.fill=g;g.className="amvml";d.className="amvml";c.className="amvml"}c.style.position="absolute";c.style.top=0;c.style.left=0;return c},path:function(a,b){a.node.setAttribute("src",b)},setAttr:function(a,b,c){if(void 0!==c){var e;8===document.documentMode&&
347
+ (e=!0);var g=a.node,f=a.type,h=g.style;"r"==b&&(h.width=2*c,h.height=2*c);"oval"==a.shapeType&&("rx"==b&&(h.width=2*c),"ry"==b&&(h.height=2*c));"roundrect"==a.shapeType&&("width"!=b&&"height"!=b||--c);"cursor"==b&&(h.cursor=c);"cx"==b&&(h.left=c-d.removePx(h.width)/2);"cy"==b&&(h.top=c-d.removePx(h.height)/2);var k=this.styleMap[b];"width"==k&&0>c&&(c=0);void 0!==k&&(h[k]=c);"text"==f&&("text-anchor"==b&&(a.anchor=c,k=g.clientWidth,"end"==c&&(h.marginLeft=-k+"px"),"middle"==c&&(h.marginLeft=-(k/2)+
348
+ "px",h.textAlign="center"),"start"==c&&(h.marginLeft="0px")),"fill"==b&&(h.color=c),"font-weight"==b&&(h.fontWeight=c));if(h=a.children)for(k=0;k<h.length;k++)h[k].setAttr(b,c);if("shape"==f){"cs"==b&&(g.style.width="100px",g.style.height="100px",g.setAttribute("coordsize",c));"d"==b&&g.setAttribute("path",this.svgPathToVml(c));"dd"==b&&g.setAttribute("path",c);f=a.stroke;a=a.fill;"stroke"==b&&(e?f.color=c:f.setAttribute("color",c));"stroke-width"==b&&(e?f.weight=c:f.setAttribute("weight",c));"stroke-opacity"==
349
+ b&&(e?f.opacity=c:f.setAttribute("opacity",c));"stroke-dasharray"==b&&(h="solid",0<c&&3>c&&(h="dot"),3<=c&&6>=c&&(h="dash"),6<c&&(h="longdash"),e?f.dashstyle=h:f.setAttribute("dashstyle",h));if("fill-opacity"==b||"opacity"==b)0===c?e?a.on=!1:a.setAttribute("on",!1):e?a.opacity=c:a.setAttribute("opacity",c);"fill"==b&&(e?a.color=c:a.setAttribute("color",c));"rx"==b&&(e?g.arcSize=c+"%":g.setAttribute("arcsize",c+"%"))}}},attr:function(a,b){for(var c in b)b.hasOwnProperty(c)&&this.setAttr(a,c,b[c])},
350
+ text:function(a,b,c){var e=new d.AmDObject("text",this.D),g=e.node;g.style.whiteSpace="pre";g.innerHTML=a;this.D.addToContainer(g,c);this.attr(e,b);return e},getBBox:function(a){return this.getBox(a.node)},getBox:function(a){var b=a.offsetLeft,c=a.offsetTop,d=a.offsetWidth,g=a.offsetHeight,f;if(a.hasChildNodes()){var h,k,l;for(l=0;l<a.childNodes.length;l++){f=this.getBox(a.childNodes[l]);var m=f.x;isNaN(m)||(isNaN(h)?h=m:m<h&&(h=m));var n=f.y;isNaN(n)||(isNaN(k)?k=n:n<k&&(k=n));m=f.width+m;isNaN(m)||
351
+ (d=Math.max(d,m));f=f.height+n;isNaN(f)||(g=Math.max(g,f))}0>h&&(b+=h);0>k&&(c+=k)}return{x:b,y:c,width:d,height:g}},setText:function(a,b){var c=a.node;c&&(c.innerHTML=b);this.setAttr(a,"text-anchor",a.anchor)},addListener:function(a,b,c){a.node["on"+b]=c},move:function(a,b,c){var e=a.node,g=e.style;"text"==a.type&&(c-=d.removePx(g.fontSize)/2-1);"oval"==a.shapeType&&(b-=d.removePx(g.width)/2,c-=d.removePx(g.height)/2);a=a.bw;isNaN(a)||(b-=a,c-=a);isNaN(b)||isNaN(c)||(e.style.left=b+"px",e.style.top=
352
+ c+"px")},svgPathToVml:function(a){var b=a.split(" ");a="";var c,d=Math.round,g;for(g=0;g<b.length;g++){var f=b[g],h=f.substring(0,1),f=f.substring(1),k=f.split(","),l=d(k[0])+","+d(k[1]);"M"==h&&(a+=" m "+l);"L"==h&&(a+=" l "+l);"Z"==h&&(a+=" x e");if("Q"==h){var m=c.length,n=c[m-1],q=k[0],p=k[1],l=k[2],t=k[3];c=d(c[m-2]/3+2/3*q);n=d(n/3+2/3*p);q=d(2/3*q+l/3);p=d(2/3*p+t/3);a+=" c "+c+","+n+","+q+","+p+","+l+","+t}"C"==h&&(a+=" c "+k[0]+","+k[1]+","+k[2]+","+k[3]+","+k[4]+","+k[5]);"A"==h&&(a+=" wa "+
353
+ f);"B"==h&&(a+=" at "+f);c=k}return a},animate:function(a,b,c,d,g){var f=a.node,h=this.chart;a.animationFinished=!1;if("translate"==b){b=c.split(",");c=b[1];var k=f.offsetTop;h.animate(a,"left",f.offsetLeft,b[0],d,g,"px");h.animate(a,"top",k,c,d,g,"px")}},clipRect:function(a,b,c,d,g){a=a.node;0===b&&0===c?(a.style.width=d+"px",a.style.height=g+"px",a.style.overflow="hidden"):a.style.clip="rect("+c+"px "+(b+d)+"px "+(c+g)+"px "+b+"px)"},rotate:function(a,b,c){if(0!==Number(b)){var e=a.node;a=e.style;
354
+ c||(c=this.getBGColor(e.parentNode));a.backgroundColor=c;a.paddingLeft=1;c=b*Math.PI/180;var g=Math.cos(c),f=Math.sin(c),h=d.removePx(a.left),k=d.removePx(a.top),l=e.offsetWidth,e=e.offsetHeight;b/=Math.abs(b);a.left=h+l/2-l/2*Math.cos(c)-b*e/2*Math.sin(c)+3;a.top=k-b*l/2*Math.sin(c)+b*e/2*Math.sin(c);a.cssText=a.cssText+"; filter:progid:DXImageTransform.Microsoft.Matrix(M11='"+g+"', M12='"+-f+"', M21='"+f+"', M22='"+g+"', sizingmethod='auto expand');"}},getBGColor:function(a){var b="#FFFFFF";if(a.style){var c=
355
+ a.style.backgroundColor;""!==c?b=c:a.parentNode&&(b=this.getBGColor(a.parentNode))}return b},set:function(a){var b=new d.AmDObject("group",this.D);this.D.container.appendChild(b.node);if(a){var c;for(c=0;c<a.length;c++)b.push(a[c])}return b},gradient:function(a,b,c,d){var g="";"radialGradient"==b&&(b="gradientradial",c.reverse());"linearGradient"==b&&(b="gradient");var f;for(f=0;f<c.length;f++)g+=Math.round(100*f/(c.length-1))+"% "+c[f],f<c.length-1&&(g+=",");a=a.fill;90==d?d=0:270==d?d=180:180==
356
+ d?d=90:0===d&&(d=270);8===document.documentMode?(a.type=b,a.angle=d):(a.setAttribute("type",b),a.setAttribute("angle",d));g&&(a.colors.value=g)},remove:function(a){a.clipPath&&this.D.remove(a.clipPath);this.D.remove(a.node)},disableSelection:function(a){a.onselectstart=function(){return!1};a.style.cursor="default"},pattern:function(a,b,c,e){c=a.node;a=a.fill;var g="none";b.color&&(g=b.color);c.fillColor=g;b=b.url;d.isAbsolute(b)||(b=e+b);8===document.documentMode?(a.type="tile",a.src=b):(a.setAttribute("type",
357
+ "tile"),a.setAttribute("src",b))},update:function(){}})})();(function(){var d=window.AmCharts;d.SVGRenderer=d.Class({construct:function(a){this.D=a;this.animations=[]},create:function(a,b){return document.createElementNS(d.SVG_NS,b)},attr:function(a,b){for(var c in b)b.hasOwnProperty(c)&&this.setAttr(a,c,b[c])},setAttr:function(a,b,c){void 0!==c&&a.node.setAttribute(b,c)},animate:function(a,b,c,e,g){a.animationFinished=!1;var f=a.node;a["an_"+b]&&d.removeFromArray(this.animations,a["an_"+b]);"translate"==b?(f=(f=f.getAttribute("transform"))?String(f).substring(10,
358
+ f.length-1):"0,0",f=f.split(", ").join(" "),f=f.split(" ").join(","),0===f&&(f="0,0")):f=Number(f.getAttribute(b));c={obj:a,frame:0,attribute:b,from:f,to:c,time:e,effect:g};this.animations.push(c);a["an_"+b]=c},update:function(){var a,b=this.animations;for(a=b.length-1;0<=a;a--){var c=b[a],e=c.time*d.updateRate,g=c.frame+1,f=c.obj,h=c.attribute,k,l,m;if(g<=e){c.frame++;if("translate"==h){k=c.from.split(",");h=Number(k[0]);k=Number(k[1]);isNaN(k)&&(k=0);l=c.to.split(",");m=Number(l[0]);l=Number(l[1]);
359
+ m=0===m-h?m:Math.round(d[c.effect](0,g,h,m-h,e));c=0===l-k?l:Math.round(d[c.effect](0,g,k,l-k,e));h="transform";if(isNaN(m)||isNaN(c))continue;c="translate("+m+","+c+")"}else l=Number(c.from),k=Number(c.to),m=k-l,c=d[c.effect](0,g,l,m,e),isNaN(c)&&(c=k),0===m&&this.animations.splice(a,1);this.setAttr(f,h,c)}else"translate"==h?(l=c.to.split(","),m=Number(l[0]),l=Number(l[1]),f.translate(m,l)):(k=Number(c.to),this.setAttr(f,h,k)),f.animationFinished=!0,this.animations.splice(a,1)}},getBBox:function(a){if(a=
360
+ a.node)try{return a.getBBox()}catch(b){}return{width:0,height:0,x:0,y:0}},path:function(a,b){a.node.setAttributeNS(d.SVG_XLINK,"xlink:href",b)},clipRect:function(a,b,c,e,g){var f=a.node,h=a.clipPath;h&&this.D.remove(h);var k=f.parentNode;k&&(f=document.createElementNS(d.SVG_NS,"clipPath"),h=d.getUniqueId(),f.setAttribute("id",h),this.D.rect(b,c,e,g,0,0,f),k.appendChild(f),b="#",d.baseHref&&!d.isIE&&(b=this.removeTarget(window.location.href)+b),this.setAttr(a,"clip-path","url("+b+h+")"),this.clipPathC++,
361
+ a.clipPath=f)},text:function(a,b,c){var e=new d.AmDObject("text",this.D);a=String(a).split("\n");var g=d.removePx(b["font-size"]),f;for(f=0;f<a.length;f++){var h=this.create(null,"tspan");h.appendChild(document.createTextNode(a[f]));h.setAttribute("y",(g+2)*f+Math.round(g/2));h.setAttribute("x",0);e.node.appendChild(h)}e.node.setAttribute("y",Math.round(g/2));this.attr(e,b);this.D.addToContainer(e.node,c);return e},setText:function(a,b){var c=a.node;c&&(c.removeChild(c.firstChild),c.appendChild(document.createTextNode(b)))},
362
+ move:function(a,b,c,d){isNaN(b)&&(b=0);isNaN(c)&&(c=0);b="translate("+b+","+c+")";d&&(b=b+" scale("+d+")");this.setAttr(a,"transform",b)},rotate:function(a,b){var c=a.node.getAttribute("transform"),d="rotate("+b+")";c&&(d=c+" "+d);this.setAttr(a,"transform",d)},set:function(a){var b=new d.AmDObject("g",this.D);this.D.container.appendChild(b.node);if(a){var c;for(c=0;c<a.length;c++)b.push(a[c])}return b},addListener:function(a,b,c){a.node["on"+b]=c},gradient:function(a,b,c,e){var g=a.node,f=a.grad;
363
+ f&&this.D.remove(f);b=document.createElementNS(d.SVG_NS,b);f=d.getUniqueId();b.setAttribute("id",f);if(!isNaN(e)){var h=0,k=0,l=0,m=0;90==e?l=100:270==e?m=100:180==e?h=100:0===e&&(k=100);b.setAttribute("x1",h+"%");b.setAttribute("x2",k+"%");b.setAttribute("y1",l+"%");b.setAttribute("y2",m+"%")}for(e=0;e<c.length;e++)h=document.createElementNS(d.SVG_NS,"stop"),k=100*e/(c.length-1),0===e&&(k=0),h.setAttribute("offset",k+"%"),h.setAttribute("stop-color",c[e]),b.appendChild(h);g.parentNode.appendChild(b);
364
+ c="#";d.baseHref&&!d.isIE&&(c=this.removeTarget(window.location.href)+c);g.setAttribute("fill","url("+c+f+")");a.grad=b},removeTarget:function(a){return a.split("#")[0]},pattern:function(a,b,c,e){var g=a.node;isNaN(c)&&(c=1);var f=a.patternNode;f&&this.D.remove(f);var f=document.createElementNS(d.SVG_NS,"pattern"),h=d.getUniqueId(),k=b;b.url&&(k=b.url);d.isAbsolute(k)||-1!=k.indexOf("data:image")||(k=e+k);e=Number(b.width);isNaN(e)&&(e=4);var l=Number(b.height);isNaN(l)&&(l=4);e/=c;l/=c;c=b.x;isNaN(c)&&
365
+ (c=0);var m=-Math.random()*Number(b.randomX);isNaN(m)||(c=m);m=b.y;isNaN(m)&&(m=0);var n=-Math.random()*Number(b.randomY);isNaN(n)||(m=n);f.setAttribute("id",h);f.setAttribute("width",e);f.setAttribute("height",l);f.setAttribute("patternUnits","userSpaceOnUse");f.setAttribute("xlink:href",k);b.color&&(n=document.createElementNS(d.SVG_NS,"rect"),n.setAttributeNS(null,"height",e),n.setAttributeNS(null,"width",l),n.setAttributeNS(null,"fill",b.color),f.appendChild(n));this.D.image(k,0,0,e,l,f).translate(c,
366
+ m);k="#";d.baseHref&&!d.isIE&&(k=this.removeTarget(window.location.href)+k);g.setAttribute("fill","url("+k+h+")");a.patternNode=f;g.parentNode.appendChild(f)},remove:function(a){a.clipPath&&this.D.remove(a.clipPath);a.grad&&this.D.remove(a.grad);a.patternNode&&this.D.remove(a.patternNode);this.D.remove(a.node)}})})();(function(){var d=window.AmCharts;d.AmLegend=d.Class({construct:function(a){this.enabled=!0;this.cname="AmLegend";this.createEvents("rollOverMarker","rollOverItem","rollOutMarker","rollOutItem","showItem","hideItem","clickMarker","clickLabel");this.position="bottom";this.borderColor=this.color="#000000";this.borderAlpha=0;this.markerLabelGap=5;this.verticalGap=10;this.align="left";this.horizontalGap=0;this.spacing=10;this.markerDisabledColor="#AAB3B3";this.markerType="square";this.markerSize=16;this.markerBorderThickness=
367
+ this.markerBorderAlpha=1;this.marginBottom=this.marginTop=0;this.marginLeft=this.marginRight=20;this.autoMargins=!0;this.valueWidth=50;this.switchable=!0;this.switchType="x";this.switchColor="#FFFFFF";this.rollOverColor="#CC0000";this.reversedOrder=!1;this.labelText="[[title]]";this.valueText="[[value]]";this.accessibleLabel="[[title]]";this.useMarkerColorForLabels=!1;this.rollOverGraphAlpha=1;this.textClickEnabled=!1;this.equalWidths=!0;this.backgroundColor="#FFFFFF";this.backgroundAlpha=0;this.useGraphSettings=
368
+ !1;this.showEntries=!0;this.labelDx=0;d.applyTheme(this,a,this.cname)},setData:function(a){this.legendData=a;this.invalidateSize()},invalidateSize:function(){this.destroy();this.entries=[];this.valueLabels=[];var a=this.legendData;this.enabled&&(d.ifArray(a)||d.ifArray(this.data))&&this.drawLegend()},drawLegend:function(){var a=this.chart,b=this.position,c=this.width,e=a.divRealWidth,g=a.divRealHeight,f=this.div,h=this.legendData;this.data&&(h=this.combineLegend?this.legendData.concat(this.data):
369
+ this.data);isNaN(this.fontSize)&&(this.fontSize=a.fontSize);this.maxColumnsReal=this.maxColumns;if("right"==b||"left"==b)this.maxColumnsReal=1,this.autoMargins&&(this.marginLeft=this.marginRight=10);else if(this.autoMargins){this.marginRight=a.marginRight;this.marginLeft=a.marginLeft;var k=a.autoMarginOffset;"bottom"==b?(this.marginBottom=k,this.marginTop=0):(this.marginTop=k,this.marginBottom=0)}c=void 0!==c?d.toCoordinate(c,e):"right"!=b&&"left"!=b?a.realWidth:0<this.ieW?this.ieW:a.realWidth;"outside"==
370
+ b?(c=f.offsetWidth,g=f.offsetHeight,f.clientHeight&&(c=f.clientWidth,g=f.clientHeight)):(isNaN(c)||(f.style.width=c+"px"),f.className="amChartsLegend "+a.classNamePrefix+"-legend-div");this.divWidth=c;(b=this.container)?(b.container.innerHTML="",f.appendChild(b.container),b.width=c,b.height=g,b.setSize(c,g),b.addDefs(a)):b=new d.AmDraw(f,c,g,a);this.container=b;this.lx=0;this.ly=8;g=this.markerSize;g>this.fontSize&&(this.ly=g/2-1);0<g&&(this.lx+=g+this.markerLabelGap);this.titleWidth=0;if(g=this.title)g=
371
+ d.text(this.container,g,this.color,a.fontFamily,this.fontSize,"start",!0),d.setCN(a,g,"legend-title"),g.translate(this.marginLeft,this.marginTop+this.verticalGap+this.ly+1),a=g.getBBox(),this.titleWidth=a.width+15,this.titleHeight=a.height+6;this.index=this.maxLabelWidth=0;if(this.showEntries){for(a=0;a<h.length;a++)this.createEntry(h[a]);for(a=this.index=0;a<h.length;a++)this.createValue(h[a])}this.arrangeEntries();this.updateValues()},arrangeEntries:function(){var a=this.position,b=this.marginLeft+
372
+ this.titleWidth,c=this.marginRight,e=this.marginTop,g=this.marginBottom,f=this.horizontalGap,h=this.div,k=this.divWidth,l=this.maxColumnsReal,m=this.verticalGap,n=this.spacing,q=k-c-b,p=0,t=0,r=this.container;this.set&&this.set.remove();var w=r.set();this.set=w;var z=r.set();w.push(z);var x=this.entries,u,A;for(A=0;A<x.length;A++){u=x[A].getBBox();var y=u.width;y>p&&(p=y);u=u.height;u>t&&(t=u)}var y=t=0,B=f,D=0,C=0;for(A=0;A<x.length;A++){var I=x[A];this.reversedOrder&&(I=x[x.length-A-1]);u=I.getBBox();
373
+ var H;this.equalWidths?H=y*(p+n+this.markerLabelGap):(H=B,B=B+u.width+f+n);H+u.width>q&&0<A&&0!==y&&(t++,H=y=0,B=H+u.width+f+n,D=D+C+m,C=0);u.height>C&&(C=u.height);I.translate(H,D);y++;!isNaN(l)&&y>=l&&(y=0,t++,D=D+C+m,B=f,C=0);z.push(I)}u=z.getBBox();l=u.height+2*m-1;"left"==a||"right"==a?(n=u.width+2*f,k=n+b+c,h.style.width=k+"px",this.ieW=k):n=k-b-c-1;c=d.polygon(this.container,[0,n,n,0],[0,0,l,l],this.backgroundColor,this.backgroundAlpha,1,this.borderColor,this.borderAlpha);d.setCN(this.chart,
374
+ c,"legend-bg");w.push(c);w.translate(b,e);c.toBack();b=f;if("top"==a||"bottom"==a||"absolute"==a||"outside"==a)"center"==this.align?b=f+(n-u.width)/2:"right"==this.align&&(b=f+n-u.width);z.translate(b,m+1);this.titleHeight>l&&(l=this.titleHeight);e=l+e+g+1;0>e&&(e=0);"absolute"!=a&&"outside"!=a&&e>this.chart.divRealHeight&&(h.style.top="0px");h.style.height=Math.round(e)+"px";r.setSize(this.divWidth,e)},createEntry:function(a){if(!1!==a.visibleInLegend&&!a.hideFromLegend){var b=this,c=b.chart,e=b.useGraphSettings,
375
+ g=a.markerType;g&&(e=!1);a.legendEntryWidth=b.markerSize;g||(g=b.markerType);var f=a.color,h=a.alpha;a.legendKeyColor&&(f=a.legendKeyColor());a.legendKeyAlpha&&(h=a.legendKeyAlpha());var k;!0===a.hidden&&(k=f=b.markerDisabledColor);var l=a.pattern,m,n=a.customMarker;n||(n=b.customMarker);var q=b.container,p=b.markerSize,t=0,r=0,w=p/2;if(e){e=a.type;b.switchType=void 0;if("line"==e||"step"==e||"smoothedLine"==e||"ohlc"==e)m=q.set(),a.hidden||(f=a.lineColorR,k=a.bulletBorderColorR),t=d.line(q,[0,2*
376
+ p],[p/2,p/2],f,a.lineAlpha,a.lineThickness,a.dashLength),d.setCN(c,t,"graph-stroke"),m.push(t),a.bullet&&(a.hidden||(f=a.bulletColorR),t=d.bullet(q,a.bullet,a.bulletSize,f,a.bulletAlpha,a.bulletBorderThickness,k,a.bulletBorderAlpha))&&(d.setCN(c,t,"graph-bullet"),t.translate(p+1,p/2),m.push(t)),w=0,t=p,r=p/3;else{a.getGradRotation&&(m=a.getGradRotation(),0===m&&(m=180));t=a.fillColorsR;!0===a.hidden&&(t=f);if(m=b.createMarker("rectangle",t,a.fillAlphas,a.lineThickness,f,a.lineAlpha,m,l,a.dashLength))w=
377
+ p,m.translate(w,p/2);t=p}d.setCN(c,m,"graph-"+e);d.setCN(c,m,"graph-"+a.id)}else if(n)m=q.image(n,0,0,p,p);else{var z;isNaN(b.gradientRotation)||(z=180+b.gradientRotation);(m=b.createMarker(g,f,h,void 0,void 0,void 0,z,l))&&m.translate(p/2,p/2)}d.setCN(c,m,"legend-marker");b.addListeners(m,a);q=q.set([m]);b.switchable&&a.switchable&&q.setAttr("cursor","pointer");void 0!==a.id&&d.setCN(c,q,"legend-item-"+a.id);d.setCN(c,q,a.className,!0);k=b.switchType;var x;k&&"none"!=k&&0<p&&("x"==k?(x=b.createX(),
378
+ x.translate(p/2,p/2)):x=b.createV(),x.dItem=a,!0!==a.hidden?"x"==k?x.hide():x.show():"x"!=k&&x.hide(),b.switchable||x.hide(),b.addListeners(x,a),a.legendSwitch=x,q.push(x),d.setCN(c,x,"legend-switch"));k=b.color;a.showBalloon&&b.textClickEnabled&&void 0!==b.selectedColor&&(k=b.selectedColor);b.useMarkerColorForLabels&&!l&&(k=f);!0===a.hidden&&(k=b.markerDisabledColor);f=d.massReplace(b.labelText,{"[[title]]":a.title});void 0!==b.tabIndex&&(q.setAttr("tabindex",b.tabIndex),q.setAttr("role","menuitem"),
379
+ q.keyup(function(c){13==c.keyCode&&b.clickMarker(a,c)}));c.accessible&&b.accessibleLabel&&(l=d.massReplace(b.accessibleLabel,{"[[title]]":a.title}),c.makeAccessible(q,l));l=b.fontSize;m&&(p<=l&&(p=p/2+b.ly-l/2+(l+2-p)/2-r,m.translate(w,p),x&&x.translate(x.x,p)),a.legendEntryWidth=m.getBBox().width);var u;f&&(f=d.fixBrakes(f),a.legendTextReal=f,u=b.labelWidth,u=isNaN(u)?d.text(b.container,f,k,c.fontFamily,l,"start"):d.wrappedText(b.container,f,k,c.fontFamily,l,"start",!1,u,0),d.setCN(c,u,"legend-label"),
380
+ u.translate(b.lx+t,b.ly),q.push(u),b.labelDx=t,c=u.getBBox().width,b.maxLabelWidth<c&&(b.maxLabelWidth=c));b.entries[b.index]=q;a.legendEntry=b.entries[b.index];a.legendMarker=m;a.legendLabel=u;b.index++}},addListeners:function(a,b){var c=this;a&&a.mouseover(function(a){c.rollOverMarker(b,a)}).mouseout(function(a){c.rollOutMarker(b,a)}).click(function(a){c.clickMarker(b,a)})},rollOverMarker:function(a,b){this.switchable&&this.dispatch("rollOverMarker",a,b);this.dispatch("rollOverItem",a,b)},rollOutMarker:function(a,
381
+ b){this.switchable&&this.dispatch("rollOutMarker",a,b);this.dispatch("rollOutItem",a,b)},clickMarker:function(a,b){this.switchable&&(!0===a.hidden?this.dispatch("showItem",a,b):this.dispatch("hideItem",a,b));this.dispatch("clickMarker",a,b)},rollOverLabel:function(a,b){a.hidden||this.textClickEnabled&&a.legendLabel&&a.legendLabel.attr({fill:this.rollOverColor});this.dispatch("rollOverItem",a,b)},rollOutLabel:function(a,b){if(!a.hidden&&this.textClickEnabled&&a.legendLabel){var c=this.color;void 0!==
382
+ this.selectedColor&&a.showBalloon&&(c=this.selectedColor);this.useMarkerColorForLabels&&(c=a.lineColor,void 0===c&&(c=a.color));a.legendLabel.attr({fill:c})}this.dispatch("rollOutItem",a,b)},clickLabel:function(a,b){this.textClickEnabled?a.hidden||this.dispatch("clickLabel",a,b):this.switchable&&(!0===a.hidden?this.dispatch("showItem",a,b):this.dispatch("hideItem",a,b))},dispatch:function(a,b,c){a={type:a,dataItem:b,target:this,event:c,chart:this.chart};this.chart&&this.chart.handleLegendEvent(a);
383
+ this.fire(a)},createValue:function(a){var b=this,c=b.fontSize,e=b.chart;if(!1!==a.visibleInLegend&&!a.hideFromLegend){var g=b.maxLabelWidth,f=0;b.forceWidth&&(g=b.labelWidth);b.equalWidths||(b.valueAlign="left");f={x:0,y:0,width:0,height:0};a.legendLabel&&(f=a.legendLabel.getBBox());"left"==b.valueAlign&&(g=f.width);var f=f.height,h=g,k=b.markerSize;k<c+7&&(k=c+7,d.VML&&(k+=3));if(b.valueText&&0<b.valueWidth){var l=b.color;b.useMarkerColorForValues&&(l=a.color,a.legendKeyColor&&(l=a.legendKeyColor()));
384
+ !0===a.hidden&&(l=b.markerDisabledColor);var m=b.valueText,g=g+b.lx+b.labelDx+b.markerLabelGap+b.valueWidth,n="end";"left"==b.valueAlign&&(g-=b.valueWidth,n="start");c=d.text(b.container,m,l,b.chart.fontFamily,c,n);d.setCN(e,c,"legend-value");c.translate(g,b.ly);b.entries[b.index].push(c);h+=b.valueWidth+2*b.markerLabelGap;c.dItem=a;b.valueLabels.push(c);k<f+5&&(k=f+5)}b.index++;e=b.container.rect(a.legendEntryWidth,0,h,k,0,0).attr({stroke:"none",fill:"#fff","fill-opacity":.005});e.dItem=a;b.entries[b.index-
385
+ 1].push(e);e.mouseover(function(c){b.rollOverLabel(a,c)}).mouseout(function(c){b.rollOutLabel(a,c)}).click(function(c){b.clickLabel(a,c)})}},createV:function(){var a=this.markerSize;return d.polygon(this.container,[a/5,a/2,a-a/5,a/2],[a/3,a-a/5,a/5,a/1.7],this.switchColor)},createX:function(){var a=(this.markerSize-4)/2,b={stroke:this.switchColor,"stroke-width":3},c=this.container,e=d.line(c,[-a,a],[-a,a]).attr(b),a=d.line(c,[-a,a],[a,-a]).attr(b);return this.container.set([e,a])},createMarker:function(a,
386
+ b,c,e,g,f,h,k,l){var m=this.markerSize,n=this.container;g||(g=this.markerBorderColor);g||(g=b);isNaN(e)&&(e=this.markerBorderThickness);isNaN(f)&&(f=this.markerBorderAlpha);return d.bullet(n,a,m,b,c,e,g,f,m,h,k,this.chart.path,l)},validateNow:function(){this.invalidateSize()},updateValues:function(){var a=this.valueLabels,b=this.chart,c,e=this.data;if(a)for(c=0;c<a.length;c++){var g=a[c],f=g.dItem;f.periodDataItem=void 0;f.periodPercentDataItem=void 0;var h=" ";if(e)f.value?g.text(f.value):g.text("");
387
+ else{var k=null;if(void 0!==f.type){var k=f.currentDataItem,l=this.periodValueText;f.legendPeriodValueText&&(l=f.legendPeriodValueText);f.legendPeriodValueTextR&&(l=f.legendPeriodValueTextR);k?(h=this.valueText,f.legendValueText&&(h=f.legendValueText),f.legendValueTextR&&(h=f.legendValueTextR),h=b.formatString(h,k)):l&&b.formatPeriodString&&(l=d.massReplace(l,{"[[title]]":f.title}),h=b.formatPeriodString(l,f))}else h=b.formatString(this.valueText,f);l=f;k&&(l=k);var m=this.valueFunction;m&&(h=m(l,
388
+ h,b.periodDataItem));var n;this.useMarkerColorForLabels&&!k&&f.lastDataItem&&(k=f.lastDataItem);k?n=b.getBalloonColor(f,k):f.legendKeyColor&&(n=f.legendKeyColor());f.legendColorFunction&&(n=f.legendColorFunction(l,h,f.periodDataItem,f.periodPercentDataItem));g.text(h);if(!f.pattern&&(this.useMarkerColorForValues&&g.setAttr("fill",n),this.useMarkerColorForLabels)){if(g=f.legendMarker)g.setAttr("fill",n),g.setAttr("stroke",n);(g=f.legendLabel)&&(f.hidden?g.setAttr("fill",this.markerDisabledColor):g.setAttr("fill",
389
+ n))}}}},renderFix:function(){if(!d.VML&&this.enabled){var a=this.container;a&&a.renderFix()}},destroy:function(){this.div.innerHTML="";d.remove(this.set)}})})();(function(){var d=window.AmCharts;d.formatMilliseconds=function(a,b){if(-1!=a.indexOf("fff")){var c=b.getMilliseconds(),d=String(c);10>c&&(d="00"+c);10<=c&&100>c&&(d="0"+c);a=a.replace(/fff/g,d)}return a};d.extractPeriod=function(a){var b=d.stripNumbers(a),c=1;b!=a&&(c=Number(a.slice(0,a.indexOf(b))));return{period:b,count:c}};d.getDate=function(a,b,c){return a instanceof Date?d.newDate(a,c):b&&isNaN(a)?d.stringToDate(a,b):new Date(a)};d.daysInMonth=function(a){return(new Date(a.getYear(),a.getMonth()+
390
+ 1,0)).getDate()};d.newDate=function(a,b){return b&&-1==b.indexOf("fff")?new Date(a):new Date(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds())};d.resetDateToMin=function(a,b,c,e){void 0===e&&(e=1);var g,f,h,k,l,m,n;d.useUTC?(g=a.getUTCFullYear(),f=a.getUTCMonth(),h=a.getUTCDate(),k=a.getUTCHours(),l=a.getUTCMinutes(),m=a.getUTCSeconds(),n=a.getUTCMilliseconds(),a=a.getUTCDay()):(g=a.getFullYear(),f=a.getMonth(),h=a.getDate(),k=a.getHours(),l=
391
+ a.getMinutes(),m=a.getSeconds(),n=a.getMilliseconds(),a=a.getDay());switch(b){case "YYYY":g=Math.floor(g/c)*c;f=0;h=1;n=m=l=k=0;break;case "MM":f=Math.floor(f/c)*c;h=1;n=m=l=k=0;break;case "WW":h=a>=e?h-a+e:h-(7+a)+e;n=m=l=k=0;break;case "DD":n=m=l=k=0;break;case "hh":k=Math.floor(k/c)*c;n=m=l=0;break;case "mm":l=Math.floor(l/c)*c;n=m=0;break;case "ss":m=Math.floor(m/c)*c;n=0;break;case "fff":n=Math.floor(n/c)*c}d.useUTC?(a=new Date,a.setUTCFullYear(g,f,h),a.setUTCHours(k,l,m,n)):a=new Date(g,f,h,
392
+ k,l,m,n);return a};d.getPeriodDuration=function(a,b){void 0===b&&(b=1);var c;switch(a){case "YYYY":c=316224E5;break;case "MM":c=26784E5;break;case "WW":c=6048E5;break;case "DD":c=864E5;break;case "hh":c=36E5;break;case "mm":c=6E4;break;case "ss":c=1E3;break;case "fff":c=1}return c*b};d.intervals={s:{nextInterval:"ss",contains:1E3},ss:{nextInterval:"mm",contains:60,count:0},mm:{nextInterval:"hh",contains:60,count:1},hh:{nextInterval:"DD",contains:24,count:2},DD:{nextInterval:"",contains:Infinity,count:3}};
393
+ d.getMaxInterval=function(a,b){var c=d.intervals;return a>=c[b].contains?(a=Math.round(a/c[b].contains),b=c[b].nextInterval,d.getMaxInterval(a,b)):"ss"==b?c[b].nextInterval:b};d.dayNames="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" ");d.shortDayNames="Sun Mon Tue Wed Thu Fri Sat".split(" ");d.monthNames="January February March April May June July August September October November December".split(" ");d.shortMonthNames="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");
394
+ d.getWeekNumber=function(a){a=new Date(a);a.setHours(0,0,0);a.setDate(a.getDate()+4-(a.getDay()||7));var b=new Date(a.getFullYear(),0,1);return Math.ceil(((a-b)/864E5+1)/7)};d.stringToDate=function(a,b){var c={},e=[{pattern:"YYYY",period:"year"},{pattern:"YY",period:"year"},{pattern:"MM",period:"month"},{pattern:"M",period:"month"},{pattern:"DD",period:"date"},{pattern:"D",period:"date"},{pattern:"JJ",period:"hours"},{pattern:"J",period:"hours"},{pattern:"HH",period:"hours"},{pattern:"H",period:"hours"},
395
+ {pattern:"KK",period:"hours"},{pattern:"K",period:"hours"},{pattern:"LL",period:"hours"},{pattern:"L",period:"hours"},{pattern:"NN",period:"minutes"},{pattern:"N",period:"minutes"},{pattern:"SS",period:"seconds"},{pattern:"S",period:"seconds"},{pattern:"QQQ",period:"milliseconds"},{pattern:"QQ",period:"milliseconds"},{pattern:"Q",period:"milliseconds"}],g=!0,f=b.indexOf("AA");-1!=f&&(a.substr(f,2),"pm"==a.toLowerCase&&(g=!1));var f=b,h,k,l;for(l=0;l<e.length;l++)k=e[l].period,c[k]=0,"date"==k&&(c[k]=
396
+ 1);for(l=0;l<e.length;l++)if(h=e[l].pattern,k=e[l].period,-1!=b.indexOf(h)){var m=d.getFromDateString(h,a,f);b=b.replace(h,"");if("KK"==h||"K"==h||"LL"==h||"L"==h)g||(m+=12);c[k]=m}d.useUTC?(e=new Date,e.setUTCFullYear(c.year,c.month,c.date),e.setUTCHours(c.hours,c.minutes,c.seconds,c.milliseconds)):e=new Date(c.year,c.month,c.date,c.hours,c.minutes,c.seconds,c.milliseconds);return e};d.getFromDateString=function(a,b,c){if(void 0!==b)return c=c.indexOf(a),b=String(b),b=b.substr(c,a.length),"0"==b.charAt(0)&&
397
+ (b=b.substr(1,b.length-1)),b=Number(b),isNaN(b)&&(b=0),-1!=a.indexOf("M")&&b--,b};d.formatDate=function(a,b,c){c||(c=d);var e,g,f,h,k,l,m,n,q=d.getWeekNumber(a);d.useUTC?(e=a.getUTCFullYear(),g=a.getUTCMonth(),f=a.getUTCDate(),h=a.getUTCDay(),k=a.getUTCHours(),l=a.getUTCMinutes(),m=a.getUTCSeconds(),n=a.getUTCMilliseconds()):(e=a.getFullYear(),g=a.getMonth(),f=a.getDate(),h=a.getDay(),k=a.getHours(),l=a.getMinutes(),m=a.getSeconds(),n=a.getMilliseconds());var p=String(e).substr(2,2),t="0"+h;b=b.replace(/W/g,
398
+ q);q=k;24==q&&(q=0);var r=q;10>r&&(r="0"+r);b=b.replace(/JJ/g,r);b=b.replace(/J/g,q);r=k;0===r&&(r=24,-1!=b.indexOf("H")&&(f--,0===f&&(e=new Date(a),e.setDate(e.getDate()-1),g=e.getMonth(),f=e.getDate(),e=e.getFullYear())));a=g+1;9>g&&(a="0"+a);q=f;10>f&&(q="0"+f);var w=r;10>w&&(w="0"+w);b=b.replace(/HH/g,w);b=b.replace(/H/g,r);r=k;11<r&&(r-=12);w=r;10>w&&(w="0"+w);b=b.replace(/KK/g,w);b=b.replace(/K/g,r);r=k;0===r&&(r=12);12<r&&(r-=12);w=r;10>w&&(w="0"+w);b=b.replace(/LL/g,w);b=b.replace(/L/g,r);
399
+ r=l;10>r&&(r="0"+r);b=b.replace(/NN/g,r);b=b.replace(/N/g,l);l=m;10>l&&(l="0"+l);b=b.replace(/SS/g,l);b=b.replace(/S/g,m);m=n;10>m?m="00"+m:100>m&&(m="0"+m);l=n;10>l&&(l="00"+l);b=b.replace(/A/g,"@A@");b=b.replace(/QQQ/g,m);b=b.replace(/QQ/g,l);b=b.replace(/Q/g,n);b=b.replace(/YYYY/g,"@IIII@");b=b.replace(/YY/g,"@II@");b=b.replace(/MMMM/g,"@XXXX@");b=b.replace(/MMM/g,"@XXX@");b=b.replace(/MM/g,"@XX@");b=b.replace(/M/g,"@X@");b=b.replace(/DD/g,"@RR@");b=b.replace(/D/g,"@R@");b=b.replace(/EEEE/g,"@PPPP@");
400
+ b=b.replace(/EEE/g,"@PPP@");b=b.replace(/EE/g,"@PP@");b=b.replace(/E/g,"@P@");b=b.replace(/@IIII@/g,e);b=b.replace(/@II@/g,p);b=b.replace(/@XXXX@/g,c.monthNames[g]);b=b.replace(/@XXX@/g,c.shortMonthNames[g]);b=b.replace(/@XX@/g,a);b=b.replace(/@X@/g,g+1);b=b.replace(/@RR@/g,q);b=b.replace(/@R@/g,f);b=b.replace(/@PPPP@/g,c.dayNames[h]);b=b.replace(/@PPP@/g,c.shortDayNames[h]);b=b.replace(/@PP@/g,t);b=b.replace(/@P@/g,h);return b=12>k?b.replace(/@A@/g,c.amString):b.replace(/@A@/g,c.pmString)};d.changeDate=
401
+ function(a,b,c,e,g){if(d.useUTC)return d.changeUTCDate(a,b,c,e,g);var f=-1;void 0===e&&(e=!0);void 0===g&&(g=!1);!0===e&&(f=1);switch(b){case "YYYY":a.setFullYear(a.getFullYear()+c*f);e||g||a.setDate(a.getDate()+1);break;case "MM":b=a.getMonth();var h=a.getFullYear();a.setMonth(a.getMonth()+c*f);h==a.getFullYear()&&a.getMonth()>b+c*f&&a.setDate(a.getDate()-1);e||g||a.setDate(a.getDate()+1);break;case "DD":a.setDate(a.getDate()+c*f);break;case "WW":a.setDate(a.getDate()+c*f*7);break;case "hh":a.setHours(a.getHours()+
402
+ c*f);break;case "mm":a.setMinutes(a.getMinutes()+c*f);break;case "ss":a.setSeconds(a.getSeconds()+c*f);break;case "fff":a.setMilliseconds(a.getMilliseconds()+c*f)}return a};d.changeUTCDate=function(a,b,c,d,g){var f=-1;void 0===d&&(d=!0);void 0===g&&(g=!1);!0===d&&(f=1);switch(b){case "YYYY":a.setUTCFullYear(a.getUTCFullYear()+c*f);d||g||a.setUTCDate(a.getUTCDate()+1);break;case "MM":b=a.getUTCMonth();a.setUTCMonth(a.getUTCMonth()+c*f);a.getUTCMonth()>b+c*f&&a.setUTCDate(a.getUTCDate()-1);d||g||a.setUTCDate(a.getUTCDate()+
403
+ 1);break;case "DD":a.setUTCDate(a.getUTCDate()+c*f);break;case "WW":a.setUTCDate(a.getUTCDate()+c*f*7);break;case "hh":a.setUTCHours(a.getUTCHours()+c*f);break;case "mm":a.setUTCMinutes(a.getUTCMinutes()+c*f);break;case "ss":a.setUTCSeconds(a.getUTCSeconds()+c*f);break;case "fff":a.setUTCMilliseconds(a.getUTCMilliseconds()+c*f)}return a}})();
assets/js/amcharts/light.js ADDED
@@ -0,0 +1 @@
 
1
+ AmCharts.themes.light={themeName:"light",AmChart:{color:"#000000",backgroundColor:"#FFFFFF"},AmCoordinateChart:{colors:["#67b7dc","#fdd400","#84b761","#cc4748","#cd82ad","#2f4074","#448e4d","#b7b83f","#b9783f","#b93e3d","#913167"]},AmStockChart:{colors:["#67b7dc","#fdd400","#84b761","#cc4748","#cd82ad","#2f4074","#448e4d","#b7b83f","#b9783f","#b93e3d","#913167"]},AmSlicedChart:{colors:["#67b7dc","#fdd400","#84b761","#cc4748","#cd82ad","#2f4074","#448e4d","#b7b83f","#b9783f","#b93e3d","#913167"],outlineAlpha:1,outlineThickness:2,labelTickColor:"#000000",labelTickAlpha:0.3},AmRectangularChart:{zoomOutButtonColor:'#000000',zoomOutButtonRollOverAlpha:0.15,zoomOutButtonImage:"lens"},AxisBase:{axisColor:"#000000",axisAlpha:0.3,gridAlpha:0.1,gridColor:"#000000"},ChartScrollbar:{backgroundColor:"#000000",backgroundAlpha:0.12,graphFillAlpha:0.5,graphLineAlpha:0,selectedBackgroundColor:"#FFFFFF",selectedBackgroundAlpha:0.4,gridAlpha:0.15},ChartCursor:{cursorColor:"#000000",color:"#FFFFFF",cursorAlpha:0.5},AmLegend:{color:"#000000"},AmGraph:{lineAlpha:0.9},GaugeArrow:{color:"#000000",alpha:0.8,nailAlpha:0,innerRadius:"40%",nailRadius:15,startWidth:15,borderAlpha:0.8,nailBorderAlpha:0},GaugeAxis:{tickColor:"#000000",tickAlpha:1,tickLength:15,minorTickLength:8,axisThickness:3,axisColor:'#000000',axisAlpha:1,bandAlpha:0.8},TrendLine:{lineColor:"#c03246",lineAlpha:0.8},AreasSettings:{alpha:0.8,color:"#67b7dc",colorSolid:"#003767",unlistedAreasAlpha:0.4,unlistedAreasColor:"#000000",outlineColor:"#FFFFFF",outlineAlpha:0.5,outlineThickness:0.5,rollOverColor:"#3c5bdc",rollOverOutlineColor:"#FFFFFF",selectedOutlineColor:"#FFFFFF",selectedColor:"#f15135",unlistedAreasOutlineColor:"#FFFFFF",unlistedAreasOutlineAlpha:0.5},LinesSettings:{color:"#000000",alpha:0.8},ImagesSettings:{alpha:0.8,labelColor:"#000000",color:"#000000",labelRollOverColor:"#3c5bdc"},ZoomControl:{buttonFillAlpha:0.7,buttonIconColor:"#a7a7a7"},SmallMap:{mapColor:"#000000",rectangleColor:"#f15135",backgroundColor:"#FFFFFF",backgroundAlpha:0.7,borderThickness:1,borderAlpha:0.8},PeriodSelector:{color:"#000000"},PeriodButton:{color:"#000000",background:"transparent",opacity:0.7,border:"1px solid rgba(0, 0, 0, .3)",MozBorderRadius:"5px",borderRadius:"5px",margin:"1px",outline:"none",boxSizing:"border-box"},PeriodButtonSelected:{color:"#000000",backgroundColor:"#b9cdf5",border:"1px solid rgba(0, 0, 0, .3)",MozBorderRadius:"5px",borderRadius:"5px",margin:"1px",outline:"none",opacity:1,boxSizing:"border-box"},PeriodInputField:{color:"#000000",background:"transparent",border:"1px solid rgba(0, 0, 0, .3)",outline:"none"},DataSetSelector:{color:"#000000",selectedBackgroundColor:"#b9cdf5",rollOverBackgroundColor:"#a8b0e4"},DataSetCompareList:{color:"#000000",lineHeight:"100%",boxSizing:"initial",webkitBoxSizing:"initial",border:"1px solid rgba(0, 0, 0, .3)"},DataSetSelect:{border:"1px solid rgba(0, 0, 0, .3)",outline:"none"}};
assets/js/amcharts/serial.js ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ (function(){var e=window.AmCharts;e.AmRectangularChart=e.Class({inherits:e.AmCoordinateChart,construct:function(a){e.AmRectangularChart.base.construct.call(this,a);this.theme=a;this.createEvents("zoomed","changed");this.marginRight=this.marginBottom=this.marginTop=this.marginLeft=20;this.depth3D=this.angle=0;this.plotAreaFillColors="#FFFFFF";this.plotAreaFillAlphas=0;this.plotAreaBorderColor="#000000";this.plotAreaBorderAlpha=0;this.maxZoomFactor=20;this.zoomOutButtonImageSize=19;this.zoomOutButtonImage="lens";this.zoomOutText="Show all";this.zoomOutButtonColor="#e5e5e5";this.zoomOutButtonAlpha=0;this.zoomOutButtonRollOverAlpha=1;this.zoomOutButtonPadding=8;this.trendLines=[];this.autoMargins=!0;this.marginsUpdated=!1;this.autoMarginOffset=10;e.applyTheme(this,a,"AmRectangularChart")},initChart:function(){e.AmRectangularChart.base.initChart.call(this);this.updateDxy();!this.marginsUpdated&&this.autoMargins&&(this.resetMargins(),this.drawGraphs=!1);this.processScrollbars();this.updateMargins();this.updatePlotArea();this.updateScrollbars();this.updateTrendLines();this.updateChartCursor();this.updateValueAxes();this.scrollbarOnly||this.updateGraphs()},drawChart:function(){e.AmRectangularChart.base.drawChart.call(this);this.drawPlotArea();if(e.ifArray(this.chartData)){var a=this.chartCursor;a&&a.draw()}},resetMargins:function(){var a={},b;if("xy"==this.type){var c=this.xAxes,d=this.yAxes;for(b=0;b<c.length;b++){var g=c[b];g.ignoreAxisWidth||(g.setOrientation(!0),g.fixAxisPosition(),a[g.position]=!0)}for(b=0;b<d.length;b++)c=d[b],c.ignoreAxisWidth||(c.setOrientation(!1),c.fixAxisPosition(),a[c.position]=!0)}else{d=this.valueAxes;for(b=0;b<d.length;b++)c=d[b],c.ignoreAxisWidth||(c.setOrientation(this.rotate),c.fixAxisPosition(),a[c.position]=!0);(b=this.categoryAxis)&&!b.ignoreAxisWidth&&(b.setOrientation(!this.rotate),b.fixAxisPosition(),b.fixAxisPosition(),a[b.position]=!0)}a.left&&(this.marginLeft=0);a.right&&(this.marginRight=0);a.top&&(this.marginTop=0);a.bottom&&(this.marginBottom=0);this.fixMargins=a},measureMargins:function(){var a=this.valueAxes,b,c=this.autoMarginOffset,d=this.fixMargins,g=this.realWidth,h=this.realHeight,f=c,e=c,k=g;b=h;var m;for(m=0;m<a.length;m++)a[m].handleSynchronization(),b=this.getAxisBounds(a[m],f,k,e,b),f=Math.round(b.l),k=Math.round(b.r),e=Math.round(b.t),b=Math.round(b.b);if(a=this.categoryAxis)b=this.getAxisBounds(a,f,k,e,b),f=Math.round(b.l),k=Math.round(b.r),e=Math.round(b.t),b=Math.round(b.b);d.left&&f<c&&(this.marginLeft=Math.round(-f+c),!isNaN(this.minMarginLeft)&&this.marginLeft<this.minMarginLeft&&(this.marginLeft=this.minMarginLeft));d.right&&k>=g-c&&(this.marginRight=Math.round(k-g+c),!isNaN(this.minMarginRight)&&this.marginRight<this.minMarginRight&&(this.marginRight=this.minMarginRight));d.top&&e<c+this.titleHeight&&(this.marginTop=Math.round(this.marginTop-e+c+this.titleHeight),!isNaN(this.minMarginTop)&&this.marginTop<this.minMarginTop&&(this.marginTop=this.minMarginTop));d.bottom&&b>h-c&&(this.marginBottom=Math.round(this.marginBottom+b-h+c),!isNaN(this.minMarginBottom)&&this.marginBottom<this.minMarginBottom&&(this.marginBottom=this.minMarginBottom));this.initChart()},getAxisBounds:function(a,b,c,d,g){if(!a.ignoreAxisWidth){var h=a.labelsSet,f=a.tickLength;a.inside&&(f=0);if(h)switch(h=a.getBBox(),a.position){case "top":a=h.y;d>a&&(d=a);break;case "bottom":a=h.y+h.height;g<a&&(g=a);break;case "right":a=h.x+h.width+f+3;c<a&&(c=a);break;case "left":a=h.x-f,b>a&&(b=a)}}return{l:b,t:d,r:c,b:g}},drawZoomOutButton:function(){var a=this;if(!a.zbSet){var b=a.container.set();a.zoomButtonSet.push(b);var c=a.color,d=a.fontSize,g=a.zoomOutButtonImageSize,h=a.zoomOutButtonImage.replace(/\.[a-z]*$/i,""),f=a.langObj.zoomOutText||a.zoomOutText,l=a.zoomOutButtonColor,k=a.zoomOutButtonAlpha,m=a.zoomOutButtonFontSize,p=a.zoomOutButtonPadding;isNaN(m)||(d=m);(m=a.zoomOutButtonFontColor)&&(c=m);var m=a.zoomOutButton,n;m&&(m.fontSize&&(d=m.fontSize),m.color&&(c=m.color),m.backgroundColor&&(l=m.backgroundColor),isNaN(m.backgroundAlpha)||(a.zoomOutButtonRollOverAlpha=m.backgroundAlpha));var u=m=0,u=a.pathToImages;if(h){if(e.isAbsolute(h)||void 0===u)u="";n=a.container.image(u+h+a.extension,0,0,g,g);e.setCN(a,n,"zoom-out-image");b.push(n);n=n.getBBox();m=n.width+5}void 0!==f&&(c=e.text(a.container,f,c,a.fontFamily,d,"start"),e.setCN(a,c,"zoom-out-label"),d=c.getBBox(),u=n?n.height/2-3:d.height/2,c.translate(m,u),b.push(c));n=b.getBBox();c=1;e.isModern||(c=0);l=e.rect(a.container,n.width+2*p+5,n.height+2*p-2,l,1,1,l,c);l.setAttr("opacity",k);l.translate(-p,-p);e.setCN(a,l,"zoom-out-bg");b.push(l);l.toBack();a.zbBG=l;n=l.getBBox();b.translate(a.marginLeftReal+a.plotAreaWidth-n.width+p,a.marginTopReal+p);b.hide();b.mouseover(function(){a.rollOverZB()}).mouseout(function(){a.rollOutZB()}).click(function(){a.clickZB()}).touchstart(function(){a.rollOverZB()}).touchend(function(){a.rollOutZB();a.clickZB()});for(k=0;k<b.length;k++)b[k].attr({cursor:"pointer"});void 0!==a.zoomOutButtonTabIndex&&(b.setAttr("tabindex",a.zoomOutButtonTabIndex),b.setAttr("role","menuitem"),b.keyup(function(b){13==b.keyCode&&a.clickZB()}));a.zbSet=b}},rollOverZB:function(){this.rolledOverZB=!0;this.zbBG.setAttr("opacity",this.zoomOutButtonRollOverAlpha)},rollOutZB:function(){this.rolledOverZB=!1;this.zbBG.setAttr("opacity",this.zoomOutButtonAlpha)},clickZB:function(){this.rolledOverZB=!1;this.zoomOut()},zoomOut:function(){this.zoomOutValueAxes()},drawPlotArea:function(){var a=this.dx,b=this.dy,c=this.marginLeftReal,d=this.marginTopReal,g=this.plotAreaWidth-1,h=this.plotAreaHeight-1,f=this.plotAreaFillColors,l=this.plotAreaFillAlphas,k=this.plotAreaBorderColor,m=this.plotAreaBorderAlpha;"object"==typeof l&&(l=l[0]);f=e.polygon(this.container,[0,g,g,0,0],[0,0,h,h,0],f,l,1,k,m,this.plotAreaGradientAngle);e.setCN(this,f,"plot-area");f.translate(c+a,d+b);this.set.push(f);0!==a&&0!==b&&(f=this.plotAreaFillColors,"object"==typeof f&&(f=f[0]),f=e.adjustLuminosity(f,-.15),g=e.polygon(this.container,[0,a,g+a,g,0],[0,b,b,0,0],f,l,1,k,m),e.setCN(this,g,"plot-area-bottom"),g.translate(c,d+h),this.set.push(g),a=e.polygon(this.container,[0,0,a,a,0],[0,h,h+b,b,0],f,l,1,k,m),e.setCN(this,a,"plot-area-left"),a.translate(c,d),this.set.push(a));(c=this.bbset)&&this.scrollbarOnly&&c.remove()},updatePlotArea:function(){var a=this.updateWidth(),b=this.updateHeight(),c=this.container;this.realWidth=a;this.realWidth=b;c&&this.container.setSize(a,b);var c=this.marginLeftReal,d=this.marginTopReal,a=a-c-this.marginRightReal-this.dx,b=b-d-this.marginBottomReal;1>a&&(a=1);1>b&&(b=1);this.plotAreaWidth=Math.round(a);this.plotAreaHeight=Math.round(b);this.plotBalloonsSet.translate(c,d)},updateDxy:function(){this.dx=Math.round(this.depth3D*Math.cos(this.angle*Math.PI/180));this.dy=Math.round(-this.depth3D*Math.sin(this.angle*Math.PI/180));this.d3x=Math.round(this.columnSpacing3D*Math.cos(this.angle*Math.PI/180));this.d3y=Math.round(-this.columnSpacing3D*Math.sin(this.angle*Math.PI/180))},updateMargins:function(){var a=this.getTitleHeight();this.titleHeight=a;this.marginTopReal=this.marginTop-this.dy;this.fixMargins&&!this.fixMargins.top&&(this.marginTopReal+=a);this.marginBottomReal=this.marginBottom;this.marginLeftReal=this.marginLeft;this.marginRightReal=this.marginRight},updateValueAxes:function(){var a=this.valueAxes,b;for(b=0;b<a.length;b++){var c=a[b];this.setAxisRenderers(c);this.updateObjectSize(c)}},setAxisRenderers:function(a){a.axisRenderer=e.RecAxis;a.guideFillRenderer=e.RecFill;a.axisItemRenderer=e.RecItem;a.marginsChanged=!0},updateGraphs:function(){var a=this.graphs,b;for(b=0;b<a.length;b++){var c=a[b];c.index=b;c.rotate=this.rotate;this.updateObjectSize(c)}},updateObjectSize:function(a){a.width=this.plotAreaWidth-1;a.height=this.plotAreaHeight-1;a.x=this.marginLeftReal;a.y=this.marginTopReal;a.dx=this.dx;a.dy=this.dy},updateChartCursor:function(){var a=this.chartCursor;a&&(a=e.processObject(a,e.ChartCursor,this.theme),this.updateObjectSize(a),this.addChartCursor(a),a.chart=this)},processScrollbars:function(){var a=this.chartScrollbar;a&&(a=e.processObject(a,e.ChartScrollbar,this.theme),this.addChartScrollbar(a))},updateScrollbars:function(){},removeChartCursor:function(){e.callMethod("destroy",[this.chartCursor]);this.chartCursor=null},zoomTrendLines:function(){var a=this.trendLines,b;for(b=0;b<a.length;b++){var c=a[b];c.valueAxis.recalculateToPercents?c.set&&c.set.hide():(c.x=this.marginLeftReal,c.y=this.marginTopReal,c.draw())}},handleCursorValueZoom:function(){},addTrendLine:function(a){this.trendLines.push(a)},zoomOutValueAxes:function(){for(var a=this.valueAxes,b=0;b<a.length;b++)a[b].zoomOut()},removeTrendLine:function(a){var b=this.trendLines,c;for(c=b.length-1;0<=c;c--)b[c]==a&&b.splice(c,1)},adjustMargins:function(a,b){var c=a.position,d=a.scrollbarHeight+a.offset;a.enabled&&("top"==c?b?this.marginLeftReal+=d:this.marginTopReal+=d:b?this.marginRightReal+=d:this.marginBottomReal+=d)},getScrollbarPosition:function(a,b,c){var d="bottom",g="top";a.oppositeAxis||(g=d,d="top");a.position=b?"bottom"==c||"left"==c?d:g:"top"==c||"right"==c?d:g},updateChartScrollbar:function(a,b){if(a){a.rotate=b;var c=this.marginTopReal,d=this.marginLeftReal,g=a.scrollbarHeight,h=this.dx,f=this.dy,e=a.offset;"top"==a.position?b?(a.y=c,a.x=d-g-e):(a.y=c-g+f-e,a.x=d+h):b?(a.y=c+f,a.x=d+this.plotAreaWidth+h+e):(a.y=c+this.plotAreaHeight+e,a.x=this.marginLeftReal)}},showZB:function(a){var b=this.zbSet;a&&(b=this.zoomOutText,""!==b&&b&&this.drawZoomOutButton());if(b=this.zbSet)this.zoomButtonSet.push(b),a?b.show():b.hide(),this.rollOutZB()},handleReleaseOutside:function(a){e.AmRectangularChart.base.handleReleaseOutside.call(this,a);(a=this.chartCursor)&&a.handleReleaseOutside&&a.handleReleaseOutside()},handleMouseDown:function(a){e.AmRectangularChart.base.handleMouseDown.call(this,a);var b=this.chartCursor;b&&b.handleMouseDown&&!this.rolledOverZB&&b.handleMouseDown(a)},update:function(){e.AmRectangularChart.base.update.call(this);this.chartCursor&&this.chartCursor.update&&this.chartCursor.update()},handleScrollbarValueZoom:function(a){this.relativeZoomValueAxes(a.target.valueAxes,a.relativeStart,a.relativeEnd);this.zoomAxesAndGraphs()},zoomValueScrollbar:function(a){if(a&&a.enabled){var b=a.valueAxes[0],c=b.relativeStart,d=b.relativeEnd;b.reversed&&(d=1-c,c=1-b.relativeEnd);a.percentZoom(c,d)}},zoomAxesAndGraphs:function(){if(!this.scrollbarOnly){var a=this.valueAxes,b;for(b=0;b<a.length;b++)a[b].zoom(this.start,this.end);a=this.graphs;for(b=0;b<a.length;b++)a[b].zoom(this.start,this.end);(b=this.chartCursor)&&b.clearSelection();this.zoomTrendLines()}},handleValueAxisZoomReal:function(a,b){var c=a.relativeStart,d=a.relativeEnd;if(c>d)var g=c,c=d,d=g;this.relativeZoomValueAxes(b,c,d);this.updateAfterValueZoom()},updateAfterValueZoom:function(){this.zoomAxesAndGraphs();this.zoomScrollbar()},relativeZoomValueAxes:function(a,b,c){this.hideBalloonReal();b=e.fitToBounds(b,0,1);c=e.fitToBounds(c,0,1);if(b>c){var d=b;b=c;c=d}var d=1/this.maxZoomFactor,g=e.getDecimals(d)+4;c-b<d&&(c=b+(c-b)/2,b=c-d/2,c+=d/2,1<c&&(b-=c-1,c=1),0>b&&(b=0,c=d));b=e.roundTo(b,g);c=e.roundTo(c,g);d=!1;if(a){for(g=0;g<a.length;g++){var h=a[g].zoomToRelativeValues(b,c,!0);h&&(d=h)}this.showZB()}return d},addChartCursor:function(a){e.callMethod("destroy",[this.chartCursor]);a&&(this.listenTo(a,"moved",this.handleCursorMove),this.listenTo(a,"zoomed",this.handleCursorZoom),this.listenTo(a,"zoomStarted",this.handleCursorZoomStarted),this.listenTo(a,"panning",this.handleCursorPanning),this.listenTo(a,"onHideCursor",this.handleCursorHide));this.chartCursor=a},handleCursorChange:function(){},handleCursorMove:function(a){var b,c=this.valueAxes;for(b=0;b<c.length;b++)if(!a.panning){var d=c[b];d&&d.showBalloon&&d.showBalloon(a.x,a.y)}},handleCursorZoom:function(a){if(this.skipZoomed)this.skipZoomed=!1;else{var b=this.startX0,c=this.endX0,d=this.endY0,g=this.startY0,e=a.startX,f=a.endX,l=a.startY,k=a.endY;this.startX0=this.endX0=this.startY0=this.endY0=NaN;this.handleCursorZoomReal(b+e*(c-b),b+f*(c-b),g+l*(d-g),g+k*(d-g),a)}},handleCursorHide:function(){var a,b=this.valueAxes;for(a=0;a<b.length;a++)b[a].hideBalloon();b=this.graphs;for(a=0;a<b.length;a++)b[a].hideBalloonReal()}})})();(function(){var e=window.AmCharts;e.AmSerialChart=e.Class({inherits:e.AmRectangularChart,construct:function(a){this.type="serial";e.AmSerialChart.base.construct.call(this,a);this.cname="AmSerialChart";this.theme=a;this.columnSpacing=5;this.columnSpacing3D=0;this.columnWidth=.8;var b=new e.CategoryAxis(a);b.chart=this;this.categoryAxis=b;this.zoomOutOnDataUpdate=!0;this.mouseWheelZoomEnabled=this.mouseWheelScrollEnabled=this.rotate=this.skipZoom=!1;this.minSelectedTime=0;e.applyTheme(this,a,this.cname)},initChart:function(){e.AmSerialChart.base.initChart.call(this);this.updateCategoryAxis(this.categoryAxis,this.rotate,"categoryAxis");if(this.dataChanged)this.parseData();else this.onDataUpdated();this.drawGraphs=!0},onDataUpdated:function(){var a=this.countColumns(),b=this.chartData,c=this.graphs,d;for(d=0;d<c.length;d++){var g=c[d];g.data=b;g.columnCount=a}0<b.length&&(this.firstTime=this.getStartTime(b[0].time),this.lastTime=this.getEndTime(b[b.length-1].time));this.drawChart();this.autoMargins&&!this.marginsUpdated?(this.marginsUpdated=!0,this.measureMargins()):this.dispDUpd()},syncGrid:function(){if(this.synchronizeGrid){var a=this.valueAxes,b,c;if(0<a.length){var d=0;for(c=0;c<a.length;c++)b=a[c],d<b.gridCountReal&&(d=b.gridCountReal);var g=!1;for(c=0;c<a.length;c++)if(b=a[c],b.gridCountReal<d){var h=(d-b.gridCountReal)/2,f=g=h;0!==h-Math.round(h)&&(g-=.5,f+=.5);0<=b.min&&0>b.min-g*b.step&&(f+=g,g=0);0>=b.max&&0<b.max+f*b.step&&(g+=f,f=0);h=e.getDecimals(b.step);b.minimum=e.roundTo(b.min-
2
+ g*b.step,h);b.maximum=e.roundTo(b.max+f*b.step,h);b.setStep=b.step;g=b.strictMinMax=!0}g&&this.updateAfterValueZoom();for(c=0;c<a.length;c++)b=a[c],b.minimum=NaN,b.maximum=NaN,b.setStep=NaN,b.strictMinMax=!1}}},handleWheelReal:function(a,b){if(!this.wheelBusy){var c=this.categoryAxis,d=c.parseDates,g=c.minDuration(),e=1,f=1;this.mouseWheelZoomEnabled?b||(e=-1):b&&(e=-1);var l=this.chartCursor;if(l)if(l.mouseIsOver()){var k=l.mouseX,l=l.mouseY;e!=f&&(k=this.rotate?l/this.plotAreaHeight:k/this.plotAreaWidth,e*=k,f*=1-k);k=.05*(this.end-this.start);d&&(k=.05*(this.endTime-this.startTime)/g);1>k&&(k=1);e*=k;f*=k;if(!d||c.equalSpacing)e=Math.round(e),f=Math.round(f);l=this.chartData.length;c=this.lastTime;k=this.firstTime;0>a?d?(l=this.endTime-this.startTime,d=this.startTime+e*g,g=this.endTime+f*g,0<f&&0<e&&g>=c&&(g=c,d=c-l),this.zoomToDates(new Date(d),new Date(g))):(0<f&&0<e&&this.end>=l-1&&(e=f=0),d=this.start+e,g=this.end+f,this.zoomToIndexes(d,g)):d?(l=this.endTime-this.startTime,d=this.startTime-
3
+ e*g,g=this.endTime-f*g,0<f&&0<e&&d<=k&&(d=k,g=k+l),this.zoomToDates(new Date(d),new Date(g))):(0<f&&0<e&&1>this.start&&(e=f=0),d=this.start-e,g=this.end-f,this.zoomToIndexes(d,g))}else this.handleMouseOut()}},validateData:function(a){this.marginsUpdated=!1;this.zoomOutOnDataUpdate&&!a&&(this.endTime=this.end=this.startTime=this.start=NaN);var b=a=!1,c=!1,d=this.chartScrollbar;d&&(d.dragging&&(a=!0,d.handleDragStop()),d.resizingRight&&(c=!0,d.rightDragStop()),d.resizingLeft&&(b=!0,d.leftDragStop()));e.AmSerialChart.base.validateData.call(this);a&&d.handleDragStart();c&&d.rightDragStart();b&&d.leftDragStart()},drawChart:function(){if(0<this.realWidth&&0<this.realHeight){e.AmSerialChart.base.drawChart.call(this);var a=this.chartData;if(e.ifArray(a)){var b=this.chartScrollbar;!b||!this.marginsUpdated&&this.autoMargins||b.draw();(b=this.valueScrollbar)&&b.draw();var b=a.length-1,c,d;c=this.categoryAxis;if(c.parseDates&&!c.equalSpacing){if(c=this.startTime,d=this.endTime,isNaN(c)||isNaN(d))c=this.firstTime,d=this.lastTime}else{c=this.start;d=this.end;if(isNaN(c)||isNaN(d))d=c=NaN;isNaN(c)&&(isNaN(this.startTime)||(c=this.getClosestIndex(a,"time",this.startTime,!0,0,a.length)));isNaN(d)&&(isNaN(this.endTime)||(d=this.getClosestIndex(a,"time",this.endTime,!1,0,a.length)));if(isNaN(c)||isNaN(d))c=0,d=b}this.endTime=this.startTime=this.end=this.start=void 0;this.zoom(c,d)}}else this.cleanChart()},cleanChart:function(){e.callMethod("destroy",[this.valueAxes,this.graphs,this.categoryAxis,this.chartScrollbar,this.chartCursor,this.valueScrollbar])},updateCategoryAxis:function(a,b,c){a.chart=this;a.id=c;a.rotate=b;a.setOrientation(!this.rotate);a.init();this.setAxisRenderers(a);this.updateObjectSize(a)},updateValueAxes:function(){e.AmSerialChart.base.updateValueAxes.call(this);var a=this.valueAxes,b;for(b=0;b<a.length;b++){var c=a[b],d=this.rotate;c.rotate=d;c.setOrientation(d);d=this.categoryAxis;if(!d.startOnAxis||d.parseDates)c.expandMinMax=!0}},getStartTime:function(a){var b=this.categoryAxis;return e.resetDateToMin(new Date(a),b.minPeriod,1,b.firstDayOfWeek).getTime()},getEndTime:function(a){var b=e.extractPeriod(this.categoryAxis.minPeriod);return e.changeDate(new Date(a),b.period,b.count,!0).getTime()-1},updateMargins:function(){e.AmSerialChart.base.updateMargins.call(this);var a=this.chartScrollbar;a&&(this.getScrollbarPosition(a,this.rotate,this.categoryAxis.position),this.adjustMargins(a,this.rotate));if(a=this.valueScrollbar)this.getScrollbarPosition(a,!this.rotate,this.valueAxes[0].position),this.adjustMargins(a,!this.rotate)},updateScrollbars:function(){e.AmSerialChart.base.updateScrollbars.call(this);this.updateChartScrollbar(this.chartScrollbar,this.rotate);this.updateChartScrollbar(this.valueScrollbar,!this.rotate)},zoom:function(a,b){var c=this.categoryAxis;c.parseDates&&!c.equalSpacing?(this.timeZoom(a,b),isNaN(a)&&this.zoomOutValueAxes()):this.indexZoom(a,b);(c=this.chartCursor)&&(c.pan||c.hideCursorReal());this.updateLegendValues()},timeZoom:function(a,b){var c=this.maxSelectedTime;isNaN(c)||(b!=this.endTime&&b-a>c&&(a=b-c),a!=this.startTime&&b-a>c&&(b=a+c));var d=this.minSelectedTime;if(0<d&&b-a<d){var g=Math.round(a+(b-a)/2),d=Math.round(d/2);a=g-d;b=g+d}d=this.chartData;g=this.categoryAxis;if(e.ifArray(d)&&(a!=this.startTime||b!=this.endTime)){var h=g.minDuration(),f=this.firstTime,l=this.lastTime;a||(a=f,isNaN(c)||(a=l-c));b||(b=l);a>l&&(a=l);b<f&&(b=f);a<f&&(a=f);b>l&&(b=l);b<a&&(b=a+h);b-a<h/5&&(b<l?b=a+h/5:a=b-h/5);this.startTime=a;this.endTime=b;c=d.length-1;h=this.getClosestIndex(d,"time",a,!0,0,c);d=this.getClosestIndex(d,"time",b,!1,h,c);g.timeZoom(a,b);g.zoom(h,d);this.start=e.fitToBounds(h,0,c);this.end=e.fitToBounds(d,0,c);this.zoomAxesAndGraphs();this.zoomScrollbar();this.fixCursor();this.showZB();this.syncGrid();this.updateColumnsDepth();this.dispatchTimeZoomEvent()}},showZB:function(){var a,b=this.categoryAxis;b&&b.parseDates&&!b.equalSpacing&&(this.startTime>this.firstTime&&(a=!0),this.endTime<this.lastTime&&(a=!0));0<this.start&&(a=!0);this.end<this.chartData.length-
4
+ 1&&(a=!0);if(b=this.valueAxes)b=b[0],isNaN(b.relativeStart)||(0!==e.roundTo(b.relativeStart,3)&&(a=!0),1!=e.roundTo(b.relativeEnd,3)&&(a=!0));e.AmSerialChart.base.showZB.call(this,a)},updateAfterValueZoom:function(){e.AmSerialChart.base.updateAfterValueZoom.call(this);this.updateColumnsDepth()},indexZoom:function(a,b){var c=this.maxSelectedSeries,d=!1;isNaN(c)||(b!=this.end&&b-a>c&&(a=b-c,d=!0),a!=this.start&&b-a>c&&(b=a+c,d=!0));if(d&&(d=this.chartScrollbar)&&d.dragger){var g=d.dragger.getBBox();d.maxWidth=g.width;d.maxHeight=g.height}if(a!=this.start||b!=this.end)d=this.chartData.length-1,isNaN(a)&&(a=0,isNaN(c)||(a=d-c)),isNaN(b)&&(b=d),b<a&&(b=a),b>d&&(b=d),a>d&&(a=d-1),0>a&&(a=0),this.start=a,this.end=b,this.categoryAxis.zoom(a,b),this.zoomAxesAndGraphs(),this.zoomScrollbar(),this.fixCursor(),0!==a||b!=this.chartData.length-1?this.showZB(!0):this.showZB(!1),this.syncGrid(),this.updateColumnsDepth(),this.dispatchIndexZoomEvent()},updateGraphs:function(){e.AmSerialChart.base.updateGraphs.call(this);var a=this.graphs,b;for(b=0;b<a.length;b++){var c=a[b];c.columnWidthReal=this.columnWidth;c.categoryAxis=this.categoryAxis;e.isString(c.fillToGraph)&&(c.fillToGraph=this.graphsById[c.fillToGraph])}},zoomAxesAndGraphs:function(){e.AmSerialChart.base.zoomAxesAndGraphs.call(this);this.updateColumnsDepth()},updateColumnsDepth:function(){if(0!==this.depth3D||0!==this.angle){var a,b=this.graphs,c;this.columnsArray=[];for(a=0;a<b.length;a++){c=b[a];var d=c.columnsArray;if(d){var g;for(g=0;g<d.length;g++)this.columnsArray.push(d[g])}}this.columnsArray.sort(this.compareDepth);b=this.columnsSet;if(0<this.columnsArray.length){d=this.container.set();this.columnSet.push(d);for(a=0;a<this.columnsArray.length;a++)d.push(this.columnsArray[a].column.set);c&&d.translate(c.x,c.y);this.columnsSet=d}e.remove(b)}},compareDepth:function(a,b){return a.depth>b.depth?1:-1},zoomScrollbar:function(){var a=this.chartScrollbar,b=this.categoryAxis;if(a){if(!this.zoomedByScrollbar){var c=a.dragger;c&&c.stop()}this.zoomedByScrollbar=!1;b.parseDates&&!b.equalSpacing?a.timeZoom(this.startTime,this.endTime):a.zoom(this.start,this.end)}this.zoomValueScrollbar(this.valueScrollbar)},updateTrendLines:function(){var a=this.trendLines,b;for(b=0;b<a.length;b++){var c=a[b],c=e.processObject(c,e.TrendLine,this.theme);a[b]=c;c.chart=this;c.id||(c.id="trendLineAuto"+b+"_"+(new Date).getTime());e.isString(c.valueAxis)&&(c.valueAxis=this.getValueAxisById(c.valueAxis));c.valueAxis||(c.valueAxis=this.valueAxes[0]);c.categoryAxis=this.categoryAxis}},validateNow:function(a,b){a&&this.zoomOutOnDataUpdate&&(this.endTime=this.end=this.startTime=this.start=NaN);e.AmSerialChart.base.validateNow.call(this,a,b)},countColumns:function(){var a=0,b=this.valueAxes.length,c=this.graphs.length,d,g,e=!1,f,l;for(l=0;l<b;l++){g=this.valueAxes[l];var k=g.stackType,m=0;if("100%"==k||"regular"==k)for(e=!1,f=0;f<c;f++)d=this.graphs[f],d.tcc=1,d.valueAxis==g&&"column"==d.type&&(!e&&d.stackable&&(a++,e=!0),(!d.stackable&&d.clustered||d.newStack&&0!==m)&&a++,d.columnIndex=a-1,d.clustered||(d.columnIndex=0),m++);if("none"==k||"3d"==k){m=!1;for(f=0;f<c;f++)d=this.graphs[f],d.valueAxis==g&&"column"==d.type&&(d.clustered?(d.tcc=1,d.newStack&&(a=0),d.hidden||(d.columnIndex=a,a++)):d.hidden||(m=!0,d.tcc=1,d.columnIndex=0));m&&0===a&&(a=1)}if("3d"==k){g=1;for(m=0;m<c;m++)d=this.graphs[m],d.newStack&&g++,d.depthCount=g,d.tcc=a;a=g}if("regular"==k||"100%"==k)for(g=10,m=0;m<c;m++)d=this.graphs[m],d.newStack&&g--,d.depthCount=g,d.tcc=a}return a},parseData:function(){e.AmSerialChart.base.parseData.call(this);this.parseSerialData(this.dataProvider)},getCategoryIndexByValue:function(a){var b=this.chartData,c;for(c=0;c<b.length;c++)if(b[c].category==a)return c},handleScrollbarZoom:function(a){this.zoomedByScrollbar=!0;this.zoom(a.start,a.end)},dispatchTimeZoomEvent:function(){if(this.drawGraphs&&(this.prevStartTime!=this.startTime||this.prevEndTime!=this.endTime)){var a={type:"zoomed"};a.startDate=new Date(this.startTime);a.endDate=new Date(this.endTime);a.startIndex=this.start;a.endIndex=this.end;this.startIndex=this.start;this.endIndex=this.end;this.startDate=a.startDate;this.endDate=a.endDate;this.prevStartTime=this.startTime;this.prevEndTime=this.endTime;var b=this.categoryAxis,c=e.extractPeriod(b.minPeriod).period,b=b.dateFormatsObject[c];a.startValue=e.formatDate(a.startDate,b,this);a.endValue=e.formatDate(a.endDate,b,this);a.chart=this;a.target=this;this.fire(a)}},dispatchIndexZoomEvent:function(){if(this.drawGraphs&&(this.prevStartIndex!=this.start||this.prevEndIndex!=this.end)){this.startIndex=this.start;this.endIndex=this.end;var a=this.chartData;if(e.ifArray(a)&&!isNaN(this.start)&&!isNaN(this.end)){var b={chart:this,target:this,type:"zoomed"};b.startIndex=this.start;b.endIndex=this.end;b.startValue=a[this.start].category;b.endValue=a[this.end].category;this.categoryAxis.parseDates&&(this.startTime=a[this.start].time,this.endTime=a[this.end].time,b.startDate=new Date(this.startTime),b.endDate=new Date(this.endTime));this.prevStartIndex=this.start;this.prevEndIndex=this.end;this.fire(b)}}},updateLegendValues:function(){this.legend&&this.legend.updateValues()},getClosestIndex:function(a,b,c,d,g,e){0>g&&(g=0);e>a.length-1&&(e=a.length-1);var f=g+Math.round((e-g)/2),l=a[f][b];return c==l?f:1>=e-g?d?g:Math.abs(a[g][b]-c)<Math.abs(a[e][b]-c)?g:e:c==l?f:c<l?this.getClosestIndex(a,b,c,d,g,f):this.getClosestIndex(a,b,c,d,f,e)},zoomToIndexes:function(a,b){var c=this.chartData;if(c){var d=c.length;0<d&&(0>a&&(a=0),b>d-1&&(b=d-1),d=this.categoryAxis,d.parseDates&&!d.equalSpacing?this.zoom(c[a].time,this.getEndTime(c[b].time)):this.zoom(a,b))}},zoomToDates:function(a,b){var c=this.chartData;if(c)if(this.categoryAxis.equalSpacing){var d=this.getClosestIndex(c,"time",a.getTime(),!0,0,c.length);b=e.resetDateToMin(b,this.categoryAxis.minPeriod,1);c=this.getClosestIndex(c,"time",b.getTime(),!1,0,c.length);this.zoom(d,c)}else this.zoom(a.getTime(),b.getTime())},zoomToCategoryValues:function(a,b){this.chartData&&this.zoom(this.getCategoryIndexByValue(a),this.getCategoryIndexByValue(b))},formatPeriodString:function(a,b){if(b){b.periodDataItem={};b.periodPercentDataItem={};var c=["value","open","low","high","close"],d="value open low high close average sum count".split(" "),g=b.valueAxis,h=this.chartData,f=b.numberFormatter;f||(f=this.nf);for(var l=0;l<c.length;l++){for(var k=c[l],m=0,p=0,n=0,u=0,v,x,E,t,r,B,q,w,y,C,F=this.start;F<=this.end;F++){var D=h[F];if(D){var A=D.axes[g.id].graphs[b.id];if(A){if(A.values){var z=A.values[k],D=D.x.categoryAxis;if(this.rotate){if(0>D||D>A.graph.height)z=NaN}else if(0>D||D>A.graph.width)z=NaN;if(!isNaN(z)){isNaN(v)&&(v=z);x=z;if(isNaN(E)||E>z)E=z;if(isNaN(t)||t<z)t=z;r=e.getDecimals(m);D=e.getDecimals(z);m+=z;m=e.roundTo(m,Math.max(r,D));p++;r=m/p}}if(A.percents&&(A=A.percents[k],!isNaN(A))){isNaN(B)&&(B=A);q=A;if(isNaN(w)||w>A)w=A;if(isNaN(y)||y<A)y=A;C=e.getDecimals(n);z=e.getDecimals(A);n+=A;n=e.roundTo(n,Math.max(C,z));u++;C=n/u}}}}m={open:v,close:x,high:t,low:E,average:r,sum:m,count:p};n={open:B,close:q,high:y,low:w,average:C,sum:n,count:u};a=e.formatValue(a,m,d,f,k+"\\.",this.usePrefixes,this.prefixesOfSmallNumbers,this.prefixesOfBigNumbers);a=e.formatValue(a,n,d,this.pf,"percents\\."+k+"\\.");b.periodDataItem[k]=m;b.periodPercentDataItem[k]=n}}return a=e.cleanFromEmpty(a)},formatString:function(a,b,c){if(b){var d=b.graph;if(void 0!==a){if(-1!=a.indexOf("[[category]]")){var g=b.serialDataItem.category;if(this.categoryAxis.parseDates){var h=this.balloonDateFormat,f=this.chartCursor;f&&f.categoryBalloonDateFormat&&(h=f.categoryBalloonDateFormat);h=e.formatDate(g,h,this);-1!=h.indexOf("fff")&&(h=e.formatMilliseconds(h,g));g=h}a=a.replace(/\[\[category\]\]/g,String(g.replace("$","$$$")))}g=d.numberFormatter;g||(g=this.nf);h=b.graph.valueAxis;(f=h.duration)&&!isNaN(b.values.value)&&h.maxInterval&&(f=e.formatDuration(b.values.value,f,"",h.durationUnits,h.maxInterval,g),a=a.replace(RegExp("\\[\\[value\\]\\]","g"),f));"date"==h.type&&(h=e.formatDate(new Date(b.values.value),d.dateFormat,this),f=RegExp("\\[\\[value\\]\\]","g"),a=a.replace(f,h),h=e.formatDate(new Date(b.values.open),d.dateFormat,this),f=RegExp("\\[\\[open\\]\\]","g"),a=a.replace(f,h));d="value open low high close total".split(" ");h=this.pf;a=e.formatValue(a,b.percents,d,h,"percents\\.");a=e.formatValue(a,b.values,d,g,"",this.usePrefixes,this.prefixesOfSmallNumbers,this.prefixesOfBigNumbers);a=e.formatValue(a,b.values,["percents"],h);-1!=a.indexOf("[[")&&(a=e.formatDataContextValue(a,b.dataContext));-1!=a.indexOf("[[")&&b.graph.customData&&(a=e.formatDataContextValue(a,b.graph.customData));a=e.AmSerialChart.base.formatString.call(this,a,b,c)}return a}},updateChartCursor:function(){e.AmSerialChart.base.updateChartCursor.call(this);var a=this.chartCursor,b=this.categoryAxis;if(a){var c=a.categoryBalloonAlpha,d=a.categoryBalloonColor,g=a.color;void 0===d&&(d=a.cursorColor);var h=a.valueZoomable,f=a.zoomable,l=a.valueLineEnabled;this.rotate?(a.vLineEnabled=l,a.hZoomEnabled=h,a.vZoomEnabled=f):(a.hLineEnabled=l,a.vZoomEnabled=h,a.hZoomEnabled=f);if(a.valueLineBalloonEnabled)for(l=0;l<this.valueAxes.length;l++)h=this.valueAxes[l],(f=h.balloon)||(f={}),f=e.extend(f,this.balloon,!0),f.fillColor=d,f.balloonColor=d,f.fillAlpha=c,f.borderColor=d,f.color=g,h.balloon=f;else for(f=0;f<this.valueAxes.length;f++)h=this.valueAxes[f],h.balloon&&(h.balloon=null);b&&(b.balloonTextFunction=a.categoryBalloonFunction,a.categoryLineAxis=b,b.balloonText=a.categoryBalloonText,a.categoryBalloonEnabled&&((f=b.balloon)||(f={}),f=e.extend(f,this.balloon,!0),f.fillColor=d,f.balloonColor=d,f.fillAlpha=c,f.borderColor=d,f.color=g,b.balloon=f),b.balloon&&(b.balloon.enabled=a.categoryBalloonEnabled))}},addChartScrollbar:function(a){e.callMethod("destroy",[this.chartScrollbar]);a&&(a.chart=this,this.listenTo(a,"zoomed",this.handleScrollbarZoom));this.rotate?void 0===a.width&&(a.width=a.scrollbarHeight):void 0===a.height&&(a.height=a.scrollbarHeight);a.gridAxis=this.categoryAxis;this.chartScrollbar=a},addValueScrollbar:function(a){e.callMethod("destroy",[this.valueScrollbar]);a&&(a.chart=this,this.listenTo(a,"zoomed",this.handleScrollbarValueZoom),this.listenTo(a,"zoomStarted",this.handleCursorZoomStarted));var b=a.scrollbarHeight;this.rotate?void 0===a.height&&(a.height=b):void 0===a.width&&(a.width=b);a.gridAxis||(a.gridAxis=this.valueAxes[0]);a.valueAxes=this.valueAxes;this.valueScrollbar=a},removeChartScrollbar:function(){e.callMethod("destroy",[this.chartScrollbar]);this.chartScrollbar=null},removeValueScrollbar:function(){e.callMethod("destroy",[this.valueScrollbar]);this.valueScrollbar=null},handleReleaseOutside:function(a){e.AmSerialChart.base.handleReleaseOutside.call(this,a);e.callMethod("handleReleaseOutside",[this.chartScrollbar,this.valueScrollbar])},update:function(){e.AmSerialChart.base.update.call(this);this.chartScrollbar&&this.chartScrollbar.update&&this.chartScrollbar.update();this.valueScrollbar&&this.valueScrollbar.update&&this.valueScrollbar.update()},processScrollbars:function(){e.AmSerialChart.base.processScrollbars.call(this);var a=this.valueScrollbar;a&&(a=e.processObject(a,e.ChartScrollbar,this.theme),a.id="valueScrollbar",this.addValueScrollbar(a))},handleValueAxisZoom:function(a){this.handleValueAxisZoomReal(a,this.valueAxes)},zoomOut:function(){e.AmSerialChart.base.zoomOut.call(this);this.zoom();this.syncGrid()},getNextItem:function(a){var b=a.index,c=this.chartData,d=a.graph;if(b+1<c.length)for(b+=1;b<c.length;b++)if(a=c[b])if(a=a.axes[d.valueAxis.id].graphs[d.id],!isNaN(a.y))return a},handleCursorZoomReal:function(a,b,c,d,e){var h=e.target,f,l;this.rotate?(isNaN(a)||isNaN(b)||this.relativeZoomValueAxes(this.valueAxes,a,b)&&this.updateAfterValueZoom(),h.vZoomEnabled&&(f=e.start,l=e.end)):(isNaN(c)||isNaN(d)||this.relativeZoomValueAxes(this.valueAxes,c,d)&&this.updateAfterValueZoom(),h.hZoomEnabled&&(f=e.start,l=e.end));isNaN(f)||isNaN(l)||(a=this.categoryAxis,a.parseDates&&!a.equalSpacing?this.zoomToDates(new Date(f),new Date(l)):this.zoomToIndexes(f,l))},handleCursorZoomStarted:function(){var a=this.valueAxes;if(a){var a=a[0],b=a.relativeStart,c=a.relativeEnd;a.reversed&&(b=1-a.relativeEnd,c=1-a.relativeStart);this.rotate?(this.startX0=b,this.endX0=c):(this.startY0=b,this.endY0=c)}this.categoryAxis&&(this.start0=this.start,this.end0=this.end,this.startTime0=this.startTime,this.endTime0=this.endTime)},fixCursor:function(){this.chartCursor&&this.chartCursor.fixPosition();this.prevCursorItem=null},handleCursorMove:function(a){e.AmSerialChart.base.handleCursorMove.call(this,a);var b=a.target,c=this.categoryAxis;if(a.panning)this.handleCursorHide(a);else if(this.chartData&&!b.isHidden){var d=this.graphs;if(d){var g;g=c.xToIndex(this.rotate?a.y:a.x);if(g=this.chartData[g]){var h,f,l,k;if(b.oneBalloonOnly&&b.valueBalloonsEnabled){var m=Infinity;for(h=d.length-1;0<=h;h--)if(f=d[h],f.balloon.enabled&&f.showBalloon&&!f.hidden){l=f.valueAxis.id;l=g.axes[l].graphs[f.id];if(b.showNextAvailable&&isNaN(l.y)&&(l=this.getNextItem(l),!l))continue;l=l.y;"top"==f.showBalloonAt&&(l=0);"bottom"==f.showBalloonAt&&(l=this.height);var p=b.mouseX,n=b.mouseY;l=this.rotate?Math.abs(p-l):Math.abs(n-l);l<m&&(m=l,k=f)}b.mostCloseGraph=k}if(this.prevCursorItem!=g||k!=this.prevMostCloseGraph){m=[];for(h=0;h<d.length;h++){f=d[h];l=f.valueAxis.id;l=g.axes[l].graphs[f.id];if(b.showNextAvailable&&isNaN(l.y)&&(l=this.getNextItem(l),!l&&f.balloon)){f.balloon.hide();continue}k&&f!=k?(f.showGraphBalloon(l,b.pointer,!1,b.graphBulletSize,b.graphBulletAlpha),f.balloon.hide(0)):b.valueBalloonsEnabled?(f.balloon.showBullet=b.bulletsEnabled,f.balloon.bulletSize=b.bulletSize/2,a.hideBalloons||(f.showGraphBalloon(l,b.pointer,!1,b.graphBulletSize,b.graphBulletAlpha),f.balloon.set&&m.push({balloon:f.balloon,y:f.balloon.pointToY}))):(f.currentDataItem=l,f.resizeBullet(l,b.graphBulletSize,b.graphBulletAlpha))}b.avoidBalloonOverlapping&&this.arrangeBalloons(m);this.prevCursorItem=g}this.prevMostCloseGraph=k}}d=e.fitToBounds(a.x,0,b.width);k=e.fitToBounds(a.y,0,b.height);c.showBalloon(d,k,b.categoryBalloonDateFormat,a.skip);this.updateLegendValues()}},handleCursorHide:function(a){e.AmSerialChart.base.handleCursorHide.call(this,a);a=this.categoryAxis;this.prevCursorItem=null;this.updateLegendValues();a&&a.hideBalloon();a=this.graphs;var b;for(b=0;b<a.length;b++)a[b].currentDataItem=null},handleCursorPanning:function(a){var b=a.target,c,d=a.deltaX,g=a.deltaY,h=a.delta2X,f=a.delta2Y;a=!1;if(this.rotate){isNaN(h)&&(h=d,a=!0);var l=this.endX0;c=this.startX0;var k=l-c,l=l-k*h,m=k;a||(m=0);a=e.fitToBounds(c-k*d,0,1-m)}else isNaN(f)&&(f=g,a=!0),l=this.endY0,c=this.startY0,k=l-c,l+=k*g,m=k,a||(m=0),a=e.fitToBounds(c+k*f,0,1-m);c=e.fitToBounds(l,m,1);var p;b.valueZoomable&&(p=this.relativeZoomValueAxes(this.valueAxes,a,c));var n;c=this.categoryAxis;this.rotate&&(d=g,h=f);a=!1;isNaN(h)&&(h=d,a=!0);if(b.zoomable&&(0<Math.abs(d)||0<Math.abs(h)))if(c.parseDates&&!c.equalSpacing){if(f=this.startTime0,g=this.endTime0,c=g-f,h*=c,k=this.firstTime,l=this.lastTime,m=c,a||(m=0),a=Math.round(e.fitToBounds(f-c*d,k,l-m)),h=Math.round(e.fitToBounds(g-h,k+m,l)),this.startTime!=a||this.endTime!=h)n={chart:this,target:b,type:"zoomed",start:a,end:h},this.skipZoomed=!0,b.fire(n),this.zoom(a,h),n=!0}else if(f=this.start0,g=this.end0,c=g-f,d=Math.round(c*d),h=Math.round(c*h),k=this.chartData.length-1,a||(c=0),a=e.fitToBounds(f-d,0,k-c),c=e.fitToBounds(g-h,c,k),this.start!=a||this.end!=c)this.skipZoomed=!0,b.fire({chart:this,target:b,type:"zoomed",start:a,end:c}),this.zoom(a,c),n=!0;!n&&p&&this.updateAfterValueZoom()},arrangeBalloons:function(a){var b=this.plotAreaHeight;a.sort(this.compareY);var c,d,e,h=this.plotAreaWidth,f=a.length;for(c=0;c<f;c++)d=a[c].balloon,d.setBounds(0,0,h,b),d.restorePrevious(),d.draw(),b=d.yPos-3;a.reverse();for(c=0;c<f;c++){d=a[c].balloon;var b=d.bottom,l=d.bottom-d.yPos;0<c&&b-l<e+3&&d.setBounds&&(d.setBounds(0,e+3,h,e+l+3),d.restorePrevious(),d.draw());d.set&&d.set.show();e=d.bottom}},compareY:function(a,b){return a.y<b.y?1:-1}})})();(function(){var e=window.AmCharts;e.Cuboid=e.Class({construct:function(a,b,c,d,e,h,f,l,k,m,p,n,u,v,x,E,t){this.set=a.set();this.container=a;this.h=Math.round(c);this.w=Math.round(b);this.dx=d;this.dy=e;this.colors=h;this.alpha=f;this.bwidth=l;this.bcolor=k;this.balpha=m;this.dashLength=v;this.topRadius=E;this.pattern=x;this.rotate=u;this.bcn=t;u?0>b&&0===p&&(p=180):0>c&&270==p&&(p=90);this.gradientRotation=p;0===d&&0===e&&(this.cornerRadius=n);this.draw()},draw:function(){var a=this.set;a.clear();var b=this.container,c=b.chart,d=this.w,g=this.h,h=this.dx,f=this.dy,l=this.colors,k=this.alpha,m=this.bwidth,p=this.bcolor,n=this.balpha,u=this.gradientRotation,v=this.cornerRadius,x=this.dashLength,E=this.pattern,t=this.topRadius,r=this.bcn,B=l,q=l;"object"==typeof l&&(B=l[0],q=l[l.length-1]);var w,y,C,F,D,A,z,L,M,Q=k;E&&(k=0);var G,H,I,J,K=this.rotate;if(0<Math.abs(h)||0<Math.abs(f))if(isNaN(t))z=q,q=e.adjustLuminosity(B,-.2),q=e.adjustLuminosity(B,-.2),w=e.polygon(b,[0,h,d+h,d,0],[0,f,f,0,0],q,k,1,p,0,u),0<n&&(M=e.line(b,[0,h,d+h],[0,f,f],p,n,m,x)),y=e.polygon(b,[0,0,d,d,0],[0,g,g,0,0],q,k,1,p,0,u),y.translate(h,f),0<n&&(C=e.line(b,[h,h],[f,f+g],p,n,m,x)),F=e.polygon(b,[0,0,h,h,0],[0,g,g+f,f,0],q,k,1,p,0,u),D=e.polygon(b,[d,d,d+h,d+h,d],[0,g,g+f,f,0],q,k,1,p,0,u),0<n&&(A=e.line(b,[d,d+h,d+h,d],[0,f,g+f,g],p,n,m,x)),q=e.adjustLuminosity(z,.2),z=e.polygon(b,[0,h,d+h,d,0],[g,g+f,g+f,g,g],q,k,1,p,0,u),0<n&&(L=e.line(b,[0,h,d+h],[g,g+f,g+f],p,n,m,x));else{var N,O,P;K?(N=g/2,q=h/2,P=g/2,O=d+h/2,H=Math.abs(g/2),G=Math.abs(h/2)):(q=d/2,N=f/2,O=d/2,P=g+f/2+1,G=Math.abs(d/2),H=Math.abs(f/2));I=G*t;J=H*t;.1<G&&.1<G&&(w=e.circle(b,G,B,k,m,p,n,!1,H),w.translate(q,N));.1<I&&.1<I&&(z=e.circle(b,I,e.adjustLuminosity(B,.5),k,m,p,n,!1,J),z.translate(O,P))}k=Q;1>Math.abs(g)&&(g=0);1>Math.abs(d)&&(d=0);!isNaN(t)&&(0<Math.abs(h)||0<Math.abs(f))?(l=[B],l={fill:l,stroke:p,"stroke-width":m,"stroke-opacity":n,"fill-opacity":k},K?(k="M0,0 L"+d+","+(g/2-g/2*t),m=" B",0<d&&(m=" A"),e.VML?(k+=m+Math.round(d-
5
+ I)+","+Math.round(g/2-J)+","+Math.round(d+I)+","+Math.round(g/2+J)+","+d+",0,"+d+","+g,k=k+(" L0,"+g)+(m+Math.round(-G)+","+Math.round(g/2-H)+","+Math.round(G)+","+Math.round(g/2+H)+",0,"+g+",0,0")):(k+="A"+I+","+J+",0,0,0,"+d+","+(g-g/2*(1-t))+"L0,"+g,k+="A"+G+","+H+",0,0,1,0,0"),G=90):(m=d/2-d/2*t,k="M0,0 L"+m+","+g,e.VML?(k="M0,0 L"+m+","+g,m=" B",0>g&&(m=" A"),k+=m+Math.round(d/2-I)+","+Math.round(g-J)+","+Math.round(d/2+I)+","+Math.round(g+J)+",0,"+g+","+d+","+g,k+=" L"+d+",0",k+=m+Math.round(d/2+G)+","+Math.round(H)+","+Math.round(d/2-G)+","+Math.round(-H)+","+d+",0,0,0"):(k+="A"+I+","+J+",0,0,0,"+(d-d/2*(1-t))+","+g+"L"+d+",0",k+="A"+G+","+H+",0,0,1,0,0"),G=180),b=b.path(k).attr(l),b.gradient("linearGradient",[B,e.adjustLuminosity(B,-.3),e.adjustLuminosity(B,-.3),B],G),K?b.translate(h/2,0):b.translate(0,f/2)):b=0===g?e.line(b,[0,d],[0,0],p,n,m,x):0===d?e.line(b,[0,0],[0,g],p,n,m,x):0<v?e.rect(b,d,g,l,k,m,p,n,v,u,x):e.polygon(b,[0,0,d,d,0],[0,g,g,0,0],l,k,m,p,n,u,!1,x);d=isNaN(t)?0>g?[w,M,y,C,F,D,A,z,L,b]:[z,L,y,C,F,D,w,M,A,b]:K?0<d?[w,b,z]:[z,b,w]:0>g?[w,b,z]:[z,b,w];e.setCN(c,b,r+"front");e.setCN(c,y,r+"back");e.setCN(c,z,r+"top");e.setCN(c,w,r+"bottom");e.setCN(c,F,r+"left");e.setCN(c,D,r+"right");for(w=0;w<d.length;w++)if(y=d[w])a.push(y),e.setCN(c,y,r+"element");E&&b.pattern(E,NaN,c.path)},width:function(a){isNaN(a)&&(a=0);this.w=Math.round(a);this.draw()},height:function(a){isNaN(a)&&(a=0);this.h=Math.round(a);this.draw()},animateHeight:function(a,b){var c=this;c.animationFinished=!1;c.easing=b;c.totalFrames=a*e.updateRate;c.rh=c.h;c.frame=0;c.height(1);setTimeout(function(){c.updateHeight.call(c)},1E3/e.updateRate)},updateHeight:function(){var a=this;a.frame++;var b=a.totalFrames;a.frame<=b?(b=a.easing(0,a.frame,1,a.rh-1,b),a.height(b),window.requestAnimationFrame?window.requestAnimationFrame(function(){a.updateHeight.call(a)}):setTimeout(function(){a.updateHeight.call(a)},1E3/e.updateRate)):(a.height(a.rh),a.animationFinished=!0)},animateWidth:function(a,b){var c=this;c.animationFinished=!1;c.easing=b;c.totalFrames=a*e.updateRate;c.rw=c.w;c.frame=0;c.width(1);setTimeout(function(){c.updateWidth.call(c)},1E3/e.updateRate)},updateWidth:function(){var a=this;a.frame++;var b=a.totalFrames;a.frame<=b?(b=a.easing(0,a.frame,1,a.rw-1,b),a.width(b),window.requestAnimationFrame?window.requestAnimationFrame(function(){a.updateWidth.call(a)}):setTimeout(function(){a.updateWidth.call(a)},1E3/e.updateRate)):(a.width(a.rw),a.animationFinished=!0)}})})();(function(){var e=window.AmCharts;e.CategoryAxis=e.Class({inherits:e.AxisBase,construct:function(a){this.cname="CategoryAxis";e.CategoryAxis.base.construct.call(this,a);this.minPeriod="DD";this.equalSpacing=this.parseDates=!1;this.position="bottom";this.startOnAxis=!1;this.gridPosition="middle";this.safeDistance=30;this.stickBalloonToCategory=!1;e.applyTheme(this,a,this.cname)},draw:function(){e.CategoryAxis.base.draw.call(this);this.generateDFObject();var a=this.chart.chartData;this.data=a;this.labelRotationR=this.labelRotation;this.type=null;if(e.ifArray(a)){var b,c=this.chart;"scrollbar"!=this.id?(e.setCN(c,this.set,"category-axis"),e.setCN(c,this.labelsSet,"category-axis"),e.setCN(c,this.axisLine.axisSet,"category-axis")):this.bcn=this.id+"-";var d=this.start,g=this.labelFrequency,h=0,f=this.end-d+1,l=this.gridCountR,k=this.showFirstLabel,m=this.showLastLabel,p,n="",n=e.extractPeriod(this.minPeriod),u=e.getPeriodDuration(n.period,n.count),v,x,E,t,r,B=this.rotate,q=this.firstDayOfWeek,w=this.boldPeriodBeginning;b=e.resetDateToMin(new Date(a[a.length-1].time+1.05*u),this.minPeriod,1,q).getTime();this.firstTime=c.firstTime;this.endTime>b&&(this.endTime=b);r=this.minorGridEnabled;x=this.gridAlpha;var y=0,C=0;if(this.widthField)for(b=this.start;b<=this.end;b++)if(t=this.data[b]){var F=Number(this.data[b].dataContext[this.widthField]);isNaN(F)||(y+=F,t.widthValue=F)}if(this.parseDates&&!this.equalSpacing)this.lastTime=a[a.length-1].time,this.maxTime=e.resetDateToMin(new Date(this.lastTime+1.05*u),this.minPeriod,1,q).getTime(),this.timeDifference=this.endTime-this.startTime,this.parseDatesDraw();else if(!this.parseDates){if(this.cellWidth=this.getStepWidth(f),f<l&&(l=f),h+=this.start,this.stepWidth=this.getStepWidth(f),0<l)for(q=Math.floor(f/l),t=this.chooseMinorFrequency(q),f=h,f/2==Math.round(f/2)&&f--,0>f&&(f=0),w=0,this.widthField&&(f=this.start,q=1),this.end-f+1>=this.autoRotateCount&&(this.labelRotationR=this.autoRotateAngle),b=f;b<=this.end+2;b++){l=!1;0<=b&&b<this.data.length?(v=this.data[b],n=v.category,l=v.forceShow):n="";if(r&&!isNaN(t))if(b/t==Math.round(b/t)||l)b/q==Math.round(b/q)||l||(this.gridAlpha=this.minorGridAlpha,n=void 0);else continue;else if(b/q!=Math.round(b/q)&&!l)continue;f=this.getCoordinate(b-h);l=0;"start"==this.gridPosition&&(f-=this.cellWidth/2,l=this.cellWidth/2);p=!0;E=l;"start"==this.tickPosition&&(E=0,p=!1,l=0);if(b==d&&!k||b==this.end&&!m)n=void 0;Math.round(w/g)!=w/g&&(n=void 0);w++;a=this.cellWidth;B&&(a=NaN,this.ignoreAxisWidth||!c.autoMargins)&&(a="right"==this.position?c.marginRight-this.titleWidth:c.marginLeft-this.titleWidth,a-=this.tickLength+10);this.labelFunction&&v&&(n=this.labelFunction(n,v,this));n=e.fixBrakes(n);u=!1;this.boldLabels&&(u=!0);b>this.end&&"start"==this.tickPosition&&(n=" ");this.rotate&&this.inside&&(l-=2);isNaN(v.widthValue)||(v.percentWidthValue=v.widthValue/y*100,a=this.rotate?this.height*v.widthValue/y:this.width*v.widthValue/y,f=C,C+=a,E=l=a/2);p=new this.axisItemRenderer(this,f,n,p,a,l,void 0,u,E,!1,v.labelColor,v.className);p.serialDataItem=v;this.pushAxisItem(p);this.gridAlpha=x}}else if(this.parseDates&&this.equalSpacing){h=this.start;this.startTime=this.data[this.start].time;this.endTime=this.data[this.end].time;this.timeDifference=this.endTime-this.startTime;b=this.choosePeriod(0);g=b.period;v=b.count;b=e.getPeriodDuration(g,v);b<u&&(g=n.period,v=n.count,b=u);x=g;"WW"==x&&(x="DD");this.currentDateFormat=this.dateFormatsObject[x];this.stepWidth=this.getStepWidth(f);l=Math.ceil(this.timeDifference/b)+1;n=e.resetDateToMin(new Date(this.startTime-
6
+ b),g,v,q).getTime();this.cellWidth=this.getStepWidth(f);f=Math.round(n/b);d=-1;f/2==Math.round(f/2)&&(d=-2,n-=b);f=this.start;f/2==Math.round(f/2)&&f--;0>f&&(f=0);C=this.end+2;C>=this.data.length&&(C=this.data.length);a=!1;a=!k;this.previousPos=-1E3;20<this.labelRotationR&&(this.safeDistance=5);F=f;if(this.data[f].time!=e.resetDateToMin(new Date(this.data[f].time),g,v,q).getTime()){var u=0,D=n;for(b=f;b<C;b++)t=this.data[b].time,this.checkPeriodChange(g,v,t,D)&&(u++,2<=u&&(F=b,b=C),D=t)}r&&1<v&&(t=this.chooseMinorFrequency(v),e.getPeriodDuration(g,t));if(0<this.gridCountR)for(b=f;b<C;b++)if(t=this.data[b].time,this.checkPeriodChange(g,v,t,n)&&b>=F){f=this.getCoordinate(b-this.start);r=!1;this.nextPeriod[x]&&(r=this.checkPeriodChange(this.nextPeriod[x],1,t,n,x))&&e.resetDateToMin(new Date(t),this.nextPeriod[x],1,q).getTime()!=t&&(r=!1);u=!1;r&&this.markPeriodChange?(r=this.dateFormatsObject[this.nextPeriod[x]],u=!0):r=this.dateFormatsObject[x];n=e.formatDate(new Date(t),r,c);if(b==d&&!k||b==l&&!m)n=" ";a?a=!1:(w||(u=!1),f-this.previousPos>this.safeDistance*Math.cos(this.labelRotationR*Math.PI/180)&&(this.labelFunction&&(n=this.labelFunction(n,new Date(t),this,g,v,E)),this.boldLabels&&(u=!0),p=new this.axisItemRenderer(this,f,n,void 0,void 0,void 0,void 0,u),r=p.graphics(),this.pushAxisItem(p),r=r.getBBox().width,e.isModern||(r-=f),this.previousPos=f+r));E=n=t}}for(b=k=0;b<this.data.length;b++)if(t=this.data[b])this.parseDates&&!this.equalSpacing?(m=t.time,d=this.cellWidth,"MM"==this.minPeriod&&(d=864E5*e.daysInMonth(new Date(m))*this.stepWidth,t.cellWidth=d),m=Math.round((m-this.startTime)*this.stepWidth+d/2)):m=this.getCoordinate(b-h),t.x[this.id]=m;if(this.widthField)for(b=this.start;b<=this.end;b++)t=this.data[b],d=t.widthValue,t.percentWidthValue=d/y*100,this.rotate?(m=this.height*d/y/2+k,k=this.height*d/y+k):(m=this.width*d/y/2+k,k=this.width*d/y+k),t.x[this.id]=m;y=this.guides.length;for(b=0;b<y;b++)if(k=this.guides[b],q=q=q=r=d=NaN,m=k.above,k.toCategory&&(q=c.getCategoryIndexByValue(k.toCategory),isNaN(q)||(d=this.getCoordinate(q-h),k.expand&&(d+=this.cellWidth/2),p=new this.axisItemRenderer(this,d,"",!0,NaN,NaN,k),this.pushAxisItem(p,m))),k.category&&(q=c.getCategoryIndexByValue(k.category),isNaN(q)||(r=this.getCoordinate(q-h),k.expand&&(r-=this.cellWidth/2),q=(d-r)/2,p=new this.axisItemRenderer(this,r,k.label,!0,NaN,q,k),this.pushAxisItem(p,m))),w=c.dataDateFormat,k.toDate&&(!w||k.toDate instanceof Date||(k.toDate=k.toDate.toString()+" |"),k.toDate=e.getDate(k.toDate,w),this.equalSpacing?(q=c.getClosestIndex(this.data,"time",k.toDate.getTime(),!1,0,this.data.length-1),isNaN(q)||(d=this.getCoordinate(q-h))):d=(k.toDate.getTime()-this.startTime)*this.stepWidth,p=new this.axisItemRenderer(this,d,"",!0,NaN,NaN,k),this.pushAxisItem(p,m)),k.date&&(!w||k.date instanceof Date||(k.date=k.date.toString()+" |"),k.date=e.getDate(k.date,w),this.equalSpacing?(q=c.getClosestIndex(this.data,"time",k.date.getTime(),!1,0,this.data.length-1),isNaN(q)||(r=this.getCoordinate(q-h))):r=(k.date.getTime()-
7
+ this.startTime)*this.stepWidth,q=(d-r)/2,p=!0,k.toDate&&(p=!1),p="H"==this.orientation?new this.axisItemRenderer(this,r,k.label,p,2*q,NaN,k):new this.axisItemRenderer(this,r,k.label,!1,NaN,q,k),this.pushAxisItem(p,m)),p&&(q=p.label)&&this.addEventListeners(q,k),0<d||0<r){q=!1;if(this.rotate){if(d<this.height||r<this.height)q=!0}else if(d<this.width||r<this.width)q=!0;q&&(d=new this.guideFillRenderer(this,r,d,k),r=d.graphics(),this.pushAxisItem(d,m),k.graphics=r,r.index=b,this.addEventListeners(r,k))}if(c=c.chartCursor)B?c.fixHeight(this.cellWidth):(c.fixWidth(this.cellWidth),c.fullWidth&&this.balloon&&(this.balloon.minWidth=this.cellWidth));this.previousHeight=A}this.axisCreated=!0;this.set.translate(this.x,this.y);this.labelsSet.translate(this.x,this.y);this.labelsSet.show();this.positionTitle();(B=this.axisLine.set)&&B.toFront();var A=this.getBBox().height;2<A-this.previousHeight&&this.autoWrap&&!this.parseDates&&(this.axisCreated=this.chart.marginsUpdated=!1)},xToIndex:function(a){var b=this.data,c=this.chart,d=c.rotate,g=this.stepWidth,h;if(this.parseDates&&!this.equalSpacing)a=this.startTime+Math.round(a/g)-this.minDuration()/2,h=c.getClosestIndex(b,"time",a,!1,this.start,this.end+1);else if(this.widthField)for(c=Infinity,g=this.start;g<=this.end;g++){var f=this.data[g];f&&(f=Math.abs(f.x[this.id]-a),f<c&&(c=f,h=g))}else this.startOnAxis||(a-=g/2),h=this.start+Math.round(a/g);h=e.fitToBounds(h,0,b.length-1);var l;b[h]&&(l=b[h].x[this.id]);d?l>this.height+1&&h--:l>this.width+1&&h--;0>l&&h++;return h=e.fitToBounds(h,0,b.length-1)},dateToCoordinate:function(a){return this.parseDates&&!this.equalSpacing?(a.getTime()-this.startTime)*this.stepWidth:this.parseDates&&this.equalSpacing?(a=this.chart.getClosestIndex(this.data,"time",a.getTime(),!1,0,this.data.length-1),this.getCoordinate(a-this.start)):NaN},categoryToCoordinate:function(a){if(this.chart){if(this.parseDates)return this.dateToCoordinate(new Date(a));a=this.chart.getCategoryIndexByValue(a);if(!isNaN(a))return this.getCoordinate(a-
8
+ this.start)}else return NaN},coordinateToDate:function(a){return this.equalSpacing?(a=this.xToIndex(a),new Date(this.data[a].time)):new Date(this.startTime+a/this.stepWidth)},coordinateToValue:function(a){a=this.xToIndex(a);if(a=this.data[a])return this.parseDates?a.time:a.category},getCoordinate:function(a){a*=this.stepWidth;this.startOnAxis||(a+=this.stepWidth/2);return Math.round(a)},formatValue:function(a,b){b||(b=this.currentDateFormat);this.parseDates&&(a=e.formatDate(new Date(a),b,this.chart));return a},showBalloonAt:function(a,b){void 0===b&&(b=this.parseDates?this.dateToCoordinate(new Date(a)):this.categoryToCoordinate(a));return this.adjustBalloonCoordinate(b)},formatBalloonText:function(a,b,c){var d="",g="",h=this.chart,f=this.data[b];if(f)if(this.parseDates)d=e.formatDate(f.category,c,h),b=e.changeDate(new Date(f.category),this.minPeriod,1),g=e.formatDate(b,c,h),-1!=d.indexOf("fff")&&(d=e.formatMilliseconds(d,f.category),g=e.formatMilliseconds(g,b));else{var l;this.data[b+1]&&(l=this.data[b+
9
+ 1]);d=e.fixNewLines(f.category);l&&(g=e.fixNewLines(l.category))}a=a.replace(/\[\[category\]\]/g,String(d));return a=a.replace(/\[\[toCategory\]\]/g,String(g))},adjustBalloonCoordinate:function(a,b){var c=this.xToIndex(a),d=this.chart.chartCursor;if(this.stickBalloonToCategory){var e=this.data[c];e&&(a=e.x[this.id]);this.stickBalloonToStart&&(a-=this.cellWidth/2);var h=0;if(d){var f=d.limitToGraph;if(f){var l=f.valueAxis.id;f.hidden||(h=e.axes[l].graphs[f.id].y)}this.rotate?("left"==this.position?(f&&(h-=d.width),0<h&&(h=0)):0>h&&(h=0),d.fixHLine(a,h)):("top"==this.position?(f&&(h-=d.height),0<h&&(h=0)):0>h&&(h=0),d.fullWidth&&(a+=1),d.fixVLine(a,h))}}d&&!b&&(d.setIndex(c),this.parseDates&&d.setTimestamp(this.coordinateToDate(a).getTime()));return a}})})();
assets/js/customizer-scripts.js CHANGED
@@ -7,111 +7,370 @@ jQuery(document).ready(function() {
7
 
8
  /**
9
  * Change description
10
- */
11
- jQuery('#customize-theme-controls #accordion-section-themes').hide();
12
- jQuery( '#sub-accordion-section-trackship_shipment_status_email .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
13
- jQuery( '#sub-accordion-section-ast_tracking_page_section .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
14
- jQuery( '#sub-accordion-section-ast_tracking_general_section .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
15
- jQuery( '#sub-accordion-section-custom_order_status_email .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
16
- jQuery( '.accordion-section .panel-title' ).html(wcast_customizer.customizer_title);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
- // Handle mobile button click
20
- function custom_size_mobile() {
21
- // get email width.
22
- var email_width = '684';
23
- var ratio = email_width/304;
24
- var framescale = 100/ratio;
25
- var framescale = framescale/100;
26
- jQuery('#customize-preview iframe').width(email_width+'px');
27
- jQuery('#customize-preview iframe').css({
28
- '-webkit-transform' : 'scale(' + framescale + ')',
29
- '-moz-transform' : 'scale(' + framescale + ')',
30
- '-ms-transform' : 'scale(' + framescale + ')',
31
- '-o-transform' : 'scale(' + framescale + ')',
32
- 'transform' : 'scale(' + framescale + ')'
33
- });
34
- }
35
- jQuery('#customize-footer-actions .preview-mobile').click(function(e) {
36
- custom_size_mobile();
37
  });
38
- jQuery('#customize-footer-actions .preview-desktop').click(function(e) {
39
- jQuery('#customize-preview iframe').width('100%');
40
- jQuery('#customize-preview iframe').css({
41
- '-webkit-transform' : 'scale(1)',
42
- '-moz-transform' : 'scale(1)',
43
- '-ms-transform' : 'scale(1)',
44
- '-o-transform' : 'scale(1)',
45
- 'transform' : 'scale(1)'
46
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  });
48
- jQuery('#customize-footer-actions .preview-tablet').click(function(e) {
49
- jQuery('#customize-preview iframe').width('100%');
50
- jQuery('#customize-preview iframe').css({
51
- '-webkit-transform' : 'scale(1)',
52
- '-moz-transform' : 'scale(1)',
53
- '-ms-transform' : 'scale(1)',
54
- '-o-transform' : 'scale(1)',
55
- 'transform' : 'scale(1)'
56
- });
 
 
 
 
57
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
  (function ( api ) {
60
- api.section( 'custom_order_status_email', function( section ) {
61
  section.expanded.bind( function( isExpanded ) {
62
- var url;
 
63
  if ( isExpanded ) {
64
  jQuery('#save').trigger('click');
65
- var order_status = jQuery(".preview_email_type option:selected").val();
66
-
67
- if(order_status == 'partially_shipped'){
68
- url = wcast_customizer.partial_shipped_email_preview_url;
69
- api.previewer.previewUrl.set( url );
70
- } else if(order_status == 'updated_tracking'){
71
- url = wcast_customizer.updated_tracking_email_preview_url;
72
- api.previewer.previewUrl.set( url );
73
- } else if(order_status == 'shipped'){
74
- url = wcast_customizer.shipped_email_preview_url;
75
- api.previewer.previewUrl.set( url );
76
- }
77
  }
78
  } );
79
  } );
80
  } ( wp.customize ) );
81
 
82
  (function ( api ) {
83
- api.section( 'trackship_shipment_status_email', function( section ) {
84
- section.expanded.bind( function( isExpanded ) {
85
- var url;
86
- if ( isExpanded ) {
87
- jQuery('#save').trigger('click');
88
- var shipment_status = jQuery(".preview_shipment_status_type option:selected").val();
89
-
90
- if(shipment_status == 'in_transit'){
91
- url = wcast_customizer.customer_intransit_preview_url;
92
- api.previewer.previewUrl.set( url );
93
- } else if(shipment_status == 'on_hold'){
94
- url = wcast_customizer.customer_onhold_preview_url;
95
- api.previewer.previewUrl.set( url );
96
- } else if(shipment_status == 'return_to_sender'){
97
- url = wcast_customizer.customer_returntosender_preview_url;
98
- api.previewer.previewUrl.set( url );
99
- } else if(shipment_status == 'available_for_pickup'){
100
- url = wcast_customizer.customer_availableforpickup_preview_url;
101
- api.previewer.previewUrl.set( url );
102
- } else if(shipment_status == 'out_for_delivery'){
103
- url = wcast_customizer.customer_outfordelivery_preview_url;
104
- api.previewer.previewUrl.set( url );
105
- } else if(shipment_status == 'delivered'){
106
- url = wcast_customizer.customer_delivered_preview_url;
107
- api.previewer.previewUrl.set( url );
108
- } else if(shipment_status == 'failure'){
109
- url = wcast_customizer.customer_failure_preview_url;
110
- api.previewer.previewUrl.set( url );
111
- } else if(shipment_status == 'exception'){
112
- url = wcast_customizer.customer_exception_preview_url;
113
- api.previewer.previewUrl.set( url );
114
- }
 
 
 
 
 
 
 
 
 
 
 
 
115
  }
116
  } );
117
  } );
@@ -131,12 +390,135 @@ jQuery('#customize-footer-actions .preview-tablet').click(function(e) {
131
  } ( wp.customize ) );
132
 
133
  (function ( api ) {
134
- api.section( 'ast_tracking_page_section', function( section ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  section.expanded.bind( function( isExpanded ) {
136
  var url;
137
  if ( isExpanded ) {
138
  jQuery('#save').trigger('click');
139
- url = wcast_customizer.tracking_page_preview_url;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  api.previewer.previewUrl.set( url );
141
  }
142
  } );
@@ -147,11 +529,9 @@ jQuery('#customize-footer-actions .preview-tablet').click(function(e) {
147
  jQuery(document).on("change", ".preview_order_select", function(){
148
  var wcast_preview_order_id = jQuery(this).val();
149
  var data = {
150
- security: wcast_customizer.customizer_nonce,
151
  action: 'update_email_preview_order',
152
  wcast_preview_order_id: wcast_preview_order_id,
153
  };
154
- console.log(data);
155
  jQuery.ajax({
156
  url: ajaxurl,
157
  data: data,
@@ -163,57 +543,4 @@ jQuery(document).on("change", ".preview_order_select", function(){
163
  console.log(response);
164
  }
165
  });
166
- });
167
-
168
- wp.customize( 'wcast_order_status_email_type', function( value ) {
169
- value.bind( function( wcast_order_status_email_type ) {
170
- if(wcast_order_status_email_type == 'partially_shipped'){
171
- wp.customize.previewer.previewUrl(wcast_customizer.partial_shipped_email_preview_url);
172
- wp.customize.previewer.refresh();
173
- } else if(wcast_order_status_email_type == 'updated_tracking'){
174
- wp.customize.previewer.previewUrl(wcast_customizer.updated_tracking_email_preview_url);
175
- wp.customize.previewer.refresh();
176
- } else if(wcast_order_status_email_type == 'shipped'){
177
- wp.customize.previewer.previewUrl(wcast_customizer.shipped_email_preview_url);
178
- wp.customize.previewer.refresh();
179
- }
180
- });
181
- });
182
- jQuery(document).ready(function() {
183
- var email_type = wcast_customizer.email_type;
184
- jQuery(".preview_email_type").val(email_type);
185
-
186
- var shipment_status = wcast_customizer.shipment_status;
187
- jQuery(".preview_shipment_status_type").val(shipment_status);
188
- });
189
-
190
- wp.customize( 'wcast_shipment_status_type', function( value ) {
191
- value.bind( function( wcast_shipment_status_type ) {
192
-
193
- if(wcast_shipment_status_type == 'in_transit'){
194
- wp.customize.previewer.previewUrl(wcast_customizer.customer_intransit_preview_url);
195
- wp.customize.previewer.refresh();
196
- } else if(wcast_shipment_status_type == 'on_hold'){
197
- wp.customize.previewer.previewUrl(wcast_customizer.customer_onhold_preview_url);
198
- wp.customize.previewer.refresh();
199
- } else if(wcast_shipment_status_type == 'return_to_sender'){
200
- wp.customize.previewer.previewUrl(wcast_customizer.customer_returntosender_preview_url);
201
- wp.customize.previewer.refresh();
202
- } else if(wcast_shipment_status_type == 'available_for_pickup'){
203
- wp.customize.previewer.previewUrl(wcast_customizer.customer_availableforpickup_preview_url);
204
- wp.customize.previewer.refresh();
205
- } else if(wcast_shipment_status_type == 'out_for_delivery'){
206
- wp.customize.previewer.previewUrl(wcast_customizer.customer_outfordelivery_preview_url);
207
- wp.customize.previewer.refresh();
208
- } else if(wcast_shipment_status_type == 'delivered'){
209
- wp.customize.previewer.previewUrl(wcast_customizer.customer_delivered_preview_url);
210
- wp.customize.previewer.refresh();
211
- } else if(wcast_shipment_status_type == 'failure'){
212
- wp.customize.previewer.previewUrl(wcast_customizer.customer_failure_preview_url);
213
- wp.customize.previewer.refresh();
214
- } else if(wcast_shipment_status_type == 'exception'){
215
- wp.customize.previewer.previewUrl(wcast_customizer.customer_exception_preview_url);
216
- wp.customize.previewer.refresh();
217
- }
218
- });
219
  });
7
 
8
  /**
9
  * Change description
10
+ */
11
+ jQuery(wcast_customizer.trigger_click).trigger( "click" );
12
+ jQuery('#customize-theme-controls #accordion-section-themes').hide();
13
+
14
+ if(wcast_customizer.wcast_enable_delivered_email == 'yes'){
15
+ jQuery('#customize-control-wcast_delivered_email_settings-wcast_enable_delivered_status_email input').prop('disabled', true);
16
+ }
17
+
18
+ if(jQuery("#customize-control-tracking_info_settings-show_track_label input").prop("checked") != true){
19
+ jQuery('#customize-control-tracking_info_settings-track_header_text').hide();
20
+ }
21
+
22
+ if(jQuery("#customize-control-tracking_info_settings-hide_trackig_header input").prop("checked") == true){
23
+ jQuery('#customize-control-tracking_info_settings-header_text_change').hide();
24
+ }
25
+
26
+ if(jQuery("#customize-control-woocommerce_customer_delivered_order_settings-wcast_enable_delivered_ga_tracking input").prop("checked") != true){
27
+ jQuery('#customize-control-woocommerce_customer_delivered_order_settings-wcast_delivered_analytics_link').hide();
28
+ }
29
+ if(jQuery('#customize-control-tracking_info_settings-hide_table_header input').prop("checked") == true){
30
+ jQuery('#customize-control-tracking_info_settings-provider_header_text').hide();
31
+ jQuery('#customize-control-tracking_info_settings-tracking_number_header_text').hide();
32
+ jQuery('#customize-control-tracking_info_settings-shipped_date_header_text').hide();
33
+ jQuery('#customize-control-tracking_info_settings-show_track_label').hide();
34
+ jQuery('#customize-control-tracking_info_settings-track_header_text').hide();
35
+ jQuery('#customize-control-tracking_info_settings-table_header_font_size').hide();
36
+ jQuery('#customize-control-tracking_info_settings-table_header_font_color').hide();
37
+ } else{
38
+ jQuery('#customize-control-tracking_info_settings-provider_header_text').show();
39
+ jQuery('#customize-control-tracking_info_settings-tracking_number_header_text').show();
40
+ jQuery('#customize-control-tracking_info_settings-shipped_date_header_text').show();
41
+ jQuery('#customize-control-tracking_info_settings-track_header_text').show();
42
+ jQuery('#customize-control-tracking_info_settings-table_header_font_size').show();
43
+ jQuery('#customize-control-tracking_info_settings-table_header_font_color').show();
44
+ if(jQuery("#customize-control-tracking_info_settings-show_track_label input").prop("checked") == true){
45
+ jQuery('#customize-control-tracking_info_settings-track_header_text').show();
46
+ } else{
47
+ jQuery('#customize-control-tracking_info_settings-track_header_text').hide();
48
+ }
49
+ }
50
+
51
+ if(jQuery('#customize-control-tracking_info_settings-tracking_number_link input').prop("checked") == true){
52
+ jQuery('#customize-control-tracking_info_settings-show_track_label').hide();
53
+ jQuery('#customize-control-tracking_info_settings-tracking_link_bg_color').hide();
54
+ jQuery('#customize-control-tracking_info_settings-track_header_text').hide();
55
+ } else{
56
+ if(jQuery("#customize-control-tracking_info_settings-show_track_label input").prop("checked") == true && jQuery('#customize-control-tracking_info_settings-tracking_number_link input').prop("checked") != true){
57
+ jQuery('#customize-control-tracking_info_settings-track_header_text').show();
58
+ }
59
+ jQuery('#customize-control-tracking_info_settings-show_track_label').show();
60
+ jQuery('#customize-control-tracking_info_settings-tracking_link_bg_color').show();
61
+ }
62
+
63
+ var tracking_template = jQuery(".tracking_template_select").val();
64
+ if(tracking_template == 'simple_list'){
65
+ jQuery('#customize-control-tracking_info_settings-display_shipment_provider_image').css('pointer-events','none');
66
+ jQuery('#customize-control-tracking_info_settings-display_shipment_provider_name').css('pointer-events','none');
67
+ jQuery('#customize-control-tracking_info_settings-remove_date_from_tracking').css('pointer-events','none');
68
+ jQuery('#customize-control-tracking_info_settings-table_header_block').css('pointer-events','none');
69
+ jQuery('#customize-control-tracking_info_settings-hide_table_header').css('pointer-events','none');
70
+ jQuery('#customize-control-tracking_info_settings-provider_header_text').css('pointer-events','none');
71
+ jQuery('#customize-control-tracking_info_settings-tracking_number_header_text').css('pointer-events','none');
72
+ jQuery('#customize-control-tracking_info_settings-shipped_date_header_text').css('pointer-events','none');
73
+ jQuery('#customize-control-tracking_info_settings-shipped_date_header_text').css('pointer-events','none');
74
+ jQuery('#customize-control-tracking_info_settings-tracking_number_link').css('pointer-events','none');
75
+ jQuery('#customize-control-tracking_info_settings-show_track_label').css('pointer-events','none');
76
+ jQuery('#customize-control-tracking_info_settings-track_header_text').css('pointer-events','none');
77
+ jQuery('#customize-control-tracking_info_settings-table_header_font_size').css('pointer-events','none');
78
+ jQuery('#customize-control-tracking_info_settings-table_header_font_color').css('pointer-events','none');
79
+ jQuery('#customize-control-table_header').css('pointer-events','none');
80
+ jQuery('#customize-control-tracking_info_settings-table_padding').css('pointer-events','none');
81
+ jQuery('#customize-control-tracking_info_settings-table_bg_color').css('pointer-events','none');
82
+ jQuery('#customize-control-tracking_info_settings-table_border_color').css('pointer-events','none');
83
+ jQuery('#customize-control-tracking_info_settings-table_border_size').css('pointer-events','none');
84
+ jQuery('#customize-control-tracking_info_settings-header_content_text_align').css('pointer-events','none');
85
+ jQuery('#customize-control-tracking_info_settings-table_content_font_size').css('pointer-events','none');
86
+ jQuery('#customize-control-tracking_info_settings-table_content_font_color').css('pointer-events','none');
87
+ jQuery('#customize-control-tracking_info_settings-table_content_line_height').css('pointer-events','none');
88
+ jQuery('#customize-control-tracking_info_settings-table_content_font_weight').css('pointer-events','none');
89
+ jQuery('#customize-control-tracking_info_settings-shipment_link_header').css('pointer-events','none');
90
+ jQuery('#customize-control-tracking_info_settings-tracking_link_font_color').css('pointer-events','none');
91
+ jQuery('#customize-control-tracking_info_settings-tracking_link_bg_color').css('pointer-events','none');
92
+ jQuery('#customize-control-tracking_info_settings-tracking_link_border').css('pointer-events','none');
93
+ jQuery('#customize-control-tracking_info_settings-simple_content_header').css('pointer-events','all');
94
+ jQuery('#customize-control-tracking_info_settings-simple_layout_content').css('pointer-events','all');
95
+ jQuery('#customize-control-tracking_info_settings-simple_content_variables').css('pointer-events','all');
96
+ jQuery('#customize-control-tracking_info_settings-simple_provider_font_size').css('pointer-events','all');
97
+ jQuery('#customize-control-tracking_info_settings-simple_provider_font_color').css('pointer-events','all');
98
+ jQuery('#customize-control-tracking_info_settings-show_provider_border').css('pointer-events','all');
99
+ if(jQuery('#customize-control-tracking_info_settings-show_provider_border input').prop("checked") == true){
100
+ jQuery('#customize-control-tracking_info_settings-provider_border_color').css('pointer-events','all');
101
+ }
102
+ } else{
103
+ jQuery('#customize-control-tracking_info_settings-simple_content_header').css('pointer-events','none');
104
+ jQuery('#customize-control-tracking_info_settings-simple_layout_content').css('pointer-events','none');
105
+ jQuery('#customize-control-tracking_info_settings-simple_content_variables').css('pointer-events','none');
106
+ jQuery('#customize-control-tracking_info_settings-simple_provider_font_size').css('pointer-events','none');
107
+ jQuery('#customize-control-tracking_info_settings-simple_provider_font_color').css('pointer-events','none');
108
+ jQuery('#customize-control-tracking_info_settings-show_provider_border').css('pointer-events','none');
109
+ jQuery('#customize-control-tracking_info_settings-provider_border_color').css('pointer-events','none');
110
+ }
111
+ });
112
+
113
+ jQuery(document).on("click", "#customize-control-tracking_info_settings-show_provider_border input", function(){
114
+ if(jQuery(this).prop("checked") == true){
115
+ jQuery('#customize-control-tracking_info_settings-provider_border_color').show();
116
+ } else{
117
+ jQuery('#customize-control-tracking_info_settings-provider_border_color').hide();
118
+ }
119
+ });
120
+
121
+ jQuery(document).on("click", "#customize-control-tracking_info_settings-hide_trackig_header input", function(){
122
+ if(jQuery(this).prop("checked") == true){
123
+ jQuery('#customize-control-tracking_info_settings-header_text_change').hide();
124
+ } else{
125
+ jQuery('#customize-control-tracking_info_settings-header_text_change').show();
126
+ }
127
  });
128
+
129
+ jQuery(document).on("change", ".tracking_template_select", function(){
130
+ var tracking_template = jQuery(this).val();
131
+
132
+ if(tracking_template == 'simple_list'){
133
+ jQuery('#customize-control-tracking_info_settings-table_content_header').css('pointer-events','none');
134
+ jQuery('#customize-control-tracking_info_settings-display_shipment_provider_image').css('pointer-events','none');
135
+ jQuery('#customize-control-tracking_info_settings-display_shipment_provider_name').css('pointer-events','none');
136
+ jQuery('#customize-control-tracking_info_settings-remove_date_from_tracking').css('pointer-events','none');
137
+ jQuery('#customize-control-tracking_info_settings-table_header_block').css('pointer-events','none');
138
+ jQuery('#customize-control-tracking_info_settings-hide_table_header').css('pointer-events','none');
139
+ jQuery('#customize-control-tracking_info_settings-provider_header_text').css('pointer-events','none');
140
+ jQuery('#customize-control-tracking_info_settings-tracking_number_header_text').css('pointer-events','none');
141
+ jQuery('#customize-control-tracking_info_settings-shipped_date_header_text').css('pointer-events','none');
142
+ jQuery('#customize-control-tracking_info_settings-shipped_date_header_text').css('pointer-events','none');
143
+ jQuery('#customize-control-tracking_info_settings-tracking_number_link').css('pointer-events','none');
144
+ jQuery('#customize-control-tracking_info_settings-show_track_label').css('pointer-events','none');
145
+ jQuery('#customize-control-tracking_info_settings-track_header_text').css('pointer-events','none');
146
+ jQuery('#customize-control-tracking_info_settings-table_header_font_size').css('pointer-events','none');
147
+ jQuery('#customize-control-tracking_info_settings-table_header_font_color').css('pointer-events','none');
148
+ jQuery('#customize-control-table_header').css('pointer-events','none');
149
+ jQuery('#customize-control-tracking_info_settings-table_padding').css('pointer-events','none');
150
+ jQuery('#customize-control-tracking_info_settings-table_bg_color').css('pointer-events','none');
151
+ jQuery('#customize-control-tracking_info_settings-table_border_color').css('pointer-events','none');
152
+ jQuery('#customize-control-tracking_info_settings-table_border_size').css('pointer-events','none');
153
+ jQuery('#customize-control-tracking_info_settings-header_content_text_align').css('pointer-events','none');
154
+ jQuery('#customize-control-tracking_info_settings-table_content_font_size').css('pointer-events','none');
155
+ jQuery('#customize-control-tracking_info_settings-table_content_font_color').css('pointer-events','none');
156
+ jQuery('#customize-control-tracking_info_settings-table_content_line_height').css('pointer-events','none');
157
+ jQuery('#customize-control-tracking_info_settings-table_content_font_weight').css('pointer-events','none');
158
+ jQuery('#customize-control-tracking_info_settings-shipment_link_header').css('pointer-events','none');
159
+ jQuery('#customize-control-tracking_info_settings-tracking_link_font_color').css('pointer-events','none');
160
+ jQuery('#customize-control-tracking_info_settings-tracking_link_bg_color').css('pointer-events','none');
161
+ jQuery('#customize-control-tracking_info_settings-tracking_link_border').css('pointer-events','none');
162
+ jQuery('#customize-control-tracking_info_settings-simple_content_header').css('pointer-events','all');
163
+ jQuery('#customize-control-tracking_info_settings-simple_layout_content').css('pointer-events','all');
164
+ jQuery('#customize-control-tracking_info_settings-simple_content_variables').css('pointer-events','all');
165
+ jQuery('#customize-control-tracking_info_settings-simple_provider_font_size').css('pointer-events','all');
166
+ jQuery('#customize-control-tracking_info_settings-simple_provider_font_color').css('pointer-events','all');
167
+ jQuery('#customize-control-tracking_info_settings-show_provider_border').css('pointer-events','all');
168
+ if(jQuery('#customize-control-tracking_info_settings-show_provider_border input').prop("checked") == true){
169
+ jQuery('#customize-control-tracking_info_settings-provider_border_color').css('pointer-events','all');
170
+ }
171
+ } else{
172
+ jQuery('#customize-control-tracking_info_settings-simple_content_header').css('pointer-events','none');
173
+ jQuery('#customize-control-tracking_info_settings-simple_layout_content').css('pointer-events','none');
174
+ jQuery('#customize-control-tracking_info_settings-simple_content_variables').css('pointer-events','none');
175
+ jQuery('#customize-control-tracking_info_settings-simple_provider_font_size').css('pointer-events','none');
176
+ jQuery('#customize-control-tracking_info_settings-simple_provider_font_color').css('pointer-events','none');
177
+ jQuery('#customize-control-tracking_info_settings-show_provider_border').css('pointer-events','none');
178
+ jQuery('#customize-control-tracking_info_settings-provider_border_color').css('pointer-events','none');
179
+ jQuery('#customize-control-tracking_info_settings-table_content_header').css('pointer-events','all');
180
+ jQuery('#customize-control-tracking_info_settings-display_shipment_provider_image').css('pointer-events','all');
181
+ jQuery('#customize-control-tracking_info_settings-display_shipment_provider_name').css('pointer-events','all');
182
+ jQuery('#customize-control-tracking_info_settings-remove_date_from_tracking').css('pointer-events','all');
183
+ jQuery('#customize-control-tracking_info_settings-table_header_block').css('pointer-events','all');
184
+ jQuery('#customize-control-show_table_header').css('pointer-events','all');
185
+ jQuery('#customize-control-tracking_info_settings-tracking_number_link').css('pointer-events','all');
186
+ jQuery('#customize-control-table_header').css('pointer-events','all');
187
+ jQuery('#customize-control-tracking_info_settings-table_padding').css('pointer-events','all');
188
+ jQuery('#customize-control-tracking_info_settings-table_bg_color').css('pointer-events','all');
189
+ jQuery('#customize-control-tracking_info_settings-table_border_color').css('pointer-events','all');
190
+ jQuery('#customize-control-tracking_info_settings-table_border_size').css('pointer-events','all');
191
+ jQuery('#customize-control-tracking_info_settings-header_content_text_align').css('pointer-events','all');
192
+ jQuery('#customize-control-tracking_info_settings-table_content_font_size').css('pointer-events','all');
193
+ jQuery('#customize-control-tracking_info_settings-table_content_font_color').css('pointer-events','all');
194
+ jQuery('#customize-control-tracking_info_settings-table_content_line_height').css('pointer-events','all');
195
+ jQuery('#customize-control-tracking_info_settings-table_content_font_weight').css('pointer-events','all');
196
+ jQuery('#customize-control-tracking_info_settings-hide_table_header').css('pointer-events','all');
197
+ if(jQuery('#customize-control-tracking_info_settings-hide_table_header input').prop("checked") != true){
198
+ jQuery('#customize-control-tracking_info_settings-provider_header_text').css('pointer-events','all');
199
+ jQuery('#customize-control-tracking_info_settings-tracking_number_header_text').css('pointer-events','all');
200
+ jQuery('#customize-control-tracking_info_settings-shipped_date_header_text').css('pointer-events','all');
201
+ jQuery('#customize-control-tracking_info_settings-table_header_font_size').css('pointer-events','all');
202
+ jQuery('#customize-control-tracking_info_settings-table_header_font_color').css('pointer-events','all');
203
+ }
204
+ if(jQuery("#customize-control-tracking_info_settings-show_track_label input").prop("checked") == true && jQuery('#customize-control-tracking_info_settings-tracking_number_link input').prop("checked") != true){
205
+ jQuery('#customize-control-tracking_info_settings-track_header_text').css('pointer-events','all');
206
+ }
207
+ if(jQuery('#customize-control-tracking_info_settings-tracking_number_link input').prop("checked") != true){
208
+ jQuery('#customize-control-tracking_info_settings-show_track_label').css('pointer-events','all');
209
+ jQuery('#customize-control-tracking_info_settings-shipment_link_header').css('pointer-events','all');
210
+ jQuery('#customize-control-tracking_info_settings-tracking_link_font_color').css('pointer-events','all');
211
+ jQuery('#customize-control-tracking_info_settings-tracking_link_bg_color').css('pointer-events','all');
212
+ jQuery('#customize-control-tracking_info_settings-tracking_link_border').css('pointer-events','all');
213
+ }
214
+ }
215
+ });
216
+ jQuery(document).on("change", "#customize-control-tracking_info_settings-tracking_number_link input", function(){
217
+ if(jQuery(this).prop("checked") == true){
218
+ jQuery('#customize-control-tracking_info_settings-show_track_label').hide();
219
+ jQuery('#customize-control-tracking_info_settings-track_header_text').hide();
220
+ jQuery('#customize-control-tracking_info_settings-tracking_link_bg_color').hide();
221
+ } else{
222
+ if(jQuery("#customize-control-tracking_info_settings-show_track_label input").prop("checked") == true){
223
+ jQuery('#customize-control-tracking_info_settings-track_header_text').show();
224
+ }
225
+ jQuery('#customize-control-tracking_info_settings-show_track_label').show();
226
+ jQuery('#customize-control-tracking_info_settings-tracking_link_bg_color').show();
227
+ }
228
+ });
229
 
230
+ jQuery(document).on("change", "#customize-control-tracking_info_settings-show_track_label input", function(){
231
+ if(jQuery(this).prop("checked") == true){
232
+ jQuery('#customize-control-tracking_info_settings-track_header_text').show();
233
+ } else{
234
+ jQuery('#customize-control-tracking_info_settings-track_header_text').hide();
235
+ }
 
 
 
 
 
 
 
 
 
 
 
 
236
  });
237
+
238
+ jQuery(document).on("change", "#customize-control-tracking_info_settings-hide_table_header input", function(){
239
+ if(jQuery(this).prop("checked") == true){
240
+ jQuery('#customize-control-tracking_info_settings-provider_header_text').hide();
241
+ jQuery('#customize-control-tracking_info_settings-tracking_number_header_text').hide();
242
+ jQuery('#customize-control-tracking_info_settings-shipped_date_header_text').hide();
243
+ jQuery('#customize-control-tracking_info_settings-show_track_label').hide();
244
+ jQuery('#customize-control-tracking_info_settings-show_track_label').hide();
245
+ jQuery('#customize-control-tracking_info_settings-track_header_text').hide();
246
+ jQuery('#customize-control-tracking_info_settings-table_header_font_size').hide();
247
+ jQuery('#customize-control-tracking_info_settings-table_header_font_color').hide();
248
+ } else{
249
+ jQuery('#customize-control-tracking_info_settings-provider_header_text').show();
250
+ jQuery('#customize-control-tracking_info_settings-tracking_number_header_text').show();
251
+ jQuery('#customize-control-tracking_info_settings-shipped_date_header_text').show();
252
+ jQuery('#customize-control-tracking_info_settings-show_track_label').show();
253
+ jQuery('#customize-control-tracking_info_settings-track_header_text').show();
254
+ jQuery('#customize-control-tracking_info_settings-table_header_font_size').show();
255
+ jQuery('#customize-control-tracking_info_settings-table_header_font_color').show();
256
+ if(jQuery("#customize-control-tracking_info_settings-show_track_label input").prop("checked") == true){
257
+ jQuery('#customize-control-tracking_info_settings-track_header_text').show();
258
+ }
259
+ }
260
  });
261
+ jQuery(document).on("change", "#customize-control-woocommerce_customer_delivered_order_settings-wcast_enable_delivered_ga_tracking input", function(){
262
+ if(jQuery(this).prop("checked") == true){
263
+ jQuery('#customize-control-woocommerce_customer_delivered_order_settings-wcast_delivered_analytics_link').show();
264
+ } else{
265
+ jQuery('#customize-control-woocommerce_customer_delivered_order_settings-wcast_delivered_analytics_link').hide();
266
+ }
267
+ });
268
+ jQuery(document).on("change", "#_customize-input-customizer_delivered_order_settings_enabled", function(){
269
+ if(jQuery(this).prop("checked") == true){
270
+ jQuery('#customize-control-wcast_delivered_email_settings-wcast_enable_delivered_status_email input').prop('disabled', true);
271
+ } else{
272
+ jQuery('#customize-control-wcast_delivered_email_settings-wcast_enable_delivered_status_email input').removeAttr('disabled');
273
+ }
274
  });
275
+ // Handle mobile button click
276
+ function custom_size_mobile() {
277
+ // get email width.
278
+ var email_width = '684';
279
+ var ratio = email_width/304;
280
+ var framescale = 100/ratio;
281
+ var framescale = framescale/100;
282
+ jQuery('#customize-preview iframe').width(email_width+'px');
283
+ jQuery('#customize-preview iframe').css({
284
+ '-webkit-transform' : 'scale(' + framescale + ')',
285
+ '-moz-transform' : 'scale(' + framescale + ')',
286
+ '-ms-transform' : 'scale(' + framescale + ')',
287
+ '-o-transform' : 'scale(' + framescale + ')',
288
+ 'transform' : 'scale(' + framescale + ')'
289
+ });
290
+ }
291
+ jQuery('#customize-footer-actions .preview-mobile').click(function(e) {
292
+ custom_size_mobile();
293
+ });
294
+ jQuery('#customize-footer-actions .preview-desktop').click(function(e) {
295
+ jQuery('#customize-preview iframe').width('100%');
296
+ jQuery('#customize-preview iframe').css({
297
+ '-webkit-transform' : 'scale(1)',
298
+ '-moz-transform' : 'scale(1)',
299
+ '-ms-transform' : 'scale(1)',
300
+ '-o-transform' : 'scale(1)',
301
+ 'transform' : 'scale(1)'
302
+ });
303
+ });
304
+ jQuery('#customize-footer-actions .preview-tablet').click(function(e) {
305
+ jQuery('#customize-preview iframe').width('100%');
306
+ jQuery('#customize-preview iframe').css({
307
+ '-webkit-transform' : 'scale(1)',
308
+ '-moz-transform' : 'scale(1)',
309
+ '-ms-transform' : 'scale(1)',
310
+ '-o-transform' : 'scale(1)',
311
+ 'transform' : 'scale(1)'
312
+ });
313
+ });
314
 
315
  (function ( api ) {
316
+ api.section( 'customer_delivered_email', function( section ) {
317
  section.expanded.bind( function( isExpanded ) {
318
+
319
+ var url;
320
  if ( isExpanded ) {
321
  jQuery('#save').trigger('click');
322
+ url = wcast_customizer.email_preview_url;
323
+ api.previewer.previewUrl.set( url );
 
 
 
 
 
 
 
 
 
 
324
  }
325
  } );
326
  } );
327
  } ( wp.customize ) );
328
 
329
  (function ( api ) {
330
+ api.section( 'customer_partial_shipped_email', function( section ) {
331
+ section.expanded.bind( function( isExpanded ) {
332
+ var url;
333
+ if ( isExpanded ) {
334
+ jQuery('#save').trigger('click');
335
+ url = wcast_customizer.partial_shipped_email_preview_url;
336
+ api.previewer.previewUrl.set( url );
337
+ }
338
+ } );
339
+ } );
340
+ } ( wp.customize ) );
341
+ (function ( api ) {
342
+ api.section( 'customer_custom_completed_email', function( section ) {
343
+ section.expanded.bind( function( isExpanded ) {
344
+ var url;
345
+ if ( isExpanded ) {
346
+ jQuery('#save').trigger('click');
347
+ url = wcast_customizer.custom_completed_email_preview_url;
348
+ api.previewer.previewUrl.set( url );
349
+ }
350
+ } );
351
+ } );
352
+ } ( wp.customize ) );
353
+ (function ( api ) {
354
+ api.section( 'customer_shipped_email', function( section ) {
355
+ section.expanded.bind( function( isExpanded ) {
356
+ var url;
357
+ if ( isExpanded ) {
358
+ jQuery('#save').trigger('click');
359
+ url = wcast_customizer.shipped_email_preview_url;
360
+ api.previewer.previewUrl.set( url );
361
+ }
362
+ } );
363
+ } );
364
+ } ( wp.customize ) );
365
+
366
+ (function ( api ) {
367
+ api.section( 'customer_updated_tracking_email', function( section ) {
368
+ section.expanded.bind( function( isExpanded ) {
369
+ var url;
370
+ if ( isExpanded ) {
371
+ jQuery('#save').trigger('click');
372
+ url = wcast_customizer.updated_tracking_email_preview_url;
373
+ api.previewer.previewUrl.set( url );
374
  }
375
  } );
376
  } );
390
  } ( wp.customize ) );
391
 
392
  (function ( api ) {
393
+ api.section( 'ast_tracking_simple_section', function( section ) {
394
+ section.expanded.bind( function( isExpanded ) {
395
+ var url;
396
+ if ( isExpanded ) {
397
+ jQuery('#save').trigger('click');
398
+ url = wcast_customizer.tracking_preview_url;
399
+ api.previewer.previewUrl.set( url );
400
+ }
401
+ } );
402
+ } );
403
+ } ( wp.customize ) );
404
+
405
+ (function ( api ) {
406
+ api.section( 'ast_tracking_table_section', function( section ) {
407
+ section.expanded.bind( function( isExpanded ) {
408
+ var url;
409
+ if ( isExpanded ) {
410
+ jQuery('#save').trigger('click');
411
+ url = wcast_customizer.tracking_preview_url;
412
+ api.previewer.previewUrl.set( url );
413
+ }
414
+ } );
415
+ } );
416
+ } ( wp.customize ) );
417
+
418
+ (function ( api ) {
419
+ api.section( 'ast_tracking_per_item', function( section ) {
420
+ section.expanded.bind( function( isExpanded ) {
421
+ var url;
422
+ if ( isExpanded ) {
423
+ jQuery('#save').trigger('click');
424
+ url = wcast_customizer.tracking_preview_url;
425
+ api.previewer.previewUrl.set( url );
426
+ }
427
+ } );
428
+ } );
429
+ } ( wp.customize ) );
430
+
431
+ (function ( api ) {
432
+ api.section( 'customer_failure_email', function( section ) {
433
+ section.expanded.bind( function( isExpanded ) {
434
+ var url;
435
+ if ( isExpanded ) {
436
+ jQuery('#save').trigger('click');
437
+ url = wcast_customizer.customer_failure_preview_url;
438
+ api.previewer.previewUrl.set( url );
439
+ }
440
+ } );
441
+ } );
442
+ } ( wp.customize ) );
443
+ (function ( api ) {
444
+ api.section( 'customer_intransit_email', function( section ) {
445
+ section.expanded.bind( function( isExpanded ) {
446
+ var url;
447
+ if ( isExpanded ) {
448
+ jQuery('#save').trigger('click');
449
+ url = wcast_customizer.customer_intransit_preview_url;
450
+ api.previewer.previewUrl.set( url );
451
+ }
452
+ } );
453
+ } );
454
+ } ( wp.customize ) );
455
+ (function ( api ) {
456
+ api.section( 'customer_onhold_email', function( section ) {
457
+ section.expanded.bind( function( isExpanded ) {
458
+ var url;
459
+ if ( isExpanded ) {
460
+ jQuery('#save').trigger('click');
461
+ url = wcast_customizer.customer_onhold_preview_url;
462
+ api.previewer.previewUrl.set( url );
463
+ }
464
+ } );
465
+ } );
466
+ } ( wp.customize ) );
467
+ (function ( api ) {
468
+ api.section( 'customer_outfordelivery_email', function( section ) {
469
+ section.expanded.bind( function( isExpanded ) {
470
+ var url;
471
+ if ( isExpanded ) {
472
+ jQuery('#save').trigger('click');
473
+ url = wcast_customizer.customer_outfordelivery_preview_url;
474
+ api.previewer.previewUrl.set( url );
475
+ }
476
+ } );
477
+ } );
478
+ } ( wp.customize ) );
479
+ (function ( api ) {
480
+ api.section( 'customer_delivered_status_email', function( section ) {
481
  section.expanded.bind( function( isExpanded ) {
482
  var url;
483
  if ( isExpanded ) {
484
  jQuery('#save').trigger('click');
485
+ url = wcast_customizer.customer_delivered_preview_url;
486
+ api.previewer.previewUrl.set( url );
487
+ }
488
+ } );
489
+ } );
490
+ } ( wp.customize ) );
491
+ (function ( api ) {
492
+ api.section( 'customer_returntosender_email', function( section ) {
493
+ section.expanded.bind( function( isExpanded ) {
494
+ var url;
495
+ if ( isExpanded ) {
496
+ jQuery('#save').trigger('click');
497
+ url = wcast_customizer.customer_returntosender_preview_url;
498
+ api.previewer.previewUrl.set( url );
499
+ }
500
+ } );
501
+ } );
502
+ } ( wp.customize ) );
503
+ (function ( api ) {
504
+ api.section( 'customer_availableforpickup_email', function( section ) {
505
+ section.expanded.bind( function( isExpanded ) {
506
+ var url;
507
+ if ( isExpanded ) {
508
+ jQuery('#save').trigger('click');
509
+ url = wcast_customizer.customer_availableforpickup_preview_url;
510
+ api.previewer.previewUrl.set( url );
511
+ }
512
+ } );
513
+ } );
514
+ } ( wp.customize ) );
515
+ (function ( api ) {
516
+ api.section( 'admin_late_shipments_email', function( section ) {
517
+ section.expanded.bind( function( isExpanded ) {
518
+ var url;
519
+ if ( isExpanded ) {
520
+ jQuery('#save').trigger('click');
521
+ url = wcast_customizer.admin_late_shipments_preview_url;
522
  api.previewer.previewUrl.set( url );
523
  }
524
  } );
529
  jQuery(document).on("change", ".preview_order_select", function(){
530
  var wcast_preview_order_id = jQuery(this).val();
531
  var data = {
 
532
  action: 'update_email_preview_order',
533
  wcast_preview_order_id: wcast_preview_order_id,
534
  };
 
535
  jQuery.ajax({
536
  url: ajaxurl,
537
  data: data,
543
  console.log(response);
544
  }
545
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
546
  });
assets/js/front.js CHANGED
@@ -19,7 +19,7 @@ jQuery(document).on("submit", ".order_track_form", function(){
19
  return false;
20
  }
21
 
22
- jQuery(".order_track_form").block({
23
  message: null,
24
  overlayCSS: {
25
  background: "#fff",
@@ -31,25 +31,28 @@ jQuery(document).on("submit", ".order_track_form", function(){
31
  url: zorem_ajax_object.ajax_url,
32
  data: form.serialize(),
33
  type: 'POST',
34
- dataType: "json",
35
- success: function(response) {
36
- if(response.success == 'true'){
37
- jQuery('.track-order-section').replaceWith(response.html);
 
 
38
  } else{
39
- jQuery(".track_fail_msg").text(response.message);
40
- jQuery(".track_fail_msg").show();
41
- }
42
- jQuery(".order_track_form").unblock();
43
  },
44
- error: function(jqXHR, exception) {
 
45
  if(jqXHR.status == 302){
46
- jQuery(".track_fail_msg").show();
47
- jQuery(".track_fail_msg").text('Tracking details not found.');
48
- jQuery(".order_track_form").unblock();
49
  } else{
50
- jQuery(".track_fail_msg").show();
51
- jQuery(".track_fail_msg").text('There are some issue with Trackship.');
52
- jQuery(".order_track_form").unblock();
53
  }
54
 
55
  }
@@ -81,61 +84,9 @@ jQuery(document).on("click", ".hide_old_details", function(){
81
  jQuery(this).closest('.tracking-details').find('.view_old_details').show();
82
  jQuery(this).closest('.tracking-details').find('.old-details').fadeOut();
83
  });
84
-
85
- jQuery(document).on("click", ".view_destination_old_details", function(){
86
- jQuery(this).hide();
87
- jQuery(this).closest('.tracking-details').find('.hide_destination_old_details').show();
88
- jQuery(this).closest('.tracking-details').find('.old-destination-details').fadeIn();
89
- });
90
- jQuery(document).on("click", ".hide_destination_old_details", function(){
91
- jQuery(this).hide();
92
- jQuery(this).closest('.tracking-details').find('.view_destination_old_details').show();
93
- jQuery(this).closest('.tracking-details').find('.old-destination-details').fadeOut();
94
- });
95
-
96
  function showerror(element){
97
  element.css("border-color","red");
98
  }
99
  function hideerror(element){
100
  element.css("border-color","");
101
- }
102
-
103
- jQuery(document).on("click", ".open_tracking_lightbox", function(){
104
-
105
- jQuery(".tracking_info,.my_account_tracking,.fluid_section").block({
106
- message: null,
107
- overlayCSS: {
108
- background: "#fff",
109
- opacity: .6
110
- }
111
- });
112
-
113
- var order_id = jQuery(this).data('order');
114
- var tracking_number = jQuery(this).data('tracking');
115
-
116
- var ajax_data = {
117
- action: 'ts_open_tracking_lightbox',
118
- order_id: order_id,
119
- tracking_number: tracking_number,
120
- security : jQuery(this).attr('wp_nonce'),
121
- };
122
-
123
- jQuery.ajax({
124
- url: zorem_ajax_object.ajax_url,
125
- data: ajax_data,
126
- type: 'POST',
127
- success: function(response) {
128
- jQuery(".ts_tracking_popup .popuprow").html(response);
129
- jQuery('.ts_tracking_popup').show();
130
- jQuery(".tracking_info,.my_account_tracking,.fluid_section").unblock();
131
- },
132
- error: function(response) {
133
- jQuery(".tracking_info,.my_account_tracking,.fluid_section").unblock();
134
- }
135
- });
136
-
137
- });
138
-
139
- jQuery(document).on("click", ".popupclose", function(){
140
- jQuery('.ts_tracking_popup').hide();
141
- });
19
  return false;
20
  }
21
 
22
+ jQuery(".order_track_form ").block({
23
  message: null,
24
  overlayCSS: {
25
  background: "#fff",
31
  url: zorem_ajax_object.ajax_url,
32
  data: form.serialize(),
33
  type: 'POST',
34
+ success: function(response) {
35
+ if(response == 'tracking_items_not_found'){
36
+ jQuery(".track_fail_msg ").show();
37
+ jQuery(".track_fail_msg ").text('Tracking details not found.');
38
+ } else if(response){
39
+ jQuery('.track-order-section').replaceWith(response);
40
  } else{
41
+ jQuery(".track_fail_msg ").show();
42
+ jQuery(".track_fail_msg ").text('Order not found.');
43
+ }
44
+ jQuery(".order_track_form ").unblock();
45
  },
46
+ error: function(jqXHR, exception) {
47
+ console.log(jqXHR.status);
48
  if(jqXHR.status == 302){
49
+ jQuery(".track_fail_msg ").show();
50
+ jQuery(".track_fail_msg ").text('Tracking details not found.');
51
+ jQuery(".order_track_form ").unblock();
52
  } else{
53
+ jQuery(".track_fail_msg ").show();
54
+ jQuery(".track_fail_msg ").text('There are some issue with Trackship.');
55
+ jQuery(".order_track_form ").unblock();
56
  }
57
 
58
  }
84
  jQuery(this).closest('.tracking-details').find('.view_old_details').show();
85
  jQuery(this).closest('.tracking-details').find('.old-details').fadeOut();
86
  });
 
 
 
 
 
 
 
 
 
 
 
 
87
  function showerror(element){
88
  element.css("border-color","red");
89
  }
90
  function hideerror(element){
91
  element.css("border-color","");
92
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/material.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * material-design-lite - Material Design Components in CSS, JS and HTML
3
+ * @version v1.3.0
4
+ * @license Apache-2.0
5
+ * @copyright 2015 Google, Inc.
6
+ * @link https://github.com/google/material-design-lite
7
+ */
8
+ !function(){"use strict";function e(e,t){if(e){if(t.element_.classList.contains(t.CssClasses_.MDL_JS_RIPPLE_EFFECT)){var s=document.createElement("span");s.classList.add(t.CssClasses_.MDL_RIPPLE_CONTAINER),s.classList.add(t.CssClasses_.MDL_JS_RIPPLE_EFFECT);var i=document.createElement("span");i.classList.add(t.CssClasses_.MDL_RIPPLE),s.appendChild(i),e.appendChild(s)}e.addEventListener("click",function(s){if("#"===e.getAttribute("href").charAt(0)){s.preventDefault();var i=e.href.split("#")[1],n=t.element_.querySelector("#"+i);t.resetTabState_(),t.resetPanelState_(),e.classList.add(t.CssClasses_.ACTIVE_CLASS),n.classList.add(t.CssClasses_.ACTIVE_CLASS)}})}}function t(e,t,s,i){function n(){var n=e.href.split("#")[1],a=i.content_.querySelector("#"+n);i.resetTabState_(t),i.resetPanelState_(s),e.classList.add(i.CssClasses_.IS_ACTIVE),a.classList.add(i.CssClasses_.IS_ACTIVE)}if(i.tabBar_.classList.contains(i.CssClasses_.JS_RIPPLE_EFFECT)){var a=document.createElement("span");a.classList.add(i.CssClasses_.RIPPLE_CONTAINER),a.classList.add(i.CssClasses_.JS_RIPPLE_EFFECT);var l=document.createElement("span");l.classList.add(i.CssClasses_.RIPPLE),a.appendChild(l),e.appendChild(a)}i.tabBar_.classList.contains(i.CssClasses_.TAB_MANUAL_SWITCH)||e.addEventListener("click",function(t){"#"===e.getAttribute("href").charAt(0)&&(t.preventDefault(),n())}),e.show=n}var s={upgradeDom:function(e,t){},upgradeElement:function(e,t){},upgradeElements:function(e){},upgradeAllRegistered:function(){},registerUpgradedCallback:function(e,t){},register:function(e){},downgradeElements:function(e){}};s=function(){function e(e,t){for(var s=0;s<c.length;s++)if(c[s].className===e)return"undefined"!=typeof t&&(c[s]=t),c[s];return!1}function t(e){var t=e.getAttribute("data-upgraded");return null===t?[""]:t.split(",")}function s(e,s){var i=t(e);return i.indexOf(s)!==-1}function i(e,t,s){if("CustomEvent"in window&&"function"==typeof window.CustomEvent)return new CustomEvent(e,{bubbles:t,cancelable:s});var i=document.createEvent("Events");return i.initEvent(e,t,s),i}function n(t,s){if("undefined"==typeof t&&"undefined"==typeof s)for(var i=0;i<c.length;i++)n(c[i].className,c[i].cssClass);else{var l=t;if("undefined"==typeof s){var o=e(l);o&&(s=o.cssClass)}for(var r=document.querySelectorAll("."+s),_=0;_<r.length;_++)a(r[_],l)}}function a(n,a){if(!("object"==typeof n&&n instanceof Element))throw new Error("Invalid argument provided to upgrade MDL element.");var l=i("mdl-componentupgrading",!0,!0);if(n.dispatchEvent(l),!l.defaultPrevented){var o=t(n),r=[];if(a)s(n,a)||r.push(e(a));else{var _=n.classList;c.forEach(function(e){_.contains(e.cssClass)&&r.indexOf(e)===-1&&!s(n,e.className)&&r.push(e)})}for(var d,h=0,u=r.length;h<u;h++){if(d=r[h],!d)throw new Error("Unable to find a registered component for the given class.");o.push(d.className),n.setAttribute("data-upgraded",o.join(","));var E=new d.classConstructor(n);E[C]=d,p.push(E);for(var m=0,L=d.callbacks.length;m<L;m++)d.callbacks[m](n);d.widget&&(n[d.className]=E);var I=i("mdl-componentupgraded",!0,!1);n.dispatchEvent(I)}}}function l(e){Array.isArray(e)||(e=e instanceof Element?[e]:Array.prototype.slice.call(e));for(var t,s=0,i=e.length;s<i;s++)t=e[s],t instanceof HTMLElement&&(a(t),t.children.length>0&&l(t.children))}function o(t){var s="undefined"==typeof t.widget&&"undefined"==typeof t.widget,i=!0;s||(i=t.widget||t.widget);var n={classConstructor:t.constructor||t.constructor,className:t.classAsString||t.classAsString,cssClass:t.cssClass||t.cssClass,widget:i,callbacks:[]};if(c.forEach(function(e){if(e.cssClass===n.cssClass)throw new Error("The provided cssClass has already been registered: "+e.cssClass);if(e.className===n.className)throw new Error("The provided className has already been registered")}),t.constructor.prototype.hasOwnProperty(C))throw new Error("MDL component classes must not have "+C+" defined as a property.");var a=e(t.classAsString,n);a||c.push(n)}function r(t,s){var i=e(t);i&&i.callbacks.push(s)}function _(){for(var e=0;e<c.length;e++)n(c[e].className)}function d(e){if(e){var t=p.indexOf(e);p.splice(t,1);var s=e.element_.getAttribute("data-upgraded").split(","),n=s.indexOf(e[C].classAsString);s.splice(n,1),e.element_.setAttribute("data-upgraded",s.join(","));var a=i("mdl-componentdowngraded",!0,!1);e.element_.dispatchEvent(a)}}function h(e){var t=function(e){p.filter(function(t){return t.element_===e}).forEach(d)};if(e instanceof Array||e instanceof NodeList)for(var s=0;s<e.length;s++)t(e[s]);else{if(!(e instanceof Node))throw new Error("Invalid argument provided to downgrade MDL nodes.");t(e)}}var c=[],p=[],C="mdlComponentConfigInternal_";return{upgradeDom:n,upgradeElement:a,upgradeElements:l,upgradeAllRegistered:_,registerUpgradedCallback:r,register:o,downgradeElements:h}}(),s.ComponentConfigPublic,s.ComponentConfig,s.Component,s.upgradeDom=s.upgradeDom,s.upgradeElement=s.upgradeElement,s.upgradeElements=s.upgradeElements,s.upgradeAllRegistered=s.upgradeAllRegistered,s.registerUpgradedCallback=s.registerUpgradedCallback,s.register=s.register,s.downgradeElements=s.downgradeElements,window.componentHandler=s,window.componentHandler=s,window.addEventListener("load",function(){"classList"in document.createElement("div")&&"querySelector"in document&&"addEventListener"in window&&Array.prototype.forEach?(document.documentElement.classList.add("mdl-js"),s.upgradeAllRegistered()):(s.upgradeElement=function(){},s.register=function(){})}),Date.now||(Date.now=function(){return(new Date).getTime()},Date.now=Date.now);for(var i=["webkit","moz"],n=0;n<i.length&&!window.requestAnimationFrame;++n){var a=i[n];window.requestAnimationFrame=window[a+"RequestAnimationFrame"],window.cancelAnimationFrame=window[a+"CancelAnimationFrame"]||window[a+"CancelRequestAnimationFrame"],window.requestAnimationFrame=window.requestAnimationFrame,window.cancelAnimationFrame=window.cancelAnimationFrame}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var l=0;window.requestAnimationFrame=function(e){var t=Date.now(),s=Math.max(l+16,t);return setTimeout(function(){e(l=s)},s-t)},window.cancelAnimationFrame=clearTimeout,window.requestAnimationFrame=window.requestAnimationFrame,window.cancelAnimationFrame=window.cancelAnimationFrame}var o=function(e){this.element_=e,this.init()};window.MaterialButton=o,o.prototype.Constant_={},o.prototype.CssClasses_={RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_CONTAINER:"mdl-button__ripple-container",RIPPLE:"mdl-ripple"},o.prototype.blurHandler_=function(e){e&&this.element_.blur()},o.prototype.disable=function(){this.element_.disabled=!0},o.prototype.disable=o.prototype.disable,o.prototype.enable=function(){this.element_.disabled=!1},o.prototype.enable=o.prototype.enable,o.prototype.init=function(){if(this.element_){if(this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT)){var e=document.createElement("span");e.classList.add(this.CssClasses_.RIPPLE_CONTAINER),this.rippleElement_=document.createElement("span"),this.rippleElement_.classList.add(this.CssClasses_.RIPPLE),e.appendChild(this.rippleElement_),this.boundRippleBlurHandler=this.blurHandler_.bind(this),this.rippleElement_.addEventListener("mouseup",this.boundRippleBlurHandler),this.element_.appendChild(e)}this.boundButtonBlurHandler=this.blurHandler_.bind(this),this.element_.addEventListener("mouseup",this.boundButtonBlurHandler),this.element_.addEventListener("mouseleave",this.boundButtonBlurHandler)}},s.register({constructor:o,classAsString:"MaterialButton",cssClass:"mdl-js-button",widget:!0});var r=function(e){this.element_=e,this.init()};window.MaterialCheckbox=r,r.prototype.Constant_={TINY_TIMEOUT:.001},r.prototype.CssClasses_={INPUT:"mdl-checkbox__input",BOX_OUTLINE:"mdl-checkbox__box-outline",FOCUS_HELPER:"mdl-checkbox__focus-helper",TICK_OUTLINE:"mdl-checkbox__tick-outline",RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE_CONTAINER:"mdl-checkbox__ripple-container",RIPPLE_CENTER:"mdl-ripple--center",RIPPLE:"mdl-ripple",IS_FOCUSED:"is-focused",IS_DISABLED:"is-disabled",IS_CHECKED:"is-checked",IS_UPGRADED:"is-upgraded"},r.prototype.onChange_=function(e){this.updateClasses_()},r.prototype.onFocus_=function(e){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},r.prototype.onBlur_=function(e){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},r.prototype.onMouseUp_=function(e){this.blur_()},r.prototype.updateClasses_=function(){this.checkDisabled(),this.checkToggleState()},r.prototype.blur_=function(){window.setTimeout(function(){this.inputElement_.blur()}.bind(this),this.Constant_.TINY_TIMEOUT)},r.prototype.checkToggleState=function(){this.inputElement_.checked?this.element_.classList.add(this.CssClasses_.IS_CHECKED):this.element_.classList.remove(this.CssClasses_.IS_CHECKED)},r.prototype.checkToggleState=r.prototype.checkToggleState,r.prototype.checkDisabled=function(){this.inputElement_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},r.prototype.checkDisabled=r.prototype.checkDisabled,r.prototype.disable=function(){this.inputElement_.disabled=!0,this.updateClasses_()},r.prototype.disable=r.prototype.disable,r.prototype.enable=function(){this.inputElement_.disabled=!1,this.updateClasses_()},r.prototype.enable=r.prototype.enable,r.prototype.check=function(){this.inputElement_.checked=!0,this.updateClasses_()},r.prototype.check=r.prototype.check,r.prototype.uncheck=function(){this.inputElement_.checked=!1,this.updateClasses_()},r.prototype.uncheck=r.prototype.uncheck,r.prototype.init=function(){if(this.element_){this.inputElement_=this.element_.querySelector("."+this.CssClasses_.INPUT);var e=document.createElement("span");e.classList.add(this.CssClasses_.BOX_OUTLINE);var t=document.createElement("span");t.classList.add(this.CssClasses_.FOCUS_HELPER);var s=document.createElement("span");if(s.classList.add(this.CssClasses_.TICK_OUTLINE),e.appendChild(s),this.element_.appendChild(t),this.element_.appendChild(e),this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT)){this.element_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS),this.rippleContainerElement_=document.createElement("span"),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CONTAINER),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_EFFECT),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CENTER),this.boundRippleMouseUp=this.onMouseUp_.bind(this),this.rippleContainerElement_.addEventListener("mouseup",this.boundRippleMouseUp);var i=document.createElement("span");i.classList.add(this.CssClasses_.RIPPLE),this.rippleContainerElement_.appendChild(i),this.element_.appendChild(this.rippleContainerElement_)}this.boundInputOnChange=this.onChange_.bind(this),this.boundInputOnFocus=this.onFocus_.bind(this),this.boundInputOnBlur=this.onBlur_.bind(this),this.boundElementMouseUp=this.onMouseUp_.bind(this),this.inputElement_.addEventListener("change",this.boundInputOnChange),this.inputElement_.addEventListener("focus",this.boundInputOnFocus),this.inputElement_.addEventListener("blur",this.boundInputOnBlur),this.element_.addEventListener("mouseup",this.boundElementMouseUp),this.updateClasses_(),this.element_.classList.add(this.CssClasses_.IS_UPGRADED)}},s.register({constructor:r,classAsString:"MaterialCheckbox",cssClass:"mdl-js-checkbox",widget:!0});var _=function(e){this.element_=e,this.init()};window.MaterialIconToggle=_,_.prototype.Constant_={TINY_TIMEOUT:.001},_.prototype.CssClasses_={INPUT:"mdl-icon-toggle__input",JS_RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE_CONTAINER:"mdl-icon-toggle__ripple-container",RIPPLE_CENTER:"mdl-ripple--center",RIPPLE:"mdl-ripple",IS_FOCUSED:"is-focused",IS_DISABLED:"is-disabled",IS_CHECKED:"is-checked"},_.prototype.onChange_=function(e){this.updateClasses_()},_.prototype.onFocus_=function(e){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},_.prototype.onBlur_=function(e){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},_.prototype.onMouseUp_=function(e){this.blur_()},_.prototype.updateClasses_=function(){this.checkDisabled(),this.checkToggleState()},_.prototype.blur_=function(){window.setTimeout(function(){this.inputElement_.blur()}.bind(this),this.Constant_.TINY_TIMEOUT)},_.prototype.checkToggleState=function(){this.inputElement_.checked?this.element_.classList.add(this.CssClasses_.IS_CHECKED):this.element_.classList.remove(this.CssClasses_.IS_CHECKED)},_.prototype.checkToggleState=_.prototype.checkToggleState,_.prototype.checkDisabled=function(){this.inputElement_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},_.prototype.checkDisabled=_.prototype.checkDisabled,_.prototype.disable=function(){this.inputElement_.disabled=!0,this.updateClasses_()},_.prototype.disable=_.prototype.disable,_.prototype.enable=function(){this.inputElement_.disabled=!1,this.updateClasses_()},_.prototype.enable=_.prototype.enable,_.prototype.check=function(){this.inputElement_.checked=!0,this.updateClasses_()},_.prototype.check=_.prototype.check,_.prototype.uncheck=function(){this.inputElement_.checked=!1,this.updateClasses_()},_.prototype.uncheck=_.prototype.uncheck,_.prototype.init=function(){if(this.element_){if(this.inputElement_=this.element_.querySelector("."+this.CssClasses_.INPUT),this.element_.classList.contains(this.CssClasses_.JS_RIPPLE_EFFECT)){this.element_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS),this.rippleContainerElement_=document.createElement("span"),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CONTAINER),this.rippleContainerElement_.classList.add(this.CssClasses_.JS_RIPPLE_EFFECT),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CENTER),this.boundRippleMouseUp=this.onMouseUp_.bind(this),this.rippleContainerElement_.addEventListener("mouseup",this.boundRippleMouseUp);var e=document.createElement("span");e.classList.add(this.CssClasses_.RIPPLE),this.rippleContainerElement_.appendChild(e),this.element_.appendChild(this.rippleContainerElement_)}this.boundInputOnChange=this.onChange_.bind(this),this.boundInputOnFocus=this.onFocus_.bind(this),this.boundInputOnBlur=this.onBlur_.bind(this),this.boundElementOnMouseUp=this.onMouseUp_.bind(this),this.inputElement_.addEventListener("change",this.boundInputOnChange),this.inputElement_.addEventListener("focus",this.boundInputOnFocus),this.inputElement_.addEventListener("blur",this.boundInputOnBlur),this.element_.addEventListener("mouseup",this.boundElementOnMouseUp),this.updateClasses_(),this.element_.classList.add("is-upgraded")}},s.register({constructor:_,classAsString:"MaterialIconToggle",cssClass:"mdl-js-icon-toggle",widget:!0});var d=function(e){this.element_=e,this.init()};window.MaterialMenu=d,d.prototype.Constant_={TRANSITION_DURATION_SECONDS:.3,TRANSITION_DURATION_FRACTION:.8,CLOSE_TIMEOUT:150},d.prototype.Keycodes_={ENTER:13,ESCAPE:27,SPACE:32,UP_ARROW:38,DOWN_ARROW:40},d.prototype.CssClasses_={CONTAINER:"mdl-menu__container",OUTLINE:"mdl-menu__outline",ITEM:"mdl-menu__item",ITEM_RIPPLE_CONTAINER:"mdl-menu__item-ripple-container",RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE:"mdl-ripple",IS_UPGRADED:"is-upgraded",IS_VISIBLE:"is-visible",IS_ANIMATING:"is-animating",BOTTOM_LEFT:"mdl-menu--bottom-left",BOTTOM_RIGHT:"mdl-menu--bottom-right",TOP_LEFT:"mdl-menu--top-left",TOP_RIGHT:"mdl-menu--top-right",UNALIGNED:"mdl-menu--unaligned"},d.prototype.init=function(){if(this.element_){var e=document.createElement("div");e.classList.add(this.CssClasses_.CONTAINER),this.element_.parentElement.insertBefore(e,this.element_),this.element_.parentElement.removeChild(this.element_),e.appendChild(this.element_),this.container_=e;var t=document.createElement("div");t.classList.add(this.CssClasses_.OUTLINE),this.outline_=t,e.insertBefore(t,this.element_);var s=this.element_.getAttribute("for")||this.element_.getAttribute("data-mdl-for"),i=null;s&&(i=document.getElementById(s),i&&(this.forElement_=i,i.addEventListener("click",this.handleForClick_.bind(this)),i.addEventListener("keydown",this.handleForKeyboardEvent_.bind(this))));var n=this.element_.querySelectorAll("."+this.CssClasses_.ITEM);this.boundItemKeydown_=this.handleItemKeyboardEvent_.bind(this),this.boundItemClick_=this.handleItemClick_.bind(this);for(var a=0;a<n.length;a++)n[a].addEventListener("click",this.boundItemClick_),n[a].tabIndex="-1",n[a].addEventListener("keydown",this.boundItemKeydown_);if(this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT))for(this.element_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS),a=0;a<n.length;a++){var l=n[a],o=document.createElement("span");o.classList.add(this.CssClasses_.ITEM_RIPPLE_CONTAINER);var r=document.createElement("span");r.classList.add(this.CssClasses_.RIPPLE),o.appendChild(r),l.appendChild(o),l.classList.add(this.CssClasses_.RIPPLE_EFFECT)}this.element_.classList.contains(this.CssClasses_.BOTTOM_LEFT)&&this.outline_.classList.add(this.CssClasses_.BOTTOM_LEFT),this.element_.classList.contains(this.CssClasses_.BOTTOM_RIGHT)&&this.outline_.classList.add(this.CssClasses_.BOTTOM_RIGHT),this.element_.classList.contains(this.CssClasses_.TOP_LEFT)&&this.outline_.classList.add(this.CssClasses_.TOP_LEFT),this.element_.classList.contains(this.CssClasses_.TOP_RIGHT)&&this.outline_.classList.add(this.CssClasses_.TOP_RIGHT),this.element_.classList.contains(this.CssClasses_.UNALIGNED)&&this.outline_.classList.add(this.CssClasses_.UNALIGNED),e.classList.add(this.CssClasses_.IS_UPGRADED)}},d.prototype.handleForClick_=function(e){if(this.element_&&this.forElement_){var t=this.forElement_.getBoundingClientRect(),s=this.forElement_.parentElement.getBoundingClientRect();this.element_.classList.contains(this.CssClasses_.UNALIGNED)||(this.element_.classList.contains(this.CssClasses_.BOTTOM_RIGHT)?(this.container_.style.right=s.right-t.right+"px",this.container_.style.top=this.forElement_.offsetTop+this.forElement_.offsetHeight+"px"):this.element_.classList.contains(this.CssClasses_.TOP_LEFT)?(this.container_.style.left=this.forElement_.offsetLeft+"px",this.container_.style.bottom=s.bottom-t.top+"px"):this.element_.classList.contains(this.CssClasses_.TOP_RIGHT)?(this.container_.style.right=s.right-t.right+"px",this.container_.style.bottom=s.bottom-t.top+"px"):(this.container_.style.left=this.forElement_.offsetLeft+"px",this.container_.style.top=this.forElement_.offsetTop+this.forElement_.offsetHeight+"px"))}this.toggle(e)},d.prototype.handleForKeyboardEvent_=function(e){if(this.element_&&this.container_&&this.forElement_){var t=this.element_.querySelectorAll("."+this.CssClasses_.ITEM+":not([disabled])");t&&t.length>0&&this.container_.classList.contains(this.CssClasses_.IS_VISIBLE)&&(e.keyCode===this.Keycodes_.UP_ARROW?(e.preventDefault(),t[t.length-1].focus()):e.keyCode===this.Keycodes_.DOWN_ARROW&&(e.preventDefault(),t[0].focus()))}},d.prototype.handleItemKeyboardEvent_=function(e){if(this.element_&&this.container_){var t=this.element_.querySelectorAll("."+this.CssClasses_.ITEM+":not([disabled])");if(t&&t.length>0&&this.container_.classList.contains(this.CssClasses_.IS_VISIBLE)){var s=Array.prototype.slice.call(t).indexOf(e.target);if(e.keyCode===this.Keycodes_.UP_ARROW)e.preventDefault(),s>0?t[s-1].focus():t[t.length-1].focus();else if(e.keyCode===this.Keycodes_.DOWN_ARROW)e.preventDefault(),t.length>s+1?t[s+1].focus():t[0].focus();else if(e.keyCode===this.Keycodes_.SPACE||e.keyCode===this.Keycodes_.ENTER){e.preventDefault();var i=new MouseEvent("mousedown");e.target.dispatchEvent(i),i=new MouseEvent("mouseup"),e.target.dispatchEvent(i),e.target.click()}else e.keyCode===this.Keycodes_.ESCAPE&&(e.preventDefault(),this.hide())}}},d.prototype.handleItemClick_=function(e){e.target.hasAttribute("disabled")?e.stopPropagation():(this.closing_=!0,window.setTimeout(function(e){this.hide(),this.closing_=!1}.bind(this),this.Constant_.CLOSE_TIMEOUT))},d.prototype.applyClip_=function(e,t){this.element_.classList.contains(this.CssClasses_.UNALIGNED)?this.element_.style.clip="":this.element_.classList.contains(this.CssClasses_.BOTTOM_RIGHT)?this.element_.style.clip="rect(0 "+t+"px 0 "+t+"px)":this.element_.classList.contains(this.CssClasses_.TOP_LEFT)?this.element_.style.clip="rect("+e+"px 0 "+e+"px 0)":this.element_.classList.contains(this.CssClasses_.TOP_RIGHT)?this.element_.style.clip="rect("+e+"px "+t+"px "+e+"px "+t+"px)":this.element_.style.clip=""},d.prototype.removeAnimationEndListener_=function(e){e.target.classList.remove(d.prototype.CssClasses_.IS_ANIMATING)},d.prototype.addAnimationEndListener_=function(){this.element_.addEventListener("transitionend",this.removeAnimationEndListener_),this.element_.addEventListener("webkitTransitionEnd",this.removeAnimationEndListener_)},d.prototype.show=function(e){if(this.element_&&this.container_&&this.outline_){var t=this.element_.getBoundingClientRect().height,s=this.element_.getBoundingClientRect().width;this.container_.style.width=s+"px",this.container_.style.height=t+"px",this.outline_.style.width=s+"px",this.outline_.style.height=t+"px";for(var i=this.Constant_.TRANSITION_DURATION_SECONDS*this.Constant_.TRANSITION_DURATION_FRACTION,n=this.element_.querySelectorAll("."+this.CssClasses_.ITEM),a=0;a<n.length;a++){var l=null;l=this.element_.classList.contains(this.CssClasses_.TOP_LEFT)||this.element_.classList.contains(this.CssClasses_.TOP_RIGHT)?(t-n[a].offsetTop-n[a].offsetHeight)/t*i+"s":n[a].offsetTop/t*i+"s",n[a].style.transitionDelay=l}this.applyClip_(t,s),window.requestAnimationFrame(function(){this.element_.classList.add(this.CssClasses_.IS_ANIMATING),this.element_.style.clip="rect(0 "+s+"px "+t+"px 0)",this.container_.classList.add(this.CssClasses_.IS_VISIBLE)}.bind(this)),this.addAnimationEndListener_();var o=function(t){t===e||this.closing_||t.target.parentNode===this.element_||(document.removeEventListener("click",o),this.hide())}.bind(this);document.addEventListener("click",o)}},d.prototype.show=d.prototype.show,d.prototype.hide=function(){if(this.element_&&this.container_&&this.outline_){for(var e=this.element_.querySelectorAll("."+this.CssClasses_.ITEM),t=0;t<e.length;t++)e[t].style.removeProperty("transition-delay");var s=this.element_.getBoundingClientRect(),i=s.height,n=s.width;this.element_.classList.add(this.CssClasses_.IS_ANIMATING),this.applyClip_(i,n),this.container_.classList.remove(this.CssClasses_.IS_VISIBLE),this.addAnimationEndListener_()}},d.prototype.hide=d.prototype.hide,d.prototype.toggle=function(e){this.container_.classList.contains(this.CssClasses_.IS_VISIBLE)?this.hide():this.show(e)},d.prototype.toggle=d.prototype.toggle,s.register({constructor:d,classAsString:"MaterialMenu",cssClass:"mdl-js-menu",widget:!0});var h=function(e){this.element_=e,this.init()};window.MaterialProgress=h,h.prototype.Constant_={},h.prototype.CssClasses_={INDETERMINATE_CLASS:"mdl-progress__indeterminate"},h.prototype.setProgress=function(e){this.element_.classList.contains(this.CssClasses_.INDETERMINATE_CLASS)||(this.progressbar_.style.width=e+"%")},h.prototype.setProgress=h.prototype.setProgress,h.prototype.setBuffer=function(e){this.bufferbar_.style.width=e+"%",this.auxbar_.style.width=100-e+"%"},h.prototype.setBuffer=h.prototype.setBuffer,h.prototype.init=function(){if(this.element_){var e=document.createElement("div");e.className="progressbar bar bar1",this.element_.appendChild(e),this.progressbar_=e,e=document.createElement("div"),e.className="bufferbar bar bar2",this.element_.appendChild(e),this.bufferbar_=e,e=document.createElement("div"),e.className="auxbar bar bar3",this.element_.appendChild(e),this.auxbar_=e,this.progressbar_.style.width="0%",this.bufferbar_.style.width="100%",this.auxbar_.style.width="0%",this.element_.classList.add("is-upgraded")}},s.register({constructor:h,classAsString:"MaterialProgress",cssClass:"mdl-js-progress",widget:!0});var c=function(e){this.element_=e,this.init()};window.MaterialRadio=c,c.prototype.Constant_={TINY_TIMEOUT:.001},c.prototype.CssClasses_={IS_FOCUSED:"is-focused",IS_DISABLED:"is-disabled",IS_CHECKED:"is-checked",IS_UPGRADED:"is-upgraded",JS_RADIO:"mdl-js-radio",RADIO_BTN:"mdl-radio__button",RADIO_OUTER_CIRCLE:"mdl-radio__outer-circle",RADIO_INNER_CIRCLE:"mdl-radio__inner-circle",RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE_CONTAINER:"mdl-radio__ripple-container",RIPPLE_CENTER:"mdl-ripple--center",RIPPLE:"mdl-ripple"},c.prototype.onChange_=function(e){for(var t=document.getElementsByClassName(this.CssClasses_.JS_RADIO),s=0;s<t.length;s++){var i=t[s].querySelector("."+this.CssClasses_.RADIO_BTN);i.getAttribute("name")===this.btnElement_.getAttribute("name")&&"undefined"!=typeof t[s].MaterialRadio&&t[s].MaterialRadio.updateClasses_()}},c.prototype.onFocus_=function(e){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},c.prototype.onBlur_=function(e){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},c.prototype.onMouseup_=function(e){this.blur_()},c.prototype.updateClasses_=function(){this.checkDisabled(),this.checkToggleState()},c.prototype.blur_=function(){window.setTimeout(function(){this.btnElement_.blur()}.bind(this),this.Constant_.TINY_TIMEOUT)},c.prototype.checkDisabled=function(){this.btnElement_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},c.prototype.checkDisabled=c.prototype.checkDisabled,c.prototype.checkToggleState=function(){this.btnElement_.checked?this.element_.classList.add(this.CssClasses_.IS_CHECKED):this.element_.classList.remove(this.CssClasses_.IS_CHECKED)},c.prototype.checkToggleState=c.prototype.checkToggleState,c.prototype.disable=function(){this.btnElement_.disabled=!0,this.updateClasses_()},c.prototype.disable=c.prototype.disable,c.prototype.enable=function(){this.btnElement_.disabled=!1,this.updateClasses_()},c.prototype.enable=c.prototype.enable,c.prototype.check=function(){this.btnElement_.checked=!0,this.onChange_(null)},c.prototype.check=c.prototype.check,c.prototype.uncheck=function(){this.btnElement_.checked=!1,this.onChange_(null)},c.prototype.uncheck=c.prototype.uncheck,c.prototype.init=function(){if(this.element_){this.btnElement_=this.element_.querySelector("."+this.CssClasses_.RADIO_BTN),this.boundChangeHandler_=this.onChange_.bind(this),this.boundFocusHandler_=this.onChange_.bind(this),this.boundBlurHandler_=this.onBlur_.bind(this),this.boundMouseUpHandler_=this.onMouseup_.bind(this);var e=document.createElement("span");e.classList.add(this.CssClasses_.RADIO_OUTER_CIRCLE);var t=document.createElement("span");t.classList.add(this.CssClasses_.RADIO_INNER_CIRCLE),this.element_.appendChild(e),this.element_.appendChild(t);var s;if(this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT)){this.element_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS),s=document.createElement("span"),s.classList.add(this.CssClasses_.RIPPLE_CONTAINER),s.classList.add(this.CssClasses_.RIPPLE_EFFECT),s.classList.add(this.CssClasses_.RIPPLE_CENTER),s.addEventListener("mouseup",this.boundMouseUpHandler_);var i=document.createElement("span");i.classList.add(this.CssClasses_.RIPPLE),s.appendChild(i),this.element_.appendChild(s)}this.btnElement_.addEventListener("change",this.boundChangeHandler_),this.btnElement_.addEventListener("focus",this.boundFocusHandler_),this.btnElement_.addEventListener("blur",this.boundBlurHandler_),this.element_.addEventListener("mouseup",this.boundMouseUpHandler_),this.updateClasses_(),this.element_.classList.add(this.CssClasses_.IS_UPGRADED)}},s.register({constructor:c,classAsString:"MaterialRadio",cssClass:"mdl-js-radio",widget:!0});var p=function(e){this.element_=e,this.isIE_=window.navigator.msPointerEnabled,this.init()};window.MaterialSlider=p,p.prototype.Constant_={},p.prototype.CssClasses_={IE_CONTAINER:"mdl-slider__ie-container",SLIDER_CONTAINER:"mdl-slider__container",BACKGROUND_FLEX:"mdl-slider__background-flex",BACKGROUND_LOWER:"mdl-slider__background-lower",BACKGROUND_UPPER:"mdl-slider__background-upper",IS_LOWEST_VALUE:"is-lowest-value",IS_UPGRADED:"is-upgraded"},p.prototype.onInput_=function(e){this.updateValueStyles_()},p.prototype.onChange_=function(e){this.updateValueStyles_()},p.prototype.onMouseUp_=function(e){e.target.blur()},p.prototype.onContainerMouseDown_=function(e){if(e.target===this.element_.parentElement){e.preventDefault();var t=new MouseEvent("mousedown",{target:e.target,buttons:e.buttons,clientX:e.clientX,clientY:this.element_.getBoundingClientRect().y});this.element_.dispatchEvent(t)}},p.prototype.updateValueStyles_=function(){var e=(this.element_.value-this.element_.min)/(this.element_.max-this.element_.min);0===e?this.element_.classList.add(this.CssClasses_.IS_LOWEST_VALUE):this.element_.classList.remove(this.CssClasses_.IS_LOWEST_VALUE),this.isIE_||(this.backgroundLower_.style.flex=e,this.backgroundLower_.style.webkitFlex=e,this.backgroundUpper_.style.flex=1-e,this.backgroundUpper_.style.webkitFlex=1-e)},p.prototype.disable=function(){this.element_.disabled=!0},p.prototype.disable=p.prototype.disable,p.prototype.enable=function(){this.element_.disabled=!1},p.prototype.enable=p.prototype.enable,p.prototype.change=function(e){"undefined"!=typeof e&&(this.element_.value=e),this.updateValueStyles_()},p.prototype.change=p.prototype.change,p.prototype.init=function(){if(this.element_){if(this.isIE_){var e=document.createElement("div");e.classList.add(this.CssClasses_.IE_CONTAINER),this.element_.parentElement.insertBefore(e,this.element_),this.element_.parentElement.removeChild(this.element_),e.appendChild(this.element_)}else{var t=document.createElement("div");t.classList.add(this.CssClasses_.SLIDER_CONTAINER),this.element_.parentElement.insertBefore(t,this.element_),this.element_.parentElement.removeChild(this.element_),t.appendChild(this.element_);var s=document.createElement("div");s.classList.add(this.CssClasses_.BACKGROUND_FLEX),t.appendChild(s),this.backgroundLower_=document.createElement("div"),this.backgroundLower_.classList.add(this.CssClasses_.BACKGROUND_LOWER),s.appendChild(this.backgroundLower_),this.backgroundUpper_=document.createElement("div"),this.backgroundUpper_.classList.add(this.CssClasses_.BACKGROUND_UPPER),s.appendChild(this.backgroundUpper_)}this.boundInputHandler=this.onInput_.bind(this),this.boundChangeHandler=this.onChange_.bind(this),this.boundMouseUpHandler=this.onMouseUp_.bind(this),this.boundContainerMouseDownHandler=this.onContainerMouseDown_.bind(this),this.element_.addEventListener("input",this.boundInputHandler),this.element_.addEventListener("change",this.boundChangeHandler),this.element_.addEventListener("mouseup",this.boundMouseUpHandler),this.element_.parentElement.addEventListener("mousedown",this.boundContainerMouseDownHandler),this.updateValueStyles_(),this.element_.classList.add(this.CssClasses_.IS_UPGRADED)}},s.register({constructor:p,classAsString:"MaterialSlider",cssClass:"mdl-js-slider",widget:!0});var C=function(e){if(this.element_=e,this.textElement_=this.element_.querySelector("."+this.cssClasses_.MESSAGE),this.actionElement_=this.element_.querySelector("."+this.cssClasses_.ACTION),!this.textElement_)throw new Error("There must be a message element for a snackbar.");if(!this.actionElement_)throw new Error("There must be an action element for a snackbar.");this.active=!1,this.actionHandler_=void 0,this.message_=void 0,this.actionText_=void 0,this.queuedNotifications_=[],this.setActionHidden_(!0)};window.MaterialSnackbar=C,C.prototype.Constant_={ANIMATION_LENGTH:250},C.prototype.cssClasses_={SNACKBAR:"mdl-snackbar",MESSAGE:"mdl-snackbar__text",ACTION:"mdl-snackbar__action",ACTIVE:"mdl-snackbar--active"},C.prototype.displaySnackbar_=function(){this.element_.setAttribute("aria-hidden","true"),
9
+ this.actionHandler_&&(this.actionElement_.textContent=this.actionText_,this.actionElement_.addEventListener("click",this.actionHandler_),this.setActionHidden_(!1)),this.textElement_.textContent=this.message_,this.element_.classList.add(this.cssClasses_.ACTIVE),this.element_.setAttribute("aria-hidden","false"),setTimeout(this.cleanup_.bind(this),this.timeout_)},C.prototype.showSnackbar=function(e){if(void 0===e)throw new Error("Please provide a data object with at least a message to display.");if(void 0===e.message)throw new Error("Please provide a message to be displayed.");if(e.actionHandler&&!e.actionText)throw new Error("Please provide action text with the handler.");this.active?this.queuedNotifications_.push(e):(this.active=!0,this.message_=e.message,e.timeout?this.timeout_=e.timeout:this.timeout_=2750,e.actionHandler&&(this.actionHandler_=e.actionHandler),e.actionText&&(this.actionText_=e.actionText),this.displaySnackbar_())},C.prototype.showSnackbar=C.prototype.showSnackbar,C.prototype.checkQueue_=function(){this.queuedNotifications_.length>0&&this.showSnackbar(this.queuedNotifications_.shift())},C.prototype.cleanup_=function(){this.element_.classList.remove(this.cssClasses_.ACTIVE),setTimeout(function(){this.element_.setAttribute("aria-hidden","true"),this.textElement_.textContent="",Boolean(this.actionElement_.getAttribute("aria-hidden"))||(this.setActionHidden_(!0),this.actionElement_.textContent="",this.actionElement_.removeEventListener("click",this.actionHandler_)),this.actionHandler_=void 0,this.message_=void 0,this.actionText_=void 0,this.active=!1,this.checkQueue_()}.bind(this),this.Constant_.ANIMATION_LENGTH)},C.prototype.setActionHidden_=function(e){e?this.actionElement_.setAttribute("aria-hidden","true"):this.actionElement_.removeAttribute("aria-hidden")},s.register({constructor:C,classAsString:"MaterialSnackbar",cssClass:"mdl-js-snackbar",widget:!0});var u=function(e){this.element_=e,this.init()};window.MaterialSpinner=u,u.prototype.Constant_={MDL_SPINNER_LAYER_COUNT:4},u.prototype.CssClasses_={MDL_SPINNER_LAYER:"mdl-spinner__layer",MDL_SPINNER_CIRCLE_CLIPPER:"mdl-spinner__circle-clipper",MDL_SPINNER_CIRCLE:"mdl-spinner__circle",MDL_SPINNER_GAP_PATCH:"mdl-spinner__gap-patch",MDL_SPINNER_LEFT:"mdl-spinner__left",MDL_SPINNER_RIGHT:"mdl-spinner__right"},u.prototype.createLayer=function(e){var t=document.createElement("div");t.classList.add(this.CssClasses_.MDL_SPINNER_LAYER),t.classList.add(this.CssClasses_.MDL_SPINNER_LAYER+"-"+e);var s=document.createElement("div");s.classList.add(this.CssClasses_.MDL_SPINNER_CIRCLE_CLIPPER),s.classList.add(this.CssClasses_.MDL_SPINNER_LEFT);var i=document.createElement("div");i.classList.add(this.CssClasses_.MDL_SPINNER_GAP_PATCH);var n=document.createElement("div");n.classList.add(this.CssClasses_.MDL_SPINNER_CIRCLE_CLIPPER),n.classList.add(this.CssClasses_.MDL_SPINNER_RIGHT);for(var a=[s,i,n],l=0;l<a.length;l++){var o=document.createElement("div");o.classList.add(this.CssClasses_.MDL_SPINNER_CIRCLE),a[l].appendChild(o)}t.appendChild(s),t.appendChild(i),t.appendChild(n),this.element_.appendChild(t)},u.prototype.createLayer=u.prototype.createLayer,u.prototype.stop=function(){this.element_.classList.remove("is-active")},u.prototype.stop=u.prototype.stop,u.prototype.start=function(){this.element_.classList.add("is-active")},u.prototype.start=u.prototype.start,u.prototype.init=function(){if(this.element_){for(var e=1;e<=this.Constant_.MDL_SPINNER_LAYER_COUNT;e++)this.createLayer(e);this.element_.classList.add("is-upgraded")}},s.register({constructor:u,classAsString:"MaterialSpinner",cssClass:"mdl-js-spinner",widget:!0});var E=function(e){this.element_=e,this.init()};window.MaterialSwitch=E,E.prototype.Constant_={TINY_TIMEOUT:.001},E.prototype.CssClasses_={INPUT:"mdl-switch__input",TRACK:"mdl-switch__track",THUMB:"mdl-switch__thumb",FOCUS_HELPER:"mdl-switch__focus-helper",RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE_CONTAINER:"mdl-switch__ripple-container",RIPPLE_CENTER:"mdl-ripple--center",RIPPLE:"mdl-ripple",IS_FOCUSED:"is-focused",IS_DISABLED:"is-disabled",IS_CHECKED:"is-checked"},E.prototype.onChange_=function(e){this.updateClasses_()},E.prototype.onFocus_=function(e){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},E.prototype.onBlur_=function(e){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},E.prototype.onMouseUp_=function(e){this.blur_()},E.prototype.updateClasses_=function(){this.checkDisabled(),this.checkToggleState()},E.prototype.blur_=function(){window.setTimeout(function(){this.inputElement_.blur()}.bind(this),this.Constant_.TINY_TIMEOUT)},E.prototype.checkDisabled=function(){this.inputElement_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},E.prototype.checkDisabled=E.prototype.checkDisabled,E.prototype.checkToggleState=function(){this.inputElement_.checked?this.element_.classList.add(this.CssClasses_.IS_CHECKED):this.element_.classList.remove(this.CssClasses_.IS_CHECKED)},E.prototype.checkToggleState=E.prototype.checkToggleState,E.prototype.disable=function(){this.inputElement_.disabled=!0,this.updateClasses_()},E.prototype.disable=E.prototype.disable,E.prototype.enable=function(){this.inputElement_.disabled=!1,this.updateClasses_()},E.prototype.enable=E.prototype.enable,E.prototype.on=function(){this.inputElement_.checked=!0,this.updateClasses_()},E.prototype.on=E.prototype.on,E.prototype.off=function(){this.inputElement_.checked=!1,this.updateClasses_()},E.prototype.off=E.prototype.off,E.prototype.init=function(){if(this.element_){this.inputElement_=this.element_.querySelector("."+this.CssClasses_.INPUT);var e=document.createElement("div");e.classList.add(this.CssClasses_.TRACK);var t=document.createElement("div");t.classList.add(this.CssClasses_.THUMB);var s=document.createElement("span");if(s.classList.add(this.CssClasses_.FOCUS_HELPER),t.appendChild(s),this.element_.appendChild(e),this.element_.appendChild(t),this.boundMouseUpHandler=this.onMouseUp_.bind(this),this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT)){this.element_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS),this.rippleContainerElement_=document.createElement("span"),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CONTAINER),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_EFFECT),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CENTER),this.rippleContainerElement_.addEventListener("mouseup",this.boundMouseUpHandler);var i=document.createElement("span");i.classList.add(this.CssClasses_.RIPPLE),this.rippleContainerElement_.appendChild(i),this.element_.appendChild(this.rippleContainerElement_)}this.boundChangeHandler=this.onChange_.bind(this),this.boundFocusHandler=this.onFocus_.bind(this),this.boundBlurHandler=this.onBlur_.bind(this),this.inputElement_.addEventListener("change",this.boundChangeHandler),this.inputElement_.addEventListener("focus",this.boundFocusHandler),this.inputElement_.addEventListener("blur",this.boundBlurHandler),this.element_.addEventListener("mouseup",this.boundMouseUpHandler),this.updateClasses_(),this.element_.classList.add("is-upgraded")}},s.register({constructor:E,classAsString:"MaterialSwitch",cssClass:"mdl-js-switch",widget:!0});var m=function(e){this.element_=e,this.init()};window.MaterialTabs=m,m.prototype.Constant_={},m.prototype.CssClasses_={TAB_CLASS:"mdl-tabs__tab",PANEL_CLASS:"mdl-tabs__panel",ACTIVE_CLASS:"is-active",UPGRADED_CLASS:"is-upgraded",MDL_JS_RIPPLE_EFFECT:"mdl-js-ripple-effect",MDL_RIPPLE_CONTAINER:"mdl-tabs__ripple-container",MDL_RIPPLE:"mdl-ripple",MDL_JS_RIPPLE_EFFECT_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events"},m.prototype.initTabs_=function(){this.element_.classList.contains(this.CssClasses_.MDL_JS_RIPPLE_EFFECT)&&this.element_.classList.add(this.CssClasses_.MDL_JS_RIPPLE_EFFECT_IGNORE_EVENTS),this.tabs_=this.element_.querySelectorAll("."+this.CssClasses_.TAB_CLASS),this.panels_=this.element_.querySelectorAll("."+this.CssClasses_.PANEL_CLASS);for(var t=0;t<this.tabs_.length;t++)new e(this.tabs_[t],this);this.element_.classList.add(this.CssClasses_.UPGRADED_CLASS)},m.prototype.resetTabState_=function(){for(var e=0;e<this.tabs_.length;e++)this.tabs_[e].classList.remove(this.CssClasses_.ACTIVE_CLASS)},m.prototype.resetPanelState_=function(){for(var e=0;e<this.panels_.length;e++)this.panels_[e].classList.remove(this.CssClasses_.ACTIVE_CLASS)},m.prototype.init=function(){this.element_&&this.initTabs_()},s.register({constructor:m,classAsString:"MaterialTabs",cssClass:"mdl-js-tabs"});var L=function(e){this.element_=e,this.maxRows=this.Constant_.NO_MAX_ROWS,this.init()};window.MaterialTextfield=L,L.prototype.Constant_={NO_MAX_ROWS:-1,MAX_ROWS_ATTRIBUTE:"maxrows"},L.prototype.CssClasses_={LABEL:"mdl-textfield__label",INPUT:"mdl-textfield__input",IS_DIRTY:"is-dirty",IS_FOCUSED:"is-focused",IS_DISABLED:"is-disabled",IS_INVALID:"is-invalid",IS_UPGRADED:"is-upgraded",HAS_PLACEHOLDER:"has-placeholder"},L.prototype.onKeyDown_=function(e){var t=e.target.value.split("\n").length;13===e.keyCode&&t>=this.maxRows&&e.preventDefault()},L.prototype.onFocus_=function(e){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},L.prototype.onBlur_=function(e){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},L.prototype.onReset_=function(e){this.updateClasses_()},L.prototype.updateClasses_=function(){this.checkDisabled(),this.checkValidity(),this.checkDirty(),this.checkFocus()},L.prototype.checkDisabled=function(){this.input_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},L.prototype.checkDisabled=L.prototype.checkDisabled,L.prototype.checkFocus=function(){Boolean(this.element_.querySelector(":focus"))?this.element_.classList.add(this.CssClasses_.IS_FOCUSED):this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},L.prototype.checkFocus=L.prototype.checkFocus,L.prototype.checkValidity=function(){this.input_.validity&&(this.input_.validity.valid?this.element_.classList.remove(this.CssClasses_.IS_INVALID):this.element_.classList.add(this.CssClasses_.IS_INVALID))},L.prototype.checkValidity=L.prototype.checkValidity,L.prototype.checkDirty=function(){this.input_.value&&this.input_.value.length>0?this.element_.classList.add(this.CssClasses_.IS_DIRTY):this.element_.classList.remove(this.CssClasses_.IS_DIRTY)},L.prototype.checkDirty=L.prototype.checkDirty,L.prototype.disable=function(){this.input_.disabled=!0,this.updateClasses_()},L.prototype.disable=L.prototype.disable,L.prototype.enable=function(){this.input_.disabled=!1,this.updateClasses_()},L.prototype.enable=L.prototype.enable,L.prototype.change=function(e){this.input_.value=e||"",this.updateClasses_()},L.prototype.change=L.prototype.change,L.prototype.init=function(){if(this.element_&&(this.label_=this.element_.querySelector("."+this.CssClasses_.LABEL),this.input_=this.element_.querySelector("."+this.CssClasses_.INPUT),this.input_)){this.input_.hasAttribute(this.Constant_.MAX_ROWS_ATTRIBUTE)&&(this.maxRows=parseInt(this.input_.getAttribute(this.Constant_.MAX_ROWS_ATTRIBUTE),10),isNaN(this.maxRows)&&(this.maxRows=this.Constant_.NO_MAX_ROWS)),this.input_.hasAttribute("placeholder")&&this.element_.classList.add(this.CssClasses_.HAS_PLACEHOLDER),this.boundUpdateClassesHandler=this.updateClasses_.bind(this),this.boundFocusHandler=this.onFocus_.bind(this),this.boundBlurHandler=this.onBlur_.bind(this),this.boundResetHandler=this.onReset_.bind(this),this.input_.addEventListener("input",this.boundUpdateClassesHandler),this.input_.addEventListener("focus",this.boundFocusHandler),this.input_.addEventListener("blur",this.boundBlurHandler),this.input_.addEventListener("reset",this.boundResetHandler),this.maxRows!==this.Constant_.NO_MAX_ROWS&&(this.boundKeyDownHandler=this.onKeyDown_.bind(this),this.input_.addEventListener("keydown",this.boundKeyDownHandler));var e=this.element_.classList.contains(this.CssClasses_.IS_INVALID);this.updateClasses_(),this.element_.classList.add(this.CssClasses_.IS_UPGRADED),e&&this.element_.classList.add(this.CssClasses_.IS_INVALID),this.input_.hasAttribute("autofocus")&&(this.element_.focus(),this.checkFocus())}},s.register({constructor:L,classAsString:"MaterialTextfield",cssClass:"mdl-js-textfield",widget:!0});var I=function(e){this.element_=e,this.init()};window.MaterialTooltip=I,I.prototype.Constant_={},I.prototype.CssClasses_={IS_ACTIVE:"is-active",BOTTOM:"mdl-tooltip--bottom",LEFT:"mdl-tooltip--left",RIGHT:"mdl-tooltip--right",TOP:"mdl-tooltip--top"},I.prototype.handleMouseEnter_=function(e){var t=e.target.getBoundingClientRect(),s=t.left+t.width/2,i=t.top+t.height/2,n=-1*(this.element_.offsetWidth/2),a=-1*(this.element_.offsetHeight/2);this.element_.classList.contains(this.CssClasses_.LEFT)||this.element_.classList.contains(this.CssClasses_.RIGHT)?(s=t.width/2,i+a<0?(this.element_.style.top="0",this.element_.style.marginTop="0"):(this.element_.style.top=i+"px",this.element_.style.marginTop=a+"px")):s+n<0?(this.element_.style.left="0",this.element_.style.marginLeft="0"):(this.element_.style.left=s+"px",this.element_.style.marginLeft=n+"px"),this.element_.classList.contains(this.CssClasses_.TOP)?this.element_.style.top=t.top-this.element_.offsetHeight-10+"px":this.element_.classList.contains(this.CssClasses_.RIGHT)?this.element_.style.left=t.left+t.width+10+"px":this.element_.classList.contains(this.CssClasses_.LEFT)?this.element_.style.left=t.left-this.element_.offsetWidth-10+"px":this.element_.style.top=t.top+t.height+10+"px",this.element_.classList.add(this.CssClasses_.IS_ACTIVE)},I.prototype.hideTooltip_=function(){this.element_.classList.remove(this.CssClasses_.IS_ACTIVE)},I.prototype.init=function(){if(this.element_){var e=this.element_.getAttribute("for")||this.element_.getAttribute("data-mdl-for");e&&(this.forElement_=document.getElementById(e)),this.forElement_&&(this.forElement_.hasAttribute("tabindex")||this.forElement_.setAttribute("tabindex","0"),this.boundMouseEnterHandler=this.handleMouseEnter_.bind(this),this.boundMouseLeaveAndScrollHandler=this.hideTooltip_.bind(this),this.forElement_.addEventListener("mouseenter",this.boundMouseEnterHandler,!1),this.forElement_.addEventListener("touchend",this.boundMouseEnterHandler,!1),this.forElement_.addEventListener("mouseleave",this.boundMouseLeaveAndScrollHandler,!1),window.addEventListener("scroll",this.boundMouseLeaveAndScrollHandler,!0),window.addEventListener("touchstart",this.boundMouseLeaveAndScrollHandler))}},s.register({constructor:I,classAsString:"MaterialTooltip",cssClass:"mdl-tooltip"});var f=function(e){this.element_=e,this.init()};window.MaterialLayout=f,f.prototype.Constant_={MAX_WIDTH:"(max-width: 1024px)",TAB_SCROLL_PIXELS:100,RESIZE_TIMEOUT:100,MENU_ICON:"&#xE5D2;",CHEVRON_LEFT:"chevron_left",CHEVRON_RIGHT:"chevron_right"},f.prototype.Keycodes_={ENTER:13,ESCAPE:27,SPACE:32},f.prototype.Mode_={STANDARD:0,SEAMED:1,WATERFALL:2,SCROLL:3},f.prototype.CssClasses_={CONTAINER:"mdl-layout__container",HEADER:"mdl-layout__header",DRAWER:"mdl-layout__drawer",CONTENT:"mdl-layout__content",DRAWER_BTN:"mdl-layout__drawer-button",ICON:"material-icons",JS_RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_CONTAINER:"mdl-layout__tab-ripple-container",RIPPLE:"mdl-ripple",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",HEADER_SEAMED:"mdl-layout__header--seamed",HEADER_WATERFALL:"mdl-layout__header--waterfall",HEADER_SCROLL:"mdl-layout__header--scroll",FIXED_HEADER:"mdl-layout--fixed-header",OBFUSCATOR:"mdl-layout__obfuscator",TAB_BAR:"mdl-layout__tab-bar",TAB_CONTAINER:"mdl-layout__tab-bar-container",TAB:"mdl-layout__tab",TAB_BAR_BUTTON:"mdl-layout__tab-bar-button",TAB_BAR_LEFT_BUTTON:"mdl-layout__tab-bar-left-button",TAB_BAR_RIGHT_BUTTON:"mdl-layout__tab-bar-right-button",TAB_MANUAL_SWITCH:"mdl-layout__tab-manual-switch",PANEL:"mdl-layout__tab-panel",HAS_DRAWER:"has-drawer",HAS_TABS:"has-tabs",HAS_SCROLLING_HEADER:"has-scrolling-header",CASTING_SHADOW:"is-casting-shadow",IS_COMPACT:"is-compact",IS_SMALL_SCREEN:"is-small-screen",IS_DRAWER_OPEN:"is-visible",IS_ACTIVE:"is-active",IS_UPGRADED:"is-upgraded",IS_ANIMATING:"is-animating",ON_LARGE_SCREEN:"mdl-layout--large-screen-only",ON_SMALL_SCREEN:"mdl-layout--small-screen-only"},f.prototype.contentScrollHandler_=function(){if(!this.header_.classList.contains(this.CssClasses_.IS_ANIMATING)){var e=!this.element_.classList.contains(this.CssClasses_.IS_SMALL_SCREEN)||this.element_.classList.contains(this.CssClasses_.FIXED_HEADER);this.content_.scrollTop>0&&!this.header_.classList.contains(this.CssClasses_.IS_COMPACT)?(this.header_.classList.add(this.CssClasses_.CASTING_SHADOW),this.header_.classList.add(this.CssClasses_.IS_COMPACT),e&&this.header_.classList.add(this.CssClasses_.IS_ANIMATING)):this.content_.scrollTop<=0&&this.header_.classList.contains(this.CssClasses_.IS_COMPACT)&&(this.header_.classList.remove(this.CssClasses_.CASTING_SHADOW),this.header_.classList.remove(this.CssClasses_.IS_COMPACT),e&&this.header_.classList.add(this.CssClasses_.IS_ANIMATING))}},f.prototype.keyboardEventHandler_=function(e){e.keyCode===this.Keycodes_.ESCAPE&&this.drawer_.classList.contains(this.CssClasses_.IS_DRAWER_OPEN)&&this.toggleDrawer()},f.prototype.screenSizeHandler_=function(){this.screenSizeMediaQuery_.matches?this.element_.classList.add(this.CssClasses_.IS_SMALL_SCREEN):(this.element_.classList.remove(this.CssClasses_.IS_SMALL_SCREEN),this.drawer_&&(this.drawer_.classList.remove(this.CssClasses_.IS_DRAWER_OPEN),this.obfuscator_.classList.remove(this.CssClasses_.IS_DRAWER_OPEN)))},f.prototype.drawerToggleHandler_=function(e){if(e&&"keydown"===e.type){if(e.keyCode!==this.Keycodes_.SPACE&&e.keyCode!==this.Keycodes_.ENTER)return;e.preventDefault()}this.toggleDrawer()},f.prototype.headerTransitionEndHandler_=function(){this.header_.classList.remove(this.CssClasses_.IS_ANIMATING)},f.prototype.headerClickHandler_=function(){this.header_.classList.contains(this.CssClasses_.IS_COMPACT)&&(this.header_.classList.remove(this.CssClasses_.IS_COMPACT),this.header_.classList.add(this.CssClasses_.IS_ANIMATING))},f.prototype.resetTabState_=function(e){for(var t=0;t<e.length;t++)e[t].classList.remove(this.CssClasses_.IS_ACTIVE)},f.prototype.resetPanelState_=function(e){for(var t=0;t<e.length;t++)e[t].classList.remove(this.CssClasses_.IS_ACTIVE)},f.prototype.toggleDrawer=function(){var e=this.element_.querySelector("."+this.CssClasses_.DRAWER_BTN);this.drawer_.classList.toggle(this.CssClasses_.IS_DRAWER_OPEN),this.obfuscator_.classList.toggle(this.CssClasses_.IS_DRAWER_OPEN),this.drawer_.classList.contains(this.CssClasses_.IS_DRAWER_OPEN)?(this.drawer_.setAttribute("aria-hidden","false"),e.setAttribute("aria-expanded","true")):(this.drawer_.setAttribute("aria-hidden","true"),e.setAttribute("aria-expanded","false"))},f.prototype.toggleDrawer=f.prototype.toggleDrawer,f.prototype.init=function(){if(this.element_){var e=document.createElement("div");e.classList.add(this.CssClasses_.CONTAINER);var s=this.element_.querySelector(":focus");this.element_.parentElement.insertBefore(e,this.element_),this.element_.parentElement.removeChild(this.element_),e.appendChild(this.element_),s&&s.focus();for(var i=this.element_.childNodes,n=i.length,a=0;a<n;a++){var l=i[a];l.classList&&l.classList.contains(this.CssClasses_.HEADER)&&(this.header_=l),l.classList&&l.classList.contains(this.CssClasses_.DRAWER)&&(this.drawer_=l),l.classList&&l.classList.contains(this.CssClasses_.CONTENT)&&(this.content_=l)}window.addEventListener("pageshow",function(e){e.persisted&&(this.element_.style.overflowY="hidden",requestAnimationFrame(function(){this.element_.style.overflowY=""}.bind(this)))}.bind(this),!1),this.header_&&(this.tabBar_=this.header_.querySelector("."+this.CssClasses_.TAB_BAR));var o=this.Mode_.STANDARD;if(this.header_&&(this.header_.classList.contains(this.CssClasses_.HEADER_SEAMED)?o=this.Mode_.SEAMED:this.header_.classList.contains(this.CssClasses_.HEADER_WATERFALL)?(o=this.Mode_.WATERFALL,this.header_.addEventListener("transitionend",this.headerTransitionEndHandler_.bind(this)),this.header_.addEventListener("click",this.headerClickHandler_.bind(this))):this.header_.classList.contains(this.CssClasses_.HEADER_SCROLL)&&(o=this.Mode_.SCROLL,e.classList.add(this.CssClasses_.HAS_SCROLLING_HEADER)),o===this.Mode_.STANDARD?(this.header_.classList.add(this.CssClasses_.CASTING_SHADOW),this.tabBar_&&this.tabBar_.classList.add(this.CssClasses_.CASTING_SHADOW)):o===this.Mode_.SEAMED||o===this.Mode_.SCROLL?(this.header_.classList.remove(this.CssClasses_.CASTING_SHADOW),this.tabBar_&&this.tabBar_.classList.remove(this.CssClasses_.CASTING_SHADOW)):o===this.Mode_.WATERFALL&&(this.content_.addEventListener("scroll",this.contentScrollHandler_.bind(this)),this.contentScrollHandler_())),this.drawer_){var r=this.element_.querySelector("."+this.CssClasses_.DRAWER_BTN);if(!r){r=document.createElement("div"),r.setAttribute("aria-expanded","false"),r.setAttribute("role","button"),r.setAttribute("tabindex","0"),r.classList.add(this.CssClasses_.DRAWER_BTN);var _=document.createElement("i");_.classList.add(this.CssClasses_.ICON),_.innerHTML=this.Constant_.MENU_ICON,r.appendChild(_)}this.drawer_.classList.contains(this.CssClasses_.ON_LARGE_SCREEN)?r.classList.add(this.CssClasses_.ON_LARGE_SCREEN):this.drawer_.classList.contains(this.CssClasses_.ON_SMALL_SCREEN)&&r.classList.add(this.CssClasses_.ON_SMALL_SCREEN),r.addEventListener("click",this.drawerToggleHandler_.bind(this)),r.addEventListener("keydown",this.drawerToggleHandler_.bind(this)),this.element_.classList.add(this.CssClasses_.HAS_DRAWER),this.element_.classList.contains(this.CssClasses_.FIXED_HEADER)?this.header_.insertBefore(r,this.header_.firstChild):this.element_.insertBefore(r,this.content_);var d=document.createElement("div");d.classList.add(this.CssClasses_.OBFUSCATOR),this.element_.appendChild(d),d.addEventListener("click",this.drawerToggleHandler_.bind(this)),this.obfuscator_=d,this.drawer_.addEventListener("keydown",this.keyboardEventHandler_.bind(this)),this.drawer_.setAttribute("aria-hidden","true")}if(this.screenSizeMediaQuery_=window.matchMedia(this.Constant_.MAX_WIDTH),this.screenSizeMediaQuery_.addListener(this.screenSizeHandler_.bind(this)),this.screenSizeHandler_(),this.header_&&this.tabBar_){this.element_.classList.add(this.CssClasses_.HAS_TABS);var h=document.createElement("div");h.classList.add(this.CssClasses_.TAB_CONTAINER),this.header_.insertBefore(h,this.tabBar_),this.header_.removeChild(this.tabBar_);var c=document.createElement("div");c.classList.add(this.CssClasses_.TAB_BAR_BUTTON),c.classList.add(this.CssClasses_.TAB_BAR_LEFT_BUTTON);var p=document.createElement("i");p.classList.add(this.CssClasses_.ICON),p.textContent=this.Constant_.CHEVRON_LEFT,c.appendChild(p),c.addEventListener("click",function(){this.tabBar_.scrollLeft-=this.Constant_.TAB_SCROLL_PIXELS}.bind(this));var C=document.createElement("div");C.classList.add(this.CssClasses_.TAB_BAR_BUTTON),C.classList.add(this.CssClasses_.TAB_BAR_RIGHT_BUTTON);var u=document.createElement("i");u.classList.add(this.CssClasses_.ICON),u.textContent=this.Constant_.CHEVRON_RIGHT,C.appendChild(u),C.addEventListener("click",function(){this.tabBar_.scrollLeft+=this.Constant_.TAB_SCROLL_PIXELS}.bind(this)),h.appendChild(c),h.appendChild(this.tabBar_),h.appendChild(C);var E=function(){this.tabBar_.scrollLeft>0?c.classList.add(this.CssClasses_.IS_ACTIVE):c.classList.remove(this.CssClasses_.IS_ACTIVE),this.tabBar_.scrollLeft<this.tabBar_.scrollWidth-this.tabBar_.offsetWidth?C.classList.add(this.CssClasses_.IS_ACTIVE):C.classList.remove(this.CssClasses_.IS_ACTIVE)}.bind(this);this.tabBar_.addEventListener("scroll",E),E();var m=function(){this.resizeTimeoutId_&&clearTimeout(this.resizeTimeoutId_),this.resizeTimeoutId_=setTimeout(function(){E(),this.resizeTimeoutId_=null}.bind(this),this.Constant_.RESIZE_TIMEOUT)}.bind(this);window.addEventListener("resize",m),this.tabBar_.classList.contains(this.CssClasses_.JS_RIPPLE_EFFECT)&&this.tabBar_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS);for(var L=this.tabBar_.querySelectorAll("."+this.CssClasses_.TAB),I=this.content_.querySelectorAll("."+this.CssClasses_.PANEL),f=0;f<L.length;f++)new t(L[f],L,I,this)}this.element_.classList.add(this.CssClasses_.IS_UPGRADED)}},window.MaterialLayoutTab=t,s.register({constructor:f,classAsString:"MaterialLayout",cssClass:"mdl-js-layout"});var b=function(e){this.element_=e,this.init()};window.MaterialDataTable=b,b.prototype.Constant_={},b.prototype.CssClasses_={DATA_TABLE:"mdl-data-table",SELECTABLE:"mdl-data-table--selectable",SELECT_ELEMENT:"mdl-data-table__select",IS_SELECTED:"is-selected",IS_UPGRADED:"is-upgraded"},b.prototype.selectRow_=function(e,t,s){return t?function(){e.checked?t.classList.add(this.CssClasses_.IS_SELECTED):t.classList.remove(this.CssClasses_.IS_SELECTED)}.bind(this):s?function(){var t,i;if(e.checked)for(t=0;t<s.length;t++)i=s[t].querySelector("td").querySelector(".mdl-checkbox"),i.MaterialCheckbox.check(),s[t].classList.add(this.CssClasses_.IS_SELECTED);else for(t=0;t<s.length;t++)i=s[t].querySelector("td").querySelector(".mdl-checkbox"),i.MaterialCheckbox.uncheck(),s[t].classList.remove(this.CssClasses_.IS_SELECTED)}.bind(this):void 0},b.prototype.createCheckbox_=function(e,t){var i=document.createElement("label"),n=["mdl-checkbox","mdl-js-checkbox","mdl-js-ripple-effect",this.CssClasses_.SELECT_ELEMENT];i.className=n.join(" ");var a=document.createElement("input");return a.type="checkbox",a.classList.add("mdl-checkbox__input"),e?(a.checked=e.classList.contains(this.CssClasses_.IS_SELECTED),a.addEventListener("change",this.selectRow_(a,e))):t&&a.addEventListener("change",this.selectRow_(a,null,t)),i.appendChild(a),s.upgradeElement(i,"MaterialCheckbox"),i},b.prototype.init=function(){if(this.element_){var e=this.element_.querySelector("th"),t=Array.prototype.slice.call(this.element_.querySelectorAll("tbody tr")),s=Array.prototype.slice.call(this.element_.querySelectorAll("tfoot tr")),i=t.concat(s);if(this.element_.classList.contains(this.CssClasses_.SELECTABLE)){var n=document.createElement("th"),a=this.createCheckbox_(null,i);n.appendChild(a),e.parentElement.insertBefore(n,e);for(var l=0;l<i.length;l++){var o=i[l].querySelector("td");if(o){var r=document.createElement("td");if("TBODY"===i[l].parentNode.nodeName.toUpperCase()){var _=this.createCheckbox_(i[l]);r.appendChild(_)}i[l].insertBefore(r,o)}}this.element_.classList.add(this.CssClasses_.IS_UPGRADED)}}},s.register({constructor:b,classAsString:"MaterialDataTable",cssClass:"mdl-js-data-table"});var S=function(e){this.element_=e,this.init()};window.MaterialRipple=S,S.prototype.Constant_={INITIAL_SCALE:"scale(0.0001, 0.0001)",INITIAL_SIZE:"1px",INITIAL_OPACITY:"0.4",FINAL_OPACITY:"0",FINAL_SCALE:""},S.prototype.CssClasses_={RIPPLE_CENTER:"mdl-ripple--center",RIPPLE_EFFECT_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE:"mdl-ripple",IS_ANIMATING:"is-animating",IS_VISIBLE:"is-visible"},S.prototype.downHandler_=function(e){if(!this.rippleElement_.style.width&&!this.rippleElement_.style.height){var t=this.element_.getBoundingClientRect();this.boundHeight=t.height,this.boundWidth=t.width,this.rippleSize_=2*Math.sqrt(t.width*t.width+t.height*t.height)+2,this.rippleElement_.style.width=this.rippleSize_+"px",this.rippleElement_.style.height=this.rippleSize_+"px"}if(this.rippleElement_.classList.add(this.CssClasses_.IS_VISIBLE),"mousedown"===e.type&&this.ignoringMouseDown_)this.ignoringMouseDown_=!1;else{"touchstart"===e.type&&(this.ignoringMouseDown_=!0);var s=this.getFrameCount();if(s>0)return;this.setFrameCount(1);var i,n,a=e.currentTarget.getBoundingClientRect();if(0===e.clientX&&0===e.clientY)i=Math.round(a.width/2),n=Math.round(a.height/2);else{var l=void 0!==e.clientX?e.clientX:e.touches[0].clientX,o=void 0!==e.clientY?e.clientY:e.touches[0].clientY;i=Math.round(l-a.left),n=Math.round(o-a.top)}this.setRippleXY(i,n),this.setRippleStyles(!0),window.requestAnimationFrame(this.animFrameHandler.bind(this))}},S.prototype.upHandler_=function(e){e&&2!==e.detail&&window.setTimeout(function(){this.rippleElement_.classList.remove(this.CssClasses_.IS_VISIBLE)}.bind(this),0)},S.prototype.init=function(){if(this.element_){var e=this.element_.classList.contains(this.CssClasses_.RIPPLE_CENTER);this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT_IGNORE_EVENTS)||(this.rippleElement_=this.element_.querySelector("."+this.CssClasses_.RIPPLE),this.frameCount_=0,this.rippleSize_=0,this.x_=0,this.y_=0,this.ignoringMouseDown_=!1,this.boundDownHandler=this.downHandler_.bind(this),this.element_.addEventListener("mousedown",this.boundDownHandler),this.element_.addEventListener("touchstart",this.boundDownHandler),this.boundUpHandler=this.upHandler_.bind(this),this.element_.addEventListener("mouseup",this.boundUpHandler),this.element_.addEventListener("mouseleave",this.boundUpHandler),this.element_.addEventListener("touchend",this.boundUpHandler),this.element_.addEventListener("blur",this.boundUpHandler),this.getFrameCount=function(){return this.frameCount_},this.setFrameCount=function(e){this.frameCount_=e},this.getRippleElement=function(){return this.rippleElement_},this.setRippleXY=function(e,t){this.x_=e,this.y_=t},this.setRippleStyles=function(t){if(null!==this.rippleElement_){var s,i,n,a="translate("+this.x_+"px, "+this.y_+"px)";t?(i=this.Constant_.INITIAL_SCALE,n=this.Constant_.INITIAL_SIZE):(i=this.Constant_.FINAL_SCALE,n=this.rippleSize_+"px",e&&(a="translate("+this.boundWidth/2+"px, "+this.boundHeight/2+"px)")),s="translate(-50%, -50%) "+a+i,this.rippleElement_.style.webkitTransform=s,this.rippleElement_.style.msTransform=s,this.rippleElement_.style.transform=s,t?this.rippleElement_.classList.remove(this.CssClasses_.IS_ANIMATING):this.rippleElement_.classList.add(this.CssClasses_.IS_ANIMATING)}},this.animFrameHandler=function(){this.frameCount_-- >0?window.requestAnimationFrame(this.animFrameHandler.bind(this)):this.setRippleStyles(!1)})}},s.register({constructor:S,classAsString:"MaterialRipple",cssClass:"mdl-js-ripple-effect",widget:!1})}();
10
+ //# sourceMappingURL=material.min.js.map
assets/js/preview-scripts.js CHANGED
@@ -122,7 +122,16 @@
122
  $( '.tracking_table th' ).css( 'text-align',header_content_text_align );
123
  $( '.tracking_table td' ).css( 'text-align',header_content_text_align );
124
  } );
125
- } );
 
 
 
 
 
 
 
 
 
126
 
127
  wp.customize( 'tracking_info_settings[table_bg_color]', function( setting ) {
128
  /* Deferred callback for when setting exists */
@@ -148,7 +157,6 @@
148
  $( '.tracking_table td' ).css( 'border-width',table_border_size+'px' );
149
  } );
150
  } );
151
-
152
  wp.customize( 'tracking_info_settings[table_header_font_size]', function( setting ) {
153
  /* Deferred callback for when setting exists */
154
  setting.bind( function( table_header_font_size ) {
@@ -156,14 +164,6 @@
156
  $( '.tracking_table th' ).css( 'font-size',table_header_font_size+'px' );
157
  } );
158
  } );
159
-
160
- wp.customize( 'tracking_info_settings[table_header_bg_color]', function( setting ) {
161
- /* Deferred callback for when setting exists */
162
- setting.bind( function( table_header_bg_color ) {
163
- /* Update callback for setting change */
164
- $( '.tracking_table th' ).css( 'background',table_header_bg_color );
165
- } );
166
- } );
167
  wp.customize( 'tracking_info_settings[table_header_font_color]', function( setting ) {
168
  /* Deferred callback for when setting exists */
169
  setting.bind( function( table_header_font_color ) {
@@ -178,13 +178,6 @@
178
  $( '.tracking_table td' ).css( 'font-size',table_content_font_size+'px' );
179
  } );
180
  } );
181
- wp.customize( 'tracking_info_settings[table_header_font_weight]', function( setting ) {
182
- /* Deferred callback for when setting exists */
183
- setting.bind( function( table_header_font_weight ) {
184
- /* Update callback for setting change */
185
- $( '.tracking_table th' ).css( 'font-weight',table_header_font_weight );
186
- } );
187
- } );
188
  wp.customize( 'tracking_info_settings[table_content_font_color]', function( setting ) {
189
  /* Deferred callback for when setting exists */
190
  setting.bind( function( table_content_font_color ) {
@@ -220,7 +213,7 @@
220
  } );
221
  wp.customize( 'tracking_info_settings[table_content_line_height]', function( value ) {
222
  value.bind( function( table_content_line_height ) {
223
- $( '.tracking_table tbody' ).css( 'line-height',table_content_line_height+'px' );
224
  });
225
  });
226
  wp.customize( 'tracking_info_settings[table_content_font_weight]', function( value ) {
@@ -431,44 +424,5 @@
431
  $( '#header_wrapper h1' ).text('');
432
  }
433
  });
434
- });
435
-
436
- wp.customize( 'wc_ast_select_border_color', function( value ) {
437
- value.bind( function( to ) {
438
- $( '.col.tracking-detail' ).css( 'border', '1px solid ' + to );
439
- $( 'body .col.tracking-detail .shipment-header' ).css( 'border-bottom', '1px solid ' + to );
440
- $( 'body .col.tracking-detail .trackship_branding' ).css( 'border-top', '1px solid ' + to );
441
- });
442
  });
443
-
444
- wp.customize( 'wc_ast_select_bg_color', function( value ) {
445
- value.bind( function( to ) {
446
- $( 'body .col.tracking-detail' ).css( 'background', to );
447
- });
448
- });
449
-
450
- wp.customize( 'wc_ast_hide_tracking_provider_image', function( value ) {
451
- value.bind( function( to ) {
452
- if( to ){
453
- $( '.provider_image_div' ).hide();
454
- }
455
- else{
456
- $( '.provider_image_div' ).css( "display", "inline-block" );
457
- }
458
- });
459
- });
460
-
461
- wp.customize( 'wc_ast_link_to_shipping_provider', function( value ) {
462
- value.bind( function( to ) {
463
- if( to ){
464
- $( '.tracking_number_div ul li > strong' ).hide();
465
- $( '.tracking_number_div ul li > a' ).show();
466
- }
467
- else{
468
- $( '.tracking_number_div ul li > strong' ).show();
469
- $( '.tracking_number_div ul li > a' ).hide();
470
- }
471
- });
472
- });
473
-
474
  } )( jQuery );
122
  $( '.tracking_table th' ).css( 'text-align',header_content_text_align );
123
  $( '.tracking_table td' ).css( 'text-align',header_content_text_align );
124
  } );
125
+ } );
126
+
127
+ wp.customize( 'tracking_info_settings[table_padding]', function( setting ) {
128
+ /* Deferred callback for when setting exists */
129
+ setting.bind( function( table_padding ) {
130
+ /* Update callback for setting change */
131
+ $( '.tracking_table th' ).css( 'padding',table_padding+'px' );
132
+ $( '.tracking_table td' ).css( 'padding',table_padding+'px' );
133
+ } );
134
+ } );
135
 
136
  wp.customize( 'tracking_info_settings[table_bg_color]', function( setting ) {
137
  /* Deferred callback for when setting exists */
157
  $( '.tracking_table td' ).css( 'border-width',table_border_size+'px' );
158
  } );
159
  } );
 
160
  wp.customize( 'tracking_info_settings[table_header_font_size]', function( setting ) {
161
  /* Deferred callback for when setting exists */
162
  setting.bind( function( table_header_font_size ) {
164
  $( '.tracking_table th' ).css( 'font-size',table_header_font_size+'px' );
165
  } );
166
  } );
 
 
 
 
 
 
 
 
167
  wp.customize( 'tracking_info_settings[table_header_font_color]', function( setting ) {
168
  /* Deferred callback for when setting exists */
169
  setting.bind( function( table_header_font_color ) {
178
  $( '.tracking_table td' ).css( 'font-size',table_content_font_size+'px' );
179
  } );
180
  } );
 
 
 
 
 
 
 
181
  wp.customize( 'tracking_info_settings[table_content_font_color]', function( setting ) {
182
  /* Deferred callback for when setting exists */
183
  setting.bind( function( table_content_font_color ) {
213
  } );
214
  wp.customize( 'tracking_info_settings[table_content_line_height]', function( value ) {
215
  value.bind( function( table_content_line_height ) {
216
+ $( '.tracking_table' ).css( 'line-height',table_content_line_height+'px' );
217
  });
218
  });
219
  wp.customize( 'tracking_info_settings[table_content_font_weight]', function( value ) {
424
  $( '#header_wrapper h1' ).text('');
425
  }
426
  });
 
 
 
 
 
 
 
 
427
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
428
  } )( jQuery );
assets/js/settings.js CHANGED
@@ -16,62 +16,21 @@ jQuery(document).on("click", "#wc_ast_status_shipped_active", function(){
16
 
17
  jQuery(document).on("click", "#wc_ast_status_partial_shipped", function(){
18
  if(jQuery(this).prop("checked") == true){
19
- jQuery(this).closest('tr').removeClass('disable_row');
20
- var nonce = jQuery( '#wc_ast_settings_form_nonce' ).val();
21
- var ajax_data = {
22
- action: 'update_custom_order_status_email_display',
23
- status: 'partial-shipped',
24
- security: nonce,
25
- };
26
- jQuery.ajax({
27
- url: ajaxurl,
28
- data: ajax_data,
29
- type: 'POST',
30
- success: function(response) {
31
- jQuery('.partially_shipped_checkbox').show();
32
- jQuery('.partially_shipped_checkbox input[type="checkbox"]').prop('checked', true);
33
- },
34
- error: function(response) {
35
- }
36
- });
37
-
38
  } else{
39
  jQuery(this).closest('tr').addClass('disable_row');
40
- jQuery('.partially_shipped_checkbox').hide();
41
  }
42
  });
43
  jQuery(document).on("click", "#wc_ast_status_updated_tracking", function(){
44
  if(jQuery(this).prop("checked") == true){
45
-
46
- jQuery(this).closest('tr').removeClass('disable_row');
47
-
48
- var ajax_data = {
49
- action: 'update_custom_order_status_email_display',
50
- status: 'updated-tracking',
51
- };
52
- jQuery.ajax({
53
- url: ajaxurl,
54
- data: ajax_data,
55
- type: 'POST',
56
- success: function(response) {
57
- jQuery('.updated_tracking_checkbox').show();
58
- jQuery('.updated_tracking_checkbox input[type="checkbox"]').prop('checked', true);
59
- },
60
- error: function(response) {
61
- }
62
- });
63
-
64
  } else{
65
  jQuery(this).closest('tr').addClass('disable_row');
66
- jQuery('.updated_tracking_checkbox').hide();
67
  }
68
  });
69
 
70
  jQuery( document ).ready(function() {
71
-
72
- jQuery( '.tipTip' ).tipTip( {
73
- 'attribute': 'data-tip'
74
- } );
75
 
76
  if(jQuery('#wc_ast_status_delivered').prop("checked") == true){
77
  jQuery('.status_label_color_th').show();
@@ -80,21 +39,67 @@ jQuery( document ).ready(function() {
80
  }
81
 
82
  if(jQuery('#wc_ast_status_partial_shipped').prop("checked") == true){
83
- jQuery('.partial_shipped_status_label_color_th').show();
84
- jQuery('.partially_shipped_checkbox').show();
85
  } else{
86
- jQuery('.partial_shipped_status_label_color_th').hide();
87
- jQuery('.partially_shipped_checkbox').hide();
88
  }
89
 
90
- if(jQuery('#wc_ast_status_updated_tracking').prop("checked") == true){
91
- jQuery('.updated_tracking_checkbox').show();
92
- } else{
93
- jQuery('.updated_tracking_checkbox').hide();
94
- }
95
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  jQuery('.color_field input').wpColorPicker();
97
  });
 
 
 
 
 
 
 
 
98
  jQuery(document).on("change", "#wc_ast_status_partial_shipped_label_font_color", function(){
99
  var font_color = jQuery(this).val();
100
  jQuery('.order-status-table .order-label.wc-partially-shipped').css('color',font_color);
@@ -102,17 +107,4 @@ jQuery(document).on("change", "#wc_ast_status_partial_shipped_label_font_color",
102
  jQuery(document).on("change", "#wc_ast_status_updated_tracking_label_font_color", function(){
103
  var font_color = jQuery(this).val();
104
  jQuery('.order-status-table .order-label.wc-updated-tracking').css('color',font_color);
105
- });
106
-
107
- jQuery( document ).on( "click", "#activity-panel-tab-help", function() {
108
- jQuery(this).addClass( 'is-active' );
109
- jQuery( '.woocommerce-layout__activity-panel-wrapper' ).addClass( 'is-open is-switching' );
110
- });
111
-
112
- jQuery(document).click(function(){
113
- var $trigger = jQuery(".woocommerce-layout__activity-panel");
114
- if($trigger !== event.target && !$trigger.has(event.target).length){
115
- jQuery('#activity-panel-tab-help').removeClass( 'is-active' );
116
- jQuery( '.woocommerce-layout__activity-panel-wrapper' ).removeClass( 'is-open is-switching' );
117
- }
118
  });
16
 
17
  jQuery(document).on("click", "#wc_ast_status_partial_shipped", function(){
18
  if(jQuery(this).prop("checked") == true){
19
+ jQuery(this).closest('tr').removeClass('disable_row');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  } else{
21
  jQuery(this).closest('tr').addClass('disable_row');
 
22
  }
23
  });
24
  jQuery(document).on("click", "#wc_ast_status_updated_tracking", function(){
25
  if(jQuery(this).prop("checked") == true){
26
+ jQuery(this).closest('tr').removeClass('disable_row');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  } else{
28
  jQuery(this).closest('tr').addClass('disable_row');
 
29
  }
30
  });
31
 
32
  jQuery( document ).ready(function() {
33
+ jQuery(".woocommerce-help-tip").tipTip();
 
 
 
34
 
35
  if(jQuery('#wc_ast_status_delivered').prop("checked") == true){
36
  jQuery('.status_label_color_th').show();
39
  }
40
 
41
  if(jQuery('#wc_ast_status_partial_shipped').prop("checked") == true){
42
+ jQuery('.partial_shipped_status_label_color_th').show();
 
43
  } else{
44
+ jQuery('.partial_shipped_status_label_color_th').hide();
 
45
  }
46
 
47
+ jQuery('#wc_ast_status_label_color').wpColorPicker({
48
+ change: function(e, ui) {
49
+ var color = ui.color.toString();
50
+ jQuery('.order-status-table .order-label.wc-delivered').css('background',color);
51
+ },
52
+ });
53
+ jQuery('#wc_ast_shipped_status_label_color').wpColorPicker({
54
+ change: function(e, ui) {
55
+ var color = ui.color.toString();
56
+ jQuery('.order-status-table .order-label.wc-shipped').css('background',color);
57
+ },
58
+ });
59
+ jQuery('#wc_ast_status_partial_shipped_label_color').wpColorPicker({
60
+ change: function(e, ui) {
61
+ var color = ui.color.toString();
62
+ jQuery('.order-status-table .order-label.wc-partially-shipped').css('background',color);
63
+ },
64
+ });
65
+ jQuery('#wc_ast_status_updated_tracking_label_color').wpColorPicker({
66
+ change: function(e, ui) {
67
+ var color = ui.color.toString();
68
+ jQuery('.order-status-table .order-label.wc-updated-tracking').css('background',color);
69
+ },
70
+ });
71
+ jQuery('#wc_ast_select_primary_color').wpColorPicker({
72
+ change: function(e, ui) {
73
+ var color = ui.color.toString();
74
+ jQuery('#tracking_preview_iframe').contents().find('.bg-secondary').css('background-color',color);
75
+ jQuery('#tracking_preview_iframe').contents().find('.tracker-progress-bar-with-dots .secondary .dot').css('border-color',color);
76
+ jQuery('#tracking_preview_iframe').contents().find('.text-secondary').css('color',color);
77
+ jQuery('#tracking_preview_iframe').contents().find('.progress-bar.bg-secondary:before').css('background-color',color);
78
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-number').css('color',color);
79
+ jQuery('#tracking_preview_iframe').contents().find('.view_table_rows').css('color',color);
80
+ jQuery('#tracking_preview_iframe').contents().find('.hide_table_rows').css('color',color);
81
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-detail.tracking-layout-2').css('color',color);
82
+ jQuery('#tracking_preview_iframe').contents().find('.view_old_details').css('color',color);
83
+ jQuery('#tracking_preview_iframe').contents().find('.hide_old_details').css('color',color);
84
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-table tbody tr td').css('color',color);
85
+ },
86
+ });
87
+ jQuery('#wc_ast_select_border_color').wpColorPicker({
88
+ change: function(e, ui) {
89
+ var color = ui.color.toString();
90
+ jQuery('#tracking_preview_iframe').contents().find('.col.tracking-detail').css('border','1px solid '+color);
91
+ },
92
+ });
93
  jQuery('.color_field input').wpColorPicker();
94
  });
95
+ jQuery(document).on("change", "#wc_ast_status_label_font_color", function(){
96
+ var font_color = jQuery(this).val();
97
+ jQuery('.order-status-table .order-label.wc-delivered').css('color',font_color);
98
+ });
99
+ jQuery(document).on("change", "#wc_ast_shipped_status_label_font_color", function(){
100
+ var font_color = jQuery(this).val();
101
+ jQuery('.order-status-table .order-label.wc-shipped').css('color',font_color);
102
+ });
103
  jQuery(document).on("change", "#wc_ast_status_partial_shipped_label_font_color", function(){
104
  var font_color = jQuery(this).val();
105
  jQuery('.order-status-table .order-label.wc-partially-shipped').css('color',font_color);
107
  jQuery(document).on("change", "#wc_ast_status_updated_tracking_label_font_color", function(){
108
  var font_color = jQuery(this).val();
109
  jQuery('.order-status-table .order-label.wc-updated-tracking').css('color',font_color);
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  });
assets/js/shipping_row.js CHANGED
@@ -1,3 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  jQuery(document).on("change", ".wc_ast_default_provider", function(){
2
  jQuery(".d_s_select_section ").block({
3
  message: null,
@@ -17,50 +110,48 @@ jQuery(document).on("change", ".wc_ast_default_provider", function(){
17
  type: 'POST',
18
  success: function(response) {
19
  jQuery(".d_s_select_section ").unblock();
20
- jQuery("#ast_settings_snackbar").addClass('show_snackbar');
21
- jQuery("#ast_settings_snackbar").text(shipment_tracking_table_rows.i18n.data_saved);
22
- setTimeout(function(){ jQuery("#ast_settings_snackbar").removeClass('show_snackbar'); }, 3000);
23
  },
24
  error: function(response) {
25
  }
26
  });
27
  });
28
-
29
- var file_frame;
30
- jQuery('.upload_image_button').on('click', function(product) {
31
- product.preventDefault();
32
- var image_id = jQuery(this).siblings(".image_id");
33
- var image_path = jQuery(this).siblings(".image_path");
 
 
 
 
 
34
 
35
- // If the media frame already exists, reopen it.
36
- if (file_frame) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  file_frame.open();
38
- return;
39
- }
40
-
41
- // Create the media frame.
42
- file_frame = wp.media.frames.file_frame = wp.media({
43
- title: 'Upload Media',
44
- button: {
45
- text: 'Add',
46
- },
47
- multiple: false // Set to true to allow multiple files to be selected
48
  });
49
-
50
- // When a file is selected, run a callback.
51
- file_frame.on('select', function(){
52
- attachment = file_frame.state().get('selection').first().toJSON();
53
- var id = attachment.id;
54
- var url = attachment.url;
55
- image_path.val(url);
56
- image_id.val(id);
57
- });
58
- // Finally, open the modal
59
- file_frame.open();
60
- });
61
-
62
  jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
63
-
64
  jQuery('.csv_upload_status li').remove();
65
  jQuery('.bulk_upload_status_tr').hide();
66
  jQuery('.progress_title').hide();
@@ -71,10 +162,12 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
71
  var date_format_for_csv_import = jQuery('input[name="date_format_for_csv_import"]:checked').val();
72
 
73
  if(replace_tracking_info == true){
74
- replace_tracking_info = 1;
75
  } else{
76
  replace_tracking_info = 0;
77
- }
 
 
78
 
79
  var ext = jQuery('#trcking_csv_file').val().split('.').pop().toLowerCase();
80
 
@@ -95,52 +188,56 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
95
  return false;
96
  }
97
 
98
- var regex = /([a-zA-Z0-9\s_\\.\-\(\):])+(.csv|.txt)$/;
99
- if (regex.test(jQuery("#trcking_csv_file").val().toLowerCase())) {
100
- if (typeof (FileReader) != "undefined") {
101
- var reader = new FileReader();
102
- reader.onload = function (e) {
103
-
104
- var trackings = new Array();
105
- var rows = e.target.result.split("\n");
106
-
107
- if(rows.length <= 1){
108
- alert('There are some issue with CSV file.');
109
- return false;
110
- }
111
-
112
- for (var i = 1; i < rows.length; i++) {
113
- var cells = rows[i].split(",");
114
- if (cells.length > 1) {
115
- var tracking = {};
116
- tracking.order_id = cells[0];
117
- tracking.tracking_provider = cells[1];
118
- tracking.tracking_number = cells[2];
119
- tracking.date_shipped = cells[3];
120
- tracking.status_shipped = cells[4];
121
- if(cells[5]){
122
- tracking.sku = cells[5];
123
- }
124
- if(cells[6]){
125
- tracking.qty = cells[6];
126
- }
127
- if(tracking.order_id){
128
- trackings.push(tracking);
129
- }
130
- }
131
- }
132
-
133
  var csv_length = trackings.length;
134
- var run_data = 0;
135
 
136
- jQuery("#wc_ast_upload_csv_form")[0].reset();
137
- jQuery(".progress-moved .progress-bar2").css('width',0+'%');
 
 
 
 
 
138
  jQuery(".progress_step1").removeClass("active");
139
  jQuery(".progress_step1").addClass("done");
140
  jQuery(".progress_step2").addClass("active");
141
  jQuery(".upload_csv_div").hide();
142
  jQuery(".bulk_upload_status_div").show();
143
 
 
 
144
  var tracking_import = jQuery(trackings).each(function(index, element) {
145
  var sku = '';
146
  var qty = '';
@@ -160,107 +257,57 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
160
  var qty = trackings[index]['qty'];
161
  }
162
 
163
- var nonce = jQuery( '#nonce_csv_import' ).val();
164
-
165
  var data = {
166
- action: 'wc_ast_upload_csv_form_update',
167
- order_id: order_id,
168
- date_format_for_csv_import: date_format_for_csv_import,
169
- tracking_provider: tracking_provider,
170
- tracking_number: tracking_number,
171
- date_shipped: date_shipped,
172
- status_shipped: status_shipped,
173
- sku: sku,
174
- qty: qty,
175
- replace_tracking_info: replace_tracking_info,
176
- trackings: trackings,
177
- security: nonce,
178
- };
179
 
180
  var option = {
 
181
  url: ajaxurl,
182
  data: data,
183
  type: 'POST',
184
- success:function(data){
 
185
  jQuery('.progress_number').html((index+1)+'/'+csv_length);
186
 
187
  jQuery('.csv_upload_status').append(data);
188
  var progress = (index+1)*100/csv_length;
189
  jQuery('.bulk_upload_status_tr').show();
190
  jQuery('.progress_title').show();
191
-
192
- jQuery(".progress-moved .progress-bar2").css('width',progress+'%');
193
-
194
- var shipping_provider_error_class = 0;
195
- var tracking_number_error_class = 0;
196
- var empty_date_shipped_error_class = 0;
197
- var invalid_date_shipped_error_class = 0;
198
- var invalid_order_id_error_class = 0;
199
- var invalid_tracking_data_error_class = 0;
200
-
201
  if(progress == 100){
202
  jQuery( ".csv_upload_status li" ).each(function( index ) {
203
- if( this.className == 'shipping_provider_error' || this.className == 'tracking_number_error' || this.className == 'empty_date_shipped_error' || this.className == 'invalid_date_shipped_error' || this.className == 'invalid_order_id_error' || this.className == 'invalid_tracking_data_error' ){
204
- error_class++;
205
- }
206
- if(this.className == 'success'){
207
  success_class++;
208
  }
209
- if( this.className == 'shipping_provider_error' )shipping_provider_error_class++;
210
- if( this.className == 'tracking_number_error' )tracking_number_error_class++;
211
- if( this.className == 'empty_date_shipped_error' )empty_date_shipped_error_class++;
212
- if( this.className == 'invalid_date_shipped_error' )invalid_date_shipped_error_class++;
213
- if( this.className == 'invalid_order_id_error' )invalid_order_id_error_class++;
214
- if( this.className == 'invalid_tracking_data_error' )invalid_tracking_data_error_class++;
215
  });
216
-
217
  jQuery('.progress_title').hide();
218
  jQuery(".progress_step2").removeClass("active");
219
  jQuery(".progress_step2").addClass("done");
220
  jQuery(".progress_step3").addClass("active");
221
  jQuery(".bulk_upload_status_div").addClass("csv_import_done");
222
  jQuery(".bulk_upload_status_action ").show();
223
-
224
  if(error_class > 0){
225
- error_message = error_class+' tracking numbers import failed';
226
- jQuery(".bulk_upload_status_overview_td.csv_fail_msg").show();
227
- jQuery(".bulk_upload_status_overview_td.csv_fail_msg span").html(error_message);
228
- } else{
229
- jQuery(".bulk_upload_status_overview_td.csv_fail_msg").hide();
230
- }
231
-
232
- if(success_class > 0){
233
- jQuery(".bulk_upload_status_overview_td.csv_success_msg").show();
234
- success_message = success_class+' tracking numbers imported successfully';
235
- jQuery(".bulk_upload_status_overview_td.csv_success_msg span").html(success_message);
236
- } else{
237
- jQuery(".bulk_upload_status_overview_td.csv_success_msg").hide();
238
- }
239
-
240
- if(invalid_order_id_error_class > 0){
241
- jQuery(".csv_error_details_ul").append('<li>'+invalid_order_id_error_class+' tracking numbers import failed due to invalid order id</li>');
242
- }
243
- if(shipping_provider_error_class > 0){
244
- jQuery(".csv_error_details_ul").append('<li>'+shipping_provider_error_class+' tracking numbers import failed due to invalid shipping provider</li>');
245
- }
246
- if(tracking_number_error_class > 0){
247
- jQuery(".csv_error_details_ul").append('<li>'+tracking_number_error_class+' tracking numbers import failed due to empty tracking number</li>');
248
- }
249
- if(empty_date_shipped_error_class > 0){
250
- jQuery(".csv_error_details_ul").append('<li>'+empty_date_shipped_error_class+' tracking numbers import failed due to empty date shipped</li>');
251
- }
252
- if(invalid_date_shipped_error_class > 0){
253
- jQuery(".csv_error_details_ul").append('<li>'+invalid_date_shipped_error_class+' tracking numbers import failed due to invalid date shipped</li>');
254
- }
255
- if(invalid_tracking_data_error_class > 0){
256
- jQuery(".csv_error_details_ul").append('<li>'+invalid_tracking_data_error_class+' tracking numbers import failed due to invalid tracking data</li>');
257
- }
258
-
259
- jQuery(".bulk_upload_status_heading_tr h2").html("Import Completed!");
260
-
261
- jQuery(".bulk_upload_status_heading_tr p").hide();
262
- jQuery(".csv_upload_status").hide();
263
- jQuery('.bulk_upload_status_tr').hide();
264
  }
265
  },
266
 
@@ -271,33 +318,23 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
271
  jQuery.ajaxQueue.run();
272
  run_data++;
273
  });
274
-
275
- }
276
- reader.readAsText(jQuery("#trcking_csv_file")[0].files[0]);
277
- } else {
278
- alert(shipment_tracking_table_rows.i18n.browser_not_html);
279
- }
280
- } else {
281
- alert(shipment_tracking_table_rows.i18n.upload_valid_csv_file);
282
- }
 
 
283
  return false;
284
  });
285
 
286
- jQuery(document).on("click", ".view_csv_error_details", function(){
287
- jQuery('.bulk_upload_status_detail_error_tr').toggle();
288
- var tr_visible = jQuery('.bulk_upload_status_detail_error_tr').is(":visible");
289
- if(tr_visible == true){
290
- jQuery('.view_csv_error_details').text('hide details');
291
- } else{
292
- jQuery('.view_csv_error_details').text('view details');
293
- }
294
- });
295
-
296
  jQuery(document).on("click", ".csv_upload_again", function(){
297
  jQuery('.csv_upload_status li').remove();
298
- jQuery('.csv_upload_status').show();
299
  jQuery('.bulk_upload_status_tr').hide();
300
- jQuery('.bulk_upload_status_overview_td').hide();
301
  jQuery('.progress_title').hide();
302
  jQuery(".bulk_upload_status_heading_tr h2").html('Importing'+'<span class="spinner is-active"></span>');
303
  jQuery(".bulk_upload_status_heading_tr p").show();
@@ -311,10 +348,44 @@ jQuery(document).on("click", ".csv_upload_again", function(){
311
  jQuery(".bulk_upload_status_action ").hide();
312
  jQuery('.bulk_upload_status_div').hide();
313
  jQuery('.upload_csv_div').show();
314
- jQuery('.bulk_upload_status_detail_error_tr').hide();
315
- jQuery('.csv_error_details_ul li').remove();
316
  });
317
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
318
  jQuery(document).on("change", "#wcast_enable_late_shipments_admin_email", function(){
319
  if(jQuery(this).prop("checked") == true){
320
  var wcast_enable_late_shipments_email = 1;
@@ -332,9 +403,56 @@ jQuery(document).on("change", "#wcast_enable_late_shipments_admin_email", functi
332
  data: ajax_data,
333
  type: 'POST',
334
  success: function(response) {
335
- jQuery("#ast_settings_snackbar").addClass('show_snackbar');
336
- jQuery("#ast_settings_snackbar").text(shipment_tracking_table_rows.i18n.data_saved);
337
- setTimeout(function(){ jQuery("#ast_settings_snackbar").removeClass('show_snackbar'); }, 3000);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
338
  },
339
  error: function(response) {
340
  }
@@ -356,14 +474,12 @@ jQuery(document).on("click", ".status_slide", function(){
356
  jQuery('#default_label_'+id).addClass('disable_label');
357
  }
358
 
359
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
360
 
361
  var error;
362
  var ajax_data = {
363
  action: 'update_shipment_status',
364
  id: id,
365
- checked: checked,
366
- security: nonce,
367
  };
368
  jQuery.ajax({
369
  url: ajaxurl,
@@ -393,15 +509,14 @@ jQuery(document).on("change", ".make_provider_default", function(){
393
  var checked = 0;
394
  }
395
  var id = jQuery(this).data('id');
396
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
397
  var error;
398
  var default_provider = jQuery(this).val();
399
  var ajax_data = {
400
  action: 'update_default_provider',
401
  default_provider: default_provider,
402
  id: id,
403
- checked: checked,
404
- security: nonce,
405
  };
406
  jQuery.ajax({
407
  url: ajaxurl,
@@ -417,13 +532,12 @@ jQuery(document).on("change", ".make_provider_default", function(){
417
  });
418
 
419
  jQuery(document).on( "input", "#search_provider", function(){
420
-
421
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
422
 
423
  var ajax_data = {
424
  action: 'filter_shipiing_provider_by_status',
425
- status: 'all',
426
- security: nonce,
427
  };
428
  jQuery.ajax({
429
  url: ajaxurl,
@@ -456,51 +570,39 @@ jQuery(document).on( "input", "#search_provider", function(){
456
  }
457
 
458
  jQuery('#shipping-provider-table').datatable({
459
- pageSize: 25,
460
  pagingDivClass: 'text-left',
461
  firstPage:'',
462
  prevPage:'',
463
  nextPage:'',
464
  lastPage:'',
465
- sort: [false, false, false, false, false, false],
466
  onChange: function(old_page, new_page){
467
- jQuery( '.tipTip' ).tipTip( {
468
- 'attribute': 'data-tip'
469
- } );
470
  },
471
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
472
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
473
  }
474
  });
475
- jQuery( '.tipTip' ).tipTip( {
476
- 'attribute': 'data-tip'
477
- } );
478
  },
479
  error: function(response) {
480
  }
481
  });
482
  });
483
 
484
- jQuery(document).on("click", ".popupclose", function(){
485
- jQuery('.add_provider_popup').hide();
486
- jQuery('.edit_provider_popup').hide();
487
- jQuery('.sync_provider_popup').hide();
488
- jQuery('.how_to_video_popup').hide();
489
- jQuery('.ts_video_popup').hide();
490
- jQuery('.import_tracking_video_popup').hide();
491
- });
492
- jQuery(document).on("click", ".popup_close_icon", function(){
493
- jQuery('.add_provider_popup').hide();
494
- jQuery('.edit_provider_popup').hide();
495
- jQuery('.sync_provider_popup').hide();
496
  });
497
- jQuery(document).on("click", ".popupclose_btn", function(){
498
  jQuery('.add_provider_popup').hide();
499
  jQuery('.edit_provider_popup').hide();
500
  jQuery('.sync_provider_popup').hide();
501
  jQuery('.how_to_video_popup').hide();
502
  jQuery('.ts_video_popup').hide();
503
- jQuery('.import_tracking_video_popup').hide();
504
  });
505
  jQuery(document).on("click", ".close_synch_popup", function(){
506
  jQuery('.sync_provider_popup').hide();
@@ -542,7 +644,6 @@ jQuery(document).on("click", ".close_synch_popup", function(){
542
  if(error == true){
543
  return false;
544
  }
545
-
546
  jQuery(".add_provider_popup").block({
547
  message: null,
548
  overlayCSS: {
@@ -550,15 +651,35 @@ jQuery(document).on("click", ".close_synch_popup", function(){
550
  opacity: .6
551
  }
552
  });
553
-
554
- jQuery('#search_provider').removeAttr('value');
555
-
556
  jQuery.ajax({
557
  url: ajaxurl,
558
  data: form.serialize(),
559
  type: 'POST',
560
- success: function(response) {
561
- location.reload();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
562
  },
563
  error: function(response) {
564
  console.log(response);
@@ -582,44 +703,40 @@ jQuery(document).on("click", ".remove", function(){
582
  return;
583
  }
584
  var id = jQuery(this).data('pid');
585
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
586
  var error;
587
  var default_provider = jQuery(this).val();
588
  var ajax_data = {
589
  action: 'woocommerce_shipping_provider_delete',
590
  provider_id: id,
591
- security: nonce,
592
  };
593
-
594
- jQuery('#search_provider').removeAttr('value');
595
-
596
  jQuery.ajax({
597
  url: ajaxurl,
598
  data: ajax_data,
599
  type: 'POST',
600
  success: function(response) {
601
- jQuery(".provider_list").replaceWith(response);
602
- jQuery("#content1").unblock();
 
 
603
  jQuery('#shipping-provider-table').datatable({
604
- pageSize: 25,
605
  pagingDivClass: 'text-left',
606
  firstPage:'',
607
  prevPage:'',
608
  nextPage:'',
609
  lastPage:'',
610
- sort: [false, false, false, false, false, false],
611
  onChange: function(old_page, new_page){
612
- jQuery( '.tipTip' ).tipTip( {
613
- 'attribute': 'data-tip'
614
- } );
615
  },
616
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
617
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
618
  }
619
- });
620
- jQuery( '.tipTip' ).tipTip( {
621
- 'attribute': 'data-tip'
622
- } );
623
  },
624
  error: function(response) {
625
  console.log(response);
@@ -629,12 +746,9 @@ jQuery(document).on("click", ".remove", function(){
629
 
630
  jQuery(document).on("click", ".edit_provider", function(){
631
  var id = jQuery(this).data('pid');
632
- var provider = jQuery(this).data('provider');
633
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
634
  var ajax_data = {
635
  action: 'get_provider_details',
636
  provider_id: id,
637
- security: nonce,
638
  };
639
  jQuery.ajax({
640
  url: ajaxurl,
@@ -642,74 +756,19 @@ jQuery(document).on("click", ".edit_provider", function(){
642
  type: 'POST',
643
  dataType: "json",
644
  success: function(response) {
645
-
646
  var provider_name = response.provider_name;
647
- var custom_provider_name = response.custom_provider_name;
648
  var provider_url = response.provider_url;
649
  var shipping_country = response.shipping_country;
650
- var custom_thumb_id = response.custom_thumb_id;
651
  var image = response.image;
652
- var api_length = 0;
653
- jQuery('.edit_provider_title').html(provider_name);
654
- jQuery('.edit_provider_popup').removeClass('default_provider');
655
- jQuery('.edit_provider_popup').removeClass('custom_provider');
656
- jQuery('.edit_provider_popup').addClass(provider);
657
-
658
- if(provider == 'custom_provider'){
659
- jQuery('.edit_provider_popup .shipping_provider').val(provider_name);
660
- jQuery('.edit_provider_popup .shipping_display_name').val(custom_provider_name);
661
- jQuery('.edit_provider_popup .api_provider_name').val(api_provider_name);
662
- jQuery('.edit_provider_popup .tracking_url').val(provider_url);
663
- jQuery('.edit_provider_popup .thumb_url').val(image);
664
- jQuery('.edit_provider_popup .thumb_id').val(custom_thumb_id);
665
- jQuery('.edit_provider_popup #provider_id').val(id);
666
- jQuery(".edit_provider_popup .shipping_country").val(shipping_country);
667
- jQuery('.edit_provider_popup #provider_type').val(provider);
668
- jQuery('.edit_provider_popup .tracking_url').parent('div').show();
669
- jQuery(".edit_provider_popup .shipping_country").parent('div').show();
670
- jQuery(".edit_provider_popup .shipping_provider").parent('div').show();
671
- jQuery('.edit_provider_popup').show();
672
- jQuery('.api_provider_name_container').hide();
673
- jQuery('.reset_default_provider').hide();
674
- jQuery('.custom_provider_instruction').show();
675
- } else{
676
- jQuery('.edit_provider_popup .shipping_provider').val(provider_name);
677
- jQuery('.edit_provider_popup .shipping_display_name').val(custom_provider_name);
678
- jQuery('.api_provider_new').remove();
679
-
680
- if(response.api_provider_name == null){
681
- } else if( IsValidJSONString(response.api_provider_name) ){
682
- var api_provider_name = jQuery.parseJSON( response.api_provider_name );
683
- var api_length = api_provider_name.length;
684
-
685
- if( api_length > 1){
686
- jQuery( api_provider_name ).each(function( index, value ){
687
- if( index == 0){
688
- jQuery('.edit_provider_popup .api_provider_name').val(value);
689
- } else{
690
- //jQuery('.api_provider_name_container').append('<div class="api_provider_new"><input type="text" name="api_provider_name[]" class="api_provider_name" value="'+value+'" placeholder="API Name"></div>');
691
- }
692
- });
693
- } else{
694
- jQuery('.edit_provider_popup .api_provider_name').val(api_provider_name);
695
- }
696
- jQuery('.api_provider_name_container').show();
697
- } else{
698
- jQuery('.edit_provider_popup .api_provider_name').val(response.api_provider_name);
699
-
700
- }
701
- jQuery('.api_provider_name_container').show();
702
- jQuery('.edit_provider_popup .thumb_url').val(image);
703
- jQuery('.edit_provider_popup .thumb_id').val(custom_thumb_id);
704
- jQuery('.edit_provider_popup #provider_id').val(id);
705
- jQuery('.edit_provider_popup #provider_type').val(provider);
706
- jQuery('.edit_provider_popup .tracking_url').parent('div').hide();
707
- jQuery(".edit_provider_popup .shipping_country").parent('div').hide();
708
- jQuery(".edit_provider_popup .shipping_provider").parent('div').hide();
709
- jQuery('.edit_provider_popup').show();
710
- jQuery('.reset_default_provider').show();
711
- jQuery('.custom_provider_instruction').hide();
712
- }
713
  },
714
  error: function(response) {
715
  console.log(response);
@@ -717,18 +776,32 @@ jQuery(document).on("click", ".edit_provider", function(){
717
  });
718
  });
719
 
720
- function IsValidJSONString(str) {
721
- try {
722
- JSON.parse(str);
723
- } catch (e) {
724
- return false;
725
- }
726
- return true;
727
- }
728
-
729
- jQuery(document).on("click", ".reset_default_provider", function(){
730
  var form = jQuery('#edit_provider_form');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
731
 
 
 
 
732
  jQuery(".edit_provider_popup").block({
733
  message: null,
734
  overlayCSS: {
@@ -736,45 +809,35 @@ jQuery(document).on("click", ".reset_default_provider", function(){
736
  opacity: .6
737
  }
738
  });
739
-
740
- jQuery('#search_provider').removeAttr('value');
741
- var provider_id = jQuery(form).find('#provider_id').val();
742
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
743
- var ajax_data = {
744
- action: 'reset_default_provider',
745
- provider_id: provider_id,
746
- security: nonce,
747
- };
748
-
749
  jQuery.ajax({
750
  url: ajaxurl,
751
- data: ajax_data,
752
  type: 'POST',
753
  success: function(response) {
754
  jQuery(".provider_list").replaceWith(response);
755
- form[0].reset();
 
 
756
  jQuery('.edit_provider_popup').hide();
757
- jQuery(".edit_provider_popup").unblock();
758
  jQuery('#shipping-provider-table').datatable({
759
- pageSize: 25,
760
  pagingDivClass: 'text-left',
761
  firstPage:'',
762
  prevPage:'',
763
  nextPage:'',
764
  lastPage:'',
765
- sort: [false, false, false, false, false, false],
766
  onChange: function(old_page, new_page){
767
- jQuery( '.tipTip' ).tipTip( {
768
- 'attribute': 'data-tip'
769
- } );
770
  },
771
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
772
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
773
  }
774
- });
775
- jQuery( '.tipTip' ).tipTip( {
776
- 'attribute': 'data-tip'
777
- } );
778
  },
779
  error: function(response) {
780
  console.log(response);
@@ -783,102 +846,60 @@ jQuery(document).on("click", ".reset_default_provider", function(){
783
  return false;
784
  });
785
 
786
- jQuery(document).on("submit", "#edit_provider_form", function(){
787
-
788
- var form = jQuery('#edit_provider_form');
789
- var error;
790
- var shipping_provider = jQuery("#edit_provider_form .shipping_provider");
791
- var shipping_country = jQuery("#edit_provider_form .shipping_country");
792
- var api_provider_name = jQuery(".api_provider_new .api_provider_name");
793
- var thumb_url = jQuery("#edit_provider_form .thumb_url");
794
- var tracking_url = jQuery("#edit_provider_form .tracking_url");
795
- var provider_type = jQuery("#edit_provider_form #provider_type");
796
-
797
- if(provider_type.val() == 'custom_provider'){
798
- if( shipping_provider.val() === '' ){
799
- showerror(shipping_provider);
800
- error = true;
801
- } else{
802
- hideerror(shipping_provider);
803
- }
804
-
805
- if( shipping_country.val() === '' ){
806
- showerror(shipping_country);
807
- error = true;
808
- } else{
809
- hideerror(shipping_country);
810
- }
811
- }
812
-
813
- if(provider_type.val() == 'default_provider'){
814
- for(var i=0; i<api_provider_name.length; i++) {
815
- if(validate(api_provider_name[i]) == false){
816
- showerror(jQuery(api_provider_name[i]));
817
- error = true;
818
- } else{
819
- hideerror(jQuery(api_provider_name[i]));
820
- }
821
- }
822
- }
823
-
824
- if(error == true){
825
- return false;
826
- }
827
- jQuery(".edit_provider_popup").block({
828
  message: null,
829
  overlayCSS: {
830
  background: "#fff",
831
  opacity: .6
832
  }
833
  });
834
-
835
- jQuery('#search_provider').removeAttr('value');
836
-
 
 
 
 
 
 
 
 
837
  jQuery.ajax({
838
  url: ajaxurl,
839
- data: form.serialize(),
840
- type: 'POST',
841
- success: function(response) {
842
- jQuery(".provider_list").replaceWith(response);
843
- form[0].reset();
844
- jQuery('.edit_provider_popup').hide();
845
- jQuery(".edit_provider_popup").unblock();
846
  jQuery('#shipping-provider-table').datatable({
847
- pageSize: 25,
848
  pagingDivClass: 'text-left',
849
  firstPage:'',
850
  prevPage:'',
851
  nextPage:'',
852
  lastPage:'',
853
- sort: [false, false, false, false, false, false],
854
  onChange: function(old_page, new_page){
855
- jQuery( '.tipTip' ).tipTip( {
856
- 'attribute': 'data-tip'
857
- } );
858
  },
859
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
860
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
861
  }
862
- });
863
- jQuery( '.tipTip' ).tipTip( {
864
- 'attribute': 'data-tip'
865
- } );
866
  },
867
  error: function(response) {
868
  console.log(response);
869
  }
870
  });
871
- return false;
872
- });
873
-
874
- jQuery( ".thumb_url" ).keyup(function() {
875
- var url = jQuery(this).val();
876
- if(url == ''){
877
- jQuery('.thumb_id').val('');
878
- }
879
  });
880
 
881
- jQuery(document).on("click", "#reset_providers", function(){
882
  jQuery("#content1 ").block({
883
  message: null,
884
  overlayCSS: {
@@ -886,54 +907,44 @@ jQuery(document).on("click", "#reset_providers", function(){
886
  opacity: .6
887
  }
888
  });
889
- var r = confirm( 'Do you really want to change all provider status?' );
890
  if (r === true) {
891
  } else {
892
  jQuery("#content1").unblock();
893
  return;
894
  }
895
-
896
- jQuery('#search_provider').removeAttr('value');
897
-
898
- var reset_checked = 0;
899
- if(jQuery(this).prop("checked") == true){
900
- reset_checked = 1;
901
- }
902
-
903
- var error;
904
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
905
  var ajax_data = {
906
- action: 'update_provider_status',
907
- status: reset_checked,
908
- security: nonce,
909
  };
910
  jQuery.ajax({
911
  url: ajaxurl,
912
  data: ajax_data,
913
  type: 'POST',
914
  success: function(response) {
915
- jQuery(".provider_list").replaceWith(response);
 
 
916
  jQuery("#content1").unblock();
917
  jQuery('#shipping-provider-table').datatable({
918
- pageSize: 25,
919
  pagingDivClass: 'text-left',
920
  firstPage:'',
921
  prevPage:'',
922
  nextPage:'',
923
  lastPage:'',
924
- sort: [false, false, false, false, false, false],
925
  onChange: function(old_page, new_page){
926
- jQuery( '.tipTip' ).tipTip( {
927
- 'attribute': 'data-tip'
928
- } );
929
  },
930
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
931
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
932
  }
933
- });
934
- jQuery( '.tipTip' ).tipTip( {
935
- 'attribute': 'data-tip'
936
- } );
937
  },
938
  error: function(response) {
939
  console.log(response);
@@ -941,19 +952,12 @@ jQuery(document).on("click", "#reset_providers", function(){
941
  });
942
  });
943
 
944
- jQuery(document).on("click", ".upgrade_to_ast_pro", function(){
945
- jQuery('.upgrade_to_pro_popup').show();
946
- });
947
-
948
  jQuery(document).on("click", ".sync_providers", function(){
949
- jQuery('.sync_provider_popup').show();
950
- jQuery("#reset_tracking_providers").prop("checked", false);
951
  });
952
 
953
- jQuery(document).on("click", ".sync_providers_btn", function(){
954
-
955
- jQuery('.sync_providers_btn').attr("disabled", true);
956
- jQuery('.sync_provider_popup .spinner').addClass('active');
957
  jQuery('#reset_tracking_providers').val;
958
 
959
  var reset_checked = 0;
@@ -962,13 +966,9 @@ jQuery(document).on("click", ".sync_providers_btn", function(){
962
  }
963
 
964
  jQuery('.sync_message').hide();
965
- jQuery('#search_provider').removeAttr('value');
966
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
967
-
968
  var ajax_data = {
969
  action: 'sync_providers',
970
- reset_checked: reset_checked,
971
- security: nonce,
972
  };
973
  jQuery.ajax({
974
  url: ajaxurl,
@@ -977,7 +977,9 @@ jQuery(document).on("click", ".sync_providers_btn", function(){
977
  dataType: "json",
978
  success: function(response) {
979
  jQuery('.sync_provider_popup .spinner').removeClass('active');
980
- jQuery(".provider_list").replaceWith(response.html);
 
 
981
 
982
  if(response.sync_error == 1 ){
983
  jQuery( ".sync_message" ).text( response.message );
@@ -1005,29 +1007,27 @@ jQuery(document).on("click", ".sync_providers_btn", function(){
1005
  }
1006
 
1007
  jQuery(".reset_db_fieldset").hide();
1008
- jQuery(".sync_providers_btn").attr("disabled", false);
1009
  jQuery(".sync_providers_btn").hide();
1010
- jQuery(".close_synch_popup").show();
1011
- jQuery( '.tipTip' ).tipTip( {
1012
- 'attribute': 'data-tip'
1013
- } );
1014
  jQuery('#shipping-provider-table').datatable({
1015
- pageSize: 25,
1016
  pagingDivClass: 'text-left',
1017
  firstPage:'',
1018
  prevPage:'',
1019
  nextPage:'',
1020
  lastPage:'',
1021
- sort: [false, false, false, false, false, false],
1022
  onChange: function(old_page, new_page){
1023
- jQuery( '.tipTip' ).tipTip( {
1024
- 'attribute': 'data-tip'
1025
- } );
1026
  },
1027
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
1028
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
1029
- }
1030
- });
 
 
1031
  },
1032
  error: function(response) {
1033
  console.log(response);
@@ -1068,11 +1068,52 @@ jQuery(document).on("click", "#hide_deleted_details", function(){
1068
  jQuery('#view_deleted_details').show();
1069
  });
1070
 
1071
- function validate (input) {
1072
- if(jQuery(input).val().trim() == '' || jQuery(input).val().trim() == 0){
1073
- return false;
1074
- }
1075
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1076
 
1077
  function showerror(element){
1078
  element.css("border","1px solid red");
@@ -1090,140 +1131,277 @@ jQuery(document).on("change", "#wc_ast_status_shipped", function(){
1090
  }
1091
  });
1092
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1093
  jQuery(document).on("click", ".tab_input", function(){
1094
  var tab = jQuery(this).data('tab');
1095
- var label = jQuery(this).data('label');
1096
- //jQuery('.zorem-layout__header-breadcrumbs .header-breadcrumbs-last').text(label);
1097
  var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
1098
  window.history.pushState({path:url},'',url);
1099
  });
1100
  jQuery(document).on("click", ".inner_tab_input", function(){
1101
- var tab = jQuery('input[name="tabs"]:checked').data('tab');
1102
- var subtab = jQuery(this).data('subtab');
1103
- if( subtab !== undefined){
1104
- var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab+"&subtab="+subtab;
1105
- }
1106
-
1107
- var addons = jQuery(this).data('addons');
1108
- if( addons !== undefined){
1109
- var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab+"&addons="+addons;
1110
- }
1111
-
1112
- var settings = jQuery(this).data('settings');
1113
- if( settings !== undefined){
1114
- var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab+"&settings="+settings;
1115
- }
1116
-
1117
- var type = jQuery(this).data('type');
1118
- if( type !== undefined){
1119
- var subtab = jQuery('input[name="ts_inner_tabs"]:checked').data('subtab');
1120
- var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab+"&subtab="+subtab+"&type="+type;
1121
- }
1122
-
1123
  window.history.pushState({path:url},'',url);
1124
  });
1125
 
1126
- jQuery('#shipping-provider-table').datatable({
1127
- pageSize: 25,
1128
- pagingDivClass: 'text-left',
1129
- firstPage:'',
1130
- prevPage:'',
1131
- nextPage:'',
1132
- lastPage:'',
1133
- dom: "Bfriptip",
1134
- sort: [false, false, false, false, false, false],
1135
- onChange: function(old_page, new_page){
1136
- jQuery( '.tipTip' ).tipTip( {
1137
- 'attribute': 'data-tip'
1138
- } );
1139
- },
1140
- counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
1141
- return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
1142
- }
1143
  });
1144
 
1145
- jQuery(document).on("change", "#wc_ast_settings_form .ast-settings-toggle,.order_status_toggle,.enable_order_status_email_input,.custom_order_color_select, #wc_ast_status_shipped", function(){
1146
- save_ast_seetings();
1147
  });
1148
-
1149
- jQuery('#wc_ast_status_partial_shipped_label_color').wpColorPicker({
1150
- change: function(e, ui) {
1151
- var color = ui.color.toString();
1152
- jQuery('.order-status-table .order-label.wc-partially-shipped').css('background',color);
1153
- },
1154
  });
1155
 
1156
- jQuery('#wc_ast_status_updated_tracking_label_color').wpColorPicker({
1157
- change: function(e, ui) {
1158
- var color = ui.color.toString();
1159
- jQuery('.order-status-table .order-label.wc-updated-tracking').css('background',color);
1160
- },
1161
  });
1162
-
1163
- jQuery('body').click( function(){
1164
- if ( jQuery('.order-status-table button.button.wp-color-result').hasClass( 'wp-picker-open' ) ) {
1165
- save_ast_seetings();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1166
  }
1167
  });
1168
 
1169
- jQuery('.order-status-table button.button.wp-color-result').click( function(){
1170
- if ( jQuery(this).hasClass( 'wp-picker-open' ) ) {}else{save_ast_seetings();}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1171
  });
1172
- jQuery(".wc_ast_api_date_format").on("click", function (e) {
1173
- save_ast_seetings();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1174
  });
1175
- jQuery( "#wc_ast_show_orders_actions,#wc_ast_unclude_tracking_info" ).on("change", function (e) {
1176
- save_ast_seetings();
 
 
 
 
 
 
 
 
 
1177
  });
1178
 
1179
- function save_ast_seetings(){
1180
-
1181
- jQuery("#content2").block({
1182
- message: null,
1183
- overlayCSS: {
1184
- background: "#fff",
1185
- opacity: .6
1186
- }
1187
- });
1188
- var form = jQuery('#wc_ast_settings_form');
1189
-
1190
- jQuery.ajax({
1191
- url: ajaxurl,
1192
- data: form.serialize(),
1193
- type: 'POST',
1194
- success: function(response) {
1195
- jQuery("#content2").unblock();
1196
- jQuery(document).ast_snackbar( shipment_tracking_table_rows.i18n.data_saved );
1197
- },
1198
- error: function(response) {
1199
- console.log(response);
1200
- }
1201
- });
1202
- return false;
1203
- }
1204
 
1205
- /* zorem_snackbar jquery */
1206
- (function( $ ){
1207
- $.fn.ast_snackbar = function(msg) {
1208
- if ( jQuery('.snackbar-logs').length === 0 ){
1209
- $("body").append("<section class=snackbar-logs></section>");
1210
- }
1211
- var ast_snackbar = $("<article></article>").addClass('snackbar-log snackbar-log-success snackbar-log-show').text( msg );
1212
- $(".snackbar-logs").append(ast_snackbar);
1213
- setTimeout(function(){ ast_snackbar.remove(); }, 3000);
1214
- return this;
1215
- };
1216
- })( jQuery );
1217
 
1218
- /* zorem_snackbar_warning jquery */
1219
- (function( $ ){
1220
- $.fn.ast_snackbar_warning = function(msg) {
1221
- if ( jQuery('.snackbar-logs').length === 0 ){
1222
- $("body").append("<section class=snackbar-logs></section>");
1223
- }
1224
- var ast_snackbar_warning = $("<article></article>").addClass( 'snackbar-log snackbar-log-error snackbar-log-show' ).html( msg );
1225
- $(".snackbar-logs").append(ast_snackbar_warning);
1226
- setTimeout(function(){ ast_snackbar_warning.remove(); }, 3000);
1227
- return this;
1228
- };
1229
- })( jQuery );
 
 
 
 
 
 
 
 
 
 
 
1
+ ( function( $, data, wp, ajaxurl ) {
2
+
3
+ var $wc_ast_settings_form = $("#wc_ast_settings_form");
4
+ var $wc_ast_trackship_form = $("#wc_ast_trackship_form");
5
+ var $wc_ast_addons_form = $("#wc_ast_addons_form");
6
+
7
+
8
+ var wc_table_rate_rows = {
9
+
10
+ init: function() {
11
+
12
+ $wc_ast_settings_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_settings_form );
13
+ $wc_ast_trackship_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_trackship_form );
14
+ //$wc_ast_addons_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_addons_form );
15
+
16
+ $(".tipTip").tipTip();
17
+
18
+ },
19
+
20
+ save_wc_ast_settings_form: function( event ) {
21
+ event.preventDefault();
22
+ $wc_ast_settings_form.find(".spinner").addClass("active");
23
+ var ajax_data = $wc_ast_settings_form.serialize();
24
+
25
+ $.post( ajaxurl, ajax_data, function(response) {
26
+ $wc_ast_settings_form.find(".spinner").removeClass("active");
27
+ var snackbarContainer = document.querySelector('#demo-toast-example');
28
+ var data = {message: shipment_tracking_table_rows.i18n.data_saved };
29
+ snackbarContainer.MaterialSnackbar.showSnackbar(data);
30
+ });
31
+
32
+ },
33
+
34
+ save_wc_ast_trackship_form: function( event ) {
35
+ event.preventDefault();
36
+
37
+ $wc_ast_trackship_form.find(".spinner").addClass("active");
38
+ //$wc_ast_settings_form.find(".success_msg").hide();
39
+ var ajax_data = $wc_ast_trackship_form.serialize();
40
+
41
+ $.post( ajaxurl, ajax_data, function(response) {
42
+ $wc_ast_trackship_form.find(".spinner").removeClass("active");
43
+ var snackbarContainer = document.querySelector('#demo-toast-example');
44
+ var data = {message: 'Data saved successfully.'};
45
+ snackbarContainer.MaterialSnackbar.showSnackbar(data);
46
+ });
47
+
48
+ },
49
+
50
+ save_wc_ast_addons_form: function( event ) {
51
+ event.preventDefault();
52
+
53
+ $wc_ast_addons_form.find(".spinner").addClass("active");
54
+ jQuery('.pesan').hide();
55
+ var action = jQuery('#ast-license-action').val();
56
+ //$wc_ast_settings_form.find(".success_msg").hide();
57
+ var ajax_data = $wc_ast_addons_form.serialize();
58
+
59
+ $.post( ajaxurl, ajax_data, function(data) {
60
+ $wc_ast_addons_form.find(".spinner").removeClass("active");
61
+ jQuery('.pesan').show();
62
+ //console.log(data.success);
63
+ var btn_value = 'Activate';
64
+ if(data.success == true){
65
+ if(action == 'ast_product_license_activate'){
66
+ var btn_value = 'Deactivate';
67
+ jQuery('#ast-license-action').val('esre_license_deactivate');
68
+ jQuery('.pesan').html('Congratulation, your license successful activated');
69
+ jQuery('.activated').show();
70
+ window.location.reload();
71
+ } else {
72
+ jQuery('#ast-license-action').val('esre_license_activate');
73
+ jQuery('#ast_product_license_key').val('');
74
+ jQuery('#ast_product_license_email').val('');
75
+ jQuery('.pesan').html('<span style="color:green;">Congratulation, your license successful deactivated</span>');
76
+ jQuery('.activated').hide();
77
+ window.location.reload();
78
+ }
79
+ } else {
80
+ jQuery('.pesan').html('<span style="color:red;">'+data.error+'</span>');
81
+ }
82
+
83
+ jQuery('#saveS').prop('disabled', false).val(btn_value);
84
+ });
85
+
86
+ },
87
+ };
88
+ $(window).load(function(e) {
89
+ wc_table_rate_rows.init();
90
+ });
91
+ })( jQuery, shipment_tracking_table_rows, wp, ajaxurl );
92
+
93
+
94
  jQuery(document).on("change", ".wc_ast_default_provider", function(){
95
  jQuery(".d_s_select_section ").block({
96
  message: null,
110
  type: 'POST',
111
  success: function(response) {
112
  jQuery(".d_s_select_section ").unblock();
113
+ var snackbarContainer = document.querySelector('#demo-toast-example');
114
+ var data = {message: shipment_tracking_table_rows.i18n.data_saved};
115
+ snackbarContainer.MaterialSnackbar.showSnackbar(data);
116
  },
117
  error: function(response) {
118
  }
119
  });
120
  });
121
+ var file_frame;
122
+ jQuery('.upload_image_button').live('click', function(product) {
123
+ product.preventDefault();
124
+ var image_id = jQuery(this).siblings(".image_id");
125
+ var image_path = jQuery(this).siblings(".image_path");
126
+
127
+ // If the media frame already exists, reopen it.
128
+ if (file_frame) {
129
+ file_frame.open();
130
+ return;
131
+ }
132
 
133
+ // Create the media frame.
134
+ file_frame = wp.media.frames.file_frame = wp.media({
135
+ title: 'Upload Media',
136
+ button: {
137
+ text: 'Add',
138
+ },
139
+ multiple: false // Set to true to allow multiple files to be selected
140
+ });
141
+
142
+ // When a file is selected, run a callback.
143
+ file_frame.on('select', function(){
144
+ attachment = file_frame.state().get('selection').first().toJSON();
145
+ var id = attachment.id;
146
+ var url = attachment.url;
147
+ image_path.attr('value', url);
148
+ image_id.attr('value', id);
149
+
150
+ });
151
+ // Finally, open the modal
152
  file_frame.open();
 
 
 
 
 
 
 
 
 
 
153
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
 
155
  jQuery('.csv_upload_status li').remove();
156
  jQuery('.bulk_upload_status_tr').hide();
157
  jQuery('.progress_title').hide();
162
  var date_format_for_csv_import = jQuery('input[name="date_format_for_csv_import"]:checked').val();
163
 
164
  if(replace_tracking_info == true){
165
+ replace_tracking_info = 1;
166
  } else{
167
  replace_tracking_info = 0;
168
+ }
169
+
170
+
171
 
172
  var ext = jQuery('#trcking_csv_file').val().split('.').pop().toLowerCase();
173
 
188
  return false;
189
  }
190
 
191
+
192
+ var regex = /([a-zA-Z0-9\s_\\.\-\(\):])+(.csv|.txt)$/;
193
+ if (regex.test(jQuery("#trcking_csv_file").val().toLowerCase())) {
194
+ if (typeof (FileReader) != "undefined") {
195
+ var reader = new FileReader();
196
+ reader.onload = function (e) {
197
+ var trackings = new Array();
198
+ var rows = e.target.result.split("\n");
199
+ if(rows.length <= 1){
200
+ alert('There are some issue with CSV file.');
201
+ return false;
202
+ }
203
+ for (var i = 1; i < rows.length; i++) {
204
+ var cells = rows[i].split(",");
205
+ if (cells.length > 1) {
206
+ var tracking = {};
207
+ tracking.order_id = cells[0];
208
+ tracking.tracking_provider = cells[1];
209
+ tracking.tracking_number = cells[2];
210
+ tracking.date_shipped = cells[3];
211
+ tracking.status_shipped = cells[4];
212
+ if(cells[5]){
213
+ tracking.sku = cells[5];
214
+ }
215
+ if(cells[6]){
216
+ tracking.qty = cells[6];
217
+ }
218
+ if(tracking.order_id){
219
+ trackings.push(tracking);
220
+ }
221
+ }
222
+ }
223
+
 
 
224
  var csv_length = trackings.length;
 
225
 
226
+ jQuery("#wc_ast_upload_csv_form")[0].reset();
227
+
228
+ jQuery("#p1 .progressbar").css('background-color','rgb(63,81,181)');
229
+ var querySelector = document.querySelector('#p1');
230
+ querySelector.MaterialProgress.setProgress(0);
231
+ jQuery("#p1").show();
232
+
233
  jQuery(".progress_step1").removeClass("active");
234
  jQuery(".progress_step1").addClass("done");
235
  jQuery(".progress_step2").addClass("active");
236
  jQuery(".upload_csv_div").hide();
237
  jQuery(".bulk_upload_status_div").show();
238
 
239
+ var run_data = 0;
240
+
241
  var tracking_import = jQuery(trackings).each(function(index, element) {
242
  var sku = '';
243
  var qty = '';
257
  var qty = trackings[index]['qty'];
258
  }
259
 
 
 
260
  var data = {
261
+ action: 'wc_ast_upload_csv_form_update',
262
+ order_id: order_id,
263
+ date_format_for_csv_import: date_format_for_csv_import,
264
+ tracking_provider: tracking_provider,
265
+ tracking_number: tracking_number,
266
+ date_shipped: date_shipped,
267
+ status_shipped: status_shipped,
268
+ sku: sku,
269
+ qty: qty,
270
+ replace_tracking_info: replace_tracking_info,
271
+ trackings: trackings,
272
+ };
 
273
 
274
  var option = {
275
+
276
  url: ajaxurl,
277
  data: data,
278
  type: 'POST',
279
+ success:function(data){
280
+ //alert(data);
281
  jQuery('.progress_number').html((index+1)+'/'+csv_length);
282
 
283
  jQuery('.csv_upload_status').append(data);
284
  var progress = (index+1)*100/csv_length;
285
  jQuery('.bulk_upload_status_tr').show();
286
  jQuery('.progress_title').show();
287
+ querySelector.MaterialProgress.setProgress(progress);
 
 
 
 
 
 
 
 
 
288
  if(progress == 100){
289
  jQuery( ".csv_upload_status li" ).each(function( index ) {
290
+ if(this.className == 'success'){
 
 
 
291
  success_class++;
292
  }
293
+ if(this.className == 'error'){
294
+ error_class++;
295
+ }
 
 
 
296
  });
297
+ jQuery('#p1').hide();
298
  jQuery('.progress_title').hide();
299
  jQuery(".progress_step2").removeClass("active");
300
  jQuery(".progress_step2").addClass("done");
301
  jQuery(".progress_step3").addClass("active");
302
  jQuery(".bulk_upload_status_div").addClass("csv_import_done");
303
  jQuery(".bulk_upload_status_action ").show();
 
304
  if(error_class > 0){
305
+ error_message = error_class+' Tracking information not imported.';
306
+ }
307
+ success_message = success_class+' Tracking information imported.';
308
+ jQuery(".bulk_upload_status_heading_tr h2").html("Import Completed! "+success_message+" "+error_message);
309
+ jQuery(".bulk_upload_status_heading_tr h2").css('margin-bottom','0');
310
+ jQuery(".bulk_upload_status_heading_tr p").hide();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
  }
312
  },
313
 
318
  jQuery.ajaxQueue.run();
319
  run_data++;
320
  });
321
+
322
+ }
323
+ reader.readAsText(jQuery("#trcking_csv_file")[0].files[0]);
324
+
325
+
326
+ } else {
327
+ alert(shipment_tracking_table_rows.i18n.browser_not_html);
328
+ }
329
+ } else {
330
+ alert(shipment_tracking_table_rows.i18n.upload_valid_csv_file);
331
+ }
332
  return false;
333
  });
334
 
 
 
 
 
 
 
 
 
 
 
335
  jQuery(document).on("click", ".csv_upload_again", function(){
336
  jQuery('.csv_upload_status li').remove();
 
337
  jQuery('.bulk_upload_status_tr').hide();
 
338
  jQuery('.progress_title').hide();
339
  jQuery(".bulk_upload_status_heading_tr h2").html('Importing'+'<span class="spinner is-active"></span>');
340
  jQuery(".bulk_upload_status_heading_tr p").show();
348
  jQuery(".bulk_upload_status_action ").hide();
349
  jQuery('.bulk_upload_status_div').hide();
350
  jQuery('.upload_csv_div').show();
 
 
351
  });
352
 
353
+
354
+ jQuery(document).on("change", ".shipment_status_toggle input", function(){
355
+ jQuery("#content5 ").block({
356
+ message: null,
357
+ overlayCSS: {
358
+ background: "#fff",
359
+ opacity: .6
360
+ }
361
+ });
362
+ if(jQuery(this).prop("checked") == true){
363
+ var wcast_enable_status_email = 1;
364
+ }
365
+ var settings_data = jQuery(this).data("settings");
366
+
367
+ var id = jQuery(this).attr('id');
368
+ var ajax_data = {
369
+ action: 'update_shipment_status_email_status',
370
+ id: id,
371
+ wcast_enable_status_email: wcast_enable_status_email,
372
+ settings_data: settings_data,
373
+ };
374
+ jQuery.ajax({
375
+ url: ajaxurl,
376
+ data: ajax_data,
377
+ type: 'POST',
378
+ success: function(response) {
379
+ jQuery("#content5 ").unblock();
380
+ var snackbarContainer = document.querySelector('#demo-toast-example');
381
+ var data = {message: shipment_tracking_table_rows.i18n.data_saved};
382
+ snackbarContainer.MaterialSnackbar.showSnackbar(data);
383
+ },
384
+ error: function(response) {
385
+ }
386
+ });
387
+ });
388
+
389
  jQuery(document).on("change", "#wcast_enable_late_shipments_admin_email", function(){
390
  if(jQuery(this).prop("checked") == true){
391
  var wcast_enable_late_shipments_email = 1;
403
  data: ajax_data,
404
  type: 'POST',
405
  success: function(response) {
406
+ var snackbarContainer = document.querySelector('#demo-toast-example');
407
+ var data = {message: shipment_tracking_table_rows.i18n.data_saved};
408
+ snackbarContainer.MaterialSnackbar.showSnackbar(data);
409
+ },
410
+ error: function(response) {
411
+ }
412
+ });
413
+ });
414
+
415
+
416
+ jQuery(document).on("click", ".status_filter a", function(){
417
+ jQuery("#content1 ").block({
418
+ message: null,
419
+ overlayCSS: {
420
+ background: "#fff",
421
+ opacity: .6
422
+ }
423
+ });
424
+ jQuery('.status_filter a').removeClass('active');
425
+ jQuery(this).addClass('active');
426
+ var status = jQuery(this).data('status');
427
+ var ajax_data = {
428
+ action: 'filter_shipiing_provider_by_status',
429
+ status: status,
430
+ };
431
+ jQuery.ajax({
432
+ url: ajaxurl,
433
+ data: ajax_data,
434
+ type: 'POST',
435
+ success: function(response) {
436
+ jQuery(".provider_list").replaceWith(response);
437
+ jQuery("#content1 ").unblock();
438
+ jQuery('#shipping-provider-table').datatable({
439
+ pageSize: 50,
440
+ pagingDivClass: 'text-left',
441
+ firstPage:'',
442
+ prevPage:'',
443
+ nextPage:'',
444
+ lastPage:'',
445
+ sort: [true, true, false, false, false, false],
446
+ onChange: function(old_page, new_page){
447
+ componentHandler.upgradeAllRegistered();
448
+ jQuery(".woocommerce-help-tip").tipTip();
449
+ },
450
+ counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
451
+ return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
452
+ }
453
+ });
454
+ jQuery(".woocommerce-help-tip").tipTip();
455
+ componentHandler.upgradeAllRegistered();
456
  },
457
  error: function(response) {
458
  }
474
  jQuery('#default_label_'+id).addClass('disable_label');
475
  }
476
 
 
477
 
478
  var error;
479
  var ajax_data = {
480
  action: 'update_shipment_status',
481
  id: id,
482
+ checked: checked,
 
483
  };
484
  jQuery.ajax({
485
  url: ajaxurl,
509
  var checked = 0;
510
  }
511
  var id = jQuery(this).data('id');
512
+
513
  var error;
514
  var default_provider = jQuery(this).val();
515
  var ajax_data = {
516
  action: 'update_default_provider',
517
  default_provider: default_provider,
518
  id: id,
519
+ checked: checked,
 
520
  };
521
  jQuery.ajax({
522
  url: ajaxurl,
532
  });
533
 
534
  jQuery(document).on( "input", "#search_provider", function(){
535
+ jQuery('.status_filter a').removeClass('active');
536
+ jQuery("[data-status=all]").addClass('active');
537
 
538
  var ajax_data = {
539
  action: 'filter_shipiing_provider_by_status',
540
+ status: 'all',
 
541
  };
542
  jQuery.ajax({
543
  url: ajaxurl,
570
  }
571
 
572
  jQuery('#shipping-provider-table').datatable({
573
+ pageSize: 50,
574
  pagingDivClass: 'text-left',
575
  firstPage:'',
576
  prevPage:'',
577
  nextPage:'',
578
  lastPage:'',
579
+ sort: [true, true, false, false, false, false],
580
  onChange: function(old_page, new_page){
581
+ componentHandler.upgradeAllRegistered();
582
+ jQuery(".woocommerce-help-tip").tipTip();
 
583
  },
584
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
585
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
586
  }
587
  });
588
+ jQuery(".woocommerce-help-tip").tipTip();
589
+ componentHandler.upgradeAllRegistered();
 
590
  },
591
  error: function(response) {
592
  }
593
  });
594
  });
595
 
596
+ jQuery(document).on("click", ".add_custom_provider", function(){
597
+ jQuery('.add_provider_popup').show();
 
 
 
 
 
 
 
 
 
 
598
  });
599
+ jQuery(document).on("click", ".popupclose", function(){
600
  jQuery('.add_provider_popup').hide();
601
  jQuery('.edit_provider_popup').hide();
602
  jQuery('.sync_provider_popup').hide();
603
  jQuery('.how_to_video_popup').hide();
604
  jQuery('.ts_video_popup').hide();
605
+ jQuery('.tracking_item_video_popup').hide();
606
  });
607
  jQuery(document).on("click", ".close_synch_popup", function(){
608
  jQuery('.sync_provider_popup').hide();
644
  if(error == true){
645
  return false;
646
  }
 
647
  jQuery(".add_provider_popup").block({
648
  message: null,
649
  overlayCSS: {
651
  opacity: .6
652
  }
653
  });
 
 
 
654
  jQuery.ajax({
655
  url: ajaxurl,
656
  data: form.serialize(),
657
  type: 'POST',
658
+ success: function(response) {
659
+ jQuery(".provider_list").replaceWith(response);
660
+ form[0].reset();
661
+ jQuery('.status_filter a').removeClass('active');
662
+ jQuery("[data-status=custom]").addClass('active');
663
+ jQuery('.add_provider_popup').hide();
664
+ jQuery(".add_provider_popup").unblock();
665
+ jQuery('#shipping-provider-table').datatable({
666
+ pageSize: 50,
667
+ pagingDivClass: 'text-left',
668
+ firstPage:'',
669
+ prevPage:'',
670
+ nextPage:'',
671
+ lastPage:'',
672
+ sort: [true, true, false, false, false, false],
673
+ onChange: function(old_page, new_page){
674
+ componentHandler.upgradeAllRegistered();
675
+ jQuery(".woocommerce-help-tip").tipTip();
676
+ },
677
+ counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
678
+ return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
679
+ }
680
+ });
681
+ jQuery(".woocommerce-help-tip").tipTip();
682
+ componentHandler.upgradeAllRegistered();
683
  },
684
  error: function(response) {
685
  console.log(response);
703
  return;
704
  }
705
  var id = jQuery(this).data('pid');
706
+
707
  var error;
708
  var default_provider = jQuery(this).val();
709
  var ajax_data = {
710
  action: 'woocommerce_shipping_provider_delete',
711
  provider_id: id,
 
712
  };
 
 
 
713
  jQuery.ajax({
714
  url: ajaxurl,
715
  data: ajax_data,
716
  type: 'POST',
717
  success: function(response) {
718
+ jQuery(".provider_list").replaceWith(response);
719
+ jQuery('.status_filter a').removeClass('active');
720
+ jQuery("[data-status=custom]").addClass('active');
721
+ jQuery("#content1").unblock();
722
  jQuery('#shipping-provider-table').datatable({
723
+ pageSize: 50,
724
  pagingDivClass: 'text-left',
725
  firstPage:'',
726
  prevPage:'',
727
  nextPage:'',
728
  lastPage:'',
729
+ sort: [true, true, false, false, false, false],
730
  onChange: function(old_page, new_page){
731
+ componentHandler.upgradeAllRegistered();
732
+ jQuery(".woocommerce-help-tip").tipTip();
 
733
  },
734
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
735
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
736
  }
737
+ });
738
+ jQuery(".woocommerce-help-tip").tipTip();
739
+ componentHandler.upgradeAllRegistered();
 
740
  },
741
  error: function(response) {
742
  console.log(response);
746
 
747
  jQuery(document).on("click", ".edit_provider", function(){
748
  var id = jQuery(this).data('pid');
 
 
749
  var ajax_data = {
750
  action: 'get_provider_details',
751
  provider_id: id,
 
752
  };
753
  jQuery.ajax({
754
  url: ajaxurl,
756
  type: 'POST',
757
  dataType: "json",
758
  success: function(response) {
 
759
  var provider_name = response.provider_name;
 
760
  var provider_url = response.provider_url;
761
  var shipping_country = response.shipping_country;
762
+ var custom_thumb_id = response.custom_thumb_id;
763
  var image = response.image;
764
+ jQuery('.edit_provider_popup .shipping_provider').val(provider_name);
765
+ jQuery('.edit_provider_popup .tracking_url').val(provider_url);
766
+ jQuery('.edit_provider_popup .thumb_url').val(image);
767
+ jQuery('.edit_provider_popup .thumb_id').val(custom_thumb_id);
768
+ jQuery('.edit_provider_popup #provider_id').val(id);
769
+ jQuery(".edit_provider_popup .shipping_country").val(shipping_country);
770
+ jQuery('.edit_provider_popup').show();
771
+ //console.log(provider_url);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
772
  },
773
  error: function(response) {
774
  console.log(response);
776
  });
777
  });
778
 
779
+ jQuery(document).on("submit", "#edit_provider_form", function(){
780
+
 
 
 
 
 
 
 
 
781
  var form = jQuery('#edit_provider_form');
782
+ var error;
783
+ var shipping_provider = jQuery("#edit_provider_form .shipping_provider");
784
+ var shipping_country = jQuery("#edit_provider_form .shipping_country");
785
+ var thumb_url = jQuery("#edit_provider_form .thumb_url");
786
+ var tracking_url = jQuery("#edit_provider_form .tracking_url");
787
+
788
+ if( shipping_provider.val() === '' ){
789
+ showerror(shipping_provider);
790
+ error = true;
791
+ } else{
792
+ hideerror(shipping_provider);
793
+ }
794
+
795
+ if( shipping_country.val() === '' ){
796
+ showerror(shipping_country);
797
+ error = true;
798
+ } else{
799
+ hideerror(shipping_country);
800
+ }
801
 
802
+ if(error == true){
803
+ return false;
804
+ }
805
  jQuery(".edit_provider_popup").block({
806
  message: null,
807
  overlayCSS: {
809
  opacity: .6
810
  }
811
  });
 
 
 
 
 
 
 
 
 
 
812
  jQuery.ajax({
813
  url: ajaxurl,
814
+ data: form.serialize(),
815
  type: 'POST',
816
  success: function(response) {
817
  jQuery(".provider_list").replaceWith(response);
818
+ form[0].reset();
819
+ jQuery('.status_filter a').removeClass('active');
820
+ jQuery("[data-status=custom]").addClass('active');
821
  jQuery('.edit_provider_popup').hide();
822
+ jQuery(".edit_provider_popup").unblock();
823
  jQuery('#shipping-provider-table').datatable({
824
+ pageSize: 50,
825
  pagingDivClass: 'text-left',
826
  firstPage:'',
827
  prevPage:'',
828
  nextPage:'',
829
  lastPage:'',
830
+ sort: [true, true, false, false, false, false],
831
  onChange: function(old_page, new_page){
832
+ componentHandler.upgradeAllRegistered();
833
+ jQuery(".woocommerce-help-tip").tipTip();
 
834
  },
835
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
836
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
837
  }
838
+ });
839
+ jQuery(".woocommerce-help-tip").tipTip();
840
+ componentHandler.upgradeAllRegistered();
 
841
  },
842
  error: function(response) {
843
  console.log(response);
846
  return false;
847
  });
848
 
849
+ jQuery(document).on("click", ".reset_active", function(){
850
+ jQuery("#content1 ").block({
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
851
  message: null,
852
  overlayCSS: {
853
  background: "#fff",
854
  opacity: .6
855
  }
856
  });
857
+ var r = confirm( 'Do you really want to change all provider status to active?' );
858
+ if (r === true) {
859
+ } else {
860
+ jQuery("#content1").unblock();
861
+ return;
862
+ }
863
+
864
+ var error;
865
+ var ajax_data = {
866
+ action: 'update_provider_status_active',
867
+ };
868
  jQuery.ajax({
869
  url: ajaxurl,
870
+ data: ajax_data,
871
+ type: 'POST',
872
+ success: function(response) {
873
+ jQuery(".provider_list").replaceWith(response);
874
+ jQuery('.status_filter a').removeClass('active');
875
+ jQuery("[data-status=active]").addClass('active');
876
+ jQuery("#content1").unblock();
877
  jQuery('#shipping-provider-table').datatable({
878
+ pageSize: 50,
879
  pagingDivClass: 'text-left',
880
  firstPage:'',
881
  prevPage:'',
882
  nextPage:'',
883
  lastPage:'',
884
+ sort: [true, true, false, false, false, false],
885
  onChange: function(old_page, new_page){
886
+ componentHandler.upgradeAllRegistered();
887
+ jQuery(".woocommerce-help-tip").tipTip();
 
888
  },
889
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
890
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
891
  }
892
+ });
893
+ jQuery(".woocommerce-help-tip").tipTip();
894
+ componentHandler.upgradeAllRegistered();
 
895
  },
896
  error: function(response) {
897
  console.log(response);
898
  }
899
  });
 
 
 
 
 
 
 
 
900
  });
901
 
902
+ jQuery(document).on("click", ".reset_inactive", function(){
903
  jQuery("#content1 ").block({
904
  message: null,
905
  overlayCSS: {
907
  opacity: .6
908
  }
909
  });
910
+ var r = confirm( 'Do you really want to change all provider status to inactive?' );
911
  if (r === true) {
912
  } else {
913
  jQuery("#content1").unblock();
914
  return;
915
  }
916
+
917
+ var error;
 
 
 
 
 
 
 
 
918
  var ajax_data = {
919
+ action: 'update_provider_status_inactive',
 
 
920
  };
921
  jQuery.ajax({
922
  url: ajaxurl,
923
  data: ajax_data,
924
  type: 'POST',
925
  success: function(response) {
926
+ jQuery(".provider_list").replaceWith(response);
927
+ jQuery('.status_filter a').removeClass('active');
928
+ jQuery("[data-status=inactive]").addClass('active');
929
  jQuery("#content1").unblock();
930
  jQuery('#shipping-provider-table').datatable({
931
+ pageSize: 50,
932
  pagingDivClass: 'text-left',
933
  firstPage:'',
934
  prevPage:'',
935
  nextPage:'',
936
  lastPage:'',
937
+ sort: [true, true, false, false, false, false],
938
  onChange: function(old_page, new_page){
939
+ componentHandler.upgradeAllRegistered();
940
+ jQuery(".woocommerce-help-tip").tipTip();
 
941
  },
942
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
943
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
944
  }
945
+ });
946
+ jQuery(".woocommerce-help-tip").tipTip();
947
+ componentHandler.upgradeAllRegistered();
 
948
  },
949
  error: function(response) {
950
  console.log(response);
952
  });
953
  });
954
 
 
 
 
 
955
  jQuery(document).on("click", ".sync_providers", function(){
956
+ jQuery('.sync_provider_popup').show();
 
957
  });
958
 
959
+ jQuery(document).on("click", ".sync_providers_btn", function(){
960
+ jQuery('.sync_provider_popup .spinner').addClass('active');
 
 
961
  jQuery('#reset_tracking_providers').val;
962
 
963
  var reset_checked = 0;
966
  }
967
 
968
  jQuery('.sync_message').hide();
 
 
 
969
  var ajax_data = {
970
  action: 'sync_providers',
971
+ reset_checked: reset_checked,
 
972
  };
973
  jQuery.ajax({
974
  url: ajaxurl,
977
  dataType: "json",
978
  success: function(response) {
979
  jQuery('.sync_provider_popup .spinner').removeClass('active');
980
+ jQuery(".provider_list").replaceWith(response.html);
981
+ jQuery('.status_filter a').removeClass('active');
982
+ jQuery("[data-status=active]").addClass('active');
983
 
984
  if(response.sync_error == 1 ){
985
  jQuery( ".sync_message" ).text( response.message );
1007
  }
1008
 
1009
  jQuery(".reset_db_fieldset").hide();
 
1010
  jQuery(".sync_providers_btn").hide();
1011
+ jQuery(".close_synch_popup").show();
1012
+
 
 
1013
  jQuery('#shipping-provider-table').datatable({
1014
+ pageSize: 50,
1015
  pagingDivClass: 'text-left',
1016
  firstPage:'',
1017
  prevPage:'',
1018
  nextPage:'',
1019
  lastPage:'',
1020
+ sort: [true, true, false, false, false, false],
1021
  onChange: function(old_page, new_page){
1022
+ componentHandler.upgradeAllRegistered();
1023
+ jQuery(".woocommerce-help-tip").tipTip();
 
1024
  },
1025
  counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
1026
  return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
1027
+ }
1028
+ });
1029
+ jQuery(".woocommerce-help-tip").tipTip();
1030
+ componentHandler.upgradeAllRegistered();
1031
  },
1032
  error: function(response) {
1033
  console.log(response);
1068
  jQuery('#view_deleted_details').show();
1069
  });
1070
 
1071
+ jQuery(document).on("change", "#wcast_enable_delivered_email", function(){
1072
+ if(jQuery(this).prop("checked") == true){
1073
+ jQuery('.delivered_shipment_label').addClass('delivered_enabel');
1074
+ jQuery('.delivered_shipment_label .email_heading').addClass('disabled_link');
1075
+ jQuery('.delivered_shipment_label .edit_customizer_a').addClass('disabled_link');
1076
+ jQuery('.delivered_shipment_label .delivered_message').addClass('disable_delivered');
1077
+ jQuery('#wcast_enable_delivered_status_email').prop('disabled', true);
1078
+ } else{
1079
+ jQuery('.delivered_shipment_label').removeClass('delivered_enabel');
1080
+ jQuery('.delivered_shipment_label .email_heading').removeClass('disabled_link');
1081
+ jQuery('.delivered_shipment_label .edit_customizer_a').removeClass('disabled_link');
1082
+ jQuery('.delivered_shipment_label .delivered_message').removeClass('disable_delivered');
1083
+ jQuery('#wcast_enable_delivered_status_email').removeAttr('disabled');
1084
+ }
1085
+ componentHandler.upgradeAllRegistered();
1086
+ });
1087
+ jQuery(document).on("change", "#wc_ast_status_delivered", function(){
1088
+ if(jQuery(this).prop("checked") == false){
1089
+ jQuery('#wcast_enable_delivered_email')[0].checked = false;
1090
+ }
1091
+ if(jQuery(this).prop("checked") == true && jQuery("#wcast_enable_delivered_email").prop("checked") == true){
1092
+ jQuery('.delivered_shipment_label').addClass('delivered_enabel');
1093
+ jQuery('.delivered_shipment_label .email_heading').addClass('disabled_link');
1094
+ jQuery('.delivered_shipment_label .edit_customizer_a').addClass('disabled_link');
1095
+ jQuery('.delivered_shipment_label .delivered_message').addClass('disable_delivered');
1096
+ jQuery('#wcast_enable_delivered_status_email').prop('disabled', true);
1097
+ } else{
1098
+ jQuery('.delivered_shipment_label').removeClass('delivered_enabel');
1099
+ jQuery('.delivered_shipment_label .email_heading').removeClass('disabled_link');
1100
+ jQuery('.delivered_shipment_label .edit_customizer_a').removeClass('disabled_link');
1101
+ jQuery('.delivered_shipment_label .delivered_message').removeClass('disable_delivered');
1102
+ jQuery('#wcast_enable_delivered_status_email').removeAttr('disabled');
1103
+ }
1104
+ componentHandler.upgradeAllRegistered();
1105
+ });
1106
+
1107
+ jQuery(document).click(function(){
1108
+ var $trigger = jQuery(".dropdown");
1109
+ if($trigger !== event.target && !$trigger.has(event.target).length){
1110
+ jQuery(".dropdown-content").hide();
1111
+ }
1112
+ });
1113
+
1114
+ jQuery(document).on("click", ".dropdown_menu", function(){
1115
+ jQuery('.dropdown-content').show();
1116
+ });
1117
 
1118
  function showerror(element){
1119
  element.css("border","1px solid red");
1131
  }
1132
  });
1133
 
1134
+ jQuery(document).on("click", ".bulk_shipment_status_button", function(){
1135
+ jQuery("#content3").block({
1136
+ message: null,
1137
+ overlayCSS: {
1138
+ background: "#fff",
1139
+ opacity: .6
1140
+ }
1141
+ });
1142
+ var ajax_data = {
1143
+ action: 'bulk_shipment_status_from_settings',
1144
+ };
1145
+ jQuery.ajax({
1146
+ url: ajaxurl,
1147
+ data: ajax_data,
1148
+ type: 'POST',
1149
+ success: function(response) {
1150
+ jQuery("#content3").unblock();
1151
+ jQuery( '.bulk_shipment_status_button' ).after( "<div class='bulk_shipment_status_success'>Tracking info sent to Trackship for all Orders.</div>" );
1152
+ jQuery( '.bulk_shipment_status_button' ).attr("disabled", true)
1153
+ //window.location.href = response;
1154
+ },
1155
+ error: function(response) {
1156
+ console.log(response);
1157
+ }
1158
+ });
1159
+ return false;
1160
+ });
1161
+
1162
+ jQuery(document).on("click", ".bulk_shipment_status_button_for_empty_balance", function(){
1163
+ jQuery("#content3").block({
1164
+ message: null,
1165
+ overlayCSS: {
1166
+ background: "#fff",
1167
+ opacity: .6
1168
+ }
1169
+ });
1170
+ var ajax_data = {
1171
+ action: 'bulk_shipment_status_for_empty_balance_from_settings',
1172
+ };
1173
+ jQuery.ajax({
1174
+ url: ajaxurl,
1175
+ data: ajax_data,
1176
+ type: 'POST',
1177
+ success: function(response) {
1178
+ jQuery("#content3").unblock();
1179
+ jQuery( '.bulk_shipment_status_button_for_empty_balance' ).after( "<div class='bulk_shipment_status_success'>Tracking info sent to Trackship for all Orders.</div>" );
1180
+ jQuery( '.bulk_shipment_status_button_for_empty_balance' ).attr("disabled", true);
1181
+ },
1182
+ error: function(response) {
1183
+ console.log(response);
1184
+ }
1185
+ });
1186
+ return false;
1187
+ });
1188
+
1189
+ jQuery(document).on("click", ".bulk_shipment_status_button_for_do_connection", function(){
1190
+ jQuery("#content3").block({
1191
+ message: null,
1192
+ overlayCSS: {
1193
+ background: "#fff",
1194
+ opacity: .6
1195
+ }
1196
+ });
1197
+ var ajax_data = {
1198
+ action: 'bulk_shipment_status_for_do_connection_from_settings',
1199
+ };
1200
+ jQuery.ajax({
1201
+ url: ajaxurl,
1202
+ data: ajax_data,
1203
+ type: 'POST',
1204
+ success: function(response) {
1205
+ jQuery("#content3").unblock();
1206
+ jQuery( '.bulk_shipment_status_button_for_do_connection' ).after( "<div class='bulk_shipment_status_success'>Tracking info sent to Trackship for all Orders.</div>" );
1207
+ jQuery( '.bulk_shipment_status_button_for_do_connection' ).attr("disabled", true);
1208
+ },
1209
+ error: function(response) {
1210
+ console.log(response);
1211
+ }
1212
+ });
1213
+ return false;
1214
+ });
1215
+
1216
  jQuery(document).on("click", ".tab_input", function(){
1217
  var tab = jQuery(this).data('tab');
 
 
1218
  var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
1219
  window.history.pushState({path:url},'',url);
1220
  });
1221
  jQuery(document).on("click", ".inner_tab_input", function(){
1222
+ var tab = jQuery(this).data('tab');
1223
+ var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1224
  window.history.pushState({path:url},'',url);
1225
  });
1226
 
1227
+ jQuery(document).on("click", ".open_video_popup", function(){
1228
+ jQuery('.how_to_video_popup').show();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1229
  });
1230
 
1231
+ jQuery(document).on("click", ".ts_addons_header", function(){
1232
+ jQuery('.ts_video_popup').show();
1233
  });
1234
+ jQuery(document).on("click", ".tracking_item_addons_header", function(){
1235
+ jQuery('.tracking_item_video_popup').show();
 
 
 
 
1236
  });
1237
 
1238
+ jQuery(document).on("click", ".how_to_video_popup .popupclose", function(){
1239
+ jQuery('#how_to_video').each(function(index) {
1240
+ jQuery(this).attr('src', jQuery(this).attr('src'));
1241
+ return false;
1242
+ });
1243
  });
1244
+ jQuery(document).on("click", ".ts_video_popup .popupclose", function(){
1245
+ jQuery('#ts_video').each(function(index) {
1246
+ jQuery(this).attr('src', jQuery(this).attr('src'));
1247
+ return false;
1248
+ });
1249
+ });
1250
+ jQuery(document).on("click", ".tracking_item_video_popup .popupclose", function(){
1251
+ jQuery('#trackin_per_item_video').each(function(index) {
1252
+ jQuery(this).attr('src', jQuery(this).attr('src'));
1253
+ return false;
1254
+ });
1255
+ });
1256
+ jQuery(document).on("change", "#wc_ast_use_tracking_page", function(){
1257
+ if(jQuery(this).prop("checked") == true){
1258
+ jQuery('.tracking_page_table').show();
1259
+ jQuery('.tracking_save_table').hide();
1260
+ jQuery('#tracking_preview_iframe').height( '' );
1261
+ jQuery(this).closest('table').removeClass('disable_tracking_page');
1262
+ setTimeout(
1263
+ function()
1264
+ {
1265
+ var iframe = document.getElementById("tracking_preview_iframe");
1266
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1267
+ }, 1000);
1268
+ } else{
1269
+ jQuery('.tracking_page_table').hide();
1270
+ jQuery('.tracking_save_table').show();
1271
+ jQuery(this).closest('table').addClass('disable_tracking_page');
1272
  }
1273
  });
1274
 
1275
+ jQuery(document).on("change", ".select_t_layout_section .radio-img", function(){
1276
+ jQuery('#tracking_preview_iframe').height( '' );
1277
+ var val = jQuery(this).val();
1278
+ if(val == 't_layout_1'){
1279
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-1').show();
1280
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-2').hide();
1281
+ } else{
1282
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-1').hide();
1283
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-2').show();
1284
+ }
1285
+ var iframe = document.getElementById("tracking_preview_iframe");
1286
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1287
+ });
1288
+
1289
+ jQuery('#tracking_preview_iframe').load(function(){
1290
+ var iframe = jQuery('#tracking_preview_iframe').contents();
1291
+ iframe.find(".view_old_details").click(function(){
1292
+ jQuery('#tracking_preview_iframe').contents().find('.hide_old_details').show();
1293
+ jQuery('#tracking_preview_iframe').contents().find('.old-details').fadeIn();
1294
+ jQuery('#tracking_preview_iframe').height( '' );
1295
+ var iframe1 = document.getElementById("tracking_preview_iframe");
1296
+ iframe1.style.height = iframe1.contentWindow.document.body.scrollHeight + 'px';
1297
+ });
1298
+ });
1299
+
1300
+ jQuery('#tracking_preview_iframe').load(function(){
1301
+ var iframe = jQuery('#tracking_preview_iframe').contents();
1302
+ iframe.find(".hide_old_details").click(function(){
1303
+ jQuery('#tracking_preview_iframe').contents().find('.view_old_details').show();
1304
+ jQuery('#tracking_preview_iframe').contents().find('.old-details').fadeOut();
1305
+ jQuery('#tracking_preview_iframe').height( '' );
1306
+ var iframe1 = document.getElementById("tracking_preview_iframe");
1307
+ iframe1.style.height = iframe1.contentWindow.document.body.scrollHeight + 'px';
1308
+ });
1309
+ });
1310
+
1311
+ jQuery(document).on("click", "#wc_ast_hide_tracking_provider_image", function(){
1312
+ if(jQuery(this).prop("checked") == true){
1313
+ jQuery('#tracking_preview_iframe').contents().find('.provider-image-div').hide();
1314
+ } else{
1315
+ jQuery('#tracking_preview_iframe').contents().find('.provider-image-div').show();
1316
+ }
1317
+ });
1318
+ jQuery(document).on("click", "#wc_ast_hide_tracking_events", function(){
1319
+ jQuery('#tracking_preview_iframe').height( '' );
1320
+ if(jQuery(this).prop("checked") == true){
1321
+ jQuery('#tracking_preview_iframe').contents().find('.shipment_progress_div').hide();
1322
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-details').hide();
1323
+ } else{
1324
+ jQuery('#tracking_preview_iframe').contents().find('.shipment_progress_div').show();
1325
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-details').show();
1326
+ }
1327
+ var iframe = document.getElementById("tracking_preview_iframe");
1328
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1329
+ });
1330
+ jQuery(document).on("click", "#wc_ast_remove_trackship_branding", function(){
1331
+ jQuery('#tracking_preview_iframe').height( '' );
1332
+ if(jQuery(this).prop("checked") == true){
1333
+ jQuery('#tracking_preview_iframe').contents().find('.trackship_branding').hide();
1334
+ } else{
1335
+ jQuery('#tracking_preview_iframe').contents().find('.trackship_branding').show();
1336
+ }
1337
+ var iframe = document.getElementById("tracking_preview_iframe");
1338
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1339
  });
1340
+ jQuery(document).on("click", ".tracking_page_label", function(){
1341
+ setTimeout(
1342
+ function()
1343
+ {
1344
+ jQuery('#tracking_preview_iframe').height( '' );
1345
+ var iframe = document.getElementById("tracking_preview_iframe");
1346
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1347
+ }, 1000);
1348
+ });
1349
+ jQuery( document ).ready(function() {
1350
+ if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
1351
+ jQuery('.tracking_page_table').show();
1352
+ jQuery('.tracking_save_table').hide();
1353
+ } else{
1354
+ jQuery('.tracking_page_table').hide();
1355
+ jQuery('.tracking_save_table').show();
1356
+ }
1357
+ if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
1358
+ jQuery('#wc_ast_use_tracking_page').closest('table').removeClass('disable_tracking_page');
1359
+ } else{
1360
+ jQuery('#wc_ast_use_tracking_page').closest('table').addClass('disable_tracking_page');
1361
+ }
1362
  });
1363
+ jQuery(function(){
1364
+ jQuery('#tracking_preview_iframe').load(function(){
1365
+ var tab = getUrlParameter('tab');
1366
+ if(tab == 'tracking-page'){
1367
+ jQuery(this).show();
1368
+ var iframe = document.getElementById("tracking_preview_iframe");
1369
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1370
+ } else{
1371
+ jQuery(this).show();
1372
+ }
1373
+ });
1374
  });
1375
 
1376
+ var getUrlParameter = function getUrlParameter(sParam) {
1377
+ var sPageURL = window.location.search.substring(1),
1378
+ sURLVariables = sPageURL.split('&'),
1379
+ sParameterName,
1380
+ i;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1381
 
1382
+ for (i = 0; i < sURLVariables.length; i++) {
1383
+ sParameterName = sURLVariables[i].split('=');
 
 
 
 
 
 
 
 
 
 
1384
 
1385
+ if (sParameterName[0] === sParam) {
1386
+ return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]);
1387
+ }
1388
+ }
1389
+ };
1390
+
1391
+ jQuery('#shipping-provider-table').datatable({
1392
+ pageSize: 50,
1393
+ pagingDivClass: 'text-left',
1394
+ firstPage:'',
1395
+ prevPage:'',
1396
+ nextPage:'',
1397
+ lastPage:'',
1398
+ dom: "Bfriptip",
1399
+ sort: [true, true, false, false, false, false],
1400
+ onChange: function(old_page, new_page){
1401
+ componentHandler.upgradeAllRegistered();
1402
+ jQuery(".woocommerce-help-tip").tipTip();
1403
+ },
1404
+ counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
1405
+ return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
1406
+ }
1407
+ });
assets/js/trackship.js DELETED
@@ -1,337 +0,0 @@
1
- ( function( $, data, wp, ajaxurl ) {
2
- var $wc_ast_trackship_form = $("#wc_ast_trackship_form");
3
-
4
- var trackship_js = {
5
-
6
- init: function() {
7
-
8
- $("#wc_ast_trackship_form").on( 'click', '.woocommerce-save-button', this.save_wc_ast_trackship_form );
9
- $("#trackship_tracking_page_form").on( 'click', '.woocommerce-save-button', this.save_trackship_tracking_page_form );
10
- $("#trackship_late_shipments_form").on( 'click', '.woocommerce-save-button', this.save_trackship_late_shipments_form );
11
- //$(".tipTip").tipTip();
12
-
13
- },
14
-
15
- save_wc_ast_trackship_form: function( event ) {
16
- event.preventDefault();
17
-
18
- $("#wc_ast_trackship_form").find(".spinner").addClass("active");
19
- //$wc_ast_settings_form.find(".success_msg").hide();
20
- var ajax_data = $("#wc_ast_trackship_form").serialize();
21
-
22
- $.post( ajaxurl, ajax_data, function(response) {
23
- $("#wc_ast_trackship_form").find(".spinner").removeClass("active");
24
-
25
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
26
- });
27
-
28
- },
29
- save_trackship_tracking_page_form: function( event ) {
30
- event.preventDefault();
31
-
32
- $("#trackship_tracking_page_form").find(".spinner").addClass("active");
33
- var ajax_data = $("#trackship_tracking_page_form").serialize();
34
-
35
- $.post( ajaxurl, ajax_data, function(response) {
36
- $("#trackship_tracking_page_form").find(".spinner").removeClass("active");
37
-
38
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
39
- });
40
- },
41
- save_trackship_late_shipments_form: function( event ) {
42
- event.preventDefault();
43
-
44
- $("#trackship_late_shipments_form").find(".spinner").addClass("active");
45
- var ajax_data = $("#trackship_late_shipments_form").serialize();
46
-
47
- $.post( ajaxurl, ajax_data, function(response) {
48
- $("#trackship_late_shipments_form").find(".spinner").removeClass("active");
49
-
50
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
51
- });
52
- },
53
- };
54
- $(window).on('load',function () {
55
- trackship_js.init();
56
- });
57
- })( jQuery, trackship_script, wp, ajaxurl );
58
-
59
-
60
- jQuery(document).on("click", ".tab_input", function(){
61
- var tab = jQuery(this).data('tab');
62
- var label = jQuery(this).data('label');
63
- var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=trackship-for-woocommerce&tab="+tab;
64
- window.history.pushState({path:url},'',url);
65
- });
66
-
67
- jQuery(document).on("click", ".bulk_shipment_status_button", function(){
68
- jQuery(".trackship-notice").block({
69
- message: null,
70
- overlayCSS: {
71
- background: "#fff",
72
- opacity: .6
73
- }
74
- });
75
- var ajax_data = {
76
- action: 'bulk_shipment_status_from_settings',
77
- security : jQuery(this).attr('wp_nonce'),
78
- };
79
- jQuery.ajax({
80
- url: ajaxurl,
81
- data: ajax_data,
82
- type: 'POST',
83
- success: function(response) {
84
- jQuery(".trackship-notice").unblock();
85
- jQuery('.bulk_shipment_status_button').closest(".trackship-notice").hide();
86
- jQuery( '.bulk_shipment_status_success' ).show();
87
- jQuery( '.bulk_shipment_status_button' ).attr("disabled", true)
88
-
89
- },
90
- error: function(response) {
91
- console.log(response);
92
- }
93
- });
94
- return false;
95
- });
96
-
97
- jQuery(document).on("change", "#wc_ast_trackship_page_id", function(){
98
- var wc_ast_trackship_page_id = jQuery(this).val();
99
- if(wc_ast_trackship_page_id == 'other'){
100
- jQuery('.trackship_other_page_fieldset').show();
101
- } else{
102
- jQuery('.trackship_other_page_fieldset').hide();
103
- }
104
- });
105
-
106
- jQuery(document).on("change", ".shipment_status_toggle input", function(){
107
- jQuery("#content5 ").block({
108
- message: null,
109
- overlayCSS: {
110
- background: "#fff",
111
- opacity: .6
112
- }
113
- });
114
-
115
- var settings_data = jQuery(this).data("settings");
116
-
117
- if(jQuery(this).prop("checked") == true){
118
- var wcast_enable_status_email = 1;
119
- jQuery(this).closest('tr').addClass('enable');
120
- jQuery(this).closest('tr').removeClass('disable');
121
- } else{
122
- var wcast_enable_status_email = 0;
123
- jQuery(this).closest('tr').addClass('disable');
124
- jQuery(this).closest('tr').removeClass('enable');
125
- if( settings_data == 'late_shipments_email_settings') jQuery('.late-shipments-email-content-table').hide();
126
- }
127
-
128
- var id = jQuery(this).attr('id');
129
- var nonce = jQuery( '#ts_late_shipments_email_form_nonce' ).val();
130
- var ajax_data = {
131
- action: 'update_shipment_status_email_status',
132
- id: id,
133
- wcast_enable_status_email: wcast_enable_status_email,
134
- settings_data: settings_data,
135
- security: nonce,
136
- };
137
-
138
- jQuery.ajax({
139
- url: ajaxurl,
140
- data: ajax_data,
141
- type: 'POST',
142
- success: function(response) {
143
- jQuery("#content5 ").unblock();
144
- },
145
- error: function(response) {
146
- }
147
- });
148
- });
149
-
150
- jQuery(document).on("click", ".late_shipments_a", function(){
151
- jQuery('.late-shipments-email-content-table').toggle();
152
- });
153
-
154
- jQuery('#wc_ast_status_label_color').wpColorPicker({
155
- change: function(e, ui) {
156
- var color = ui.color.toString();
157
- jQuery('.order-status-table .order-label.wc-delivered').css('background',color);
158
- },
159
- });
160
-
161
- jQuery('body').click( function(){
162
- if ( jQuery('.delivered_row button.button.wp-color-result').hasClass( 'wp-picker-open' ) ) {
163
- save_automation_form();
164
- }
165
- });
166
-
167
- jQuery('.delivered_row button.button.wp-color-result').click( function(){
168
- if ( jQuery(this).hasClass( 'wp-picker-open' ) ) {}else{save_automation_form();}
169
- });
170
-
171
- jQuery(document).on("change", ".ts_custom_order_color_select, #wc_ast_status_change_to_delivered, .ts_order_status_toggle", function(){
172
- save_automation_form();
173
- });
174
-
175
- jQuery(document).on("change", "#wc_ast_status_label_font_color", function(){
176
- var font_color = jQuery(this).val();
177
- jQuery('.order-status-table .order-label.wc-delivered').css('color',font_color);
178
- });
179
-
180
- function save_automation_form(){
181
- jQuery(".order-status-table").block({
182
- message: null,
183
- overlayCSS: {
184
- background: "#fff",
185
- opacity: .6
186
- }
187
- });
188
- var form = jQuery('#wc_ast_trackship_automation_form');
189
- jQuery.ajax({
190
- url: ajaxurl,
191
- data: form.serialize(),
192
- type: 'POST',
193
- success: function(response) {
194
- jQuery(".order-status-table").unblock();
195
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
196
- },
197
- error: function(response) {
198
- console.log(response);
199
- }
200
- });
201
- return false;
202
- }
203
-
204
- jQuery(document).on("change", "#wc_ast_show_shipment_status_filter", function(){
205
- save_trackship_form();
206
- });
207
-
208
- jQuery(document).on("change", "#wc_ast_trackship_page_id", function(){
209
- save_tracking_page_form();
210
- });
211
-
212
- jQuery(document).on( "input", "#wc_ast_trackship_other_page", function(){
213
- save_tracking_page_form();
214
- });
215
-
216
- jQuery(document).on("change", "#wc_ast_use_tracking_page", function(){
217
- if(jQuery(this).prop("checked") == true){
218
- jQuery('.ts_customizer_btn').removeClass('disable_ts_btn');
219
- jQuery(this).parent().parent('li').nextAll('li').fadeIn();
220
- } else{
221
- jQuery('.ts_customizer_btn').addClass('disable_ts_btn');
222
- jQuery(this).parent().parent('li').nextAll('li').fadeOut();
223
- }
224
- save_tracking_page_form();
225
- });
226
-
227
- jQuery( document ).ready(function() {
228
- if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
229
- jQuery('.ts_customizer_btn').removeClass('disable_ts_btn');
230
- jQuery('#wc_ast_use_tracking_page').parent().parent('li').nextAll('li').fadeIn();
231
- } else{
232
- jQuery('.ts_customizer_btn').addClass('disable_ts_btn');
233
- jQuery('#wc_ast_use_tracking_page').parent().parent('li').nextAll('li').fadeOut();
234
- }
235
- });
236
-
237
- function save_trackship_form(){
238
- jQuery("#wc_ast_trackship_form").block({
239
- message: null,
240
- overlayCSS: {
241
- background: "#fff",
242
- opacity: .6
243
- }
244
- });
245
- var form = jQuery('#wc_ast_trackship_form');
246
- jQuery.ajax({
247
- url: ajaxurl,
248
- data: form.serialize(),
249
- type: 'POST',
250
- success: function(response) {
251
- jQuery("#wc_ast_trackship_form").unblock();
252
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
253
- },
254
- error: function(response) {
255
- console.log(response);
256
- }
257
- });
258
- return false;
259
- }
260
-
261
- function save_tracking_page_form(){
262
- jQuery("#trackship_tracking_page_form").block({
263
- message: null,
264
- overlayCSS: {
265
- background: "#fff",
266
- opacity: .6
267
- }
268
- });
269
- var form = jQuery('#trackship_tracking_page_form');
270
- jQuery.ajax({
271
- url: ajaxurl,
272
- data: form.serialize(),
273
- type: 'POST',
274
- success: function(response) {
275
- jQuery("#trackship_tracking_page_form").unblock();
276
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
277
- },
278
- error: function(response) {
279
- console.log(response);
280
- }
281
- });
282
- return false;
283
- }
284
-
285
- jQuery(document).on("change", "#wcast_enable_late_shipments_admin_email", function(){
286
- if(jQuery(this).prop("checked") == true){
287
- var wcast_enable_late_shipments_email = 1;
288
- }
289
- var id = jQuery(this).attr('id');
290
- var settings_data = jQuery(this).data("settings");
291
- var nonce = jQuery( '#ts_late_shipments_email_form_nonce' ).val();
292
- var ajax_data = {
293
- action: 'update_enable_late_shipments_email',
294
- id: id,
295
- wcast_enable_late_shipments_email: wcast_enable_late_shipments_email,
296
- settings_data: settings_data,
297
- security: nonce,
298
- };
299
- jQuery.ajax({
300
- url: ajaxurl,
301
- data: ajax_data,
302
- type: 'POST',
303
- success: function(response) {
304
- jQuery("#ast_settings_snackbar").addClass('show_snackbar');
305
- jQuery("#ast_settings_snackbar").text(shipment_tracking_table_rows.i18n.data_saved);
306
- setTimeout(function(){ jQuery("#ast_settings_snackbar").removeClass('show_snackbar'); }, 3000);
307
- },
308
- error: function(response) {
309
- }
310
- });
311
- });
312
-
313
- /* zorem_snackbar jquery */
314
- (function( $ ){
315
- $.fn.ast_snackbar = function(msg) {
316
- if ( jQuery('.snackbar-logs').length === 0 ){
317
- $("body").append("<section class=snackbar-logs></section>");
318
- }
319
- var ast_snackbar = $("<article></article>").addClass('snackbar-log snackbar-log-success snackbar-log-show').text( msg );
320
- $(".snackbar-logs").append(ast_snackbar);
321
- setTimeout(function(){ ast_snackbar.remove(); }, 3000);
322
- return this;
323
- };
324
- })( jQuery );
325
-
326
- /* zorem_snackbar_warning jquery */
327
- (function( $ ){
328
- $.fn.ast_snackbar_warning = function(msg) {
329
- if ( jQuery('.snackbar-logs').length === 0 ){
330
- $("body").append("<section class=snackbar-logs></section>");
331
- }
332
- var ast_snackbar_warning = $("<article></article>").addClass( 'snackbar-log snackbar-log-error snackbar-log-show' ).html( msg );
333
- $(".snackbar-logs").append(ast_snackbar_warning);
334
- setTimeout(function(){ ast_snackbar_warning.remove(); }, 3000);
335
- return this;
336
- };
337
- })( jQuery );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/shipment-provider-img/4px.png ADDED
Binary file
assets/shipment-provider-img/7-eleven.png ADDED
Binary file
assets/shipment-provider-img/abf.png ADDED
Binary file
assets/shipment-provider-img/acs-courier.png ADDED
Binary file
assets/shipment-provider-img/aliexpress-standard-shipping.png ADDED
Binary file
assets/shipment-provider-img/an-post.png ADDED
Binary file
assets/shipment-provider-img/apc-overnight.png ADDED
Binary file
assets/shipment-provider-img/apc.png ADDED
Binary file
assets/shipment-provider-img/aramex.png ADDED
Binary file
assets/shipment-provider-img/aras-kargo.png ADDED
Binary file
assets/shipment-provider-img/arrowxl.png ADDED
Binary file
assets/shipment-provider-img/asendia-uk.png ADDED
Binary file
assets/shipment-provider-img/associated-global-systems.png ADDED
Binary file
assets/shipment-provider-img/australia-ems.png ADDED
Binary file
assets/shipment-provider-img/australia-post.png ADDED
Binary file
assets/shipment-provider-img/bangladesh-ems.png ADDED
Binary file
assets/shipment-provider-img/bluedart.png ADDED
Binary file
assets/shipment-provider-img/border-express.png ADDED
Binary file
assets/shipment-provider-img/boxberry.png ADDED
Binary file
assets/shipment-provider-img/bpost.png ADDED
Binary file
assets/shipment-provider-img/brazil-correios.png ADDED
Binary file
assets/shipment-provider-img/bring.png ADDED
Binary file
assets/shipment-provider-img/brt.png ADDED
Binary file
assets/shipment-provider-img/bulgaria-post.png ADDED
Binary file
assets/shipment-provider-img/canada-post.png ADDED
Binary file
assets/shipment-provider-img/canpar.png ADDED
Binary file
assets/shipment-provider-img/castle-parcels.png ADDED
Binary file
assets/shipment-provider-img/ceska-posta.png ADDED
Binary file
assets/shipment-provider-img/china-post.png ADDED
Binary file
assets/shipment-provider-img/chit-chats.png ADDED
Binary file
assets/shipment-provider-img/chronopost.png ADDED
Binary file
assets/shipment-provider-img/cj-logistics.png ADDED
Binary file
assets/shipment-provider-img/cjpacket.png ADDED
Binary file
assets/shipment-provider-img/cne-express.png ADDED
Binary file
assets/shipment-provider-img/colis-prive.png ADDED
Binary file
assets/shipment-provider-img/colissimo.png ADDED
Binary file
assets/shipment-provider-img/collectplus.png ADDED
Binary file
assets/shipment-provider-img/colombia-post.png ADDED
Binary file
assets/shipment-provider-img/correos-chile.png ADDED
Binary file
assets/shipment-provider-img/correos-costa-rica.png ADDED
Binary file
assets/shipment-provider-img/correos-espana.png ADDED
Binary file
assets/shipment-provider-img/correos-express.png ADDED
Binary file
assets/shipment-provider-img/costa-rica-post.png ADDED
Binary file
assets/shipment-provider-img/courierpost.png ADDED
Binary file
assets/shipment-provider-img/couriersplease.png ADDED
Binary file
assets/shipment-provider-img/croatia-post.png ADDED
Binary file
assets/shipment-provider-img/cyprus-post.png ADDED
Binary file
assets/shipment-provider-img/dai-post.png ADDED
Binary file
assets/shipment-provider-img/dawn-wing.png ADDED
Binary file
assets/shipment-provider-img/db-schenker.png ADDED
Binary file
assets/shipment-provider-img/delhivery.png ADDED
Binary file
assets/shipment-provider-img/deliv.png ADDED
Binary file
assets/shipment-provider-img/dellin.png ADDED
Binary file
assets/shipment-provider-img/denmark-post.png ADDED
Binary file
assets/shipment-provider-img/deppon.png ADDED
Binary file
assets/shipment-provider-img/deutsche-post-dhl.png ADDED
Binary file
assets/shipment-provider-img/deutsche-post.png ADDED
Binary file
assets/shipment-provider-img/dhl-at.png ADDED
Binary file
assets/shipment-provider-img/dhl-cz.png ADDED
Binary file
assets/shipment-provider-img/dhl-ecommerce.png ADDED
Binary file
assets/shipment-provider-img/dhl-express-uk.png ADDED
Binary file
assets/shipment-provider-img/dhl-express.png ADDED
Binary file
assets/shipment-provider-img/dhl-freight.png ADDED
Binary file
assets/shipment-provider-img/dhl-intraship-de.png ADDED
Binary file
assets/shipment-provider-img/dhl-paket.png ADDED
Binary file
assets/shipment-provider-img/dhl-parcel-uk.png ADDED
Binary file
assets/shipment-provider-img/dhl-parcel.png ADDED
Binary file
assets/shipment-provider-img/dhl-poland.png ADDED
Binary file
assets/shipment-provider-img/dhl-se.png ADDED
Binary file
assets/shipment-provider-img/dhl-spain.png ADDED
Binary file
assets/shipment-provider-img/dhl-us.png ADDED
Binary file
assets/shipment-provider-img/dhlparcel-nl.png ADDED
Binary file
assets/shipment-provider-img/dicom.png ADDED
Binary file
assets/shipment-provider-img/direct-link.png ADDED
Binary file
assets/shipment-provider-img/dotzot.png ADDED
Binary file
assets/shipment-provider-img/dpd-at.png ADDED
Binary file
assets/shipment-provider-img/dpd-cz.png ADDED
Binary file
assets/shipment-provider-img/dpd-de.png ADDED
Binary file
assets/shipment-provider-img/dpd-fr.png ADDED
Binary file
assets/shipment-provider-img/dpd-ie.png ADDED
Binary file
assets/shipment-provider-img/dpd-nl.png ADDED
Binary file
assets/shipment-provider-img/dpd-poland.png ADDED
Binary file
assets/shipment-provider-img/dpd-portugal.png ADDED
Binary file
assets/shipment-provider-img/dpd-romania.png ADDED
Binary file
assets/shipment-provider-img/dpd-slovenia.png ADDED
Binary file
assets/shipment-provider-img/dpd-uk.png ADDED
Binary file
assets/shipment-provider-img/dtdc-plus.png ADDED
Binary file
assets/shipment-provider-img/dtdc.png ADDED
Binary file
assets/shipment-provider-img/dx-mail.png ADDED
Binary file
assets/shipment-provider-img/ec-firstclass.png ADDED
Binary file
assets/shipment-provider-img/ecom-express.png ADDED
Binary file
assets/shipment-provider-img/ekart.png ADDED
Binary file
assets/shipment-provider-img/elta-courier.png ADDED
Binary file
assets/shipment-provider-img/ems.png ADDED
Binary file
assets/shipment-provider-img/epacket.png ADDED
Binary file
assets/shipment-provider-img/estonia-post.png ADDED
Binary file
assets/shipment-provider-img/ethiopia-post.png ADDED
Binary file
assets/shipment-provider-img/fastway-au.png ADDED
Binary file
assets/shipment-provider-img/fastway-ireland.png ADDED
Binary file
assets/shipment-provider-img/fastway-nz.png ADDED
Binary file
assets/shipment-provider-img/fedex-freight.png ADDED
Binary file
assets/shipment-provider-img/fedex-ground.png ADDED
Binary file
assets/shipment-provider-img/fedex-poland.png ADDED
Binary file
assets/shipment-provider-img/fedex-sameday.png ADDED
Binary file
assets/shipment-provider-img/fedex-uk.png ADDED
Binary file
assets/shipment-provider-img/fedex.png ADDED
Binary file
assets/shipment-provider-img/finland-post.png ADDED
Binary file
assets/shipment-provider-img/gati.png ADDED
Binary file
assets/shipment-provider-img/gig-logistics.png ADDED
Binary file
assets/shipment-provider-img/global-order-tracking.png ADDED
Binary file
assets/shipment-provider-img/gls-denmark.png ADDED
Binary file
assets/shipment-provider-img/gls-europe.png ADDED
Binary file
assets/shipment-provider-img/gls-france.png ADDED
Binary file
assets/shipment-provider-img/gls-italy.png ADDED
Binary file
assets/shipment-provider-img/gls-netherlands.png ADDED
Binary file
assets/shipment-provider-img/gls-paket.png ADDED
Binary file
assets/shipment-provider-img/gls-slovenia.png ADDED
Binary file
assets/shipment-provider-img/gls-spain.png ADDED
Binary file
assets/shipment-provider-img/gso.png ADDED
Binary file
assets/shipment-provider-img/hermes-germany.png ADDED
Binary file
assets/shipment-provider-img/hermes-world.png ADDED
Binary file
assets/shipment-provider-img/hfd.png ADDED
Binary file
assets/shipment-provider-img/hong-kong-post.png ADDED
Binary file
assets/shipment-provider-img/india-post.png ADDED
Binary file
assets/shipment-provider-img/interlink.png ADDED
Binary file
assets/shipment-provider-img/israel-post.png ADDED
Binary file
assets/shipment-provider-img/ivory-coast-ems.png ADDED
Binary file
assets/shipment-provider-img/jcex.png ADDED
Binary file
assets/shipment-provider-img/jet-express.png ADDED
Binary file
assets/shipment-provider-img/jne.png ADDED
Binary file
assets/shipment-provider-img/jp-post.png ADDED
Binary file
assets/shipment-provider-img/jt.png ADDED
Binary file
assets/shipment-provider-img/kerry-express.png ADDED
Binary file
assets/shipment-provider-img/korea-post.png ADDED
Binary file
assets/shipment-provider-img/la-poste.png ADDED
Binary file
assets/shipment-provider-img/landmark-global.png ADDED
Binary file
assets/shipment-provider-img/laos-post.png ADDED
Binary file
assets/shipment-provider-img/lasership.png ADDED
Binary file
assets/shipment-provider-img/latvijas-pasts.png ADDED
Binary file
assets/shipment-provider-img/lion-parcel.png ADDED
Binary file
assets/shipment-provider-img/lithuania-post.png ADDED
Binary file
assets/shipment-provider-img/loomis-express.png ADDED
Binary file
assets/shipment-provider-img/luxembourg-post.png ADDED
Binary file
assets/shipment-provider-img/magyar-posta.png ADDED
Binary file
assets/shipment-provider-img/mail-boxes-etc.png ADDED
Binary file
assets/shipment-provider-img/malaysia-post.png ADDED
Binary file
assets/shipment-provider-img/mng-kargo.png ADDED
Binary file
assets/shipment-provider-img/monaco-ems.png ADDED
Binary file
assets/shipment-provider-img/mondial-relay.png ADDED
Binary file
assets/shipment-provider-img/mrw-portugal.png ADDED
Binary file
assets/shipment-provider-img/mrw.png ADDED
Binary file
assets/shipment-provider-img/nacex.png ADDED
Binary file
assets/shipment-provider-img/naqel.png ADDED
Binary file
assets/shipment-provider-img/new-zealand-post.png ADDED
Binary file
assets/shipment-provider-img/ninja-express.png ADDED
Binary file
assets/shipment-provider-img/ninja-van.png ADDED
Binary file
assets/shipment-provider-img/now-couriers.png ADDED
Binary file
assets/shipment-provider-img/nz-couriers.png ADDED
Binary file
assets/shipment-provider-img/ontime.png ADDED
Binary file
assets/shipment-provider-img/ontrac.png ADDED
Binary file
assets/shipment-provider-img/overseas-territory-fr-ems.png ADDED
Binary file
assets/shipment-provider-img/palletways.png ADDED
Binary file
assets/shipment-provider-img/parcelforce.png ADDED
Binary file
assets/shipment-provider-img/poland-post.png ADDED
Binary file
assets/shipment-provider-img/portugal-post-ctt.png ADDED
Binary file
assets/shipment-provider-img/pos-indonesia.png ADDED
Binary file
assets/shipment-provider-img/post-at.png ADDED
Binary file
assets/shipment-provider-img/post-haste.png ADDED
Binary file
assets/shipment-provider-img/poste-italiane.png ADDED
Binary file
assets/shipment-provider-img/poste-maroc.png ADDED
Binary file
assets/shipment-provider-img/posten-norge.png ADDED
Binary file
assets/shipment-provider-img/postnl-international-3s.png ADDED
Binary file
assets/shipment-provider-img/postnl.png ADDED
Binary file
assets/shipment-provider-img/postnord-sverige-ab.png ADDED
Binary file
assets/shipment-provider-img/ptt-kargo.png ADDED
Binary file
assets/shipment-provider-img/purolator.png ADDED
Binary file
assets/shipment-provider-img/raben.png ADDED
Binary file
assets/shipment-provider-img/redpack.png ADDED
Binary file
assets/shipment-provider-img/redur-spain.png ADDED
Binary file
assets/shipment-provider-img/royal-mail.png ADDED
Binary file
assets/shipment-provider-img/russian-post.png ADDED
Binary file
assets/shipment-provider-img/s-f-express.png ADDED
Binary file
assets/shipment-provider-img/sagawa.png ADDED
Binary file
assets/shipment-provider-img/saudi-post.png ADDED
Binary file
assets/shipment-provider-img/sda.png ADDED
Binary file
assets/shipment-provider-img/sendle.png ADDED
Binary file
assets/shipment-provider-img/serbia-post.png ADDED
Binary file
assets/shipment-provider-img/shadowfax.png ADDED
Binary file
assets/shipment-provider-img/shree-maruti-courier.png ADDED
Binary file
assets/shipment-provider-img/shree-tirupati-courier.png ADDED
Binary file
assets/shipment-provider-img/sicepat.png ADDED
Binary file
assets/shipment-provider-img/singapore-post.png ADDED
Binary file
assets/shipment-provider-img/skynet-worldwide-express.png ADDED
Binary file
assets/shipment-provider-img/skynet.png ADDED
Binary file
assets/shipment-provider-img/smsa-express.png ADDED
Binary file
assets/shipment-provider-img/south-african-post-office.png ADDED
Binary file
assets/shipment-provider-img/spee-dee.png ADDED
Binary file
assets/shipment-provider-img/speedex-courier.png ADDED
Binary file
assets/shipment-provider-img/startrack.png ADDED
Binary file
assets/shipment-provider-img/swiss-post.png ADDED
Binary file
assets/shipment-provider-img/thailand-post.png ADDED
Binary file
assets/shipment-provider-img/the-professional-couriers.png ADDED
Binary file
assets/shipment-provider-img/tiki.png ADDED
Binary file
assets/shipment-provider-img/tipsa.png ADDED
Binary file
assets/shipment-provider-img/tnt-australia.png ADDED
Binary file
assets/shipment-provider-img/tnt-click.png ADDED
Binary file
assets/shipment-provider-img/tnt-france.png ADDED
Binary file
assets/shipment-provider-img/tnt-italy.png ADDED
Binary file
assets/shipment-provider-img/tnt-reference.png ADDED
Binary file
assets/shipment-provider-img/tnt-sweden.png ADDED
Binary file
assets/shipment-provider-img/tnt-uk.png ADDED
Binary file
assets/shipment-provider-img/tnt.png ADDED
Binary file
assets/shipment-provider-img/toll-ipec.png ADDED
Binary file
assets/shipment-provider-img/toll.png ADDED
Binary file
assets/shipment-provider-img/trackon.png ADDED
Binary file
assets/shipment-provider-img/turkey-post.png ADDED
Binary file
assets/shipment-provider-img/turkish-post.png ADDED
Binary file
assets/shipment-provider-img/ubi-smart-parcel.png ADDED
Binary file
assets/shipment-provider-img/ukraine-ems.png ADDED
Binary file
assets/shipment-provider-img/ukrposhta.png ADDED
Binary file
assets/shipment-provider-img/ups-germany.png ADDED
Binary file
assets/shipment-provider-img/ups-i-parcel.png ADDED
Binary file
assets/shipment-provider-img/ups-se.png ADDED
Binary file
assets/shipment-provider-img/ups.png ADDED
Binary file
assets/{images → shipment-provider-img}/usps.png RENAMED
File without changes
assets/shipment-provider-img/vietnam-post.png ADDED
Binary file
assets/shipment-provider-img/wahana.png ADDED
Binary file
assets/shipment-provider-img/xpressbees.png ADDED
Binary file
assets/shipment-provider-img/yamato.png ADDED
Binary file
assets/shipment-provider-img/yanwen.png ADDED
Binary file
assets/shipment-provider-img/yodel.png ADDED
Binary file
assets/shipment-provider-img/yun-express-tracking.png ADDED
Binary file
assets/shipment-provider-img/yurtici-kargo.png ADDED
Binary file
ast-shipping-providers.zip ADDED
Binary file
includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php CHANGED
@@ -8,652 +8,16 @@ if ( ! defined( 'ABSPATH' ) ) {
8
  *
9
  * Handles requests to /orders/shipment-tracking endpoint.
10
  *
11
- * @since 1.5.0
12
  */
13
 
14
- class WC_Advanced_Shipment_Tracking_REST_API_Controller extends WC_REST_Controller {
15
 
16
  /**
17
  * Endpoint namespace.
18
  *
19
  * @var string
20
  */
21
- protected $namespace = 'wc-ast/v3';
22
 
23
- /**
24
- * Route base.
25
- *
26
- * @var string
27
- */
28
- protected $rest_base = 'orders/(?P<order_id>[\d]+)/shipment-trackings';
29
-
30
- /**
31
- * Post type.
32
- *
33
- * @var string
34
- */
35
- protected $post_type = 'shop_order';
36
-
37
- /**
38
- * Set namespace
39
- *
40
- * @return WC_Advanced_Shipment_Tracking_REST_API_Controller
41
- */
42
- public function set_namespace( $namespace ) {
43
- $this->namespace = $namespace;
44
- return $this;
45
- }
46
-
47
- /**
48
- * Register the routes for trackings.
49
- */
50
- public function register_routes() {
51
- register_rest_route( $this->namespace, '/' . $this->rest_base, array(
52
- array(
53
- 'methods' => WP_REST_Server::READABLE,
54
- 'callback' => array( $this, 'get_items' ),
55
- 'permission_callback' => array( $this, 'get_items_permissions_check' ),
56
- 'args' => $this->get_collection_params(),
57
- ),
58
- array(
59
- 'methods' => WP_REST_Server::CREATABLE,
60
- 'callback' => array( $this, 'create_item' ),
61
- 'permission_callback' => array( $this, 'create_item_permissions_check' ),
62
- 'args' => array_merge( $this->get_endpoint_args_for_item_schema( WP_REST_Server::CREATABLE ), array(
63
- 'tracking_number' => array(
64
- 'required' => true,
65
- ),
66
- ) ),
67
- ),
68
- 'schema' => array( $this, 'get_public_item_schema' ),
69
- ) );
70
-
71
- register_rest_route( $this->namespace, '/' . $this->rest_base . '/providers', array(
72
- array(
73
- 'methods' => WP_REST_Server::READABLE,
74
- 'callback' => array( $this, 'get_providers' ),
75
- 'permission_callback' => array( $this, 'get_items_permissions_check' ),
76
- ),
77
- ) );
78
-
79
- register_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P<id>[a-fA-F0-9]{0,32})', array(
80
- array(
81
- 'methods' => WP_REST_Server::READABLE,
82
- 'callback' => array( $this, 'get_item' ),
83
- 'permission_callback' => array( $this, 'get_item_permissions_check' ),
84
- 'args' => array(
85
- 'context' => $this->get_context_param( array( 'default' => 'view' ) ),
86
- ),
87
- ),
88
- array(
89
- 'methods' => WP_REST_Server::DELETABLE,
90
- 'callback' => array( $this, 'delete_item' ),
91
- 'permission_callback' => array( $this, 'delete_item_permissions_check' ),
92
- ),
93
- 'schema' => array( $this, 'get_public_item_schema' ),
94
- ) );
95
-
96
- if ( !function_exists( 'trackship_for_woocommerce' ) ) {
97
-
98
- //disconnect_from_trackship
99
- register_rest_route( $this->namespace, '/disconnect_from_trackship', array(
100
- array(
101
- 'methods' => WP_REST_Server::CREATABLE,
102
- 'callback' => array( $this, 'disconnect_from_trackship_fun' ),
103
- 'permission_callback' => array( $this, 'get_item_permissions_check' ),
104
- 'args' => array_merge( $this->get_endpoint_args_for_item_schema( WP_REST_Server::CREATABLE ), array(
105
- 'user_key' => array(
106
- 'required' => true,
107
- ),
108
- ) ),
109
- ),
110
- 'schema' => array( $this, 'get_public_item_schema' ),
111
- ) );
112
-
113
- //tracking webhook
114
- register_rest_route( $this->namespace, '/tracking-webhook', array(
115
- array(
116
- 'methods' => 'POST',
117
- 'callback' => array( $this, 'tracking_webhook' ),
118
- 'permission_callback' => array( $this, 'create_item_permissions_check' ),
119
- ),
120
- 'schema' => array( $this, 'get_public_item_schema' ),
121
- ) );
122
-
123
- //check_wcast_installed
124
- register_rest_route( $this->namespace, '/check_wcast_installed', array(
125
- array(
126
- 'methods' => 'POST',
127
- 'callback' => array( $this, 'check_wcast_installed' ),
128
- 'permission_callback' => array( $this, 'get_item_permissions_check' ),
129
- ),
130
- 'schema' => array( $this, 'get_public_item_schema' ),
131
- ) );
132
-
133
- // this is use for sendle
134
- register_rest_route( $this->namespace, '/check_wcast_installed_from_third_party_tool', array(
135
- array(
136
- 'methods' => 'GET',
137
- 'callback' => array( $this, 'check_wcast_installed_from_third_party_tool' ),
138
- 'permission_callback' => array( $this, 'get_item_permissions_check' ),
139
- ),
140
- 'schema' => array( $this, 'get_public_item_schema' ),
141
- ) );
142
- }
143
- }
144
-
145
- /*
146
- * check_wcast_installed_from_third_party_tool
147
- */
148
- public function check_wcast_installed_from_third_party_tool( $request ) {
149
-
150
- $data = array(
151
- 'status' => 'installed'
152
- );
153
- return rest_ensure_response( $data );
154
- }
155
-
156
- /*
157
- * check_wcast_installed
158
- */
159
- public function check_wcast_installed( $request ) {
160
-
161
- $wc_ast_api_key = get_option('wc_ast_api_k
8
  *
9
  * Handles requests to /orders/shipment-tracking endpoint.
10
  *
11
+ * @since 2.0
12
  */
13
 
14
+ class WC_Advanced_Shipment_Tracking_REST_API_Controller extends WC_Advanced_Shipment_Tracking_V1_REST_API_Controller {
15
 
16
  /**
17
  * Endpoint namespace.
18
  *
19
  * @var string
20
  */
21
+ protected $namespace = 'wc/v2';
22