engine2 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +2 -0
  3. data/Rakefile +138 -0
  4. data/conf/message.yaml +93 -0
  5. data/conf/message_pl.yaml +93 -0
  6. data/engine2.gemspec +34 -0
  7. data/lib/engine2.rb +34 -0
  8. data/lib/engine2/action.rb +217 -0
  9. data/lib/engine2/core.rb +572 -0
  10. data/lib/engine2/handler.rb +134 -0
  11. data/lib/engine2/meta.rb +969 -0
  12. data/lib/engine2/meta/decode_meta.rb +110 -0
  13. data/lib/engine2/meta/delete_meta.rb +73 -0
  14. data/lib/engine2/meta/form_meta.rb +144 -0
  15. data/lib/engine2/meta/infra_meta.rb +292 -0
  16. data/lib/engine2/meta/link_meta.rb +133 -0
  17. data/lib/engine2/meta/list_meta.rb +284 -0
  18. data/lib/engine2/meta/save_meta.rb +63 -0
  19. data/lib/engine2/meta/view_meta.rb +22 -0
  20. data/lib/engine2/model.rb +390 -0
  21. data/lib/engine2/models/Files.rb +38 -0
  22. data/lib/engine2/models/UserInfo.rb +24 -0
  23. data/lib/engine2/post_bootstrap.rb +83 -0
  24. data/lib/engine2/pre_bootstrap.rb +27 -0
  25. data/lib/engine2/scheme.rb +202 -0
  26. data/lib/engine2/templates.rb +229 -0
  27. data/lib/engine2/type_info.rb +342 -0
  28. data/lib/engine2/version.rb +9 -0
  29. data/public/assets/javascripts.js +13 -0
  30. data/public/assets/styles.css +4 -0
  31. data/public/css/angular-motion.css +1022 -0
  32. data/public/css/angular-ui-tree.min.css +1 -0
  33. data/public/css/app.css +196 -0
  34. data/public/css/bootstrap-additions.css +1560 -0
  35. data/public/css/bootstrap.min.css +11 -0
  36. data/public/css/font-awesome.min.css +4 -0
  37. data/public/favicon.ico +0 -0
  38. data/public/fonts/FontAwesome.otf +0 -0
  39. data/public/fonts/fontawesome-webfont.eot +0 -0
  40. data/public/fonts/fontawesome-webfont.svg +655 -0
  41. data/public/fonts/fontawesome-webfont.ttf +0 -0
  42. data/public/fonts/fontawesome-webfont.woff +0 -0
  43. data/public/fonts/fontawesome-webfont.woff2 +0 -0
  44. data/public/fonts/glyphicons-halflings-regular.eot +0 -0
  45. data/public/fonts/glyphicons-halflings-regular.svg +288 -0
  46. data/public/fonts/glyphicons-halflings-regular.ttf +0 -0
  47. data/public/fonts/glyphicons-halflings-regular.woff +0 -0
  48. data/public/fonts/glyphicons-halflings-regular.woff2 +0 -0
  49. data/public/images/file.png +0 -0
  50. data/public/images/folder-closed.png +0 -0
  51. data/public/images/folder.png +0 -0
  52. data/public/images/node-closed-2.png +0 -0
  53. data/public/images/node-closed-light.png +0 -0
  54. data/public/images/node-closed.png +0 -0
  55. data/public/images/node-opened-2.png +0 -0
  56. data/public/images/node-opened-light.png +0 -0
  57. data/public/images/node-opened.png +0 -0
  58. data/public/img/ajax-loader-dark.gif +0 -0
  59. data/public/img/ajax-loader-light.gif +0 -0
  60. data/public/img/ajax-loader.gif +0 -0
  61. data/public/js/angular-animate.js +4115 -0
  62. data/public/js/angular-cookies.js +322 -0
  63. data/public/js/angular-local-storage.js +455 -0
  64. data/public/js/angular-route.js +1022 -0
  65. data/public/js/angular-sanitize.js +717 -0
  66. data/public/js/angular-strap.js +4339 -0
  67. data/public/js/angular-strap.tpl.js +43 -0
  68. data/public/js/angular-ui-tree.js +1569 -0
  69. data/public/js/angular.js +30714 -0
  70. data/public/js/i18n/angular-locale_pl.js +115 -0
  71. data/public/js/lodash.custom.min.js +97 -0
  72. data/public/js/ng-file-upload-shim.min.js +2 -0
  73. data/public/js/ng-file-upload.min.js +3 -0
  74. data/views/app.coffee +3 -0
  75. data/views/engine2.coffee +557 -0
  76. data/views/engine2actions.coffee +849 -0
  77. data/views/engine2templates.coffee +0 -0
  78. data/views/fields/blob.slim +22 -0
  79. data/views/fields/bs_select.slim +10 -0
  80. data/views/fields/bsselect_picker.slim +18 -0
  81. data/views/fields/bsselect_picker_opt.slim +22 -0
  82. data/views/fields/checkbox.slim +11 -0
  83. data/views/fields/checkbox_buttons.slim +6 -0
  84. data/views/fields/checkbox_buttons_opt.slim +8 -0
  85. data/views/fields/currency.slim +10 -0
  86. data/views/fields/date.slim +21 -0
  87. data/views/fields/date_range.slim +44 -0
  88. data/views/fields/date_time.slim +42 -0
  89. data/views/fields/datetime.slim +42 -0
  90. data/views/fields/decimal.slim +11 -0
  91. data/views/fields/decimal_date.slim +22 -0
  92. data/views/fields/decimal_time.slim +26 -0
  93. data/views/fields/email.slim +13 -0
  94. data/views/fields/file_store.slim +61 -0
  95. data/views/fields/input_text.slim +14 -0
  96. data/views/fields/integer.slim +11 -0
  97. data/views/fields/list_bsselect.slim +18 -0
  98. data/views/fields/list_bsselect_opt.slim +21 -0
  99. data/views/fields/list_buttons.slim +3 -0
  100. data/views/fields/list_buttons_opt.slim +5 -0
  101. data/views/fields/list_select.slim +11 -0
  102. data/views/fields/list_select_opt.slim +15 -0
  103. data/views/fields/password.slim +14 -0
  104. data/views/fields/radio_checkbox.slim +10 -0
  105. data/views/fields/scaffold.slim +2 -0
  106. data/views/fields/scaffold_picker.slim +20 -0
  107. data/views/fields/select_picker.slim +12 -0
  108. data/views/fields/select_picker_opt.slim +16 -0
  109. data/views/fields/text_area.slim +10 -0
  110. data/views/fields/time.slim +22 -0
  111. data/views/fields/typeahead_picker.slim +25 -0
  112. data/views/index.slim +44 -0
  113. data/views/infra/index.slim +5 -0
  114. data/views/infra/inspect.slim +81 -0
  115. data/views/modals/close_m.slim +15 -0
  116. data/views/modals/confirm_m.slim +19 -0
  117. data/views/modals/empty_m.slim +12 -0
  118. data/views/modals/menu_m.slim +13 -0
  119. data/views/modals/yes_no_m.slim +19 -0
  120. data/views/panels/menu_m.slim +9 -0
  121. data/views/scaffold/confirm.slim +3 -0
  122. data/views/scaffold/fields.slim +10 -0
  123. data/views/scaffold/form.slim +11 -0
  124. data/views/scaffold/list.slim +42 -0
  125. data/views/scaffold/message.slim +3 -0
  126. data/views/scaffold/search.slim +20 -0
  127. data/views/scaffold/view.slim +18 -0
  128. data/views/search_fields/bsmselect_picker.slim +25 -0
  129. data/views/search_fields/bsselect_picker.slim +24 -0
  130. data/views/search_fields/checkbox.slim +11 -0
  131. data/views/search_fields/checkbox2.slim +14 -0
  132. data/views/search_fields/checkbox_buttons.slim +10 -0
  133. data/views/search_fields/date_range.slim +46 -0
  134. data/views/search_fields/decimal_date_range.slim +47 -0
  135. data/views/search_fields/input_text.slim +18 -0
  136. data/views/search_fields/integer.slim +18 -0
  137. data/views/search_fields/integer_range.slim +27 -0
  138. data/views/search_fields/list_bsmselect.slim +24 -0
  139. data/views/search_fields/list_bsselect.slim +22 -0
  140. data/views/search_fields/list_buttons.slim +8 -0
  141. data/views/search_fields/list_select.slim +17 -0
  142. data/views/search_fields/scaffold_picker.slim +19 -0
  143. data/views/search_fields/select_picker.slim +17 -0
  144. data/views/search_fields/typeahead_picker.slim +25 -0
  145. metadata +327 -0
@@ -0,0 +1,288 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata></metadata>
5
+ <defs>
6
+ <font id="glyphicons_halflingsregular" horiz-adv-x="1200" >
7
+ <font-face units-per-em="1200" ascent="960" descent="-240" />
8
+ <missing-glyph horiz-adv-x="500" />
9
+ <glyph horiz-adv-x="0" />
10
+ <glyph horiz-adv-x="400" />
11
+ <glyph unicode=" " />
12
+ <glyph unicode="*" d="M600 1100q15 0 34 -1.5t30 -3.5l11 -1q10 -2 17.5 -10.5t7.5 -18.5v-224l158 158q7 7 18 8t19 -6l106 -106q7 -8 6 -19t-8 -18l-158 -158h224q10 0 18.5 -7.5t10.5 -17.5q6 -41 6 -75q0 -15 -1.5 -34t-3.5 -30l-1 -11q-2 -10 -10.5 -17.5t-18.5 -7.5h-224l158 -158 q7 -7 8 -18t-6 -19l-106 -106q-8 -7 -19 -6t-18 8l-158 158v-224q0 -10 -7.5 -18.5t-17.5 -10.5q-41 -6 -75 -6q-15 0 -34 1.5t-30 3.5l-11 1q-10 2 -17.5 10.5t-7.5 18.5v224l-158 -158q-7 -7 -18 -8t-19 6l-106 106q-7 8 -6 19t8 18l158 158h-224q-10 0 -18.5 7.5 t-10.5 17.5q-6 41 -6 75q0 15 1.5 34t3.5 30l1 11q2 10 10.5 17.5t18.5 7.5h224l-158 158q-7 7 -8 18t6 19l106 106q8 7 19 6t18 -8l158 -158v224q0 10 7.5 18.5t17.5 10.5q41 6 75 6z" />
13
+ <glyph unicode="+" d="M450 1100h200q21 0 35.5 -14.5t14.5 -35.5v-350h350q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-350v-350q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v350h-350q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5 h350v350q0 21 14.5 35.5t35.5 14.5z" />
14
+ <glyph unicode="&#xa0;" />
15
+ <glyph unicode="&#xa5;" d="M825 1100h250q10 0 12.5 -5t-5.5 -13l-364 -364q-6 -6 -11 -18h268q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-125v-100h275q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-125v-174q0 -11 -7.5 -18.5t-18.5 -7.5h-148q-11 0 -18.5 7.5t-7.5 18.5v174 h-275q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h125v100h-275q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h118q-5 12 -11 18l-364 364q-8 8 -5.5 13t12.5 5h250q25 0 43 -18l164 -164q8 -8 18 -8t18 8l164 164q18 18 43 18z" />
16
+ <glyph unicode="&#x2000;" horiz-adv-x="650" />
17
+ <glyph unicode="&#x2001;" horiz-adv-x="1300" />
18
+ <glyph unicode="&#x2002;" horiz-adv-x="650" />
19
+ <glyph unicode="&#x2003;" horiz-adv-x="1300" />
20
+ <glyph unicode="&#x2004;" horiz-adv-x="433" />
21
+ <glyph unicode="&#x2005;" horiz-adv-x="325" />
22
+ <glyph unicode="&#x2006;" horiz-adv-x="216" />
23
+ <glyph unicode="&#x2007;" horiz-adv-x="216" />
24
+ <glyph unicode="&#x2008;" horiz-adv-x="162" />
25
+ <glyph unicode="&#x2009;" horiz-adv-x="260" />
26
+ <glyph unicode="&#x200a;" horiz-adv-x="72" />
27
+ <glyph unicode="&#x202f;" horiz-adv-x="260" />
28
+ <glyph unicode="&#x205f;" horiz-adv-x="325" />
29
+ <glyph unicode="&#x20ac;" d="M744 1198q242 0 354 -189q60 -104 66 -209h-181q0 45 -17.5 82.5t-43.5 61.5t-58 40.5t-60.5 24t-51.5 7.5q-19 0 -40.5 -5.5t-49.5 -20.5t-53 -38t-49 -62.5t-39 -89.5h379l-100 -100h-300q-6 -50 -6 -100h406l-100 -100h-300q9 -74 33 -132t52.5 -91t61.5 -54.5t59 -29 t47 -7.5q22 0 50.5 7.5t60.5 24.5t58 41t43.5 61t17.5 80h174q-30 -171 -128 -278q-107 -117 -274 -117q-206 0 -324 158q-36 48 -69 133t-45 204h-217l100 100h112q1 47 6 100h-218l100 100h134q20 87 51 153.5t62 103.5q117 141 297 141z" />
30
+ <glyph unicode="&#x20bd;" d="M428 1200h350q67 0 120 -13t86 -31t57 -49.5t35 -56.5t17 -64.5t6.5 -60.5t0.5 -57v-16.5v-16.5q0 -36 -0.5 -57t-6.5 -61t-17 -65t-35 -57t-57 -50.5t-86 -31.5t-120 -13h-178l-2 -100h288q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-138v-175q0 -11 -5.5 -18 t-15.5 -7h-149q-10 0 -17.5 7.5t-7.5 17.5v175h-267q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h117v100h-267q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h117v475q0 10 7.5 17.5t17.5 7.5zM600 1000v-300h203q64 0 86.5 33t22.5 119q0 84 -22.5 116t-86.5 32h-203z" />
31
+ <glyph unicode="&#x2212;" d="M250 700h800q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5z" />
32
+ <glyph unicode="&#x231b;" d="M1000 1200v-150q0 -21 -14.5 -35.5t-35.5 -14.5h-50v-100q0 -91 -49.5 -165.5t-130.5 -109.5q81 -35 130.5 -109.5t49.5 -165.5v-150h50q21 0 35.5 -14.5t14.5 -35.5v-150h-800v150q0 21 14.5 35.5t35.5 14.5h50v150q0 91 49.5 165.5t130.5 109.5q-81 35 -130.5 109.5 t-49.5 165.5v100h-50q-21 0 -35.5 14.5t-14.5 35.5v150h800zM400 1000v-100q0 -60 32.5 -109.5t87.5 -73.5q28 -12 44 -37t16 -55t-16 -55t-44 -37q-55 -24 -87.5 -73.5t-32.5 -109.5v-150h400v150q0 60 -32.5 109.5t-87.5 73.5q-28 12 -44 37t-16 55t16 55t44 37 q55 24 87.5 73.5t32.5 109.5v100h-400z" />
33
+ <glyph unicode="&#x25fc;" horiz-adv-x="500" d="M0 0z" />
34
+ <glyph unicode="&#x2601;" d="M503 1089q110 0 200.5 -59.5t134.5 -156.5q44 14 90 14q120 0 205 -86.5t85 -206.5q0 -121 -85 -207.5t-205 -86.5h-750q-79 0 -135.5 57t-56.5 137q0 69 42.5 122.5t108.5 67.5q-2 12 -2 37q0 153 108 260.5t260 107.5z" />
35
+ <glyph unicode="&#x26fa;" d="M774 1193.5q16 -9.5 20.5 -27t-5.5 -33.5l-136 -187l467 -746h30q20 0 35 -18.5t15 -39.5v-42h-1200v42q0 21 15 39.5t35 18.5h30l468 746l-135 183q-10 16 -5.5 34t20.5 28t34 5.5t28 -20.5l111 -148l112 150q9 16 27 20.5t34 -5zM600 200h377l-182 112l-195 534v-646z " />
36
+ <glyph unicode="&#x2709;" d="M25 1100h1150q10 0 12.5 -5t-5.5 -13l-564 -567q-8 -8 -18 -8t-18 8l-564 567q-8 8 -5.5 13t12.5 5zM18 882l264 -264q8 -8 8 -18t-8 -18l-264 -264q-8 -8 -13 -5.5t-5 12.5v550q0 10 5 12.5t13 -5.5zM918 618l264 264q8 8 13 5.5t5 -12.5v-550q0 -10 -5 -12.5t-13 5.5 l-264 264q-8 8 -8 18t8 18zM818 482l364 -364q8 -8 5.5 -13t-12.5 -5h-1150q-10 0 -12.5 5t5.5 13l364 364q8 8 18 8t18 -8l164 -164q8 -8 18 -8t18 8l164 164q8 8 18 8t18 -8z" />
37
+ <glyph unicode="&#x270f;" d="M1011 1210q19 0 33 -13l153 -153q13 -14 13 -33t-13 -33l-99 -92l-214 214l95 96q13 14 32 14zM1013 800l-615 -614l-214 214l614 614zM317 96l-333 -112l110 335z" />
38
+ <glyph unicode="&#xe001;" d="M700 650v-550h250q21 0 35.5 -14.5t14.5 -35.5v-50h-800v50q0 21 14.5 35.5t35.5 14.5h250v550l-500 550h1200z" />
39
+ <glyph unicode="&#xe002;" d="M368 1017l645 163q39 15 63 0t24 -49v-831q0 -55 -41.5 -95.5t-111.5 -63.5q-79 -25 -147 -4.5t-86 75t25.5 111.5t122.5 82q72 24 138 8v521l-600 -155v-606q0 -42 -44 -90t-109 -69q-79 -26 -147 -5.5t-86 75.5t25.5 111.5t122.5 82.5q72 24 138 7v639q0 38 14.5 59 t53.5 34z" />
40
+ <glyph unicode="&#xe003;" d="M500 1191q100 0 191 -39t156.5 -104.5t104.5 -156.5t39 -191l-1 -2l1 -5q0 -141 -78 -262l275 -274q23 -26 22.5 -44.5t-22.5 -42.5l-59 -58q-26 -20 -46.5 -20t-39.5 20l-275 274q-119 -77 -261 -77l-5 1l-2 -1q-100 0 -191 39t-156.5 104.5t-104.5 156.5t-39 191 t39 191t104.5 156.5t156.5 104.5t191 39zM500 1022q-88 0 -162 -43t-117 -117t-43 -162t43 -162t117 -117t162 -43t162 43t117 117t43 162t-43 162t-117 117t-162 43z" />
41
+ <glyph unicode="&#xe005;" d="M649 949q48 68 109.5 104t121.5 38.5t118.5 -20t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-150 152.5t-126.5 127.5t-93.5 124.5t-33.5 117.5q0 64 28 123t73 100.5t104 64t119 20 t120.5 -38.5t104.5 -104z" />
42
+ <glyph unicode="&#xe006;" d="M407 800l131 353q7 19 17.5 19t17.5 -19l129 -353h421q21 0 24 -8.5t-14 -20.5l-342 -249l130 -401q7 -20 -0.5 -25.5t-24.5 6.5l-343 246l-342 -247q-17 -12 -24.5 -6.5t-0.5 25.5l130 400l-347 251q-17 12 -14 20.5t23 8.5h429z" />
43
+ <glyph unicode="&#xe007;" d="M407 800l131 353q7 19 17.5 19t17.5 -19l129 -353h421q21 0 24 -8.5t-14 -20.5l-342 -249l130 -401q7 -20 -0.5 -25.5t-24.5 6.5l-343 246l-342 -247q-17 -12 -24.5 -6.5t-0.5 25.5l130 400l-347 251q-17 12 -14 20.5t23 8.5h429zM477 700h-240l197 -142l-74 -226 l193 139l195 -140l-74 229l192 140h-234l-78 211z" />
44
+ <glyph unicode="&#xe008;" d="M600 1200q124 0 212 -88t88 -212v-250q0 -46 -31 -98t-69 -52v-75q0 -10 6 -21.5t15 -17.5l358 -230q9 -5 15 -16.5t6 -21.5v-93q0 -10 -7.5 -17.5t-17.5 -7.5h-1150q-10 0 -17.5 7.5t-7.5 17.5v93q0 10 6 21.5t15 16.5l358 230q9 6 15 17.5t6 21.5v75q-38 0 -69 52 t-31 98v250q0 124 88 212t212 88z" />
45
+ <glyph unicode="&#xe009;" d="M25 1100h1150q10 0 17.5 -7.5t7.5 -17.5v-1050q0 -10 -7.5 -17.5t-17.5 -7.5h-1150q-10 0 -17.5 7.5t-7.5 17.5v1050q0 10 7.5 17.5t17.5 7.5zM100 1000v-100h100v100h-100zM875 1000h-550q-10 0 -17.5 -7.5t-7.5 -17.5v-350q0 -10 7.5 -17.5t17.5 -7.5h550 q10 0 17.5 7.5t7.5 17.5v350q0 10 -7.5 17.5t-17.5 7.5zM1000 1000v-100h100v100h-100zM100 800v-100h100v100h-100zM1000 800v-100h100v100h-100zM100 600v-100h100v100h-100zM1000 600v-100h100v100h-100zM875 500h-550q-10 0 -17.5 -7.5t-7.5 -17.5v-350q0 -10 7.5 -17.5 t17.5 -7.5h550q10 0 17.5 7.5t7.5 17.5v350q0 10 -7.5 17.5t-17.5 7.5zM100 400v-100h100v100h-100zM1000 400v-100h100v100h-100zM100 200v-100h100v100h-100zM1000 200v-100h100v100h-100z" />
46
+ <glyph unicode="&#xe010;" d="M50 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM650 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5zM50 500h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM650 500h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
47
+ <glyph unicode="&#xe011;" d="M50 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5zM850 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM850 700h200q21 0 35.5 -14.5t14.5 -35.5v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 300h200 q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM850 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5 t35.5 14.5z" />
48
+ <glyph unicode="&#xe012;" d="M50 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 1100h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5zM50 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 700h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 300h700q21 0 35.5 -14.5t14.5 -35.5v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5z" />
49
+ <glyph unicode="&#xe013;" d="M465 477l571 571q8 8 18 8t17 -8l177 -177q8 -7 8 -17t-8 -18l-783 -784q-7 -8 -17.5 -8t-17.5 8l-384 384q-8 8 -8 18t8 17l177 177q7 8 17 8t18 -8l171 -171q7 -7 18 -7t18 7z" />
50
+ <glyph unicode="&#xe014;" d="M904 1083l178 -179q8 -8 8 -18.5t-8 -17.5l-267 -268l267 -268q8 -7 8 -17.5t-8 -18.5l-178 -178q-8 -8 -18.5 -8t-17.5 8l-268 267l-268 -267q-7 -8 -17.5 -8t-18.5 8l-178 178q-8 8 -8 18.5t8 17.5l267 268l-267 268q-8 7 -8 17.5t8 18.5l178 178q8 8 18.5 8t17.5 -8 l268 -267l268 268q7 7 17.5 7t18.5 -7z" />
51
+ <glyph unicode="&#xe015;" d="M507 1177q98 0 187.5 -38.5t154.5 -103.5t103.5 -154.5t38.5 -187.5q0 -141 -78 -262l300 -299q8 -8 8 -18.5t-8 -18.5l-109 -108q-7 -8 -17.5 -8t-18.5 8l-300 299q-119 -77 -261 -77q-98 0 -188 38.5t-154.5 103t-103 154.5t-38.5 188t38.5 187.5t103 154.5 t154.5 103.5t188 38.5zM506.5 1023q-89.5 0 -165.5 -44t-120 -120.5t-44 -166t44 -165.5t120 -120t165.5 -44t166 44t120.5 120t44 165.5t-44 166t-120.5 120.5t-166 44zM425 900h150q10 0 17.5 -7.5t7.5 -17.5v-75h75q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5 t-17.5 -7.5h-75v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-75q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h75v75q0 10 7.5 17.5t17.5 7.5z" />
52
+ <glyph unicode="&#xe016;" d="M507 1177q98 0 187.5 -38.5t154.5 -103.5t103.5 -154.5t38.5 -187.5q0 -141 -78 -262l300 -299q8 -8 8 -18.5t-8 -18.5l-109 -108q-7 -8 -17.5 -8t-18.5 8l-300 299q-119 -77 -261 -77q-98 0 -188 38.5t-154.5 103t-103 154.5t-38.5 188t38.5 187.5t103 154.5 t154.5 103.5t188 38.5zM506.5 1023q-89.5 0 -165.5 -44t-120 -120.5t-44 -166t44 -165.5t120 -120t165.5 -44t166 44t120.5 120t44 165.5t-44 166t-120.5 120.5t-166 44zM325 800h350q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-350q-10 0 -17.5 7.5 t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
53
+ <glyph unicode="&#xe017;" d="M550 1200h100q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM800 975v166q167 -62 272 -209.5t105 -331.5q0 -117 -45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5 t-184.5 123t-123 184.5t-45.5 224q0 184 105 331.5t272 209.5v-166q-103 -55 -165 -155t-62 -220q0 -116 57 -214.5t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5q0 120 -62 220t-165 155z" />
54
+ <glyph unicode="&#xe018;" d="M1025 1200h150q10 0 17.5 -7.5t7.5 -17.5v-1150q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v1150q0 10 7.5 17.5t17.5 7.5zM725 800h150q10 0 17.5 -7.5t7.5 -17.5v-750q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v750 q0 10 7.5 17.5t17.5 7.5zM425 500h150q10 0 17.5 -7.5t7.5 -17.5v-450q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v450q0 10 7.5 17.5t17.5 7.5zM125 300h150q10 0 17.5 -7.5t7.5 -17.5v-250q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5 v250q0 10 7.5 17.5t17.5 7.5z" />
55
+ <glyph unicode="&#xe019;" d="M600 1174q33 0 74 -5l38 -152l5 -1q49 -14 94 -39l5 -2l134 80q61 -48 104 -105l-80 -134l3 -5q25 -44 39 -93l1 -6l152 -38q5 -43 5 -73q0 -34 -5 -74l-152 -38l-1 -6q-15 -49 -39 -93l-3 -5l80 -134q-48 -61 -104 -105l-134 81l-5 -3q-44 -25 -94 -39l-5 -2l-38 -151 q-43 -5 -74 -5q-33 0 -74 5l-38 151l-5 2q-49 14 -94 39l-5 3l-134 -81q-60 48 -104 105l80 134l-3 5q-25 45 -38 93l-2 6l-151 38q-6 42 -6 74q0 33 6 73l151 38l2 6q13 48 38 93l3 5l-80 134q47 61 105 105l133 -80l5 2q45 25 94 39l5 1l38 152q43 5 74 5zM600 815 q-89 0 -152 -63t-63 -151.5t63 -151.5t152 -63t152 63t63 151.5t-63 151.5t-152 63z" />
56
+ <glyph unicode="&#xe020;" d="M500 1300h300q41 0 70.5 -29.5t29.5 -70.5v-100h275q10 0 17.5 -7.5t7.5 -17.5v-75h-1100v75q0 10 7.5 17.5t17.5 7.5h275v100q0 41 29.5 70.5t70.5 29.5zM500 1200v-100h300v100h-300zM1100 900v-800q0 -41 -29.5 -70.5t-70.5 -29.5h-700q-41 0 -70.5 29.5t-29.5 70.5 v800h900zM300 800v-700h100v700h-100zM500 800v-700h100v700h-100zM700 800v-700h100v700h-100zM900 800v-700h100v700h-100z" />
57
+ <glyph unicode="&#xe021;" d="M18 618l620 608q8 7 18.5 7t17.5 -7l608 -608q8 -8 5.5 -13t-12.5 -5h-175v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v375h-300v-375q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v575h-175q-10 0 -12.5 5t5.5 13z" />
58
+ <glyph unicode="&#xe022;" d="M600 1200v-400q0 -41 29.5 -70.5t70.5 -29.5h300v-650q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v1100q0 21 14.5 35.5t35.5 14.5h450zM1000 800h-250q-21 0 -35.5 14.5t-14.5 35.5v250z" />
59
+ <glyph unicode="&#xe023;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM525 900h50q10 0 17.5 -7.5t7.5 -17.5v-275h175q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5z" />
60
+ <glyph unicode="&#xe024;" d="M1300 0h-538l-41 400h-242l-41 -400h-538l431 1200h209l-21 -300h162l-20 300h208zM515 800l-27 -300h224l-27 300h-170z" />
61
+ <glyph unicode="&#xe025;" d="M550 1200h200q21 0 35.5 -14.5t14.5 -35.5v-450h191q20 0 25.5 -11.5t-7.5 -27.5l-327 -400q-13 -16 -32 -16t-32 16l-327 400q-13 16 -7.5 27.5t25.5 11.5h191v450q0 21 14.5 35.5t35.5 14.5zM1125 400h50q10 0 17.5 -7.5t7.5 -17.5v-350q0 -10 -7.5 -17.5t-17.5 -7.5 h-1050q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h50q10 0 17.5 -7.5t7.5 -17.5v-175h900v175q0 10 7.5 17.5t17.5 7.5z" />
62
+ <glyph unicode="&#xe026;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM525 900h150q10 0 17.5 -7.5t7.5 -17.5v-275h137q21 0 26 -11.5t-8 -27.5l-223 -275q-13 -16 -32 -16t-32 16l-223 275q-13 16 -8 27.5t26 11.5h137v275q0 10 7.5 17.5t17.5 7.5z " />
63
+ <glyph unicode="&#xe027;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM632 914l223 -275q13 -16 8 -27.5t-26 -11.5h-137v-275q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v275h-137q-21 0 -26 11.5t8 27.5l223 275q13 16 32 16 t32 -16z" />
64
+ <glyph unicode="&#xe028;" d="M225 1200h750q10 0 19.5 -7t12.5 -17l186 -652q7 -24 7 -49v-425q0 -12 -4 -27t-9 -17q-12 -6 -37 -6h-1100q-12 0 -27 4t-17 8q-6 13 -6 38l1 425q0 25 7 49l185 652q3 10 12.5 17t19.5 7zM878 1000h-556q-10 0 -19 -7t-11 -18l-87 -450q-2 -11 4 -18t16 -7h150 q10 0 19.5 -7t11.5 -17l38 -152q2 -10 11.5 -17t19.5 -7h250q10 0 19.5 7t11.5 17l38 152q2 10 11.5 17t19.5 7h150q10 0 16 7t4 18l-87 450q-2 11 -11 18t-19 7z" />
65
+ <glyph unicode="&#xe029;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM540 820l253 -190q17 -12 17 -30t-17 -30l-253 -190q-16 -12 -28 -6.5t-12 26.5v400q0 21 12 26.5t28 -6.5z" />
66
+ <glyph unicode="&#xe030;" d="M947 1060l135 135q7 7 12.5 5t5.5 -13v-362q0 -10 -7.5 -17.5t-17.5 -7.5h-362q-11 0 -13 5.5t5 12.5l133 133q-109 76 -238 76q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5h150q0 -117 -45.5 -224 t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5q192 0 347 -117z" />
67
+ <glyph unicode="&#xe031;" d="M947 1060l135 135q7 7 12.5 5t5.5 -13v-361q0 -11 -7.5 -18.5t-18.5 -7.5h-361q-11 0 -13 5.5t5 12.5l134 134q-110 75 -239 75q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5h-150q0 117 45.5 224t123 184.5t184.5 123t224 45.5q192 0 347 -117zM1027 600h150 q0 -117 -45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5q-192 0 -348 118l-134 -134q-7 -8 -12.5 -5.5t-5.5 12.5v360q0 11 7.5 18.5t18.5 7.5h360q10 0 12.5 -5.5t-5.5 -12.5l-133 -133q110 -76 240 -76q116 0 214.5 57t155.5 155.5t57 214.5z" />
68
+ <glyph unicode="&#xe032;" d="M125 1200h1050q10 0 17.5 -7.5t7.5 -17.5v-1150q0 -10 -7.5 -17.5t-17.5 -7.5h-1050q-10 0 -17.5 7.5t-7.5 17.5v1150q0 10 7.5 17.5t17.5 7.5zM1075 1000h-850q-10 0 -17.5 -7.5t-7.5 -17.5v-850q0 -10 7.5 -17.5t17.5 -7.5h850q10 0 17.5 7.5t7.5 17.5v850 q0 10 -7.5 17.5t-17.5 7.5zM325 900h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 900h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 700h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 700h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 500h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 500h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 300h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 300h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5z" />
69
+ <glyph unicode="&#xe033;" d="M900 800v200q0 83 -58.5 141.5t-141.5 58.5h-300q-82 0 -141 -59t-59 -141v-200h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h900q41 0 70.5 29.5t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5h-100zM400 800v150q0 21 15 35.5t35 14.5h200 q20 0 35 -14.5t15 -35.5v-150h-300z" />
70
+ <glyph unicode="&#xe034;" d="M125 1100h50q10 0 17.5 -7.5t7.5 -17.5v-1075h-100v1075q0 10 7.5 17.5t17.5 7.5zM1075 1052q4 0 9 -2q16 -6 16 -23v-421q0 -6 -3 -12q-33 -59 -66.5 -99t-65.5 -58t-56.5 -24.5t-52.5 -6.5q-26 0 -57.5 6.5t-52.5 13.5t-60 21q-41 15 -63 22.5t-57.5 15t-65.5 7.5 q-85 0 -160 -57q-7 -5 -15 -5q-6 0 -11 3q-14 7 -14 22v438q22 55 82 98.5t119 46.5q23 2 43 0.5t43 -7t32.5 -8.5t38 -13t32.5 -11q41 -14 63.5 -21t57 -14t63.5 -7q103 0 183 87q7 8 18 8z" />
71
+ <glyph unicode="&#xe035;" d="M600 1175q116 0 227 -49.5t192.5 -131t131 -192.5t49.5 -227v-300q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v300q0 127 -70.5 231.5t-184.5 161.5t-245 57t-245 -57t-184.5 -161.5t-70.5 -231.5v-300q0 -10 -7.5 -17.5t-17.5 -7.5h-50 q-10 0 -17.5 7.5t-7.5 17.5v300q0 116 49.5 227t131 192.5t192.5 131t227 49.5zM220 500h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460q0 8 6 14t14 6zM820 500h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460 q0 8 6 14t14 6z" />
72
+ <glyph unicode="&#xe036;" d="M321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM900 668l120 120q7 7 17 7t17 -7l34 -34q7 -7 7 -17t-7 -17l-120 -120l120 -120q7 -7 7 -17 t-7 -17l-34 -34q-7 -7 -17 -7t-17 7l-120 119l-120 -119q-7 -7 -17 -7t-17 7l-34 34q-7 7 -7 17t7 17l119 120l-119 120q-7 7 -7 17t7 17l34 34q7 8 17 8t17 -8z" />
73
+ <glyph unicode="&#xe037;" d="M321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM766 900h4q10 -1 16 -10q96 -129 96 -290q0 -154 -90 -281q-6 -9 -17 -10l-3 -1q-9 0 -16 6 l-29 23q-7 7 -8.5 16.5t4.5 17.5q72 103 72 229q0 132 -78 238q-6 8 -4.5 18t9.5 17l29 22q7 5 15 5z" />
74
+ <glyph unicode="&#xe038;" d="M967 1004h3q11 -1 17 -10q135 -179 135 -396q0 -105 -34 -206.5t-98 -185.5q-7 -9 -17 -10h-3q-9 0 -16 6l-42 34q-8 6 -9 16t5 18q111 150 111 328q0 90 -29.5 176t-84.5 157q-6 9 -5 19t10 16l42 33q7 5 15 5zM321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5 t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM766 900h4q10 -1 16 -10q96 -129 96 -290q0 -154 -90 -281q-6 -9 -17 -10l-3 -1q-9 0 -16 6l-29 23q-7 7 -8.5 16.5t4.5 17.5q72 103 72 229q0 132 -78 238 q-6 8 -4.5 18.5t9.5 16.5l29 22q7 5 15 5z" />
75
+ <glyph unicode="&#xe039;" d="M500 900h100v-100h-100v-100h-400v-100h-100v600h500v-300zM1200 700h-200v-100h200v-200h-300v300h-200v300h-100v200h600v-500zM100 1100v-300h300v300h-300zM800 1100v-300h300v300h-300zM300 900h-100v100h100v-100zM1000 900h-100v100h100v-100zM300 500h200v-500 h-500v500h200v100h100v-100zM800 300h200v-100h-100v-100h-200v100h-100v100h100v200h-200v100h300v-300zM100 400v-300h300v300h-300zM300 200h-100v100h100v-100zM1200 200h-100v100h100v-100zM700 0h-100v100h100v-100zM1200 0h-300v100h300v-100z" />
76
+ <glyph unicode="&#xe040;" d="M100 200h-100v1000h100v-1000zM300 200h-100v1000h100v-1000zM700 200h-200v1000h200v-1000zM900 200h-100v1000h100v-1000zM1200 200h-200v1000h200v-1000zM400 0h-300v100h300v-100zM600 0h-100v91h100v-91zM800 0h-100v91h100v-91zM1100 0h-200v91h200v-91z" />
77
+ <glyph unicode="&#xe041;" d="M500 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-682 682l1 475q0 10 7.5 17.5t17.5 7.5h474zM319.5 1024.5q-29.5 29.5 -71 29.5t-71 -29.5t-29.5 -71.5t29.5 -71.5t71 -29.5t71 29.5t29.5 71.5t-29.5 71.5z" />
78
+ <glyph unicode="&#xe042;" d="M500 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-682 682l1 475q0 10 7.5 17.5t17.5 7.5h474zM800 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-56 56l424 426l-700 700h150zM319.5 1024.5q-29.5 29.5 -71 29.5t-71 -29.5 t-29.5 -71.5t29.5 -71.5t71 -29.5t71 29.5t29.5 71.5t-29.5 71.5z" />
79
+ <glyph unicode="&#xe043;" d="M300 1200h825q75 0 75 -75v-900q0 -25 -18 -43l-64 -64q-8 -8 -13 -5.5t-5 12.5v950q0 10 -7.5 17.5t-17.5 7.5h-700q-25 0 -43 -18l-64 -64q-8 -8 -5.5 -13t12.5 -5h700q10 0 17.5 -7.5t7.5 -17.5v-950q0 -10 -7.5 -17.5t-17.5 -7.5h-850q-10 0 -17.5 7.5t-7.5 17.5v975 q0 25 18 43l139 139q18 18 43 18z" />
80
+ <glyph unicode="&#xe044;" d="M250 1200h800q21 0 35.5 -14.5t14.5 -35.5v-1150l-450 444l-450 -445v1151q0 21 14.5 35.5t35.5 14.5z" />
81
+ <glyph unicode="&#xe045;" d="M822 1200h-444q-11 0 -19 -7.5t-9 -17.5l-78 -301q-7 -24 7 -45l57 -108q6 -9 17.5 -15t21.5 -6h450q10 0 21.5 6t17.5 15l62 108q14 21 7 45l-83 301q-1 10 -9 17.5t-19 7.5zM1175 800h-150q-10 0 -21 -6.5t-15 -15.5l-78 -156q-4 -9 -15 -15.5t-21 -6.5h-550 q-10 0 -21 6.5t-15 15.5l-78 156q-4 9 -15 15.5t-21 6.5h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-650q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h750q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5 t7.5 17.5v650q0 10 -7.5 17.5t-17.5 7.5zM850 200h-500q-10 0 -19.5 -7t-11.5 -17l-38 -152q-2 -10 3.5 -17t15.5 -7h600q10 0 15.5 7t3.5 17l-38 152q-2 10 -11.5 17t-19.5 7z" />
82
+ <glyph unicode="&#xe046;" d="M500 1100h200q56 0 102.5 -20.5t72.5 -50t44 -59t25 -50.5l6 -20h150q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5h150q2 8 6.5 21.5t24 48t45 61t72 48t102.5 21.5zM900 800v-100 h100v100h-100zM600 730q-95 0 -162.5 -67.5t-67.5 -162.5t67.5 -162.5t162.5 -67.5t162.5 67.5t67.5 162.5t-67.5 162.5t-162.5 67.5zM600 603q43 0 73 -30t30 -73t-30 -73t-73 -30t-73 30t-30 73t30 73t73 30z" />
83
+ <glyph unicode="&#xe047;" d="M681 1199l385 -998q20 -50 60 -92q18 -19 36.5 -29.5t27.5 -11.5l10 -2v-66h-417v66q53 0 75 43.5t5 88.5l-82 222h-391q-58 -145 -92 -234q-11 -34 -6.5 -57t25.5 -37t46 -20t55 -6v-66h-365v66q56 24 84 52q12 12 25 30.5t20 31.5l7 13l399 1006h93zM416 521h340 l-162 457z" />
84
+ <glyph unicode="&#xe048;" d="M753 641q5 -1 14.5 -4.5t36 -15.5t50.5 -26.5t53.5 -40t50.5 -54.5t35.5 -70t14.5 -87q0 -67 -27.5 -125.5t-71.5 -97.5t-98.5 -66.5t-108.5 -40.5t-102 -13h-500v89q41 7 70.5 32.5t29.5 65.5v827q0 24 -0.5 34t-3.5 24t-8.5 19.5t-17 13.5t-28 12.5t-42.5 11.5v71 l471 -1q57 0 115.5 -20.5t108 -57t80.5 -94t31 -124.5q0 -51 -15.5 -96.5t-38 -74.5t-45 -50.5t-38.5 -30.5zM400 700h139q78 0 130.5 48.5t52.5 122.5q0 41 -8.5 70.5t-29.5 55.5t-62.5 39.5t-103.5 13.5h-118v-350zM400 200h216q80 0 121 50.5t41 130.5q0 90 -62.5 154.5 t-156.5 64.5h-159v-400z" />
85
+ <glyph unicode="&#xe049;" d="M877 1200l2 -57q-83 -19 -116 -45.5t-40 -66.5l-132 -839q-9 -49 13 -69t96 -26v-97h-500v97q186 16 200 98l173 832q3 17 3 30t-1.5 22.5t-9 17.5t-13.5 12.5t-21.5 10t-26 8.5t-33.5 10q-13 3 -19 5v57h425z" />
86
+ <glyph unicode="&#xe050;" d="M1300 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-850q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v850h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM175 1000h-75v-800h75l-125 -167l-125 167h75v800h-75l125 167z" />
87
+ <glyph unicode="&#xe051;" d="M1100 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-650q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v650h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM1167 50l-167 -125v75h-800v-75l-167 125l167 125v-75h800v75z" />
88
+ <glyph unicode="&#xe052;" d="M50 1100h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 500h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
89
+ <glyph unicode="&#xe053;" d="M250 1100h700q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM250 500h700q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
90
+ <glyph unicode="&#xe054;" d="M500 950v100q0 21 14.5 35.5t35.5 14.5h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5zM100 650v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000 q-21 0 -35.5 14.5t-14.5 35.5zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5zM0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100 q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5z" />
91
+ <glyph unicode="&#xe055;" d="M50 1100h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 500h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
92
+ <glyph unicode="&#xe056;" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 1100h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 800h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 500h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 500h800q21 0 35.5 -14.5t14.5 -35.5v-100 q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 200h800 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
93
+ <glyph unicode="&#xe057;" d="M400 0h-100v1100h100v-1100zM550 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM550 800h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM267 550l-167 -125v75h-200v100h200v75zM550 500h300q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM550 200h600 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
94
+ <glyph unicode="&#xe058;" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM900 0h-100v1100h100v-1100zM50 800h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM1100 600h200v-100h-200v-75l-167 125l167 125v-75zM50 500h300q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h600 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
95
+ <glyph unicode="&#xe059;" d="M75 1000h750q31 0 53 -22t22 -53v-650q0 -31 -22 -53t-53 -22h-750q-31 0 -53 22t-22 53v650q0 31 22 53t53 22zM1200 300l-300 300l300 300v-600z" />
96
+ <glyph unicode="&#xe060;" d="M44 1100h1112q18 0 31 -13t13 -31v-1012q0 -18 -13 -31t-31 -13h-1112q-18 0 -31 13t-13 31v1012q0 18 13 31t31 13zM100 1000v-737l247 182l298 -131l-74 156l293 318l236 -288v500h-1000zM342 884q56 0 95 -39t39 -94.5t-39 -95t-95 -39.5t-95 39.5t-39 95t39 94.5 t95 39z" />
97
+ <glyph unicode="&#xe062;" d="M648 1169q117 0 216 -60t156.5 -161t57.5 -218q0 -115 -70 -258q-69 -109 -158 -225.5t-143 -179.5l-54 -62q-9 8 -25.5 24.5t-63.5 67.5t-91 103t-98.5 128t-95.5 148q-60 132 -60 249q0 88 34 169.5t91.5 142t137 96.5t166.5 36zM652.5 974q-91.5 0 -156.5 -65 t-65 -157t65 -156.5t156.5 -64.5t156.5 64.5t65 156.5t-65 157t-156.5 65z" />
98
+ <glyph unicode="&#xe063;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 173v854q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57z" />
99
+ <glyph unicode="&#xe064;" d="M554 1295q21 -72 57.5 -143.5t76 -130t83 -118t82.5 -117t70 -116t49.5 -126t18.5 -136.5q0 -71 -25.5 -135t-68.5 -111t-99 -82t-118.5 -54t-125.5 -23q-84 5 -161.5 34t-139.5 78.5t-99 125t-37 164.5q0 69 18 136.5t49.5 126.5t69.5 116.5t81.5 117.5t83.5 119 t76.5 131t58.5 143zM344 710q-23 -33 -43.5 -70.5t-40.5 -102.5t-17 -123q1 -37 14.5 -69.5t30 -52t41 -37t38.5 -24.5t33 -15q21 -7 32 -1t13 22l6 34q2 10 -2.5 22t-13.5 19q-5 4 -14 12t-29.5 40.5t-32.5 73.5q-26 89 6 271q2 11 -6 11q-8 1 -15 -10z" />
100
+ <glyph unicode="&#xe065;" d="M1000 1013l108 115q2 1 5 2t13 2t20.5 -1t25 -9.5t28.5 -21.5q22 -22 27 -43t0 -32l-6 -10l-108 -115zM350 1100h400q50 0 105 -13l-187 -187h-368q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v182l200 200v-332 q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5zM1009 803l-362 -362l-161 -50l55 170l355 355z" />
101
+ <glyph unicode="&#xe066;" d="M350 1100h361q-164 -146 -216 -200h-195q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5l200 153v-103q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5z M824 1073l339 -301q8 -7 8 -17.5t-8 -17.5l-340 -306q-7 -6 -12.5 -4t-6.5 11v203q-26 1 -54.5 0t-78.5 -7.5t-92 -17.5t-86 -35t-70 -57q10 59 33 108t51.5 81.5t65 58.5t68.5 40.5t67 24.5t56 13.5t40 4.5v210q1 10 6.5 12.5t13.5 -4.5z" />
102
+ <glyph unicode="&#xe067;" d="M350 1100h350q60 0 127 -23l-178 -177h-349q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v69l200 200v-219q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5z M643 639l395 395q7 7 17.5 7t17.5 -7l101 -101q7 -7 7 -17.5t-7 -17.5l-531 -532q-7 -7 -17.5 -7t-17.5 7l-248 248q-7 7 -7 17.5t7 17.5l101 101q7 7 17.5 7t17.5 -7l111 -111q8 -7 18 -7t18 7z" />
103
+ <glyph unicode="&#xe068;" d="M318 918l264 264q8 8 18 8t18 -8l260 -264q7 -8 4.5 -13t-12.5 -5h-170v-200h200v173q0 10 5 12t13 -5l264 -260q8 -7 8 -17.5t-8 -17.5l-264 -265q-8 -7 -13 -5t-5 12v173h-200v-200h170q10 0 12.5 -5t-4.5 -13l-260 -264q-8 -8 -18 -8t-18 8l-264 264q-8 8 -5.5 13 t12.5 5h175v200h-200v-173q0 -10 -5 -12t-13 5l-264 265q-8 7 -8 17.5t8 17.5l264 260q8 7 13 5t5 -12v-173h200v200h-175q-10 0 -12.5 5t5.5 13z" />
104
+ <glyph unicode="&#xe069;" d="M250 1100h100q21 0 35.5 -14.5t14.5 -35.5v-438l464 453q15 14 25.5 10t10.5 -25v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5z" />
105
+ <glyph unicode="&#xe070;" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-438l464 453q15 14 25.5 10t10.5 -25v-438l464 453q15 14 25.5 10t10.5 -25v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5 t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5z" />
106
+ <glyph unicode="&#xe071;" d="M1200 1050v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -10.5 -25t-25.5 10l-492 480q-15 14 -15 35t15 35l492 480q15 14 25.5 10t10.5 -25v-438l464 453q15 14 25.5 10t10.5 -25z" />
107
+ <glyph unicode="&#xe072;" d="M243 1074l814 -498q18 -11 18 -26t-18 -26l-814 -498q-18 -11 -30.5 -4t-12.5 28v1000q0 21 12.5 28t30.5 -4z" />
108
+ <glyph unicode="&#xe073;" d="M250 1000h200q21 0 35.5 -14.5t14.5 -35.5v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5zM650 1000h200q21 0 35.5 -14.5t14.5 -35.5v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v800 q0 21 14.5 35.5t35.5 14.5z" />
109
+ <glyph unicode="&#xe074;" d="M1100 950v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5z" />
110
+ <glyph unicode="&#xe075;" d="M500 612v438q0 21 10.5 25t25.5 -10l492 -480q15 -14 15 -35t-15 -35l-492 -480q-15 -14 -25.5 -10t-10.5 25v438l-464 -453q-15 -14 -25.5 -10t-10.5 25v1000q0 21 10.5 25t25.5 -10z" />
111
+ <glyph unicode="&#xe076;" d="M1048 1102l100 1q20 0 35 -14.5t15 -35.5l5 -1000q0 -21 -14.5 -35.5t-35.5 -14.5l-100 -1q-21 0 -35.5 14.5t-14.5 35.5l-2 437l-463 -454q-14 -15 -24.5 -10.5t-10.5 25.5l-2 437l-462 -455q-15 -14 -25.5 -9.5t-10.5 24.5l-5 1000q0 21 10.5 25.5t25.5 -10.5l466 -450 l-2 438q0 20 10.5 24.5t25.5 -9.5l466 -451l-2 438q0 21 14.5 35.5t35.5 14.5z" />
112
+ <glyph unicode="&#xe077;" d="M850 1100h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-464 -453q-15 -14 -25.5 -10t-10.5 25v1000q0 21 10.5 25t25.5 -10l464 -453v438q0 21 14.5 35.5t35.5 14.5z" />
113
+ <glyph unicode="&#xe078;" d="M686 1081l501 -540q15 -15 10.5 -26t-26.5 -11h-1042q-22 0 -26.5 11t10.5 26l501 540q15 15 36 15t36 -15zM150 400h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
114
+ <glyph unicode="&#xe079;" d="M885 900l-352 -353l352 -353l-197 -198l-552 552l552 550z" />
115
+ <glyph unicode="&#xe080;" d="M1064 547l-551 -551l-198 198l353 353l-353 353l198 198z" />
116
+ <glyph unicode="&#xe081;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM650 900h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-150h-150 q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5t35.5 -14.5h150v-150q0 -21 14.5 -35.5t35.5 -14.5h100q21 0 35.5 14.5t14.5 35.5v150h150q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5h-150v150q0 21 -14.5 35.5t-35.5 14.5z" />
117
+ <glyph unicode="&#xe082;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM850 700h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5 t35.5 -14.5h500q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5z" />
118
+ <glyph unicode="&#xe083;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM741.5 913q-12.5 0 -21.5 -9l-120 -120l-120 120q-9 9 -21.5 9 t-21.5 -9l-141 -141q-9 -9 -9 -21.5t9 -21.5l120 -120l-120 -120q-9 -9 -9 -21.5t9 -21.5l141 -141q9 -9 21.5 -9t21.5 9l120 120l120 -120q9 -9 21.5 -9t21.5 9l141 141q9 9 9 21.5t-9 21.5l-120 120l120 120q9 9 9 21.5t-9 21.5l-141 141q-9 9 -21.5 9z" />
119
+ <glyph unicode="&#xe084;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM546 623l-84 85q-7 7 -17.5 7t-18.5 -7l-139 -139q-7 -8 -7 -18t7 -18 l242 -241q7 -8 17.5 -8t17.5 8l375 375q7 7 7 17.5t-7 18.5l-139 139q-7 7 -17.5 7t-17.5 -7z" />
120
+ <glyph unicode="&#xe085;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM588 941q-29 0 -59 -5.5t-63 -20.5t-58 -38.5t-41.5 -63t-16.5 -89.5 q0 -25 20 -25h131q30 -5 35 11q6 20 20.5 28t45.5 8q20 0 31.5 -10.5t11.5 -28.5q0 -23 -7 -34t-26 -18q-1 0 -13.5 -4t-19.5 -7.5t-20 -10.5t-22 -17t-18.5 -24t-15.5 -35t-8 -46q-1 -8 5.5 -16.5t20.5 -8.5h173q7 0 22 8t35 28t37.5 48t29.5 74t12 100q0 47 -17 83 t-42.5 57t-59.5 34.5t-64 18t-59 4.5zM675 400h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5z" />
121
+ <glyph unicode="&#xe086;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM675 1000h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5 t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5zM675 700h-250q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h75v-200h-75q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h350q10 0 17.5 7.5t7.5 17.5v50q0 10 -7.5 17.5 t-17.5 7.5h-75v275q0 10 -7.5 17.5t-17.5 7.5z" />
122
+ <glyph unicode="&#xe087;" d="M525 1200h150q10 0 17.5 -7.5t7.5 -17.5v-194q103 -27 178.5 -102.5t102.5 -178.5h194q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-194q-27 -103 -102.5 -178.5t-178.5 -102.5v-194q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v194 q-103 27 -178.5 102.5t-102.5 178.5h-194q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h194q27 103 102.5 178.5t178.5 102.5v194q0 10 7.5 17.5t17.5 7.5zM700 893v-168q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v168q-68 -23 -119 -74 t-74 -119h168q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-168q23 -68 74 -119t119 -74v168q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-168q68 23 119 74t74 119h-168q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h168 q-23 68 -74 119t-119 74z" />
123
+ <glyph unicode="&#xe088;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM759 823l64 -64q7 -7 7 -17.5t-7 -17.5l-124 -124l124 -124q7 -7 7 -17.5t-7 -17.5l-64 -64q-7 -7 -17.5 -7t-17.5 7l-124 124l-124 -124q-7 -7 -17.5 -7t-17.5 7l-64 64 q-7 7 -7 17.5t7 17.5l124 124l-124 124q-7 7 -7 17.5t7 17.5l64 64q7 7 17.5 7t17.5 -7l124 -124l124 124q7 7 17.5 7t17.5 -7z" />
124
+ <glyph unicode="&#xe089;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM782 788l106 -106q7 -7 7 -17.5t-7 -17.5l-320 -321q-8 -7 -18 -7t-18 7l-202 203q-8 7 -8 17.5t8 17.5l106 106q7 8 17.5 8t17.5 -8l79 -79l197 197q7 7 17.5 7t17.5 -7z" />
125
+ <glyph unicode="&#xe090;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5q0 -120 65 -225 l587 587q-105 65 -225 65zM965 819l-584 -584q104 -62 219 -62q116 0 214.5 57t155.5 155.5t57 214.5q0 115 -62 219z" />
126
+ <glyph unicode="&#xe091;" d="M39 582l522 427q16 13 27.5 8t11.5 -26v-291h550q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-550v-291q0 -21 -11.5 -26t-27.5 8l-522 427q-16 13 -16 32t16 32z" />
127
+ <glyph unicode="&#xe092;" d="M639 1009l522 -427q16 -13 16 -32t-16 -32l-522 -427q-16 -13 -27.5 -8t-11.5 26v291h-550q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h550v291q0 21 11.5 26t27.5 -8z" />
128
+ <glyph unicode="&#xe093;" d="M682 1161l427 -522q13 -16 8 -27.5t-26 -11.5h-291v-550q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v550h-291q-21 0 -26 11.5t8 27.5l427 522q13 16 32 16t32 -16z" />
129
+ <glyph unicode="&#xe094;" d="M550 1200h200q21 0 35.5 -14.5t14.5 -35.5v-550h291q21 0 26 -11.5t-8 -27.5l-427 -522q-13 -16 -32 -16t-32 16l-427 522q-13 16 -8 27.5t26 11.5h291v550q0 21 14.5 35.5t35.5 14.5z" />
130
+ <glyph unicode="&#xe095;" d="M639 1109l522 -427q16 -13 16 -32t-16 -32l-522 -427q-16 -13 -27.5 -8t-11.5 26v291q-94 -2 -182 -20t-170.5 -52t-147 -92.5t-100.5 -135.5q5 105 27 193.5t67.5 167t113 135t167 91.5t225.5 42v262q0 21 11.5 26t27.5 -8z" />
131
+ <glyph unicode="&#xe096;" d="M850 1200h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94l-249 -249q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l249 249l-94 94q-14 14 -10 24.5t25 10.5zM350 0h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l249 249 q8 7 18 7t18 -7l106 -106q7 -8 7 -18t-7 -18l-249 -249l94 -94q14 -14 10 -24.5t-25 -10.5z" />
132
+ <glyph unicode="&#xe097;" d="M1014 1120l106 -106q7 -8 7 -18t-7 -18l-249 -249l94 -94q14 -14 10 -24.5t-25 -10.5h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l249 249q8 7 18 7t18 -7zM250 600h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94 l-249 -249q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l249 249l-94 94q-14 14 -10 24.5t25 10.5z" />
133
+ <glyph unicode="&#xe101;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM704 900h-208q-20 0 -32 -14.5t-8 -34.5l58 -302q4 -20 21.5 -34.5 t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5l58 302q4 20 -8 34.5t-32 14.5zM675 400h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5z" />
134
+ <glyph unicode="&#xe102;" d="M260 1200q9 0 19 -2t15 -4l5 -2q22 -10 44 -23l196 -118q21 -13 36 -24q29 -21 37 -12q11 13 49 35l196 118q22 13 45 23q17 7 38 7q23 0 47 -16.5t37 -33.5l13 -16q14 -21 18 -45l25 -123l8 -44q1 -9 8.5 -14.5t17.5 -5.5h61q10 0 17.5 -7.5t7.5 -17.5v-50 q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 -7.5t-7.5 -17.5v-175h-400v300h-200v-300h-400v175q0 10 -7.5 17.5t-17.5 7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5h61q11 0 18 3t7 8q0 4 9 52l25 128q5 25 19 45q2 3 5 7t13.5 15t21.5 19.5t26.5 15.5 t29.5 7zM915 1079l-166 -162q-7 -7 -5 -12t12 -5h219q10 0 15 7t2 17l-51 149q-3 10 -11 12t-15 -6zM463 917l-177 157q-8 7 -16 5t-11 -12l-51 -143q-3 -10 2 -17t15 -7h231q11 0 12.5 5t-5.5 12zM500 0h-375q-10 0 -17.5 7.5t-7.5 17.5v375h400v-400zM1100 400v-375 q0 -10 -7.5 -17.5t-17.5 -7.5h-375v400h400z" />
135
+ <glyph unicode="&#xe103;" d="M1165 1190q8 3 21 -6.5t13 -17.5q-2 -178 -24.5 -323.5t-55.5 -245.5t-87 -174.5t-102.5 -118.5t-118 -68.5t-118.5 -33t-120 -4.5t-105 9.5t-90 16.5q-61 12 -78 11q-4 1 -12.5 0t-34 -14.5t-52.5 -40.5l-153 -153q-26 -24 -37 -14.5t-11 43.5q0 64 42 102q8 8 50.5 45 t66.5 58q19 17 35 47t13 61q-9 55 -10 102.5t7 111t37 130t78 129.5q39 51 80 88t89.5 63.5t94.5 45t113.5 36t129 31t157.5 37t182 47.5zM1116 1098q-8 9 -22.5 -3t-45.5 -50q-38 -47 -119 -103.5t-142 -89.5l-62 -33q-56 -30 -102 -57t-104 -68t-102.5 -80.5t-85.5 -91 t-64 -104.5q-24 -56 -31 -86t2 -32t31.5 17.5t55.5 59.5q25 30 94 75.5t125.5 77.5t147.5 81q70 37 118.5 69t102 79.5t99 111t86.5 148.5q22 50 24 60t-6 19z" />
136
+ <glyph unicode="&#xe104;" d="M653 1231q-39 -67 -54.5 -131t-10.5 -114.5t24.5 -96.5t47.5 -80t63.5 -62.5t68.5 -46.5t65 -30q-4 7 -17.5 35t-18.5 39.5t-17 39.5t-17 43t-13 42t-9.5 44.5t-2 42t4 43t13.5 39t23 38.5q96 -42 165 -107.5t105 -138t52 -156t13 -159t-19 -149.5q-13 -55 -44 -106.5 t-68 -87t-78.5 -64.5t-72.5 -45t-53 -22q-72 -22 -127 -11q-31 6 -13 19q6 3 17 7q13 5 32.5 21t41 44t38.5 63.5t21.5 81.5t-6.5 94.5t-50 107t-104 115.5q10 -104 -0.5 -189t-37 -140.5t-65 -93t-84 -52t-93.5 -11t-95 24.5q-80 36 -131.5 114t-53.5 171q-2 23 0 49.5 t4.5 52.5t13.5 56t27.5 60t46 64.5t69.5 68.5q-8 -53 -5 -102.5t17.5 -90t34 -68.5t44.5 -39t49 -2q31 13 38.5 36t-4.5 55t-29 64.5t-36 75t-26 75.5q-15 85 2 161.5t53.5 128.5t85.5 92.5t93.5 61t81.5 25.5z" />
137
+ <glyph unicode="&#xe105;" d="M600 1094q82 0 160.5 -22.5t140 -59t116.5 -82.5t94.5 -95t68 -95t42.5 -82.5t14 -57.5t-14 -57.5t-43 -82.5t-68.5 -95t-94.5 -95t-116.5 -82.5t-140 -59t-159.5 -22.5t-159.5 22.5t-140 59t-116.5 82.5t-94.5 95t-68.5 95t-43 82.5t-14 57.5t14 57.5t42.5 82.5t68 95 t94.5 95t116.5 82.5t140 59t160.5 22.5zM888 829q-15 15 -18 12t5 -22q25 -57 25 -119q0 -124 -88 -212t-212 -88t-212 88t-88 212q0 59 23 114q8 19 4.5 22t-17.5 -12q-70 -69 -160 -184q-13 -16 -15 -40.5t9 -42.5q22 -36 47 -71t70 -82t92.5 -81t113 -58.5t133.5 -24.5 t133.5 24t113 58.5t92.5 81.5t70 81.5t47 70.5q11 18 9 42.5t-14 41.5q-90 117 -163 189zM448 727l-35 -36q-15 -15 -19.5 -38.5t4.5 -41.5q37 -68 93 -116q16 -13 38.5 -11t36.5 17l35 34q14 15 12.5 33.5t-16.5 33.5q-44 44 -89 117q-11 18 -28 20t-32 -12z" />
138
+ <glyph unicode="&#xe106;" d="M592 0h-148l31 120q-91 20 -175.5 68.5t-143.5 106.5t-103.5 119t-66.5 110t-22 76q0 21 14 57.5t42.5 82.5t68 95t94.5 95t116.5 82.5t140 59t160.5 22.5q61 0 126 -15l32 121h148zM944 770l47 181q108 -85 176.5 -192t68.5 -159q0 -26 -19.5 -71t-59.5 -102t-93 -112 t-129 -104.5t-158 -75.5l46 173q77 49 136 117t97 131q11 18 9 42.5t-14 41.5q-54 70 -107 130zM310 824q-70 -69 -160 -184q-13 -16 -15 -40.5t9 -42.5q18 -30 39 -60t57 -70.5t74 -73t90 -61t105 -41.5l41 154q-107 18 -178.5 101.5t-71.5 193.5q0 59 23 114q8 19 4.5 22 t-17.5 -12zM448 727l-35 -36q-15 -15 -19.5 -38.5t4.5 -41.5q37 -68 93 -116q16 -13 38.5 -11t36.5 17l12 11l22 86l-3 4q-44 44 -89 117q-11 18 -28 20t-32 -12z" />
139
+ <glyph unicode="&#xe107;" d="M-90 100l642 1066q20 31 48 28.5t48 -35.5l642 -1056q21 -32 7.5 -67.5t-50.5 -35.5h-1294q-37 0 -50.5 34t7.5 66zM155 200h345v75q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-75h345l-445 723zM496 700h208q20 0 32 -14.5t8 -34.5l-58 -252 q-4 -20 -21.5 -34.5t-37.5 -14.5h-54q-20 0 -37.5 14.5t-21.5 34.5l-58 252q-4 20 8 34.5t32 14.5z" />
140
+ <glyph unicode="&#xe108;" d="M650 1200q62 0 106 -44t44 -106v-339l363 -325q15 -14 26 -38.5t11 -44.5v-41q0 -20 -12 -26.5t-29 5.5l-359 249v-263q100 -93 100 -113v-64q0 -21 -13 -29t-32 1l-205 128l-205 -128q-19 -9 -32 -1t-13 29v64q0 20 100 113v263l-359 -249q-17 -12 -29 -5.5t-12 26.5v41 q0 20 11 44.5t26 38.5l363 325v339q0 62 44 106t106 44z" />
141
+ <glyph unicode="&#xe109;" d="M850 1200h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-150h-1100v150q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-50h500v50q0 21 14.5 35.5t35.5 14.5zM1100 800v-750q0 -21 -14.5 -35.5 t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v750h1100zM100 600v-100h100v100h-100zM300 600v-100h100v100h-100zM500 600v-100h100v100h-100zM700 600v-100h100v100h-100zM900 600v-100h100v100h-100zM100 400v-100h100v100h-100zM300 400v-100h100v100h-100zM500 400 v-100h100v100h-100zM700 400v-100h100v100h-100zM900 400v-100h100v100h-100zM100 200v-100h100v100h-100zM300 200v-100h100v100h-100zM500 200v-100h100v100h-100zM700 200v-100h100v100h-100zM900 200v-100h100v100h-100z" />
142
+ <glyph unicode="&#xe110;" d="M1135 1165l249 -230q15 -14 15 -35t-15 -35l-249 -230q-14 -14 -24.5 -10t-10.5 25v150h-159l-600 -600h-291q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h209l600 600h241v150q0 21 10.5 25t24.5 -10zM522 819l-141 -141l-122 122h-209q-21 0 -35.5 14.5 t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h291zM1135 565l249 -230q15 -14 15 -35t-15 -35l-249 -230q-14 -14 -24.5 -10t-10.5 25v150h-241l-181 181l141 141l122 -122h159v150q0 21 10.5 25t24.5 -10z" />
143
+ <glyph unicode="&#xe111;" d="M100 1100h1000q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-596l-304 -300v300h-100q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5z" />
144
+ <glyph unicode="&#xe112;" d="M150 1200h200q21 0 35.5 -14.5t14.5 -35.5v-250h-300v250q0 21 14.5 35.5t35.5 14.5zM850 1200h200q21 0 35.5 -14.5t14.5 -35.5v-250h-300v250q0 21 14.5 35.5t35.5 14.5zM1100 800v-300q0 -41 -3 -77.5t-15 -89.5t-32 -96t-58 -89t-89 -77t-129 -51t-174 -20t-174 20 t-129 51t-89 77t-58 89t-32 96t-15 89.5t-3 77.5v300h300v-250v-27v-42.5t1.5 -41t5 -38t10 -35t16.5 -30t25.5 -24.5t35 -19t46.5 -12t60 -4t60 4.5t46.5 12.5t35 19.5t25 25.5t17 30.5t10 35t5 38t2 40.5t-0.5 42v25v250h300z" />
145
+ <glyph unicode="&#xe113;" d="M1100 411l-198 -199l-353 353l-353 -353l-197 199l551 551z" />
146
+ <glyph unicode="&#xe114;" d="M1101 789l-550 -551l-551 551l198 199l353 -353l353 353z" />
147
+ <glyph unicode="&#xe115;" d="M404 1000h746q21 0 35.5 -14.5t14.5 -35.5v-551h150q21 0 25 -10.5t-10 -24.5l-230 -249q-14 -15 -35 -15t-35 15l-230 249q-14 14 -10 24.5t25 10.5h150v401h-381zM135 984l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-400h385l215 -200h-750q-21 0 -35.5 14.5 t-14.5 35.5v550h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
148
+ <glyph unicode="&#xe116;" d="M56 1200h94q17 0 31 -11t18 -27l38 -162h896q24 0 39 -18.5t10 -42.5l-100 -475q-5 -21 -27 -42.5t-55 -21.5h-633l48 -200h535q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-50q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v50h-300v-50 q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v50h-31q-18 0 -32.5 10t-20.5 19l-5 10l-201 961h-54q-20 0 -35 14.5t-15 35.5t15 35.5t35 14.5z" />
149
+ <glyph unicode="&#xe117;" d="M1200 1000v-100h-1200v100h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500zM0 800h1200v-800h-1200v800z" />
150
+ <glyph unicode="&#xe118;" d="M200 800l-200 -400v600h200q0 41 29.5 70.5t70.5 29.5h300q42 0 71 -29.5t29 -70.5h500v-200h-1000zM1500 700l-300 -700h-1200l300 700h1200z" />
151
+ <glyph unicode="&#xe119;" d="M635 1184l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-601h150q21 0 25 -10.5t-10 -24.5l-230 -249q-14 -15 -35 -15t-35 15l-230 249q-14 14 -10 24.5t25 10.5h150v601h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
152
+ <glyph unicode="&#xe120;" d="M936 864l249 -229q14 -15 14 -35.5t-14 -35.5l-249 -229q-15 -15 -25.5 -10.5t-10.5 24.5v151h-600v-151q0 -20 -10.5 -24.5t-25.5 10.5l-249 229q-14 15 -14 35.5t14 35.5l249 229q15 15 25.5 10.5t10.5 -25.5v-149h600v149q0 21 10.5 25.5t25.5 -10.5z" />
153
+ <glyph unicode="&#xe121;" d="M1169 400l-172 732q-5 23 -23 45.5t-38 22.5h-672q-20 0 -38 -20t-23 -41l-172 -739h1138zM1100 300h-1000q-41 0 -70.5 -29.5t-29.5 -70.5v-100q0 -41 29.5 -70.5t70.5 -29.5h1000q41 0 70.5 29.5t29.5 70.5v100q0 41 -29.5 70.5t-70.5 29.5zM800 100v100h100v-100h-100 zM1000 100v100h100v-100h-100z" />
154
+ <glyph unicode="&#xe122;" d="M1150 1100q21 0 35.5 -14.5t14.5 -35.5v-850q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v850q0 21 14.5 35.5t35.5 14.5zM1000 200l-675 200h-38l47 -276q3 -16 -5.5 -20t-29.5 -4h-7h-84q-20 0 -34.5 14t-18.5 35q-55 337 -55 351v250v6q0 16 1 23.5t6.5 14 t17.5 6.5h200l675 250v-850zM0 750v-250q-4 0 -11 0.5t-24 6t-30 15t-24 30t-11 48.5v50q0 26 10.5 46t25 30t29 16t25.5 7z" />
155
+ <glyph unicode="&#xe123;" d="M553 1200h94q20 0 29 -10.5t3 -29.5l-18 -37q83 -19 144 -82.5t76 -140.5l63 -327l118 -173h17q19 0 33 -14.5t14 -35t-13 -40.5t-31 -27q-8 -4 -23 -9.5t-65 -19.5t-103 -25t-132.5 -20t-158.5 -9q-57 0 -115 5t-104 12t-88.5 15.5t-73.5 17.5t-54.5 16t-35.5 12l-11 4 q-18 8 -31 28t-13 40.5t14 35t33 14.5h17l118 173l63 327q15 77 76 140t144 83l-18 32q-6 19 3.5 32t28.5 13zM498 110q50 -6 102 -6q53 0 102 6q-12 -49 -39.5 -79.5t-62.5 -30.5t-63 30.5t-39 79.5z" />
156
+ <glyph unicode="&#xe124;" d="M800 946l224 78l-78 -224l234 -45l-180 -155l180 -155l-234 -45l78 -224l-224 78l-45 -234l-155 180l-155 -180l-45 234l-224 -78l78 224l-234 45l180 155l-180 155l234 45l-78 224l224 -78l45 234l155 -180l155 180z" />
157
+ <glyph unicode="&#xe125;" d="M650 1200h50q40 0 70 -40.5t30 -84.5v-150l-28 -125h328q40 0 70 -40.5t30 -84.5v-100q0 -45 -29 -74l-238 -344q-16 -24 -38 -40.5t-45 -16.5h-250q-7 0 -42 25t-66 50l-31 25h-61q-45 0 -72.5 18t-27.5 57v400q0 36 20 63l145 196l96 198q13 28 37.5 48t51.5 20z M650 1100l-100 -212l-150 -213v-375h100l136 -100h214l250 375v125h-450l50 225v175h-50zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5z" />
158
+ <glyph unicode="&#xe126;" d="M600 1100h250q23 0 45 -16.5t38 -40.5l238 -344q29 -29 29 -74v-100q0 -44 -30 -84.5t-70 -40.5h-328q28 -118 28 -125v-150q0 -44 -30 -84.5t-70 -40.5h-50q-27 0 -51.5 20t-37.5 48l-96 198l-145 196q-20 27 -20 63v400q0 39 27.5 57t72.5 18h61q124 100 139 100z M50 1000h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5zM636 1000l-136 -100h-100v-375l150 -213l100 -212h50v175l-50 225h450v125l-250 375h-214z" />
159
+ <glyph unicode="&#xe127;" d="M356 873l363 230q31 16 53 -6l110 -112q13 -13 13.5 -32t-11.5 -34l-84 -121h302q84 0 138 -38t54 -110t-55 -111t-139 -39h-106l-131 -339q-6 -21 -19.5 -41t-28.5 -20h-342q-7 0 -90 81t-83 94v525q0 17 14 35.5t28 28.5zM400 792v-503l100 -89h293l131 339 q6 21 19.5 41t28.5 20h203q21 0 30.5 25t0.5 50t-31 25h-456h-7h-6h-5.5t-6 0.5t-5 1.5t-5 2t-4 2.5t-4 4t-2.5 4.5q-12 25 5 47l146 183l-86 83zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500 q0 21 14.5 35.5t35.5 14.5z" />
160
+ <glyph unicode="&#xe128;" d="M475 1103l366 -230q2 -1 6 -3.5t14 -10.5t18 -16.5t14.5 -20t6.5 -22.5v-525q0 -13 -86 -94t-93 -81h-342q-15 0 -28.5 20t-19.5 41l-131 339h-106q-85 0 -139.5 39t-54.5 111t54 110t138 38h302l-85 121q-11 15 -10.5 34t13.5 32l110 112q22 22 53 6zM370 945l146 -183 q17 -22 5 -47q-2 -2 -3.5 -4.5t-4 -4t-4 -2.5t-5 -2t-5 -1.5t-6 -0.5h-6h-6.5h-6h-475v-100h221q15 0 29 -20t20 -41l130 -339h294l106 89v503l-342 236zM1050 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5 v500q0 21 14.5 35.5t35.5 14.5z" />
161
+ <glyph unicode="&#xe129;" d="M550 1294q72 0 111 -55t39 -139v-106l339 -131q21 -6 41 -19.5t20 -28.5v-342q0 -7 -81 -90t-94 -83h-525q-17 0 -35.5 14t-28.5 28l-9 14l-230 363q-16 31 6 53l112 110q13 13 32 13.5t34 -11.5l121 -84v302q0 84 38 138t110 54zM600 972v203q0 21 -25 30.5t-50 0.5 t-25 -31v-456v-7v-6v-5.5t-0.5 -6t-1.5 -5t-2 -5t-2.5 -4t-4 -4t-4.5 -2.5q-25 -12 -47 5l-183 146l-83 -86l236 -339h503l89 100v293l-339 131q-21 6 -41 19.5t-20 28.5zM450 200h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
162
+ <glyph unicode="&#xe130;" d="M350 1100h500q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5t35.5 -14.5zM600 306v-106q0 -84 -39 -139t-111 -55t-110 54t-38 138v302l-121 -84q-15 -12 -34 -11.5t-32 13.5l-112 110 q-22 22 -6 53l230 363q1 2 3.5 6t10.5 13.5t16.5 17t20 13.5t22.5 6h525q13 0 94 -83t81 -90v-342q0 -15 -20 -28.5t-41 -19.5zM308 900l-236 -339l83 -86l183 146q22 17 47 5q2 -1 4.5 -2.5t4 -4t2.5 -4t2 -5t1.5 -5t0.5 -6v-5.5v-6v-7v-456q0 -22 25 -31t50 0.5t25 30.5 v203q0 15 20 28.5t41 19.5l339 131v293l-89 100h-503z" />
163
+ <glyph unicode="&#xe131;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM914 632l-275 223q-16 13 -27.5 8t-11.5 -26v-137h-275 q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h275v-137q0 -21 11.5 -26t27.5 8l275 223q16 13 16 32t-16 32z" />
164
+ <glyph unicode="&#xe132;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM561 855l-275 -223q-16 -13 -16 -32t16 -32l275 -223q16 -13 27.5 -8 t11.5 26v137h275q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5h-275v137q0 21 -11.5 26t-27.5 -8z" />
165
+ <glyph unicode="&#xe133;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM855 639l-223 275q-13 16 -32 16t-32 -16l-223 -275q-13 -16 -8 -27.5 t26 -11.5h137v-275q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v275h137q21 0 26 11.5t-8 27.5z" />
166
+ <glyph unicode="&#xe134;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM675 900h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-275h-137q-21 0 -26 -11.5 t8 -27.5l223 -275q13 -16 32 -16t32 16l223 275q13 16 8 27.5t-26 11.5h-137v275q0 10 -7.5 17.5t-17.5 7.5z" />
167
+ <glyph unicode="&#xe135;" d="M600 1176q116 0 222.5 -46t184 -123.5t123.5 -184t46 -222.5t-46 -222.5t-123.5 -184t-184 -123.5t-222.5 -46t-222.5 46t-184 123.5t-123.5 184t-46 222.5t46 222.5t123.5 184t184 123.5t222.5 46zM627 1101q-15 -12 -36.5 -20.5t-35.5 -12t-43 -8t-39 -6.5 q-15 -3 -45.5 0t-45.5 -2q-20 -7 -51.5 -26.5t-34.5 -34.5q-3 -11 6.5 -22.5t8.5 -18.5q-3 -34 -27.5 -91t-29.5 -79q-9 -34 5 -93t8 -87q0 -9 17 -44.5t16 -59.5q12 0 23 -5t23.5 -15t19.5 -14q16 -8 33 -15t40.5 -15t34.5 -12q21 -9 52.5 -32t60 -38t57.5 -11 q7 -15 -3 -34t-22.5 -40t-9.5 -38q13 -21 23 -34.5t27.5 -27.5t36.5 -18q0 -7 -3.5 -16t-3.5 -14t5 -17q104 -2 221 112q30 29 46.5 47t34.5 49t21 63q-13 8 -37 8.5t-36 7.5q-15 7 -49.5 15t-51.5 19q-18 0 -41 -0.5t-43 -1.5t-42 -6.5t-38 -16.5q-51 -35 -66 -12 q-4 1 -3.5 25.5t0.5 25.5q-6 13 -26.5 17.5t-24.5 6.5q1 15 -0.5 30.5t-7 28t-18.5 11.5t-31 -21q-23 -25 -42 4q-19 28 -8 58q6 16 22 22q6 -1 26 -1.5t33.5 -4t19.5 -13.5q7 -12 18 -24t21.5 -20.5t20 -15t15.5 -10.5l5 -3q2 12 7.5 30.5t8 34.5t-0.5 32q-3 18 3.5 29 t18 22.5t15.5 24.5q6 14 10.5 35t8 31t15.5 22.5t34 22.5q-6 18 10 36q8 0 24 -1.5t24.5 -1.5t20 4.5t20.5 15.5q-10 23 -31 42.5t-37.5 29.5t-49 27t-43.5 23q0 1 2 8t3 11.5t1.5 10.5t-1 9.5t-4.5 4.5q31 -13 58.5 -14.5t38.5 2.5l12 5q5 28 -9.5 46t-36.5 24t-50 15 t-41 20q-18 -4 -37 0zM613 994q0 -17 8 -42t17 -45t9 -23q-8 1 -39.5 5.5t-52.5 10t-37 16.5q3 11 16 29.5t16 25.5q10 -10 19 -10t14 6t13.5 14.5t16.5 12.5z" />
168
+ <glyph unicode="&#xe136;" d="M756 1157q164 92 306 -9l-259 -138l145 -232l251 126q6 -89 -34 -156.5t-117 -110.5q-60 -34 -127 -39.5t-126 16.5l-596 -596q-15 -16 -36.5 -16t-36.5 16l-111 110q-15 15 -15 36.5t15 37.5l600 599q-34 101 5.5 201.5t135.5 154.5z" />
169
+ <glyph unicode="&#xe137;" horiz-adv-x="1220" d="M100 1196h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 1096h-200v-100h200v100zM100 796h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 696h-500v-100h500v100zM100 396h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 296h-300v-100h300v100z " />
170
+ <glyph unicode="&#xe138;" d="M150 1200h900q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM700 500v-300l-200 -200v500l-350 500h900z" />
171
+ <glyph unicode="&#xe139;" d="M500 1200h200q41 0 70.5 -29.5t29.5 -70.5v-100h300q41 0 70.5 -29.5t29.5 -70.5v-400h-500v100h-200v-100h-500v400q0 41 29.5 70.5t70.5 29.5h300v100q0 41 29.5 70.5t70.5 29.5zM500 1100v-100h200v100h-200zM1200 400v-200q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v200h1200z" />
172
+ <glyph unicode="&#xe140;" d="M50 1200h300q21 0 25 -10.5t-10 -24.5l-94 -94l199 -199q7 -8 7 -18t-7 -18l-106 -106q-8 -7 -18 -7t-18 7l-199 199l-94 -94q-14 -14 -24.5 -10t-10.5 25v300q0 21 14.5 35.5t35.5 14.5zM850 1200h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94 l-199 -199q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l199 199l-94 94q-14 14 -10 24.5t25 10.5zM364 470l106 -106q7 -8 7 -18t-7 -18l-199 -199l94 -94q14 -14 10 -24.5t-25 -10.5h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l199 199 q8 7 18 7t18 -7zM1071 271l94 94q14 14 24.5 10t10.5 -25v-300q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -25 10.5t10 24.5l94 94l-199 199q-7 8 -7 18t7 18l106 106q8 7 18 7t18 -7z" />
173
+ <glyph unicode="&#xe141;" d="M596 1192q121 0 231.5 -47.5t190 -127t127 -190t47.5 -231.5t-47.5 -231.5t-127 -190.5t-190 -127t-231.5 -47t-231.5 47t-190.5 127t-127 190.5t-47 231.5t47 231.5t127 190t190.5 127t231.5 47.5zM596 1010q-112 0 -207.5 -55.5t-151 -151t-55.5 -207.5t55.5 -207.5 t151 -151t207.5 -55.5t207.5 55.5t151 151t55.5 207.5t-55.5 207.5t-151 151t-207.5 55.5zM454.5 905q22.5 0 38.5 -16t16 -38.5t-16 -39t-38.5 -16.5t-38.5 16.5t-16 39t16 38.5t38.5 16zM754.5 905q22.5 0 38.5 -16t16 -38.5t-16 -39t-38 -16.5q-14 0 -29 10l-55 -145 q17 -23 17 -51q0 -36 -25.5 -61.5t-61.5 -25.5t-61.5 25.5t-25.5 61.5q0 32 20.5 56.5t51.5 29.5l122 126l1 1q-9 14 -9 28q0 23 16 39t38.5 16zM345.5 709q22.5 0 38.5 -16t16 -38.5t-16 -38.5t-38.5 -16t-38.5 16t-16 38.5t16 38.5t38.5 16zM854.5 709q22.5 0 38.5 -16 t16 -38.5t-16 -38.5t-38.5 -16t-38.5 16t-16 38.5t16 38.5t38.5 16z" />
174
+ <glyph unicode="&#xe142;" d="M546 173l469 470q91 91 99 192q7 98 -52 175.5t-154 94.5q-22 4 -47 4q-34 0 -66.5 -10t-56.5 -23t-55.5 -38t-48 -41.5t-48.5 -47.5q-376 -375 -391 -390q-30 -27 -45 -41.5t-37.5 -41t-32 -46.5t-16 -47.5t-1.5 -56.5q9 -62 53.5 -95t99.5 -33q74 0 125 51l548 548 q36 36 20 75q-7 16 -21.5 26t-32.5 10q-26 0 -50 -23q-13 -12 -39 -38l-341 -338q-15 -15 -35.5 -15.5t-34.5 13.5t-14 34.5t14 34.5q327 333 361 367q35 35 67.5 51.5t78.5 16.5q14 0 29 -1q44 -8 74.5 -35.5t43.5 -68.5q14 -47 2 -96.5t-47 -84.5q-12 -11 -32 -32 t-79.5 -81t-114.5 -115t-124.5 -123.5t-123 -119.5t-96.5 -89t-57 -45q-56 -27 -120 -27q-70 0 -129 32t-93 89q-48 78 -35 173t81 163l511 511q71 72 111 96q91 55 198 55q80 0 152 -33q78 -36 129.5 -103t66.5 -154q17 -93 -11 -183.5t-94 -156.5l-482 -476 q-15 -15 -36 -16t-37 14t-17.5 34t14.5 35z" />
175
+ <glyph unicode="&#xe143;" d="M649 949q48 68 109.5 104t121.5 38.5t118.5 -20t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-150 152.5t-126.5 127.5t-93.5 124.5t-33.5 117.5q0 64 28 123t73 100.5t104 64t119 20 t120.5 -38.5t104.5 -104zM896 972q-33 0 -64.5 -19t-56.5 -46t-47.5 -53.5t-43.5 -45.5t-37.5 -19t-36 19t-40 45.5t-43 53.5t-54 46t-65.5 19q-67 0 -122.5 -55.5t-55.5 -132.5q0 -23 13.5 -51t46 -65t57.5 -63t76 -75l22 -22q15 -14 44 -44t50.5 -51t46 -44t41 -35t23 -12 t23.5 12t42.5 36t46 44t52.5 52t44 43q4 4 12 13q43 41 63.5 62t52 55t46 55t26 46t11.5 44q0 79 -53 133.5t-120 54.5z" />
176
+ <glyph unicode="&#xe144;" d="M776.5 1214q93.5 0 159.5 -66l141 -141q66 -66 66 -160q0 -42 -28 -95.5t-62 -87.5l-29 -29q-31 53 -77 99l-18 18l95 95l-247 248l-389 -389l212 -212l-105 -106l-19 18l-141 141q-66 66 -66 159t66 159l283 283q65 66 158.5 66zM600 706l105 105q10 -8 19 -17l141 -141 q66 -66 66 -159t-66 -159l-283 -283q-66 -66 -159 -66t-159 66l-141 141q-66 66 -66 159.5t66 159.5l55 55q29 -55 75 -102l18 -17l-95 -95l247 -248l389 389z" />
177
+ <glyph unicode="&#xe145;" d="M603 1200q85 0 162 -15t127 -38t79 -48t29 -46v-953q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-41 0 -70.5 29.5t-29.5 70.5v953q0 21 30 46.5t81 48t129 37.5t163 15zM300 1000v-700h600v700h-600zM600 254q-43 0 -73.5 -30.5t-30.5 -73.5t30.5 -73.5t73.5 -30.5t73.5 30.5 t30.5 73.5t-30.5 73.5t-73.5 30.5z" />
178
+ <glyph unicode="&#xe146;" d="M902 1185l283 -282q15 -15 15 -36t-14.5 -35.5t-35.5 -14.5t-35 15l-36 35l-279 -267v-300l-212 210l-308 -307l-280 -203l203 280l307 308l-210 212h300l267 279l-35 36q-15 14 -15 35t14.5 35.5t35.5 14.5t35 -15z" />
179
+ <glyph unicode="&#xe148;" d="M700 1248v-78q38 -5 72.5 -14.5t75.5 -31.5t71 -53.5t52 -84t24 -118.5h-159q-4 36 -10.5 59t-21 45t-40 35.5t-64.5 20.5v-307l64 -13q34 -7 64 -16.5t70 -32t67.5 -52.5t47.5 -80t20 -112q0 -139 -89 -224t-244 -97v-77h-100v79q-150 16 -237 103q-40 40 -52.5 93.5 t-15.5 139.5h139q5 -77 48.5 -126t117.5 -65v335l-27 8q-46 14 -79 26.5t-72 36t-63 52t-40 72.5t-16 98q0 70 25 126t67.5 92t94.5 57t110 27v77h100zM600 754v274q-29 -4 -50 -11t-42 -21.5t-31.5 -41.5t-10.5 -65q0 -29 7 -50.5t16.5 -34t28.5 -22.5t31.5 -14t37.5 -10 q9 -3 13 -4zM700 547v-310q22 2 42.5 6.5t45 15.5t41.5 27t29 42t12 59.5t-12.5 59.5t-38 44.5t-53 31t-66.5 24.5z" />
180
+ <glyph unicode="&#xe149;" d="M561 1197q84 0 160.5 -40t123.5 -109.5t47 -147.5h-153q0 40 -19.5 71.5t-49.5 48.5t-59.5 26t-55.5 9q-37 0 -79 -14.5t-62 -35.5q-41 -44 -41 -101q0 -26 13.5 -63t26.5 -61t37 -66q6 -9 9 -14h241v-100h-197q8 -50 -2.5 -115t-31.5 -95q-45 -62 -99 -112 q34 10 83 17.5t71 7.5q32 1 102 -16t104 -17q83 0 136 30l50 -147q-31 -19 -58 -30.5t-55 -15.5t-42 -4.5t-46 -0.5q-23 0 -76 17t-111 32.5t-96 11.5q-39 -3 -82 -16t-67 -25l-23 -11l-55 145q4 3 16 11t15.5 10.5t13 9t15.5 12t14.5 14t17.5 18.5q48 55 54 126.5 t-30 142.5h-221v100h166q-23 47 -44 104q-7 20 -12 41.5t-6 55.5t6 66.5t29.5 70.5t58.5 71q97 88 263 88z" />
181
+ <glyph unicode="&#xe150;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM935 1184l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-900h-200v900h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
182
+ <glyph unicode="&#xe151;" d="M1000 700h-100v100h-100v-100h-100v500h300v-500zM400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM801 1100v-200h100v200h-100zM1000 350l-200 -250h200v-100h-300v150l200 250h-200v100h300v-150z " />
183
+ <glyph unicode="&#xe152;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1000 1050l-200 -250h200v-100h-300v150l200 250h-200v100h300v-150zM1000 0h-100v100h-100v-100h-100v500h300v-500zM801 400v-200h100v200h-100z " />
184
+ <glyph unicode="&#xe153;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1000 700h-100v400h-100v100h200v-500zM1100 0h-100v100h-200v400h300v-500zM901 400v-200h100v200h-100z" />
185
+ <glyph unicode="&#xe154;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1100 700h-100v100h-200v400h300v-500zM901 1100v-200h100v200h-100zM1000 0h-100v400h-100v100h200v-500z" />
186
+ <glyph unicode="&#xe155;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM900 1000h-200v200h200v-200zM1000 700h-300v200h300v-200zM1100 400h-400v200h400v-200zM1200 100h-500v200h500v-200z" />
187
+ <glyph unicode="&#xe156;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1200 1000h-500v200h500v-200zM1100 700h-400v200h400v-200zM1000 400h-300v200h300v-200zM900 100h-200v200h200v-200z" />
188
+ <glyph unicode="&#xe157;" d="M350 1100h400q162 0 256 -93.5t94 -256.5v-400q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5z" />
189
+ <glyph unicode="&#xe158;" d="M350 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-163 0 -256.5 92.5t-93.5 257.5v400q0 163 94 256.5t256 93.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM440 770l253 -190q17 -12 17 -30t-17 -30l-253 -190q-16 -12 -28 -6.5t-12 26.5v400q0 21 12 26.5t28 -6.5z" />
190
+ <glyph unicode="&#xe159;" d="M350 1100h400q163 0 256.5 -94t93.5 -256v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 163 92.5 256.5t257.5 93.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM350 700h400q21 0 26.5 -12t-6.5 -28l-190 -253q-12 -17 -30 -17t-30 17l-190 253q-12 16 -6.5 28t26.5 12z" />
191
+ <glyph unicode="&#xe160;" d="M350 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -163 -92.5 -256.5t-257.5 -93.5h-400q-163 0 -256.5 94t-93.5 256v400q0 165 92.5 257.5t257.5 92.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM580 693l190 -253q12 -16 6.5 -28t-26.5 -12h-400q-21 0 -26.5 12t6.5 28l190 253q12 17 30 17t30 -17z" />
192
+ <glyph unicode="&#xe161;" d="M550 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h450q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-450q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM338 867l324 -284q16 -14 16 -33t-16 -33l-324 -284q-16 -14 -27 -9t-11 26v150h-250q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h250v150q0 21 11 26t27 -9z" />
193
+ <glyph unicode="&#xe162;" d="M793 1182l9 -9q8 -10 5 -27q-3 -11 -79 -225.5t-78 -221.5l300 1q24 0 32.5 -17.5t-5.5 -35.5q-1 0 -133.5 -155t-267 -312.5t-138.5 -162.5q-12 -15 -26 -15h-9l-9 8q-9 11 -4 32q2 9 42 123.5t79 224.5l39 110h-302q-23 0 -31 19q-10 21 6 41q75 86 209.5 237.5 t228 257t98.5 111.5q9 16 25 16h9z" />
194
+ <glyph unicode="&#xe163;" d="M350 1100h400q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-450q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h450q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400 q0 165 92.5 257.5t257.5 92.5zM938 867l324 -284q16 -14 16 -33t-16 -33l-324 -284q-16 -14 -27 -9t-11 26v150h-250q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h250v150q0 21 11 26t27 -9z" />
195
+ <glyph unicode="&#xe164;" d="M750 1200h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -10.5 -25t-24.5 10l-109 109l-312 -312q-15 -15 -35.5 -15t-35.5 15l-141 141q-15 15 -15 35.5t15 35.5l312 312l-109 109q-14 14 -10 24.5t25 10.5zM456 900h-156q-41 0 -70.5 -29.5t-29.5 -70.5v-500 q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v148l200 200v-298q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5h300z" />
196
+ <glyph unicode="&#xe165;" d="M600 1186q119 0 227.5 -46.5t187 -125t125 -187t46.5 -227.5t-46.5 -227.5t-125 -187t-187 -125t-227.5 -46.5t-227.5 46.5t-187 125t-125 187t-46.5 227.5t46.5 227.5t125 187t187 125t227.5 46.5zM600 1022q-115 0 -212 -56.5t-153.5 -153.5t-56.5 -212t56.5 -212 t153.5 -153.5t212 -56.5t212 56.5t153.5 153.5t56.5 212t-56.5 212t-153.5 153.5t-212 56.5zM600 794q80 0 137 -57t57 -137t-57 -137t-137 -57t-137 57t-57 137t57 137t137 57z" />
197
+ <glyph unicode="&#xe166;" d="M450 1200h200q21 0 35.5 -14.5t14.5 -35.5v-350h245q20 0 25 -11t-9 -26l-383 -426q-14 -15 -33.5 -15t-32.5 15l-379 426q-13 15 -8.5 26t25.5 11h250v350q0 21 14.5 35.5t35.5 14.5zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5z M900 200v-50h100v50h-100z" />
198
+ <glyph unicode="&#xe167;" d="M583 1182l378 -435q14 -15 9 -31t-26 -16h-244v-250q0 -20 -17 -35t-39 -15h-200q-20 0 -32 14.5t-12 35.5v250h-250q-20 0 -25.5 16.5t8.5 31.5l383 431q14 16 33.5 17t33.5 -14zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5z M900 200v-50h100v50h-100z" />
199
+ <glyph unicode="&#xe168;" d="M396 723l369 369q7 7 17.5 7t17.5 -7l139 -139q7 -8 7 -18.5t-7 -17.5l-525 -525q-7 -8 -17.5 -8t-17.5 8l-292 291q-7 8 -7 18t7 18l139 139q8 7 18.5 7t17.5 -7zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50 h-100z" />
200
+ <glyph unicode="&#xe169;" d="M135 1023l142 142q14 14 35 14t35 -14l77 -77l-212 -212l-77 76q-14 15 -14 36t14 35zM655 855l210 210q14 14 24.5 10t10.5 -25l-2 -599q-1 -20 -15.5 -35t-35.5 -15l-597 -1q-21 0 -25 10.5t10 24.5l208 208l-154 155l212 212zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5 v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50h-100z" />
201
+ <glyph unicode="&#xe170;" d="M350 1200l599 -2q20 -1 35 -15.5t15 -35.5l1 -597q0 -21 -10.5 -25t-24.5 10l-208 208l-155 -154l-212 212l155 154l-210 210q-14 14 -10 24.5t25 10.5zM524 512l-76 -77q-15 -14 -36 -14t-35 14l-142 142q-14 14 -14 35t14 35l77 77zM50 300h1000q21 0 35.5 -14.5 t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50h-100z" />
202
+ <glyph unicode="&#xe171;" d="M1200 103l-483 276l-314 -399v423h-399l1196 796v-1096zM483 424v-230l683 953z" />
203
+ <glyph unicode="&#xe172;" d="M1100 1000v-850q0 -21 -14.5 -35.5t-35.5 -14.5h-150v400h-700v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200z" />
204
+ <glyph unicode="&#xe173;" d="M1100 1000l-2 -149l-299 -299l-95 95q-9 9 -21.5 9t-21.5 -9l-149 -147h-312v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM1132 638l106 -106q7 -7 7 -17.5t-7 -17.5l-420 -421q-8 -7 -18 -7 t-18 7l-202 203q-8 7 -8 17.5t8 17.5l106 106q7 8 17.5 8t17.5 -8l79 -79l297 297q7 7 17.5 7t17.5 -7z" />
205
+ <glyph unicode="&#xe174;" d="M1100 1000v-269l-103 -103l-134 134q-15 15 -33.5 16.5t-34.5 -12.5l-266 -266h-329v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM1202 572l70 -70q15 -15 15 -35.5t-15 -35.5l-131 -131 l131 -131q15 -15 15 -35.5t-15 -35.5l-70 -70q-15 -15 -35.5 -15t-35.5 15l-131 131l-131 -131q-15 -15 -35.5 -15t-35.5 15l-70 70q-15 15 -15 35.5t15 35.5l131 131l-131 131q-15 15 -15 35.5t15 35.5l70 70q15 15 35.5 15t35.5 -15l131 -131l131 131q15 15 35.5 15 t35.5 -15z" />
206
+ <glyph unicode="&#xe175;" d="M1100 1000v-300h-350q-21 0 -35.5 -14.5t-14.5 -35.5v-150h-500v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM850 600h100q21 0 35.5 -14.5t14.5 -35.5v-250h150q21 0 25 -10.5t-10 -24.5 l-230 -230q-14 -14 -35 -14t-35 14l-230 230q-14 14 -10 24.5t25 10.5h150v250q0 21 14.5 35.5t35.5 14.5z" />
207
+ <glyph unicode="&#xe176;" d="M1100 1000v-400l-165 165q-14 15 -35 15t-35 -15l-263 -265h-402v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM935 565l230 -229q14 -15 10 -25.5t-25 -10.5h-150v-250q0 -20 -14.5 -35 t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35v250h-150q-21 0 -25 10.5t10 25.5l230 229q14 15 35 15t35 -15z" />
208
+ <glyph unicode="&#xe177;" d="M50 1100h1100q21 0 35.5 -14.5t14.5 -35.5v-150h-1200v150q0 21 14.5 35.5t35.5 14.5zM1200 800v-550q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v550h1200zM100 500v-200h400v200h-400z" />
209
+ <glyph unicode="&#xe178;" d="M935 1165l248 -230q14 -14 14 -35t-14 -35l-248 -230q-14 -14 -24.5 -10t-10.5 25v150h-400v200h400v150q0 21 10.5 25t24.5 -10zM200 800h-50q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v-200zM400 800h-100v200h100v-200zM18 435l247 230 q14 14 24.5 10t10.5 -25v-150h400v-200h-400v-150q0 -21 -10.5 -25t-24.5 10l-247 230q-15 14 -15 35t15 35zM900 300h-100v200h100v-200zM1000 500h51q20 0 34.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-34.5 -14.5h-51v200z" />
210
+ <glyph unicode="&#xe179;" d="M862 1073l276 116q25 18 43.5 8t18.5 -41v-1106q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v397q-4 1 -11 5t-24 17.5t-30 29t-24 42t-11 56.5v359q0 31 18.5 65t43.5 52zM550 1200q22 0 34.5 -12.5t14.5 -24.5l1 -13v-450q0 -28 -10.5 -59.5 t-25 -56t-29 -45t-25.5 -31.5l-10 -11v-447q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v447q-4 4 -11 11.5t-24 30.5t-30 46t-24 55t-11 60v450q0 2 0.5 5.5t4 12t8.5 15t14.5 12t22.5 5.5q20 0 32.5 -12.5t14.5 -24.5l3 -13v-350h100v350v5.5t2.5 12 t7 15t15 12t25.5 5.5q23 0 35.5 -12.5t13.5 -24.5l1 -13v-350h100v350q0 2 0.5 5.5t3 12t7 15t15 12t24.5 5.5z" />
211
+ <glyph unicode="&#xe180;" d="M1200 1100v-56q-4 0 -11 -0.5t-24 -3t-30 -7.5t-24 -15t-11 -24v-888q0 -22 25 -34.5t50 -13.5l25 -2v-56h-400v56q75 0 87.5 6.5t12.5 43.5v394h-500v-394q0 -37 12.5 -43.5t87.5 -6.5v-56h-400v56q4 0 11 0.5t24 3t30 7.5t24 15t11 24v888q0 22 -25 34.5t-50 13.5 l-25 2v56h400v-56q-75 0 -87.5 -6.5t-12.5 -43.5v-394h500v394q0 37 -12.5 43.5t-87.5 6.5v56h400z" />
212
+ <glyph unicode="&#xe181;" d="M675 1000h375q21 0 35.5 -14.5t14.5 -35.5v-150h-105l-295 -98v98l-200 200h-400l100 100h375zM100 900h300q41 0 70.5 -29.5t29.5 -70.5v-500q0 -41 -29.5 -70.5t-70.5 -29.5h-300q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5zM100 800v-200h300v200 h-300zM1100 535l-400 -133v163l400 133v-163zM100 500v-200h300v200h-300zM1100 398v-248q0 -21 -14.5 -35.5t-35.5 -14.5h-375l-100 -100h-375l-100 100h400l200 200h105z" />
213
+ <glyph unicode="&#xe182;" d="M17 1007l162 162q17 17 40 14t37 -22l139 -194q14 -20 11 -44.5t-20 -41.5l-119 -118q102 -142 228 -268t267 -227l119 118q17 17 42.5 19t44.5 -12l192 -136q19 -14 22.5 -37.5t-13.5 -40.5l-163 -162q-3 -1 -9.5 -1t-29.5 2t-47.5 6t-62.5 14.5t-77.5 26.5t-90 42.5 t-101.5 60t-111 83t-119 108.5q-74 74 -133.5 150.5t-94.5 138.5t-60 119.5t-34.5 100t-15 74.5t-4.5 48z" />
214
+ <glyph unicode="&#xe183;" d="M600 1100q92 0 175 -10.5t141.5 -27t108.5 -36.5t81.5 -40t53.5 -37t31 -27l9 -10v-200q0 -21 -14.5 -33t-34.5 -9l-202 34q-20 3 -34.5 20t-14.5 38v146q-141 24 -300 24t-300 -24v-146q0 -21 -14.5 -38t-34.5 -20l-202 -34q-20 -3 -34.5 9t-14.5 33v200q3 4 9.5 10.5 t31 26t54 37.5t80.5 39.5t109 37.5t141 26.5t175 10.5zM600 795q56 0 97 -9.5t60 -23.5t30 -28t12 -24l1 -10v-50l365 -303q14 -15 24.5 -40t10.5 -45v-212q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v212q0 20 10.5 45t24.5 40l365 303v50 q0 4 1 10.5t12 23t30 29t60 22.5t97 10z" />
215
+ <glyph unicode="&#xe184;" d="M1100 700l-200 -200h-600l-200 200v500h200v-200h200v200h200v-200h200v200h200v-500zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-12l137 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5 t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
216
+ <glyph unicode="&#xe185;" d="M700 1100h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-1000h300v1000q0 41 -29.5 70.5t-70.5 29.5zM1100 800h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-700h300v700q0 41 -29.5 70.5t-70.5 29.5zM400 0h-300v400q0 41 29.5 70.5t70.5 29.5h100q41 0 70.5 -29.5t29.5 -70.5v-400z " />
217
+ <glyph unicode="&#xe186;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-100h200v-300h-300v100h200v100h-200v300h300v-100zM900 700v-300l-100 -100h-200v500h200z M700 700v-300h100v300h-100z" />
218
+ <glyph unicode="&#xe187;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 300h-100v200h-100v-200h-100v500h100v-200h100v200h100v-500zM900 700v-300l-100 -100h-200v500h200z M700 700v-300h100v300h-100z" />
219
+ <glyph unicode="&#xe188;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-300h200v-100h-300v500h300v-100zM900 700h-200v-300h200v-100h-300v500h300v-100z" />
220
+ <glyph unicode="&#xe189;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 400l-300 150l300 150v-300zM900 550l-300 -150v300z" />
221
+ <glyph unicode="&#xe190;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM900 300h-700v500h700v-500zM800 700h-130q-38 0 -66.5 -43t-28.5 -108t27 -107t68 -42h130v300zM300 700v-300 h130q41 0 68 42t27 107t-28.5 108t-66.5 43h-130z" />
222
+ <glyph unicode="&#xe191;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-100h200v-300h-300v100h200v100h-200v300h300v-100zM900 300h-100v400h-100v100h200v-500z M700 300h-100v100h100v-100z" />
223
+ <glyph unicode="&#xe192;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM300 700h200v-400h-300v500h100v-100zM900 300h-100v400h-100v100h200v-500zM300 600v-200h100v200h-100z M700 300h-100v100h100v-100z" />
224
+ <glyph unicode="&#xe193;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 500l-199 -200h-100v50l199 200v150h-200v100h300v-300zM900 300h-100v400h-100v100h200v-500zM701 300h-100 v100h100v-100z" />
225
+ <glyph unicode="&#xe194;" d="M600 1191q120 0 229.5 -47t188.5 -126t126 -188.5t47 -229.5t-47 -229.5t-126 -188.5t-188.5 -126t-229.5 -47t-229.5 47t-188.5 126t-126 188.5t-47 229.5t47 229.5t126 188.5t188.5 126t229.5 47zM600 1021q-114 0 -211 -56.5t-153.5 -153.5t-56.5 -211t56.5 -211 t153.5 -153.5t211 -56.5t211 56.5t153.5 153.5t56.5 211t-56.5 211t-153.5 153.5t-211 56.5zM800 700h-300v-200h300v-100h-300l-100 100v200l100 100h300v-100z" />
226
+ <glyph unicode="&#xe195;" d="M600 1191q120 0 229.5 -47t188.5 -126t126 -188.5t47 -229.5t-47 -229.5t-126 -188.5t-188.5 -126t-229.5 -47t-229.5 47t-188.5 126t-126 188.5t-47 229.5t47 229.5t126 188.5t188.5 126t229.5 47zM600 1021q-114 0 -211 -56.5t-153.5 -153.5t-56.5 -211t56.5 -211 t153.5 -153.5t211 -56.5t211 56.5t153.5 153.5t56.5 211t-56.5 211t-153.5 153.5t-211 56.5zM800 700v-100l-50 -50l100 -100v-50h-100l-100 100h-150v-100h-100v400h300zM500 700v-100h200v100h-200z" />
227
+ <glyph unicode="&#xe197;" d="M503 1089q110 0 200.5 -59.5t134.5 -156.5q44 14 90 14q120 0 205 -86.5t85 -207t-85 -207t-205 -86.5h-128v250q0 21 -14.5 35.5t-35.5 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-250h-222q-80 0 -136 57.5t-56 136.5q0 69 43 122.5t108 67.5q-2 19 -2 37q0 100 49 185 t134 134t185 49zM525 500h150q10 0 17.5 -7.5t7.5 -17.5v-275h137q21 0 26 -11.5t-8 -27.5l-223 -244q-13 -16 -32 -16t-32 16l-223 244q-13 16 -8 27.5t26 11.5h137v275q0 10 7.5 17.5t17.5 7.5z" />
228
+ <glyph unicode="&#xe198;" d="M502 1089q110 0 201 -59.5t135 -156.5q43 15 89 15q121 0 206 -86.5t86 -206.5q0 -99 -60 -181t-150 -110l-378 360q-13 16 -31.5 16t-31.5 -16l-381 -365h-9q-79 0 -135.5 57.5t-56.5 136.5q0 69 43 122.5t108 67.5q-2 19 -2 38q0 100 49 184.5t133.5 134t184.5 49.5z M632 467l223 -228q13 -16 8 -27.5t-26 -11.5h-137v-275q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v275h-137q-21 0 -26 11.5t8 27.5q199 204 223 228q19 19 31.5 19t32.5 -19z" />
229
+ <glyph unicode="&#xe199;" d="M700 100v100h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170l-270 -300h400v-100h-50q-21 0 -35.5 -14.5t-14.5 -35.5v-50h400v50q0 21 -14.5 35.5t-35.5 14.5h-50z" />
230
+ <glyph unicode="&#xe200;" d="M600 1179q94 0 167.5 -56.5t99.5 -145.5q89 -6 150.5 -71.5t61.5 -155.5q0 -61 -29.5 -112.5t-79.5 -82.5q9 -29 9 -55q0 -74 -52.5 -126.5t-126.5 -52.5q-55 0 -100 30v-251q21 0 35.5 -14.5t14.5 -35.5v-50h-300v50q0 21 14.5 35.5t35.5 14.5v251q-45 -30 -100 -30 q-74 0 -126.5 52.5t-52.5 126.5q0 18 4 38q-47 21 -75.5 65t-28.5 97q0 74 52.5 126.5t126.5 52.5q5 0 23 -2q0 2 -1 10t-1 13q0 116 81.5 197.5t197.5 81.5z" />
231
+ <glyph unicode="&#xe201;" d="M1010 1010q111 -111 150.5 -260.5t0 -299t-150.5 -260.5q-83 -83 -191.5 -126.5t-218.5 -43.5t-218.5 43.5t-191.5 126.5q-111 111 -150.5 260.5t0 299t150.5 260.5q83 83 191.5 126.5t218.5 43.5t218.5 -43.5t191.5 -126.5zM476 1065q-4 0 -8 -1q-121 -34 -209.5 -122.5 t-122.5 -209.5q-4 -12 2.5 -23t18.5 -14l36 -9q3 -1 7 -1q23 0 29 22q27 96 98 166q70 71 166 98q11 3 17.5 13.5t3.5 22.5l-9 35q-3 13 -14 19q-7 4 -15 4zM512 920q-4 0 -9 -2q-80 -24 -138.5 -82.5t-82.5 -138.5q-4 -13 2 -24t19 -14l34 -9q4 -1 8 -1q22 0 28 21 q18 58 58.5 98.5t97.5 58.5q12 3 18 13.5t3 21.5l-9 35q-3 12 -14 19q-7 4 -15 4zM719.5 719.5q-49.5 49.5 -119.5 49.5t-119.5 -49.5t-49.5 -119.5t49.5 -119.5t119.5 -49.5t119.5 49.5t49.5 119.5t-49.5 119.5zM855 551q-22 0 -28 -21q-18 -58 -58.5 -98.5t-98.5 -57.5 q-11 -4 -17 -14.5t-3 -21.5l9 -35q3 -12 14 -19q7 -4 15 -4q4 0 9 2q80 24 138.5 82.5t82.5 138.5q4 13 -2.5 24t-18.5 14l-34 9q-4 1 -8 1zM1000 515q-23 0 -29 -22q-27 -96 -98 -166q-70 -71 -166 -98q-11 -3 -17.5 -13.5t-3.5 -22.5l9 -35q3 -13 14 -19q7 -4 15 -4 q4 0 8 1q121 34 209.5 122.5t122.5 209.5q4 12 -2.5 23t-18.5 14l-36 9q-3 1 -7 1z" />
232
+ <glyph unicode="&#xe202;" d="M700 800h300v-380h-180v200h-340v-200h-380v755q0 10 7.5 17.5t17.5 7.5h575v-400zM1000 900h-200v200zM700 300h162l-212 -212l-212 212h162v200h100v-200zM520 0h-395q-10 0 -17.5 7.5t-7.5 17.5v395zM1000 220v-195q0 -10 -7.5 -17.5t-17.5 -7.5h-195z" />
233
+ <glyph unicode="&#xe203;" d="M700 800h300v-520l-350 350l-550 -550v1095q0 10 7.5 17.5t17.5 7.5h575v-400zM1000 900h-200v200zM862 200h-162v-200h-100v200h-162l212 212zM480 0h-355q-10 0 -17.5 7.5t-7.5 17.5v55h380v-80zM1000 80v-55q0 -10 -7.5 -17.5t-17.5 -7.5h-155v80h180z" />
234
+ <glyph unicode="&#xe204;" d="M1162 800h-162v-200h100l100 -100h-300v300h-162l212 212zM200 800h200q27 0 40 -2t29.5 -10.5t23.5 -30t7 -57.5h300v-100h-600l-200 -350v450h100q0 36 7 57.5t23.5 30t29.5 10.5t40 2zM800 400h240l-240 -400h-800l300 500h500v-100z" />
235
+ <glyph unicode="&#xe205;" d="M650 1100h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5zM1000 850v150q41 0 70.5 -29.5t29.5 -70.5v-800 q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-1 0 -20 4l246 246l-326 326v324q0 41 29.5 70.5t70.5 29.5v-150q0 -62 44 -106t106 -44h300q62 0 106 44t44 106zM412 250l-212 -212v162h-200v100h200v162z" />
236
+ <glyph unicode="&#xe206;" d="M450 1100h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5zM800 850v150q41 0 70.5 -29.5t29.5 -70.5v-500 h-200v-300h200q0 -36 -7 -57.5t-23.5 -30t-29.5 -10.5t-40 -2h-600q-41 0 -70.5 29.5t-29.5 70.5v800q0 41 29.5 70.5t70.5 29.5v-150q0 -62 44 -106t106 -44h300q62 0 106 44t44 106zM1212 250l-212 -212v162h-200v100h200v162z" />
237
+ <glyph unicode="&#xe209;" d="M658 1197l637 -1104q23 -38 7 -65.5t-60 -27.5h-1276q-44 0 -60 27.5t7 65.5l637 1104q22 39 54 39t54 -39zM704 800h-208q-20 0 -32 -14.5t-8 -34.5l58 -302q4 -20 21.5 -34.5t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5l58 302q4 20 -8 34.5t-32 14.5zM500 300v-100h200 v100h-200z" />
238
+ <glyph unicode="&#xe210;" d="M425 1100h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM425 800h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5 t17.5 7.5zM825 800h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM25 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150 q0 10 7.5 17.5t17.5 7.5zM425 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM825 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5 v150q0 10 7.5 17.5t17.5 7.5zM25 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM425 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5 t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM825 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
239
+ <glyph unicode="&#xe211;" d="M700 1200h100v-200h-100v-100h350q62 0 86.5 -39.5t-3.5 -94.5l-66 -132q-41 -83 -81 -134h-772q-40 51 -81 134l-66 132q-28 55 -3.5 94.5t86.5 39.5h350v100h-100v200h100v100h200v-100zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-12l137 -100 h-950l138 100h-13q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
240
+ <glyph unicode="&#xe212;" d="M600 1300q40 0 68.5 -29.5t28.5 -70.5h-194q0 41 28.5 70.5t68.5 29.5zM443 1100h314q18 -37 18 -75q0 -8 -3 -25h328q41 0 44.5 -16.5t-30.5 -38.5l-175 -145h-678l-178 145q-34 22 -29 38.5t46 16.5h328q-3 17 -3 25q0 38 18 75zM250 700h700q21 0 35.5 -14.5 t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-150v-200l275 -200h-950l275 200v200h-150q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
241
+ <glyph unicode="&#xe213;" d="M600 1181q75 0 128 -53t53 -128t-53 -128t-128 -53t-128 53t-53 128t53 128t128 53zM602 798h46q34 0 55.5 -28.5t21.5 -86.5q0 -76 39 -183h-324q39 107 39 183q0 58 21.5 86.5t56.5 28.5h45zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13 l138 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
242
+ <glyph unicode="&#xe214;" d="M600 1300q47 0 92.5 -53.5t71 -123t25.5 -123.5q0 -78 -55.5 -133.5t-133.5 -55.5t-133.5 55.5t-55.5 133.5q0 62 34 143l144 -143l111 111l-163 163q34 26 63 26zM602 798h46q34 0 55.5 -28.5t21.5 -86.5q0 -76 39 -183h-324q39 107 39 183q0 58 21.5 86.5t56.5 28.5h45 zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13l138 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
243
+ <glyph unicode="&#xe215;" d="M600 1200l300 -161v-139h-300q0 -57 18.5 -108t50 -91.5t63 -72t70 -67.5t57.5 -61h-530q-60 83 -90.5 177.5t-30.5 178.5t33 164.5t87.5 139.5t126 96.5t145.5 41.5v-98zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13l138 -100h-950l137 100 h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
244
+ <glyph unicode="&#xe216;" d="M600 1300q41 0 70.5 -29.5t29.5 -70.5v-78q46 -26 73 -72t27 -100v-50h-400v50q0 54 27 100t73 72v78q0 41 29.5 70.5t70.5 29.5zM400 800h400q54 0 100 -27t72 -73h-172v-100h200v-100h-200v-100h200v-100h-200v-100h200q0 -83 -58.5 -141.5t-141.5 -58.5h-400 q-83 0 -141.5 58.5t-58.5 141.5v400q0 83 58.5 141.5t141.5 58.5z" />
245
+ <glyph unicode="&#xe218;" d="M150 1100h900q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5zM125 400h950q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-283l224 -224q13 -13 13 -31.5t-13 -32 t-31.5 -13.5t-31.5 13l-88 88h-524l-87 -88q-13 -13 -32 -13t-32 13.5t-13 32t13 31.5l224 224h-289q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM541 300l-100 -100h324l-100 100h-124z" />
246
+ <glyph unicode="&#xe219;" d="M200 1100h800q83 0 141.5 -58.5t58.5 -141.5v-200h-100q0 41 -29.5 70.5t-70.5 29.5h-250q-41 0 -70.5 -29.5t-29.5 -70.5h-100q0 41 -29.5 70.5t-70.5 29.5h-250q-41 0 -70.5 -29.5t-29.5 -70.5h-100v200q0 83 58.5 141.5t141.5 58.5zM100 600h1000q41 0 70.5 -29.5 t29.5 -70.5v-300h-1200v300q0 41 29.5 70.5t70.5 29.5zM300 100v-50q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v50h200zM1100 100v-50q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v50h200z" />
247
+ <glyph unicode="&#xe221;" d="M480 1165l682 -683q31 -31 31 -75.5t-31 -75.5l-131 -131h-481l-517 518q-32 31 -32 75.5t32 75.5l295 296q31 31 75.5 31t76.5 -31zM108 794l342 -342l303 304l-341 341zM250 100h800q21 0 35.5 -14.5t14.5 -35.5v-50h-900v50q0 21 14.5 35.5t35.5 14.5z" />
248
+ <glyph unicode="&#xe223;" d="M1057 647l-189 506q-8 19 -27.5 33t-40.5 14h-400q-21 0 -40.5 -14t-27.5 -33l-189 -506q-8 -19 1.5 -33t30.5 -14h625v-150q0 -21 14.5 -35.5t35.5 -14.5t35.5 14.5t14.5 35.5v150h125q21 0 30.5 14t1.5 33zM897 0h-595v50q0 21 14.5 35.5t35.5 14.5h50v50 q0 21 14.5 35.5t35.5 14.5h48v300h200v-300h47q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-50z" />
249
+ <glyph unicode="&#xe224;" d="M900 800h300v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-375v591l-300 300v84q0 10 7.5 17.5t17.5 7.5h375v-400zM1200 900h-200v200zM400 600h300v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-650q-10 0 -17.5 7.5t-7.5 17.5v950q0 10 7.5 17.5t17.5 7.5h375v-400zM700 700h-200v200z " />
250
+ <glyph unicode="&#xe225;" d="M484 1095h195q75 0 146 -32.5t124 -86t89.5 -122.5t48.5 -142q18 -14 35 -20q31 -10 64.5 6.5t43.5 48.5q10 34 -15 71q-19 27 -9 43q5 8 12.5 11t19 -1t23.5 -16q41 -44 39 -105q-3 -63 -46 -106.5t-104 -43.5h-62q-7 -55 -35 -117t-56 -100l-39 -234q-3 -20 -20 -34.5 t-38 -14.5h-100q-21 0 -33 14.5t-9 34.5l12 70q-49 -14 -91 -14h-195q-24 0 -65 8l-11 -64q-3 -20 -20 -34.5t-38 -14.5h-100q-21 0 -33 14.5t-9 34.5l26 157q-84 74 -128 175l-159 53q-19 7 -33 26t-14 40v50q0 21 14.5 35.5t35.5 14.5h124q11 87 56 166l-111 95 q-16 14 -12.5 23.5t24.5 9.5h203q116 101 250 101zM675 1000h-250q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h250q10 0 17.5 7.5t7.5 17.5v50q0 10 -7.5 17.5t-17.5 7.5z" />
251
+ <glyph unicode="&#xe226;" d="M641 900l423 247q19 8 42 2.5t37 -21.5l32 -38q14 -15 12.5 -36t-17.5 -34l-139 -120h-390zM50 1100h106q67 0 103 -17t66 -71l102 -212h823q21 0 35.5 -14.5t14.5 -35.5v-50q0 -21 -14 -40t-33 -26l-737 -132q-23 -4 -40 6t-26 25q-42 67 -100 67h-300q-62 0 -106 44 t-44 106v200q0 62 44 106t106 44zM173 928h-80q-19 0 -28 -14t-9 -35v-56q0 -51 42 -51h134q16 0 21.5 8t5.5 24q0 11 -16 45t-27 51q-18 28 -43 28zM550 727q-32 0 -54.5 -22.5t-22.5 -54.5t22.5 -54.5t54.5 -22.5t54.5 22.5t22.5 54.5t-22.5 54.5t-54.5 22.5zM130 389 l152 130q18 19 34 24t31 -3.5t24.5 -17.5t25.5 -28q28 -35 50.5 -51t48.5 -13l63 5l48 -179q13 -61 -3.5 -97.5t-67.5 -79.5l-80 -69q-47 -40 -109 -35.5t-103 51.5l-130 151q-40 47 -35.5 109.5t51.5 102.5zM380 377l-102 -88q-31 -27 2 -65l37 -43q13 -15 27.5 -19.5 t31.5 6.5l61 53q19 16 14 49q-2 20 -12 56t-17 45q-11 12 -19 14t-23 -8z" />
252
+ <glyph unicode="&#xe227;" d="M625 1200h150q10 0 17.5 -7.5t7.5 -17.5v-109q79 -33 131 -87.5t53 -128.5q1 -46 -15 -84.5t-39 -61t-46 -38t-39 -21.5l-17 -6q6 0 15 -1.5t35 -9t50 -17.5t53 -30t50 -45t35.5 -64t14.5 -84q0 -59 -11.5 -105.5t-28.5 -76.5t-44 -51t-49.5 -31.5t-54.5 -16t-49.5 -6.5 t-43.5 -1v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-100v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-175q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h75v600h-75q-10 0 -17.5 7.5t-7.5 17.5v150 q0 10 7.5 17.5t17.5 7.5h175v75q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-75h100v75q0 10 7.5 17.5t17.5 7.5zM400 900v-200h263q28 0 48.5 10.5t30 25t15 29t5.5 25.5l1 10q0 4 -0.5 11t-6 24t-15 30t-30 24t-48.5 11h-263zM400 500v-200h363q28 0 48.5 10.5 t30 25t15 29t5.5 25.5l1 10q0 4 -0.5 11t-6 24t-15 30t-30 24t-48.5 11h-363z" />
253
+ <glyph unicode="&#xe230;" d="M212 1198h780q86 0 147 -61t61 -147v-416q0 -51 -18 -142.5t-36 -157.5l-18 -66q-29 -87 -93.5 -146.5t-146.5 -59.5h-572q-82 0 -147 59t-93 147q-8 28 -20 73t-32 143.5t-20 149.5v416q0 86 61 147t147 61zM600 1045q-70 0 -132.5 -11.5t-105.5 -30.5t-78.5 -41.5 t-57 -45t-36 -41t-20.5 -30.5l-6 -12l156 -243h560l156 243q-2 5 -6 12.5t-20 29.5t-36.5 42t-57 44.5t-79 42t-105 29.5t-132.5 12zM762 703h-157l195 261z" />
254
+ <glyph unicode="&#xe231;" d="M475 1300h150q103 0 189 -86t86 -189v-500q0 -41 -42 -83t-83 -42h-450q-41 0 -83 42t-42 83v500q0 103 86 189t189 86zM700 300v-225q0 -21 -27 -48t-48 -27h-150q-21 0 -48 27t-27 48v225h300z" />
255
+ <glyph unicode="&#xe232;" d="M475 1300h96q0 -150 89.5 -239.5t239.5 -89.5v-446q0 -41 -42 -83t-83 -42h-450q-41 0 -83 42t-42 83v500q0 103 86 189t189 86zM700 300v-225q0 -21 -27 -48t-48 -27h-150q-21 0 -48 27t-27 48v225h300z" />
256
+ <glyph unicode="&#xe233;" d="M1294 767l-638 -283l-378 170l-78 -60v-224l100 -150v-199l-150 148l-150 -149v200l100 150v250q0 4 -0.5 10.5t0 9.5t1 8t3 8t6.5 6l47 40l-147 65l642 283zM1000 380l-350 -166l-350 166v147l350 -165l350 165v-147z" />
257
+ <glyph unicode="&#xe234;" d="M250 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM650 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM1050 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44z" />
258
+ <glyph unicode="&#xe235;" d="M550 1100q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM550 700q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM550 300q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44z" />
259
+ <glyph unicode="&#xe236;" d="M125 1100h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM125 700h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5 t17.5 7.5zM125 300h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
260
+ <glyph unicode="&#xe237;" d="M350 1200h500q162 0 256 -93.5t94 -256.5v-500q0 -165 -93.5 -257.5t-256.5 -92.5h-500q-165 0 -257.5 92.5t-92.5 257.5v500q0 165 92.5 257.5t257.5 92.5zM900 1000h-600q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h600q41 0 70.5 29.5 t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5zM350 900h500q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -14.5 -35.5t-35.5 -14.5h-500q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 14.5 35.5t35.5 14.5zM400 800v-200h400v200h-400z" />
261
+ <glyph unicode="&#xe238;" d="M150 1100h1000q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5 t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5z" />
262
+ <glyph unicode="&#xe239;" d="M650 1187q87 -67 118.5 -156t0 -178t-118.5 -155q-87 66 -118.5 155t0 178t118.5 156zM300 800q124 0 212 -88t88 -212q-124 0 -212 88t-88 212zM1000 800q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM300 500q124 0 212 -88t88 -212q-124 0 -212 88t-88 212z M1000 500q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM700 199v-144q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v142q40 -4 43 -4q17 0 57 6z" />
263
+ <glyph unicode="&#xe240;" d="M745 878l69 19q25 6 45 -12l298 -295q11 -11 15 -26.5t-2 -30.5q-5 -14 -18 -23.5t-28 -9.5h-8q1 0 1 -13q0 -29 -2 -56t-8.5 -62t-20 -63t-33 -53t-51 -39t-72.5 -14h-146q-184 0 -184 288q0 24 10 47q-20 4 -62 4t-63 -4q11 -24 11 -47q0 -288 -184 -288h-142 q-48 0 -84.5 21t-56 51t-32 71.5t-16 75t-3.5 68.5q0 13 2 13h-7q-15 0 -27.5 9.5t-18.5 23.5q-6 15 -2 30.5t15 25.5l298 296q20 18 46 11l76 -19q20 -5 30.5 -22.5t5.5 -37.5t-22.5 -31t-37.5 -5l-51 12l-182 -193h891l-182 193l-44 -12q-20 -5 -37.5 6t-22.5 31t6 37.5 t31 22.5z" />
264
+ <glyph unicode="&#xe241;" d="M1200 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-850q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v850h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM500 450h-25q0 15 -4 24.5t-9 14.5t-17 7.5t-20 3t-25 0.5h-100v-425q0 -11 12.5 -17.5t25.5 -7.5h12v-50h-200v50q50 0 50 25v425h-100q-17 0 -25 -0.5t-20 -3t-17 -7.5t-9 -14.5t-4 -24.5h-25v150h500v-150z" />
265
+ <glyph unicode="&#xe242;" d="M1000 300v50q-25 0 -55 32q-14 14 -25 31t-16 27l-4 11l-289 747h-69l-300 -754q-18 -35 -39 -56q-9 -9 -24.5 -18.5t-26.5 -14.5l-11 -5v-50h273v50q-49 0 -78.5 21.5t-11.5 67.5l69 176h293l61 -166q13 -34 -3.5 -66.5t-55.5 -32.5v-50h312zM412 691l134 342l121 -342 h-255zM1100 150v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5z" />
266
+ <glyph unicode="&#xe243;" d="M50 1200h1100q21 0 35.5 -14.5t14.5 -35.5v-1100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v1100q0 21 14.5 35.5t35.5 14.5zM611 1118h-70q-13 0 -18 -12l-299 -753q-17 -32 -35 -51q-18 -18 -56 -34q-12 -5 -12 -18v-50q0 -8 5.5 -14t14.5 -6 h273q8 0 14 6t6 14v50q0 8 -6 14t-14 6q-55 0 -71 23q-10 14 0 39l63 163h266l57 -153q11 -31 -6 -55q-12 -17 -36 -17q-8 0 -14 -6t-6 -14v-50q0 -8 6 -14t14 -6h313q8 0 14 6t6 14v50q0 7 -5.5 13t-13.5 7q-17 0 -42 25q-25 27 -40 63h-1l-288 748q-5 12 -19 12zM639 611 h-197l103 264z" />
267
+ <glyph unicode="&#xe244;" d="M1200 1100h-1200v100h1200v-100zM50 1000h400q21 0 35.5 -14.5t14.5 -35.5v-900q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v900q0 21 14.5 35.5t35.5 14.5zM650 1000h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM700 900v-300h300v300h-300z" />
268
+ <glyph unicode="&#xe245;" d="M50 1200h400q21 0 35.5 -14.5t14.5 -35.5v-900q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v900q0 21 14.5 35.5t35.5 14.5zM650 700h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5zM700 600v-300h300v300h-300zM1200 0h-1200v100h1200v-100z" />
269
+ <glyph unicode="&#xe246;" d="M50 1000h400q21 0 35.5 -14.5t14.5 -35.5v-350h100v150q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-150h100v-100h-100v-150q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v150h-100v-350q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5zM700 700v-300h300v300h-300z" />
270
+ <glyph unicode="&#xe247;" d="M100 0h-100v1200h100v-1200zM250 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM300 1000v-300h300v300h-300zM250 500h900q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
271
+ <glyph unicode="&#xe248;" d="M600 1100h150q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-100h450q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h350v100h-150q-21 0 -35.5 14.5 t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h150v100h100v-100zM400 1000v-300h300v300h-300z" />
272
+ <glyph unicode="&#xe249;" d="M1200 0h-100v1200h100v-1200zM550 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM600 1000v-300h300v300h-300zM50 500h900q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
273
+ <glyph unicode="&#xe250;" d="M865 565l-494 -494q-23 -23 -41 -23q-14 0 -22 13.5t-8 38.5v1000q0 25 8 38.5t22 13.5q18 0 41 -23l494 -494q14 -14 14 -35t-14 -35z" />
274
+ <glyph unicode="&#xe251;" d="M335 635l494 494q29 29 50 20.5t21 -49.5v-1000q0 -41 -21 -49.5t-50 20.5l-494 494q-14 14 -14 35t14 35z" />
275
+ <glyph unicode="&#xe252;" d="M100 900h1000q41 0 49.5 -21t-20.5 -50l-494 -494q-14 -14 -35 -14t-35 14l-494 494q-29 29 -20.5 50t49.5 21z" />
276
+ <glyph unicode="&#xe253;" d="M635 865l494 -494q29 -29 20.5 -50t-49.5 -21h-1000q-41 0 -49.5 21t20.5 50l494 494q14 14 35 14t35 -14z" />
277
+ <glyph unicode="&#xe254;" d="M700 741v-182l-692 -323v221l413 193l-413 193v221zM1200 0h-800v200h800v-200z" />
278
+ <glyph unicode="&#xe255;" d="M1200 900h-200v-100h200v-100h-300v300h200v100h-200v100h300v-300zM0 700h50q0 21 4 37t9.5 26.5t18 17.5t22 11t28.5 5.5t31 2t37 0.5h100v-550q0 -22 -25 -34.5t-50 -13.5l-25 -2v-100h400v100q-4 0 -11 0.5t-24 3t-30 7t-24 15t-11 24.5v550h100q25 0 37 -0.5t31 -2 t28.5 -5.5t22 -11t18 -17.5t9.5 -26.5t4 -37h50v300h-800v-300z" />
279
+ <glyph unicode="&#xe256;" d="M800 700h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-100v-550q0 -22 25 -34.5t50 -14.5l25 -1v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v550h-100q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h800v-300zM1100 200h-200v-100h200v-100h-300v300h200v100h-200v100h300v-300z" />
280
+ <glyph unicode="&#xe257;" d="M701 1098h160q16 0 21 -11t-7 -23l-464 -464l464 -464q12 -12 7 -23t-21 -11h-160q-13 0 -23 9l-471 471q-7 8 -7 18t7 18l471 471q10 9 23 9z" />
281
+ <glyph unicode="&#xe258;" d="M339 1098h160q13 0 23 -9l471 -471q7 -8 7 -18t-7 -18l-471 -471q-10 -9 -23 -9h-160q-16 0 -21 11t7 23l464 464l-464 464q-12 12 -7 23t21 11z" />
282
+ <glyph unicode="&#xe259;" d="M1087 882q11 -5 11 -21v-160q0 -13 -9 -23l-471 -471q-8 -7 -18 -7t-18 7l-471 471q-9 10 -9 23v160q0 16 11 21t23 -7l464 -464l464 464q12 12 23 7z" />
283
+ <glyph unicode="&#xe260;" d="M618 993l471 -471q9 -10 9 -23v-160q0 -16 -11 -21t-23 7l-464 464l-464 -464q-12 -12 -23 -7t-11 21v160q0 13 9 23l471 471q8 7 18 7t18 -7z" />
284
+ <glyph unicode="&#xf8ff;" d="M1000 1200q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM450 1000h100q21 0 40 -14t26 -33l79 -194q5 1 16 3q34 6 54 9.5t60 7t65.5 1t61 -10t56.5 -23t42.5 -42t29 -64t5 -92t-19.5 -121.5q-1 -7 -3 -19.5t-11 -50t-20.5 -73t-32.5 -81.5t-46.5 -83t-64 -70 t-82.5 -50q-13 -5 -42 -5t-65.5 2.5t-47.5 2.5q-14 0 -49.5 -3.5t-63 -3.5t-43.5 7q-57 25 -104.5 78.5t-75 111.5t-46.5 112t-26 90l-7 35q-15 63 -18 115t4.5 88.5t26 64t39.5 43.5t52 25.5t58.5 13t62.5 2t59.5 -4.5t55.5 -8l-147 192q-12 18 -5.5 30t27.5 12z" />
285
+ <glyph unicode="&#x1f511;" d="M250 1200h600q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-500l-255 -178q-19 -9 -32 -1t-13 29v650h-150q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM400 1100v-100h300v100h-300z" />
286
+ <glyph unicode="&#x1f6aa;" d="M250 1200h750q39 0 69.5 -40.5t30.5 -84.5v-933l-700 -117v950l600 125h-700v-1000h-100v1025q0 23 15.5 49t34.5 26zM500 525v-100l100 20v100z" />
287
+ </font>
288
+ </defs></svg>
Binary file
Binary file
@@ -0,0 +1,4115 @@
1
+ /**
2
+ * @license AngularJS v1.5.3
3
+ * (c) 2010-2016 Google, Inc. http://angularjs.org
4
+ * License: MIT
5
+ */
6
+ (function(window, angular, undefined) {'use strict';
7
+
8
+ /* jshint ignore:start */
9
+ var noop = angular.noop;
10
+ var copy = angular.copy;
11
+ var extend = angular.extend;
12
+ var jqLite = angular.element;
13
+ var forEach = angular.forEach;
14
+ var isArray = angular.isArray;
15
+ var isString = angular.isString;
16
+ var isObject = angular.isObject;
17
+ var isUndefined = angular.isUndefined;
18
+ var isDefined = angular.isDefined;
19
+ var isFunction = angular.isFunction;
20
+ var isElement = angular.isElement;
21
+
22
+ var ELEMENT_NODE = 1;
23
+ var COMMENT_NODE = 8;
24
+
25
+ var ADD_CLASS_SUFFIX = '-add';
26
+ var REMOVE_CLASS_SUFFIX = '-remove';
27
+ var EVENT_CLASS_PREFIX = 'ng-';
28
+ var ACTIVE_CLASS_SUFFIX = '-active';
29
+ var PREPARE_CLASS_SUFFIX = '-prepare';
30
+
31
+ var NG_ANIMATE_CLASSNAME = 'ng-animate';
32
+ var NG_ANIMATE_CHILDREN_DATA = '$$ngAnimateChildren';
33
+
34
+ // Detect proper transitionend/animationend event names.
35
+ var CSS_PREFIX = '', TRANSITION_PROP, TRANSITIONEND_EVENT, ANIMATION_PROP, ANIMATIONEND_EVENT;
36
+
37
+ // If unprefixed events are not supported but webkit-prefixed are, use the latter.
38
+ // Otherwise, just use W3C names, browsers not supporting them at all will just ignore them.
39
+ // Note: Chrome implements `window.onwebkitanimationend` and doesn't implement `window.onanimationend`
40
+ // but at the same time dispatches the `animationend` event and not `webkitAnimationEnd`.
41
+ // Register both events in case `window.onanimationend` is not supported because of that,
42
+ // do the same for `transitionend` as Safari is likely to exhibit similar behavior.
43
+ // Also, the only modern browser that uses vendor prefixes for transitions/keyframes is webkit
44
+ // therefore there is no reason to test anymore for other vendor prefixes:
45
+ // http://caniuse.com/#search=transition
46
+ if (isUndefined(window.ontransitionend) && isDefined(window.onwebkittransitionend)) {
47
+ CSS_PREFIX = '-webkit-';
48
+ TRANSITION_PROP = 'WebkitTransition';
49
+ TRANSITIONEND_EVENT = 'webkitTransitionEnd transitionend';
50
+ } else {
51
+ TRANSITION_PROP = 'transition';
52
+ TRANSITIONEND_EVENT = 'transitionend';
53
+ }
54
+
55
+ if (isUndefined(window.onanimationend) && isDefined(window.onwebkitanimationend)) {
56
+ CSS_PREFIX = '-webkit-';
57
+ ANIMATION_PROP = 'WebkitAnimation';
58
+ ANIMATIONEND_EVENT = 'webkitAnimationEnd animationend';
59
+ } else {
60
+ ANIMATION_PROP = 'animation';
61
+ ANIMATIONEND_EVENT = 'animationend';
62
+ }
63
+
64
+ var DURATION_KEY = 'Duration';
65
+ var PROPERTY_KEY = 'Property';
66
+ var DELAY_KEY = 'Delay';
67
+ var TIMING_KEY = 'TimingFunction';
68
+ var ANIMATION_ITERATION_COUNT_KEY = 'IterationCount';
69
+ var ANIMATION_PLAYSTATE_KEY = 'PlayState';
70
+ var SAFE_FAST_FORWARD_DURATION_VALUE = 9999;
71
+
72
+ var ANIMATION_DELAY_PROP = ANIMATION_PROP + DELAY_KEY;
73
+ var ANIMATION_DURATION_PROP = ANIMATION_PROP + DURATION_KEY;
74
+ var TRANSITION_DELAY_PROP = TRANSITION_PROP + DELAY_KEY;
75
+ var TRANSITION_DURATION_PROP = TRANSITION_PROP + DURATION_KEY;
76
+
77
+ var isPromiseLike = function(p) {
78
+ return p && p.then ? true : false;
79
+ };
80
+
81
+ var ngMinErr = angular.$$minErr('ng');
82
+ function assertArg(arg, name, reason) {
83
+ if (!arg) {
84
+ throw ngMinErr('areq', "Argument '{0}' is {1}", (name || '?'), (reason || "required"));
85
+ }
86
+ return arg;
87
+ }
88
+
89
+ function mergeClasses(a,b) {
90
+ if (!a && !b) return '';
91
+ if (!a) return b;
92
+ if (!b) return a;
93
+ if (isArray(a)) a = a.join(' ');
94
+ if (isArray(b)) b = b.join(' ');
95
+ return a + ' ' + b;
96
+ }
97
+
98
+ function packageStyles(options) {
99
+ var styles = {};
100
+ if (options && (options.to || options.from)) {
101
+ styles.to = options.to;
102
+ styles.from = options.from;
103
+ }
104
+ return styles;
105
+ }
106
+
107
+ function pendClasses(classes, fix, isPrefix) {
108
+ var className = '';
109
+ classes = isArray(classes)
110
+ ? classes
111
+ : classes && isString(classes) && classes.length
112
+ ? classes.split(/\s+/)
113
+ : [];
114
+ forEach(classes, function(klass, i) {
115
+ if (klass && klass.length > 0) {
116
+ className += (i > 0) ? ' ' : '';
117
+ className += isPrefix ? fix + klass
118
+ : klass + fix;
119
+ }
120
+ });
121
+ return className;
122
+ }
123
+
124
+ function removeFromArray(arr, val) {
125
+ var index = arr.indexOf(val);
126
+ if (val >= 0) {
127
+ arr.splice(index, 1);
128
+ }
129
+ }
130
+
131
+ function stripCommentsFromElement(element) {
132
+ if (element instanceof jqLite) {
133
+ switch (element.length) {
134
+ case 0:
135
+ return [];
136
+ break;
137
+
138
+ case 1:
139
+ // there is no point of stripping anything if the element
140
+ // is the only element within the jqLite wrapper.
141
+ // (it's important that we retain the element instance.)
142
+ if (element[0].nodeType === ELEMENT_NODE) {
143
+ return element;
144
+ }
145
+ break;
146
+
147
+ default:
148
+ return jqLite(extractElementNode(element));
149
+ break;
150
+ }
151
+ }
152
+
153
+ if (element.nodeType === ELEMENT_NODE) {
154
+ return jqLite(element);
155
+ }
156
+ }
157
+
158
+ function extractElementNode(element) {
159
+ if (!element[0]) return element;
160
+ for (var i = 0; i < element.length; i++) {
161
+ var elm = element[i];
162
+ if (elm.nodeType == ELEMENT_NODE) {
163
+ return elm;
164
+ }
165
+ }
166
+ }
167
+
168
+ function $$addClass($$jqLite, element, className) {
169
+ forEach(element, function(elm) {
170
+ $$jqLite.addClass(elm, className);
171
+ });
172
+ }
173
+
174
+ function $$removeClass($$jqLite, element, className) {
175
+ forEach(element, function(elm) {
176
+ $$jqLite.removeClass(elm, className);
177
+ });
178
+ }
179
+
180
+ function applyAnimationClassesFactory($$jqLite) {
181
+ return function(element, options) {
182
+ if (options.addClass) {
183
+ $$addClass($$jqLite, element, options.addClass);
184
+ options.addClass = null;
185
+ }
186
+ if (options.removeClass) {
187
+ $$removeClass($$jqLite, element, options.removeClass);
188
+ options.removeClass = null;
189
+ }
190
+ }
191
+ }
192
+
193
+ function prepareAnimationOptions(options) {
194
+ options = options || {};
195
+ if (!options.$$prepared) {
196
+ var domOperation = options.domOperation || noop;
197
+ options.domOperation = function() {
198
+ options.$$domOperationFired = true;
199
+ domOperation();
200
+ domOperation = noop;
201
+ };
202
+ options.$$prepared = true;
203
+ }
204
+ return options;
205
+ }
206
+
207
+ function applyAnimationStyles(element, options) {
208
+ applyAnimationFromStyles(element, options);
209
+ applyAnimationToStyles(element, options);
210
+ }
211
+
212
+ function applyAnimationFromStyles(element, options) {
213
+ if (options.from) {
214
+ element.css(options.from);
215
+ options.from = null;
216
+ }
217
+ }
218
+
219
+ function applyAnimationToStyles(element, options) {
220
+ if (options.to) {
221
+ element.css(options.to);
222
+ options.to = null;
223
+ }
224
+ }
225
+
226
+ function mergeAnimationDetails(element, oldAnimation, newAnimation) {
227
+ var target = oldAnimation.options || {};
228
+ var newOptions = newAnimation.options || {};
229
+
230
+ var toAdd = (target.addClass || '') + ' ' + (newOptions.addClass || '');
231
+ var toRemove = (target.removeClass || '') + ' ' + (newOptions.removeClass || '');
232
+ var classes = resolveElementClasses(element.attr('class'), toAdd, toRemove);
233
+
234
+ if (newOptions.preparationClasses) {
235
+ target.preparationClasses = concatWithSpace(newOptions.preparationClasses, target.preparationClasses);
236
+ delete newOptions.preparationClasses;
237
+ }
238
+
239
+ // noop is basically when there is no callback; otherwise something has been set
240
+ var realDomOperation = target.domOperation !== noop ? target.domOperation : null;
241
+
242
+ extend(target, newOptions);
243
+
244
+ // TODO(matsko or sreeramu): proper fix is to maintain all animation callback in array and call at last,but now only leave has the callback so no issue with this.
245
+ if (realDomOperation) {
246
+ target.domOperation = realDomOperation;
247
+ }
248
+
249
+ if (classes.addClass) {
250
+ target.addClass = classes.addClass;
251
+ } else {
252
+ target.addClass = null;
253
+ }
254
+
255
+ if (classes.removeClass) {
256
+ target.removeClass = classes.removeClass;
257
+ } else {
258
+ target.removeClass = null;
259
+ }
260
+
261
+ oldAnimation.addClass = target.addClass;
262
+ oldAnimation.removeClass = target.removeClass;
263
+
264
+ return target;
265
+ }
266
+
267
+ function resolveElementClasses(existing, toAdd, toRemove) {
268
+ var ADD_CLASS = 1;
269
+ var REMOVE_CLASS = -1;
270
+
271
+ var flags = {};
272
+ existing = splitClassesToLookup(existing);
273
+
274
+ toAdd = splitClassesToLookup(toAdd);
275
+ forEach(toAdd, function(value, key) {
276
+ flags[key] = ADD_CLASS;
277
+ });
278
+
279
+ toRemove = splitClassesToLookup(toRemove);
280
+ forEach(toRemove, function(value, key) {
281
+ flags[key] = flags[key] === ADD_CLASS ? null : REMOVE_CLASS;
282
+ });
283
+
284
+ var classes = {
285
+ addClass: '',
286
+ removeClass: ''
287
+ };
288
+
289
+ forEach(flags, function(val, klass) {
290
+ var prop, allow;
291
+ if (val === ADD_CLASS) {
292
+ prop = 'addClass';
293
+ allow = !existing[klass];
294
+ } else if (val === REMOVE_CLASS) {
295
+ prop = 'removeClass';
296
+ allow = existing[klass];
297
+ }
298
+ if (allow) {
299
+ if (classes[prop].length) {
300
+ classes[prop] += ' ';
301
+ }
302
+ classes[prop] += klass;
303
+ }
304
+ });
305
+
306
+ function splitClassesToLookup(classes) {
307
+ if (isString(classes)) {
308
+ classes = classes.split(' ');
309
+ }
310
+
311
+ var obj = {};
312
+ forEach(classes, function(klass) {
313
+ // sometimes the split leaves empty string values
314
+ // incase extra spaces were applied to the options
315
+ if (klass.length) {
316
+ obj[klass] = true;
317
+ }
318
+ });
319
+ return obj;
320
+ }
321
+
322
+ return classes;
323
+ }
324
+
325
+ function getDomNode(element) {
326
+ return (element instanceof angular.element) ? element[0] : element;
327
+ }
328
+
329
+ function applyGeneratedPreparationClasses(element, event, options) {
330
+ var classes = '';
331
+ if (event) {
332
+ classes = pendClasses(event, EVENT_CLASS_PREFIX, true);
333
+ }
334
+ if (options.addClass) {
335
+ classes = concatWithSpace(classes, pendClasses(options.addClass, ADD_CLASS_SUFFIX));
336
+ }
337
+ if (options.removeClass) {
338
+ classes = concatWithSpace(classes, pendClasses(options.removeClass, REMOVE_CLASS_SUFFIX));
339
+ }
340
+ if (classes.length) {
341
+ options.preparationClasses = classes;
342
+ element.addClass(classes);
343
+ }
344
+ }
345
+
346
+ function clearGeneratedClasses(element, options) {
347
+ if (options.preparationClasses) {
348
+ element.removeClass(options.preparationClasses);
349
+ options.preparationClasses = null;
350
+ }
351
+ if (options.activeClasses) {
352
+ element.removeClass(options.activeClasses);
353
+ options.activeClasses = null;
354
+ }
355
+ }
356
+
357
+ function blockTransitions(node, duration) {
358
+ // we use a negative delay value since it performs blocking
359
+ // yet it doesn't kill any existing transitions running on the
360
+ // same element which makes this safe for class-based animations
361
+ var value = duration ? '-' + duration + 's' : '';
362
+ applyInlineStyle(node, [TRANSITION_DELAY_PROP, value]);
363
+ return [TRANSITION_DELAY_PROP, value];
364
+ }
365
+
366
+ function blockKeyframeAnimations(node, applyBlock) {
367
+ var value = applyBlock ? 'paused' : '';
368
+ var key = ANIMATION_PROP + ANIMATION_PLAYSTATE_KEY;
369
+ applyInlineStyle(node, [key, value]);
370
+ return [key, value];
371
+ }
372
+
373
+ function applyInlineStyle(node, styleTuple) {
374
+ var prop = styleTuple[0];
375
+ var value = styleTuple[1];
376
+ node.style[prop] = value;
377
+ }
378
+
379
+ function concatWithSpace(a,b) {
380
+ if (!a) return b;
381
+ if (!b) return a;
382
+ return a + ' ' + b;
383
+ }
384
+
385
+ var $$rAFSchedulerFactory = ['$$rAF', function($$rAF) {
386
+ var queue, cancelFn;
387
+
388
+ function scheduler(tasks) {
389
+ // we make a copy since RAFScheduler mutates the state
390
+ // of the passed in array variable and this would be difficult
391
+ // to track down on the outside code
392
+ queue = queue.concat(tasks);
393
+ nextTick();
394
+ }
395
+
396
+ queue = scheduler.queue = [];
397
+
398
+ /* waitUntilQuiet does two things:
399
+ * 1. It will run the FINAL `fn` value only when an uncanceled RAF has passed through
400
+ * 2. It will delay the next wave of tasks from running until the quiet `fn` has run.
401
+ *
402
+ * The motivation here is that animation code can request more time from the scheduler
403
+ * before the next wave runs. This allows for certain DOM properties such as classes to
404
+ * be resolved in time for the next animation to run.
405
+ */
406
+ scheduler.waitUntilQuiet = function(fn) {
407
+ if (cancelFn) cancelFn();
408
+
409
+ cancelFn = $$rAF(function() {
410
+ cancelFn = null;
411
+ fn();
412
+ nextTick();
413
+ });
414
+ };
415
+
416
+ return scheduler;
417
+
418
+ function nextTick() {
419
+ if (!queue.length) return;
420
+
421
+ var items = queue.shift();
422
+ for (var i = 0; i < items.length; i++) {
423
+ items[i]();
424
+ }
425
+
426
+ if (!cancelFn) {
427
+ $$rAF(function() {
428
+ if (!cancelFn) nextTick();
429
+ });
430
+ }
431
+ }
432
+ }];
433
+
434
+ /**
435
+ * @ngdoc directive
436
+ * @name ngAnimateChildren
437
+ * @restrict AE
438
+ * @element ANY
439
+ *
440
+ * @description
441
+ *
442
+ * ngAnimateChildren allows you to specify that children of this element should animate even if any
443
+ * of the children's parents are currently animating. By default, when an element has an active `enter`, `leave`, or `move`
444
+ * (structural) animation, child elements that also have an active structural animation are not animated.
445
+ *
446
+ * Note that even if `ngAnimteChildren` is set, no child animations will run when the parent element is removed from the DOM (`leave` animation).
447
+ *
448
+ *
449
+ * @param {string} ngAnimateChildren If the value is empty, `true` or `on`,
450
+ * then child animations are allowed. If the value is `false`, child animations are not allowed.
451
+ *
452
+ * @example
453
+ * <example module="ngAnimateChildren" name="ngAnimateChildren" deps="angular-animate.js" animations="true">
454
+ <file name="index.html">
455
+ <div ng-controller="mainController as main">
456
+ <label>Show container? <input type="checkbox" ng-model="main.enterElement" /></label>
457
+ <label>Animate children? <input type="checkbox" ng-model="main.animateChildren" /></label>
458
+ <hr>
459
+ <div ng-animate-children="{{main.animateChildren}}">
460
+ <div ng-if="main.enterElement" class="container">
461
+ List of items:
462
+ <div ng-repeat="item in [0, 1, 2, 3]" class="item">Item {{item}}</div>
463
+ </div>
464
+ </div>
465
+ </div>
466
+ </file>
467
+ <file name="animations.css">
468
+
469
+ .container.ng-enter,
470
+ .container.ng-leave {
471
+ transition: all ease 1.5s;
472
+ }
473
+
474
+ .container.ng-enter,
475
+ .container.ng-leave-active {
476
+ opacity: 0;
477
+ }
478
+
479
+ .container.ng-leave,
480
+ .container.ng-enter-active {
481
+ opacity: 1;
482
+ }
483
+
484
+ .item {
485
+ background: firebrick;
486
+ color: #FFF;
487
+ margin-bottom: 10px;
488
+ }
489
+
490
+ .item.ng-enter,
491
+ .item.ng-leave {
492
+ transition: transform 1.5s ease;
493
+ }
494
+
495
+ .item.ng-enter {
496
+ transform: translateX(50px);
497
+ }
498
+
499
+ .item.ng-enter-active {
500
+ transform: translateX(0);
501
+ }
502
+ </file>
503
+ <file name="script.js">
504
+ angular.module('ngAnimateChildren', ['ngAnimate'])
505
+ .controller('mainController', function() {
506
+ this.animateChildren = false;
507
+ this.enterElement = false;
508
+ });
509
+ </file>
510
+ </example>
511
+ */
512
+ var $$AnimateChildrenDirective = ['$interpolate', function($interpolate) {
513
+ return {
514
+ link: function(scope, element, attrs) {
515
+ var val = attrs.ngAnimateChildren;
516
+ if (angular.isString(val) && val.length === 0) { //empty attribute
517
+ element.data(NG_ANIMATE_CHILDREN_DATA, true);
518
+ } else {
519
+ // Interpolate and set the value, so that it is available to
520
+ // animations that run right after compilation
521
+ setData($interpolate(val)(scope));
522
+ attrs.$observe('ngAnimateChildren', setData);
523
+ }
524
+
525
+ function setData(value) {
526
+ value = value === 'on' || value === 'true';
527
+ element.data(NG_ANIMATE_CHILDREN_DATA, value);
528
+ }
529
+ }
530
+ };
531
+ }];
532
+
533
+ var ANIMATE_TIMER_KEY = '$$animateCss';
534
+
535
+ /**
536
+ * @ngdoc service
537
+ * @name $animateCss
538
+ * @kind object
539
+ *
540
+ * @description
541
+ * The `$animateCss` service is a useful utility to trigger customized CSS-based transitions/keyframes
542
+ * from a JavaScript-based animation or directly from a directive. The purpose of `$animateCss` is NOT
543
+ * to side-step how `$animate` and ngAnimate work, but the goal is to allow pre-existing animations or
544
+ * directives to create more complex animations that can be purely driven using CSS code.
545
+ *
546
+ * Note that only browsers that support CSS transitions and/or keyframe animations are capable of
547
+ * rendering animations triggered via `$animateCss` (bad news for IE9 and lower).
548
+ *
549
+ * ## Usage
550
+ * Once again, `$animateCss` is designed to be used inside of a registered JavaScript animation that
551
+ * is powered by ngAnimate. It is possible to use `$animateCss` directly inside of a directive, however,
552
+ * any automatic control over cancelling animations and/or preventing animations from being run on
553
+ * child elements will not be handled by Angular. For this to work as expected, please use `$animate` to
554
+ * trigger the animation and then setup a JavaScript animation that injects `$animateCss` to trigger
555
+ * the CSS animation.
556
+ *
557
+ * The example below shows how we can create a folding animation on an element using `ng-if`:
558
+ *
559
+ * ```html
560
+ * <!-- notice the `fold-animation` CSS class -->
561
+ * <div ng-if="onOff" class="fold-animation">
562
+ * This element will go BOOM
563
+ * </div>
564
+ * <button ng-click="onOff=true">Fold In</button>
565
+ * ```
566
+ *
567
+ * Now we create the **JavaScript animation** that will trigger the CSS transition:
568
+ *
569
+ * ```js
570
+ * ngModule.animation('.fold-animation', ['$animateCss', function($animateCss) {
571
+ * return {
572
+ * enter: function(element, doneFn) {
573
+ * var height = element[0].offsetHeight;
574
+ * return $animateCss(element, {
575
+ * from: { height:'0px' },
576
+ * to: { height:height + 'px' },
577
+ * duration: 1 // one second
578
+ * });
579
+ * }
580
+ * }
581
+ * }]);
582
+ * ```
583
+ *
584
+ * ## More Advanced Uses
585
+ *
586
+ * `$animateCss` is the underlying code that ngAnimate uses to power **CSS-based animations** behind the scenes. Therefore CSS hooks
587
+ * like `.ng-EVENT`, `.ng-EVENT-active`, `.ng-EVENT-stagger` are all features that can be triggered using `$animateCss` via JavaScript code.
588
+ *
589
+ * This also means that just about any combination of adding classes, removing classes, setting styles, dynamically setting a keyframe animation,
590
+ * applying a hardcoded duration or delay value, changing the animation easing or applying a stagger animation are all options that work with
591
+ * `$animateCss`. The service itself is smart enough to figure out the combination of options and examine the element styling properties in order
592
+ * to provide a working animation that will run in CSS.
593
+ *
594
+ * The example below showcases a more advanced version of the `.fold-animation` from the example above:
595
+ *
596
+ * ```js
597
+ * ngModule.animation('.fold-animation', ['$animateCss', function($animateCss) {
598
+ * return {
599
+ * enter: function(element, doneFn) {
600
+ * var height = element[0].offsetHeight;
601
+ * return $animateCss(element, {
602
+ * addClass: 'red large-text pulse-twice',
603
+ * easing: 'ease-out',
604
+ * from: { height:'0px' },
605
+ * to: { height:height + 'px' },
606
+ * duration: 1 // one second
607
+ * });
608
+ * }
609
+ * }
610
+ * }]);
611
+ * ```
612
+ *
613
+ * Since we're adding/removing CSS classes then the CSS transition will also pick those up:
614
+ *
615
+ * ```css
616
+ * /&#42; since a hardcoded duration value of 1 was provided in the JavaScript animation code,
617
+ * the CSS classes below will be transitioned despite them being defined as regular CSS classes &#42;/
618
+ * .red { background:red; }
619
+ * .large-text { font-size:20px; }
620
+ *
621
+ * /&#42; we can also use a keyframe animation and $animateCss will make it work alongside the transition &#42;/
622
+ * .pulse-twice {
623
+ * animation: 0.5s pulse linear 2;
624
+ * -webkit-animation: 0.5s pulse linear 2;
625
+ * }
626
+ *
627
+ * @keyframes pulse {
628
+ * from { transform: scale(0.5); }
629
+ * to { transform: scale(1.5); }
630
+ * }
631
+ *
632
+ * @-webkit-keyframes pulse {
633
+ * from { -webkit-transform: scale(0.5); }
634
+ * to { -webkit-transform: scale(1.5); }
635
+ * }
636
+ * ```
637
+ *
638
+ * Given this complex combination of CSS classes, styles and options, `$animateCss` will figure everything out and make the animation happen.
639
+ *
640
+ * ## How the Options are handled
641
+ *
642
+ * `$animateCss` is very versatile and intelligent when it comes to figuring out what configurations to apply to the element to ensure the animation
643
+ * works with the options provided. Say for example we were adding a class that contained a keyframe value and we wanted to also animate some inline
644
+ * styles using the `from` and `to` properties.
645
+ *
646
+ * ```js
647
+ * var animator = $animateCss(element, {
648
+ * from: { background:'red' },
649
+ * to: { background:'blue' }
650
+ * });
651
+ * animator.start();
652
+ * ```
653
+ *
654
+ * ```css
655
+ * .rotating-animation {
656
+ * animation:0.5s rotate linear;
657
+ * -webkit-animation:0.5s rotate linear;
658
+ * }
659
+ *
660
+ * @keyframes rotate {
661
+ * from { transform: rotate(0deg); }
662
+ * to { transform: rotate(360deg); }
663
+ * }
664
+ *
665
+ * @-webkit-keyframes rotate {
666
+ * from { -webkit-transform: rotate(0deg); }
667
+ * to { -webkit-transform: rotate(360deg); }
668
+ * }
669
+ * ```
670
+ *
671
+ * The missing pieces here are that we do not have a transition set (within the CSS code nor within the `$animateCss` options) and the duration of the animation is
672
+ * going to be detected from what the keyframe styles on the CSS class are. In this event, `$animateCss` will automatically create an inline transition
673
+ * style matching the duration detected from the keyframe style (which is present in the CSS class that is being added) and then prepare both the transition
674
+ * and keyframe animations to run in parallel on the element. Then when the animation is underway the provided `from` and `to` CSS styles will be applied
675
+ * and spread across the transition and keyframe animation.
676
+ *
677
+ * ## What is returned
678
+ *
679
+ * `$animateCss` works in two stages: a preparation phase and an animation phase. Therefore when `$animateCss` is first called it will NOT actually
680
+ * start the animation. All that is going on here is that the element is being prepared for the animation (which means that the generated CSS classes are
681
+ * added and removed on the element). Once `$animateCss` is called it will return an object with the following properties:
682
+ *
683
+ * ```js
684
+ * var animator = $animateCss(element, { ... });
685
+ * ```
686
+ *
687
+ * Now what do the contents of our `animator` variable look like:
688
+ *
689
+ * ```js
690
+ * {
691
+ * // starts the animation
692
+ * start: Function,
693
+ *
694
+ * // ends (aborts) the animation
695
+ * end: Function
696
+ * }
697
+ * ```
698
+ *
699
+ * To actually start the animation we need to run `animation.start()` which will then return a promise that we can hook into to detect when the animation ends.
700
+ * If we choose not to run the animation then we MUST run `animation.end()` to perform a cleanup on the element (since some CSS classes and styles may have been
701
+ * applied to the element during the preparation phase). Note that all other properties such as duration, delay, transitions and keyframes are just properties
702
+ * and that changing them will not reconfigure the parameters of the animation.
703
+ *
704
+ * ### runner.done() vs runner.then()
705
+ * It is documented that `animation.start()` will return a promise object and this is true, however, there is also an additional method available on the
706
+ * runner called `.done(callbackFn)`. The done method works the same as `.finally(callbackFn)`, however, it does **not trigger a digest to occur**.
707
+ * Therefore, for performance reasons, it's always best to use `runner.done(callback)` instead of `runner.then()`, `runner.catch()` or `runner.finally()`
708
+ * unless you really need a digest to kick off afterwards.
709
+ *
710
+ * Keep in mind that, to make this easier, ngAnimate has tweaked the JS animations API to recognize when a runner instance is returned from $animateCss
711
+ * (so there is no need to call `runner.done(doneFn)` inside of your JavaScript animation code).
712
+ * Check the {@link ngAnimate.$animateCss#usage animation code above} to see how this works.
713
+ *
714
+ * @param {DOMElement} element the element that will be animated
715
+ * @param {object} options the animation-related options that will be applied during the animation
716
+ *
717
+ * * `event` - The DOM event (e.g. enter, leave, move). When used, a generated CSS class of `ng-EVENT` and `ng-EVENT-active` will be applied
718
+ * to the element during the animation. Multiple events can be provided when spaces are used as a separator. (Note that this will not perform any DOM operation.)
719
+ * * `structural` - Indicates that the `ng-` prefix will be added to the event class. Setting to `false` or omitting will turn `ng-EVENT` and
720
+ * `ng-EVENT-active` in `EVENT` and `EVENT-active`. Unused if `event` is omitted.
721
+ * * `easing` - The CSS easing value that will be applied to the transition or keyframe animation (or both).
722
+ * * `transitionStyle` - The raw CSS transition style that will be used (e.g. `1s linear all`).
723
+ * * `keyframeStyle` - The raw CSS keyframe animation style that will be used (e.g. `1s my_animation linear`).
724
+ * * `from` - The starting CSS styles (a key/value object) that will be applied at the start of the animation.
725
+ * * `to` - The ending CSS styles (a key/value object) that will be applied across the animation via a CSS transition.
726
+ * * `addClass` - A space separated list of CSS classes that will be added to the element and spread across the animation.
727
+ * * `removeClass` - A space separated list of CSS classes that will be removed from the element and spread across the animation.
728
+ * * `duration` - A number value representing the total duration of the transition and/or keyframe (note that a value of 1 is 1000ms). If a value of `0`
729
+ * is provided then the animation will be skipped entirely.
730
+ * * `delay` - A number value representing the total delay of the transition and/or keyframe (note that a value of 1 is 1000ms). If a value of `true` is
731
+ * used then whatever delay value is detected from the CSS classes will be mirrored on the elements styles (e.g. by setting delay true then the style value
732
+ * of the element will be `transition-delay: DETECTED_VALUE`). Using `true` is useful when you want the CSS classes and inline styles to all share the same
733
+ * CSS delay value.
734
+ * * `stagger` - A numeric time value representing the delay between successively animated elements
735
+ * ({@link ngAnimate#css-staggering-animations Click here to learn how CSS-based staggering works in ngAnimate.})
736
+ * * `staggerIndex` - The numeric index representing the stagger item (e.g. a value of 5 is equal to the sixth item in the stagger; therefore when a
737
+ * `stagger` option value of `0.1` is used then there will be a stagger delay of `600ms`)
738
+ * * `applyClassesEarly` - Whether or not the classes being added or removed will be used when detecting the animation. This is set by `$animate` when enter/leave/move animations are fired to ensure that the CSS classes are resolved in time. (Note that this will prevent any transitions from occurring on the classes being added and removed.)
739
+ * * `cleanupStyles` - Whether or not the provided `from` and `to` styles will be removed once
740
+ * the animation is closed. This is useful for when the styles are used purely for the sake of
741
+ * the animation and do not have a lasting visual effect on the element (e.g. a collapse and open animation).
742
+ * By default this value is set to `false`.
743
+ *
744
+ * @return {object} an object with start and end methods and details about the animation.
745
+ *
746
+ * * `start` - The method to start the animation. This will return a `Promise` when called.
747
+ * * `end` - This method will cancel the animation and remove all applied CSS classes and styles.
748
+ */
749
+ var ONE_SECOND = 1000;
750
+ var BASE_TEN = 10;
751
+
752
+ var ELAPSED_TIME_MAX_DECIMAL_PLACES = 3;
753
+ var CLOSING_TIME_BUFFER = 1.5;
754
+
755
+ var DETECT_CSS_PROPERTIES = {
756
+ transitionDuration: TRANSITION_DURATION_PROP,
757
+ transitionDelay: TRANSITION_DELAY_PROP,
758
+ transitionProperty: TRANSITION_PROP + PROPERTY_KEY,
759
+ animationDuration: ANIMATION_DURATION_PROP,
760
+ animationDelay: ANIMATION_DELAY_PROP,
761
+ animationIterationCount: ANIMATION_PROP + ANIMATION_ITERATION_COUNT_KEY
762
+ };
763
+
764
+ var DETECT_STAGGER_CSS_PROPERTIES = {
765
+ transitionDuration: TRANSITION_DURATION_PROP,
766
+ transitionDelay: TRANSITION_DELAY_PROP,
767
+ animationDuration: ANIMATION_DURATION_PROP,
768
+ animationDelay: ANIMATION_DELAY_PROP
769
+ };
770
+
771
+ function getCssKeyframeDurationStyle(duration) {
772
+ return [ANIMATION_DURATION_PROP, duration + 's'];
773
+ }
774
+
775
+ function getCssDelayStyle(delay, isKeyframeAnimation) {
776
+ var prop = isKeyframeAnimation ? ANIMATION_DELAY_PROP : TRANSITION_DELAY_PROP;
777
+ return [prop, delay + 's'];
778
+ }
779
+
780
+ function computeCssStyles($window, element, properties) {
781
+ var styles = Object.create(null);
782
+ var detectedStyles = $window.getComputedStyle(element) || {};
783
+ forEach(properties, function(formalStyleName, actualStyleName) {
784
+ var val = detectedStyles[formalStyleName];
785
+ if (val) {
786
+ var c = val.charAt(0);
787
+
788
+ // only numerical-based values have a negative sign or digit as the first value
789
+ if (c === '-' || c === '+' || c >= 0) {
790
+ val = parseMaxTime(val);
791
+ }
792
+
793
+ // by setting this to null in the event that the delay is not set or is set directly as 0
794
+ // then we can still allow for negative values to be used later on and not mistake this
795
+ // value for being greater than any other negative value.
796
+ if (val === 0) {
797
+ val = null;
798
+ }
799
+ styles[actualStyleName] = val;
800
+ }
801
+ });
802
+
803
+ return styles;
804
+ }
805
+
806
+ function parseMaxTime(str) {
807
+ var maxValue = 0;
808
+ var values = str.split(/\s*,\s*/);
809
+ forEach(values, function(value) {
810
+ // it's always safe to consider only second values and omit `ms` values since
811
+ // getComputedStyle will always handle the conversion for us
812
+ if (value.charAt(value.length - 1) == 's') {
813
+ value = value.substring(0, value.length - 1);
814
+ }
815
+ value = parseFloat(value) || 0;
816
+ maxValue = maxValue ? Math.max(value, maxValue) : value;
817
+ });
818
+ return maxValue;
819
+ }
820
+
821
+ function truthyTimingValue(val) {
822
+ return val === 0 || val != null;
823
+ }
824
+
825
+ function getCssTransitionDurationStyle(duration, applyOnlyDuration) {
826
+ var style = TRANSITION_PROP;
827
+ var value = duration + 's';
828
+ if (applyOnlyDuration) {
829
+ style += DURATION_KEY;
830
+ } else {
831
+ value += ' linear all';
832
+ }
833
+ return [style, value];
834
+ }
835
+
836
+ function createLocalCacheLookup() {
837
+ var cache = Object.create(null);
838
+ return {
839
+ flush: function() {
840
+ cache = Object.create(null);
841
+ },
842
+
843
+ count: function(key) {
844
+ var entry = cache[key];
845
+ return entry ? entry.total : 0;
846
+ },
847
+
848
+ get: function(key) {
849
+ var entry = cache[key];
850
+ return entry && entry.value;
851
+ },
852
+
853
+ put: function(key, value) {
854
+ if (!cache[key]) {
855
+ cache[key] = { total: 1, value: value };
856
+ } else {
857
+ cache[key].total++;
858
+ }
859
+ }
860
+ };
861
+ }
862
+
863
+ // we do not reassign an already present style value since
864
+ // if we detect the style property value again we may be
865
+ // detecting styles that were added via the `from` styles.
866
+ // We make use of `isDefined` here since an empty string
867
+ // or null value (which is what getPropertyValue will return
868
+ // for a non-existing style) will still be marked as a valid
869
+ // value for the style (a falsy value implies that the style
870
+ // is to be removed at the end of the animation). If we had a simple
871
+ // "OR" statement then it would not be enough to catch that.
872
+ function registerRestorableStyles(backup, node, properties) {
873
+ forEach(properties, function(prop) {
874
+ backup[prop] = isDefined(backup[prop])
875
+ ? backup[prop]
876
+ : node.style.getPropertyValue(prop);
877
+ });
878
+ }
879
+
880
+ var $AnimateCssProvider = ['$animateProvider', function($animateProvider) {
881
+ var gcsLookup = createLocalCacheLookup();
882
+ var gcsStaggerLookup = createLocalCacheLookup();
883
+
884
+ this.$get = ['$window', '$$jqLite', '$$AnimateRunner', '$timeout',
885
+ '$$forceReflow', '$sniffer', '$$rAFScheduler', '$$animateQueue',
886
+ function($window, $$jqLite, $$AnimateRunner, $timeout,
887
+ $$forceReflow, $sniffer, $$rAFScheduler, $$animateQueue) {
888
+
889
+ var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
890
+
891
+ var parentCounter = 0;
892
+ function gcsHashFn(node, extraClasses) {
893
+ var KEY = "$$ngAnimateParentKey";
894
+ var parentNode = node.parentNode;
895
+ var parentID = parentNode[KEY] || (parentNode[KEY] = ++parentCounter);
896
+ return parentID + '-' + node.getAttribute('class') + '-' + extraClasses;
897
+ }
898
+
899
+ function computeCachedCssStyles(node, className, cacheKey, properties) {
900
+ var timings = gcsLookup.get(cacheKey);
901
+
902
+ if (!timings) {
903
+ timings = computeCssStyles($window, node, properties);
904
+ if (timings.animationIterationCount === 'infinite') {
905
+ timings.animationIterationCount = 1;
906
+ }
907
+ }
908
+
909
+ // we keep putting this in multiple times even though the value and the cacheKey are the same
910
+ // because we're keeping an internal tally of how many duplicate animations are detected.
911
+ gcsLookup.put(cacheKey, timings);
912
+ return timings;
913
+ }
914
+
915
+ function computeCachedCssStaggerStyles(node, className, cacheKey, properties) {
916
+ var stagger;
917
+
918
+ // if we have one or more existing matches of matching elements
919
+ // containing the same parent + CSS styles (which is how cacheKey works)
920
+ // then staggering is possible
921
+ if (gcsLookup.count(cacheKey) > 0) {
922
+ stagger = gcsStaggerLookup.get(cacheKey);
923
+
924
+ if (!stagger) {
925
+ var staggerClassName = pendClasses(className, '-stagger');
926
+
927
+ $$jqLite.addClass(node, staggerClassName);
928
+
929
+ stagger = computeCssStyles($window, node, properties);
930
+
931
+ // force the conversion of a null value to zero incase not set
932
+ stagger.animationDuration = Math.max(stagger.animationDuration, 0);
933
+ stagger.transitionDuration = Math.max(stagger.transitionDuration, 0);
934
+
935
+ $$jqLite.removeClass(node, staggerClassName);
936
+
937
+ gcsStaggerLookup.put(cacheKey, stagger);
938
+ }
939
+ }
940
+
941
+ return stagger || {};
942
+ }
943
+
944
+ var cancelLastRAFRequest;
945
+ var rafWaitQueue = [];
946
+ function waitUntilQuiet(callback) {
947
+ rafWaitQueue.push(callback);
948
+ $$rAFScheduler.waitUntilQuiet(function() {
949
+ gcsLookup.flush();
950
+ gcsStaggerLookup.flush();
951
+
952
+ // DO NOT REMOVE THIS LINE OR REFACTOR OUT THE `pageWidth` variable.
953
+ // PLEASE EXAMINE THE `$$forceReflow` service to understand why.
954
+ var pageWidth = $$forceReflow();
955
+
956
+ // we use a for loop to ensure that if the queue is changed
957
+ // during this looping then it will consider new requests
958
+ for (var i = 0; i < rafWaitQueue.length; i++) {
959
+ rafWaitQueue[i](pageWidth);
960
+ }
961
+ rafWaitQueue.length = 0;
962
+ });
963
+ }
964
+
965
+ function computeTimings(node, className, cacheKey) {
966
+ var timings = computeCachedCssStyles(node, className, cacheKey, DETECT_CSS_PROPERTIES);
967
+ var aD = timings.animationDelay;
968
+ var tD = timings.transitionDelay;
969
+ timings.maxDelay = aD && tD
970
+ ? Math.max(aD, tD)
971
+ : (aD || tD);
972
+ timings.maxDuration = Math.max(
973
+ timings.animationDuration * timings.animationIterationCount,
974
+ timings.transitionDuration);
975
+
976
+ return timings;
977
+ }
978
+
979
+ return function init(element, initialOptions) {
980
+ // all of the animation functions should create
981
+ // a copy of the options data, however, if a
982
+ // parent service has already created a copy then
983
+ // we should stick to using that
984
+ var options = initialOptions || {};
985
+ if (!options.$$prepared) {
986
+ options = prepareAnimationOptions(copy(options));
987
+ }
988
+
989
+ var restoreStyles = {};
990
+ var node = getDomNode(element);
991
+ if (!node
992
+ || !node.parentNode
993
+ || !$$animateQueue.enabled()) {
994
+ return closeAndReturnNoopAnimator();
995
+ }
996
+
997
+ var temporaryStyles = [];
998
+ var classes = element.attr('class');
999
+ var styles = packageStyles(options);
1000
+ var animationClosed;
1001
+ var animationPaused;
1002
+ var animationCompleted;
1003
+ var runner;
1004
+ var runnerHost;
1005
+ var maxDelay;
1006
+ var maxDelayTime;
1007
+ var maxDuration;
1008
+ var maxDurationTime;
1009
+ var startTime;
1010
+ var events = [];
1011
+
1012
+ if (options.duration === 0 || (!$sniffer.animations && !$sniffer.transitions)) {
1013
+ return closeAndReturnNoopAnimator();
1014
+ }
1015
+
1016
+ var method = options.event && isArray(options.event)
1017
+ ? options.event.join(' ')
1018
+ : options.event;
1019
+
1020
+ var isStructural = method && options.structural;
1021
+ var structuralClassName = '';
1022
+ var addRemoveClassName = '';
1023
+
1024
+ if (isStructural) {
1025
+ structuralClassName = pendClasses(method, EVENT_CLASS_PREFIX, true);
1026
+ } else if (method) {
1027
+ structuralClassName = method;
1028
+ }
1029
+
1030
+ if (options.addClass) {
1031
+ addRemoveClassName += pendClasses(options.addClass, ADD_CLASS_SUFFIX);
1032
+ }
1033
+
1034
+ if (options.removeClass) {
1035
+ if (addRemoveClassName.length) {
1036
+ addRemoveClassName += ' ';
1037
+ }
1038
+ addRemoveClassName += pendClasses(options.removeClass, REMOVE_CLASS_SUFFIX);
1039
+ }
1040
+
1041
+ // there may be a situation where a structural animation is combined together
1042
+ // with CSS classes that need to resolve before the animation is computed.
1043
+ // However this means that there is no explicit CSS code to block the animation
1044
+ // from happening (by setting 0s none in the class name). If this is the case
1045
+ // we need to apply the classes before the first rAF so we know to continue if
1046
+ // there actually is a detected transition or keyframe animation
1047
+ if (options.applyClassesEarly && addRemoveClassName.length) {
1048
+ applyAnimationClasses(element, options);
1049
+ }
1050
+
1051
+ var preparationClasses = [structuralClassName, addRemoveClassName].join(' ').trim();
1052
+ var fullClassName = classes + ' ' + preparationClasses;
1053
+ var activeClasses = pendClasses(preparationClasses, ACTIVE_CLASS_SUFFIX);
1054
+ var hasToStyles = styles.to && Object.keys(styles.to).length > 0;
1055
+ var containsKeyframeAnimation = (options.keyframeStyle || '').length > 0;
1056
+
1057
+ // there is no way we can trigger an animation if no styles and
1058
+ // no classes are being applied which would then trigger a transition,
1059
+ // unless there a is raw keyframe value that is applied to the element.
1060
+ if (!containsKeyframeAnimation
1061
+ && !hasToStyles
1062
+ && !preparationClasses) {
1063
+ return closeAndReturnNoopAnimator();
1064
+ }
1065
+
1066
+ var cacheKey, stagger;
1067
+ if (options.stagger > 0) {
1068
+ var staggerVal = parseFloat(options.stagger);
1069
+ stagger = {
1070
+ transitionDelay: staggerVal,
1071
+ animationDelay: staggerVal,
1072
+ transitionDuration: 0,
1073
+ animationDuration: 0
1074
+ };
1075
+ } else {
1076
+ cacheKey = gcsHashFn(node, fullClassName);
1077
+ stagger = computeCachedCssStaggerStyles(node, preparationClasses, cacheKey, DETECT_STAGGER_CSS_PROPERTIES);
1078
+ }
1079
+
1080
+ if (!options.$$skipPreparationClasses) {
1081
+ $$jqLite.addClass(element, preparationClasses);
1082
+ }
1083
+
1084
+ var applyOnlyDuration;
1085
+
1086
+ if (options.transitionStyle) {
1087
+ var transitionStyle = [TRANSITION_PROP, options.transitionStyle];
1088
+ applyInlineStyle(node, transitionStyle);
1089
+ temporaryStyles.push(transitionStyle);
1090
+ }
1091
+
1092
+ if (options.duration >= 0) {
1093
+ applyOnlyDuration = node.style[TRANSITION_PROP].length > 0;
1094
+ var durationStyle = getCssTransitionDurationStyle(options.duration, applyOnlyDuration);
1095
+
1096
+ // we set the duration so that it will be picked up by getComputedStyle later
1097
+ applyInlineStyle(node, durationStyle);
1098
+ temporaryStyles.push(durationStyle);
1099
+ }
1100
+
1101
+ if (options.keyframeStyle) {
1102
+ var keyframeStyle = [ANIMATION_PROP, options.keyframeStyle];
1103
+ applyInlineStyle(node, keyframeStyle);
1104
+ temporaryStyles.push(keyframeStyle);
1105
+ }
1106
+
1107
+ var itemIndex = stagger
1108
+ ? options.staggerIndex >= 0
1109
+ ? options.staggerIndex
1110
+ : gcsLookup.count(cacheKey)
1111
+ : 0;
1112
+
1113
+ var isFirst = itemIndex === 0;
1114
+
1115
+ // this is a pre-emptive way of forcing the setup classes to be added and applied INSTANTLY
1116
+ // without causing any combination of transitions to kick in. By adding a negative delay value
1117
+ // it forces the setup class' transition to end immediately. We later then remove the negative
1118
+ // transition delay to allow for the transition to naturally do it's thing. The beauty here is
1119
+ // that if there is no transition defined then nothing will happen and this will also allow
1120
+ // other transitions to be stacked on top of each other without any chopping them out.
1121
+ if (isFirst && !options.skipBlocking) {
1122
+ blockTransitions(node, SAFE_FAST_FORWARD_DURATION_VALUE);
1123
+ }
1124
+
1125
+ var timings = computeTimings(node, fullClassName, cacheKey);
1126
+ var relativeDelay = timings.maxDelay;
1127
+ maxDelay = Math.max(relativeDelay, 0);
1128
+ maxDuration = timings.maxDuration;
1129
+
1130
+ var flags = {};
1131
+ flags.hasTransitions = timings.transitionDuration > 0;
1132
+ flags.hasAnimations = timings.animationDuration > 0;
1133
+ flags.hasTransitionAll = flags.hasTransitions && timings.transitionProperty == 'all';
1134
+ flags.applyTransitionDuration = hasToStyles && (
1135
+ (flags.hasTransitions && !flags.hasTransitionAll)
1136
+ || (flags.hasAnimations && !flags.hasTransitions));
1137
+ flags.applyAnimationDuration = options.duration && flags.hasAnimations;
1138
+ flags.applyTransitionDelay = truthyTimingValue(options.delay) && (flags.applyTransitionDuration || flags.hasTransitions);
1139
+ flags.applyAnimationDelay = truthyTimingValue(options.delay) && flags.hasAnimations;
1140
+ flags.recalculateTimingStyles = addRemoveClassName.length > 0;
1141
+
1142
+ if (flags.applyTransitionDuration || flags.applyAnimationDuration) {
1143
+ maxDuration = options.duration ? parseFloat(options.duration) : maxDuration;
1144
+
1145
+ if (flags.applyTransitionDuration) {
1146
+ flags.hasTransitions = true;
1147
+ timings.transitionDuration = maxDuration;
1148
+ applyOnlyDuration = node.style[TRANSITION_PROP + PROPERTY_KEY].length > 0;
1149
+ temporaryStyles.push(getCssTransitionDurationStyle(maxDuration, applyOnlyDuration));
1150
+ }
1151
+
1152
+ if (flags.applyAnimationDuration) {
1153
+ flags.hasAnimations = true;
1154
+ timings.animationDuration = maxDuration;
1155
+ temporaryStyles.push(getCssKeyframeDurationStyle(maxDuration));
1156
+ }
1157
+ }
1158
+
1159
+ if (maxDuration === 0 && !flags.recalculateTimingStyles) {
1160
+ return closeAndReturnNoopAnimator();
1161
+ }
1162
+
1163
+ if (options.delay != null) {
1164
+ var delayStyle;
1165
+ if (typeof options.delay !== "boolean") {
1166
+ delayStyle = parseFloat(options.delay);
1167
+ // number in options.delay means we have to recalculate the delay for the closing timeout
1168
+ maxDelay = Math.max(delayStyle, 0);
1169
+ }
1170
+
1171
+ if (flags.applyTransitionDelay) {
1172
+ temporaryStyles.push(getCssDelayStyle(delayStyle));
1173
+ }
1174
+
1175
+ if (flags.applyAnimationDelay) {
1176
+ temporaryStyles.push(getCssDelayStyle(delayStyle, true));
1177
+ }
1178
+ }
1179
+
1180
+ // we need to recalculate the delay value since we used a pre-emptive negative
1181
+ // delay value and the delay value is required for the final event checking. This
1182
+ // property will ensure that this will happen after the RAF phase has passed.
1183
+ if (options.duration == null && timings.transitionDuration > 0) {
1184
+ flags.recalculateTimingStyles = flags.recalculateTimingStyles || isFirst;
1185
+ }
1186
+
1187
+ maxDelayTime = maxDelay * ONE_SECOND;
1188
+ maxDurationTime = maxDuration * ONE_SECOND;
1189
+ if (!options.skipBlocking) {
1190
+ flags.blockTransition = timings.transitionDuration > 0;
1191
+ flags.blockKeyframeAnimation = timings.animationDuration > 0 &&
1192
+ stagger.animationDelay > 0 &&
1193
+ stagger.animationDuration === 0;
1194
+ }
1195
+
1196
+ if (options.from) {
1197
+ if (options.cleanupStyles) {
1198
+ registerRestorableStyles(restoreStyles, node, Object.keys(options.from));
1199
+ }
1200
+ applyAnimationFromStyles(element, options);
1201
+ }
1202
+
1203
+ if (flags.blockTransition || flags.blockKeyframeAnimation) {
1204
+ applyBlocking(maxDuration);
1205
+ } else if (!options.skipBlocking) {
1206
+ blockTransitions(node, false);
1207
+ }
1208
+
1209
+ // TODO(matsko): for 1.5 change this code to have an animator object for better debugging
1210
+ return {
1211
+ $$willAnimate: true,
1212
+ end: endFn,
1213
+ start: function() {
1214
+ if (animationClosed) return;
1215
+
1216
+ runnerHost = {
1217
+ end: endFn,
1218
+ cancel: cancelFn,
1219
+ resume: null, //this will be set during the start() phase
1220
+ pause: null
1221
+ };
1222
+
1223
+ runner = new $$AnimateRunner(runnerHost);
1224
+
1225
+ waitUntilQuiet(start);
1226
+
1227
+ // we don't have access to pause/resume the animation
1228
+ // since it hasn't run yet. AnimateRunner will therefore
1229
+ // set noop functions for resume and pause and they will
1230
+ // later be overridden once the animation is triggered
1231
+ return runner;
1232
+ }
1233
+ };
1234
+
1235
+ function endFn() {
1236
+ close();
1237
+ }
1238
+
1239
+ function cancelFn() {
1240
+ close(true);
1241
+ }
1242
+
1243
+ function close(rejected) { // jshint ignore:line
1244
+ // if the promise has been called already then we shouldn't close
1245
+ // the animation again
1246
+ if (animationClosed || (animationCompleted && animationPaused)) return;
1247
+ animationClosed = true;
1248
+ animationPaused = false;
1249
+
1250
+ if (!options.$$skipPreparationClasses) {
1251
+ $$jqLite.removeClass(element, preparationClasses);
1252
+ }
1253
+ $$jqLite.removeClass(element, activeClasses);
1254
+
1255
+ blockKeyframeAnimations(node, false);
1256
+ blockTransitions(node, false);
1257
+
1258
+ forEach(temporaryStyles, function(entry) {
1259
+ // There is only one way to remove inline style properties entirely from elements.
1260
+ // By using `removeProperty` this works, but we need to convert camel-cased CSS
1261
+ // styles down to hyphenated values.
1262
+ node.style[entry[0]] = '';
1263
+ });
1264
+
1265
+ applyAnimationClasses(element, options);
1266
+ applyAnimationStyles(element, options);
1267
+
1268
+ if (Object.keys(restoreStyles).length) {
1269
+ forEach(restoreStyles, function(value, prop) {
1270
+ value ? node.style.setProperty(prop, value)
1271
+ : node.style.removeProperty(prop);
1272
+ });
1273
+ }
1274
+
1275
+ // the reason why we have this option is to allow a synchronous closing callback
1276
+ // that is fired as SOON as the animation ends (when the CSS is removed) or if
1277
+ // the animation never takes off at all. A good example is a leave animation since
1278
+ // the element must be removed just after the animation is over or else the element
1279
+ // will appear on screen for one animation frame causing an overbearing flicker.
1280
+ if (options.onDone) {
1281
+ options.onDone();
1282
+ }
1283
+
1284
+ if (events && events.length) {
1285
+ // Remove the transitionend / animationend listener(s)
1286
+ element.off(events.join(' '), onAnimationProgress);
1287
+ }
1288
+
1289
+ //Cancel the fallback closing timeout and remove the timer data
1290
+ var animationTimerData = element.data(ANIMATE_TIMER_KEY);
1291
+ if (animationTimerData) {
1292
+ $timeout.cancel(animationTimerData[0].timer);
1293
+ element.removeData(ANIMATE_TIMER_KEY);
1294
+ }
1295
+
1296
+ // if the preparation function fails then the promise is not setup
1297
+ if (runner) {
1298
+ runner.complete(!rejected);
1299
+ }
1300
+ }
1301
+
1302
+ function applyBlocking(duration) {
1303
+ if (flags.blockTransition) {
1304
+ blockTransitions(node, duration);
1305
+ }
1306
+
1307
+ if (flags.blockKeyframeAnimation) {
1308
+ blockKeyframeAnimations(node, !!duration);
1309
+ }
1310
+ }
1311
+
1312
+ function closeAndReturnNoopAnimator() {
1313
+ runner = new $$AnimateRunner({
1314
+ end: endFn,
1315
+ cancel: cancelFn
1316
+ });
1317
+
1318
+ // should flush the cache animation
1319
+ waitUntilQuiet(noop);
1320
+ close();
1321
+
1322
+ return {
1323
+ $$willAnimate: false,
1324
+ start: function() {
1325
+ return runner;
1326
+ },
1327
+ end: endFn
1328
+ };
1329
+ }
1330
+
1331
+ function onAnimationProgress(event) {
1332
+ event.stopPropagation();
1333
+ var ev = event.originalEvent || event;
1334
+
1335
+ // we now always use `Date.now()` due to the recent changes with
1336
+ // event.timeStamp in Firefox, Webkit and Chrome (see #13494 for more info)
1337
+ var timeStamp = ev.$manualTimeStamp || Date.now();
1338
+
1339
+ /* Firefox (or possibly just Gecko) likes to not round values up
1340
+ * when a ms measurement is used for the animation */
1341
+ var elapsedTime = parseFloat(ev.elapsedTime.toFixed(ELAPSED_TIME_MAX_DECIMAL_PLACES));
1342
+
1343
+ /* $manualTimeStamp is a mocked timeStamp value which is set
1344
+ * within browserTrigger(). This is only here so that tests can
1345
+ * mock animations properly. Real events fallback to event.timeStamp,
1346
+ * or, if they don't, then a timeStamp is automatically created for them.
1347
+ * We're checking to see if the timeStamp surpasses the expected delay,
1348
+ * but we're using elapsedTime instead of the timeStamp on the 2nd
1349
+ * pre-condition since animationPauseds sometimes close off early */
1350
+ if (Math.max(timeStamp - startTime, 0) >= maxDelayTime && elapsedTime >= maxDuration) {
1351
+ // we set this flag to ensure that if the transition is paused then, when resumed,
1352
+ // the animation will automatically close itself since transitions cannot be paused.
1353
+ animationCompleted = true;
1354
+ close();
1355
+ }
1356
+ }
1357
+
1358
+ function start() {
1359
+ if (animationClosed) return;
1360
+ if (!node.parentNode) {
1361
+ close();
1362
+ return;
1363
+ }
1364
+
1365
+ // even though we only pause keyframe animations here the pause flag
1366
+ // will still happen when transitions are used. Only the transition will
1367
+ // not be paused since that is not possible. If the animation ends when
1368
+ // paused then it will not complete until unpaused or cancelled.
1369
+ var playPause = function(playAnimation) {
1370
+ if (!animationCompleted) {
1371
+ animationPaused = !playAnimation;
1372
+ if (timings.animationDuration) {
1373
+ var value = blockKeyframeAnimations(node, animationPaused);
1374
+ animationPaused
1375
+ ? temporaryStyles.push(value)
1376
+ : removeFromArray(temporaryStyles, value);
1377
+ }
1378
+ } else if (animationPaused && playAnimation) {
1379
+ animationPaused = false;
1380
+ close();
1381
+ }
1382
+ };
1383
+
1384
+ // checking the stagger duration prevents an accidentally cascade of the CSS delay style
1385
+ // being inherited from the parent. If the transition duration is zero then we can safely
1386
+ // rely that the delay value is an intentional stagger delay style.
1387
+ var maxStagger = itemIndex > 0
1388
+ && ((timings.transitionDuration && stagger.transitionDuration === 0) ||
1389
+ (timings.animationDuration && stagger.animationDuration === 0))
1390
+ && Math.max(stagger.animationDelay, stagger.transitionDelay);
1391
+ if (maxStagger) {
1392
+ $timeout(triggerAnimationStart,
1393
+ Math.floor(maxStagger * itemIndex * ONE_SECOND),
1394
+ false);
1395
+ } else {
1396
+ triggerAnimationStart();
1397
+ }
1398
+
1399
+ // this will decorate the existing promise runner with pause/resume methods
1400
+ runnerHost.resume = function() {
1401
+ playPause(true);
1402
+ };
1403
+
1404
+ runnerHost.pause = function() {
1405
+ playPause(false);
1406
+ };
1407
+
1408
+ function triggerAnimationStart() {
1409
+ // just incase a stagger animation kicks in when the animation
1410
+ // itself was cancelled entirely
1411
+ if (animationClosed) return;
1412
+
1413
+ applyBlocking(false);
1414
+
1415
+ forEach(temporaryStyles, function(entry) {
1416
+ var key = entry[0];
1417
+ var value = entry[1];
1418
+ node.style[key] = value;
1419
+ });
1420
+
1421
+ applyAnimationClasses(element, options);
1422
+ $$jqLite.addClass(element, activeClasses);
1423
+
1424
+ if (flags.recalculateTimingStyles) {
1425
+ fullClassName = node.className + ' ' + preparationClasses;
1426
+ cacheKey = gcsHashFn(node, fullClassName);
1427
+
1428
+ timings = computeTimings(node, fullClassName, cacheKey);
1429
+ relativeDelay = timings.maxDelay;
1430
+ maxDelay = Math.max(relativeDelay, 0);
1431
+ maxDuration = timings.maxDuration;
1432
+
1433
+ if (maxDuration === 0) {
1434
+ close();
1435
+ return;
1436
+ }
1437
+
1438
+ flags.hasTransitions = timings.transitionDuration > 0;
1439
+ flags.hasAnimations = timings.animationDuration > 0;
1440
+ }
1441
+
1442
+ if (flags.applyAnimationDelay) {
1443
+ relativeDelay = typeof options.delay !== "boolean" && truthyTimingValue(options.delay)
1444
+ ? parseFloat(options.delay)
1445
+ : relativeDelay;
1446
+
1447
+ maxDelay = Math.max(relativeDelay, 0);
1448
+ timings.animationDelay = relativeDelay;
1449
+ delayStyle = getCssDelayStyle(relativeDelay, true);
1450
+ temporaryStyles.push(delayStyle);
1451
+ node.style[delayStyle[0]] = delayStyle[1];
1452
+ }
1453
+
1454
+ maxDelayTime = maxDelay * ONE_SECOND;
1455
+ maxDurationTime = maxDuration * ONE_SECOND;
1456
+
1457
+ if (options.easing) {
1458
+ var easeProp, easeVal = options.easing;
1459
+ if (flags.hasTransitions) {
1460
+ easeProp = TRANSITION_PROP + TIMING_KEY;
1461
+ temporaryStyles.push([easeProp, easeVal]);
1462
+ node.style[easeProp] = easeVal;
1463
+ }
1464
+ if (flags.hasAnimations) {
1465
+ easeProp = ANIMATION_PROP + TIMING_KEY;
1466
+ temporaryStyles.push([easeProp, easeVal]);
1467
+ node.style[easeProp] = easeVal;
1468
+ }
1469
+ }
1470
+
1471
+ if (timings.transitionDuration) {
1472
+ events.push(TRANSITIONEND_EVENT);
1473
+ }
1474
+
1475
+ if (timings.animationDuration) {
1476
+ events.push(ANIMATIONEND_EVENT);
1477
+ }
1478
+
1479
+ startTime = Date.now();
1480
+ var timerTime = maxDelayTime + CLOSING_TIME_BUFFER * maxDurationTime;
1481
+ var endTime = startTime + timerTime;
1482
+
1483
+ var animationsData = element.data(ANIMATE_TIMER_KEY) || [];
1484
+ var setupFallbackTimer = true;
1485
+ if (animationsData.length) {
1486
+ var currentTimerData = animationsData[0];
1487
+ setupFallbackTimer = endTime > currentTimerData.expectedEndTime;
1488
+ if (setupFallbackTimer) {
1489
+ $timeout.cancel(currentTimerData.timer);
1490
+ } else {
1491
+ animationsData.push(close);
1492
+ }
1493
+ }
1494
+
1495
+ if (setupFallbackTimer) {
1496
+ var timer = $timeout(onAnimationExpired, timerTime, false);
1497
+ animationsData[0] = {
1498
+ timer: timer,
1499
+ expectedEndTime: endTime
1500
+ };
1501
+ animationsData.push(close);
1502
+ element.data(ANIMATE_TIMER_KEY, animationsData);
1503
+ }
1504
+
1505
+ if (events.length) {
1506
+ element.on(events.join(' '), onAnimationProgress);
1507
+ }
1508
+
1509
+ if (options.to) {
1510
+ if (options.cleanupStyles) {
1511
+ registerRestorableStyles(restoreStyles, node, Object.keys(options.to));
1512
+ }
1513
+ applyAnimationToStyles(element, options);
1514
+ }
1515
+ }
1516
+
1517
+ function onAnimationExpired() {
1518
+ var animationsData = element.data(ANIMATE_TIMER_KEY);
1519
+
1520
+ // this will be false in the event that the element was
1521
+ // removed from the DOM (via a leave animation or something
1522
+ // similar)
1523
+ if (animationsData) {
1524
+ for (var i = 1; i < animationsData.length; i++) {
1525
+ animationsData[i]();
1526
+ }
1527
+ element.removeData(ANIMATE_TIMER_KEY);
1528
+ }
1529
+ }
1530
+ }
1531
+ };
1532
+ }];
1533
+ }];
1534
+
1535
+ var $$AnimateCssDriverProvider = ['$$animationProvider', function($$animationProvider) {
1536
+ $$animationProvider.drivers.push('$$animateCssDriver');
1537
+
1538
+ var NG_ANIMATE_SHIM_CLASS_NAME = 'ng-animate-shim';
1539
+ var NG_ANIMATE_ANCHOR_CLASS_NAME = 'ng-anchor';
1540
+
1541
+ var NG_OUT_ANCHOR_CLASS_NAME = 'ng-anchor-out';
1542
+ var NG_IN_ANCHOR_CLASS_NAME = 'ng-anchor-in';
1543
+
1544
+ function isDocumentFragment(node) {
1545
+ return node.parentNode && node.parentNode.nodeType === 11;
1546
+ }
1547
+
1548
+ this.$get = ['$animateCss', '$rootScope', '$$AnimateRunner', '$rootElement', '$sniffer', '$$jqLite', '$document',
1549
+ function($animateCss, $rootScope, $$AnimateRunner, $rootElement, $sniffer, $$jqLite, $document) {
1550
+
1551
+ // only browsers that support these properties can render animations
1552
+ if (!$sniffer.animations && !$sniffer.transitions) return noop;
1553
+
1554
+ var bodyNode = $document[0].body;
1555
+ var rootNode = getDomNode($rootElement);
1556
+
1557
+ var rootBodyElement = jqLite(
1558
+ // this is to avoid using something that exists outside of the body
1559
+ // we also special case the doc fragment case because our unit test code
1560
+ // appends the $rootElement to the body after the app has been bootstrapped
1561
+ isDocumentFragment(rootNode) || bodyNode.contains(rootNode) ? rootNode : bodyNode
1562
+ );
1563
+
1564
+ var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
1565
+
1566
+ return function initDriverFn(animationDetails) {
1567
+ return animationDetails.from && animationDetails.to
1568
+ ? prepareFromToAnchorAnimation(animationDetails.from,
1569
+ animationDetails.to,
1570
+ animationDetails.classes,
1571
+ animationDetails.anchors)
1572
+ : prepareRegularAnimation(animationDetails);
1573
+ };
1574
+
1575
+ function filterCssClasses(classes) {
1576
+ //remove all the `ng-` stuff
1577
+ return classes.replace(/\bng-\S+\b/g, '');
1578
+ }
1579
+
1580
+ function getUniqueValues(a, b) {
1581
+ if (isString(a)) a = a.split(' ');
1582
+ if (isString(b)) b = b.split(' ');
1583
+ return a.filter(function(val) {
1584
+ return b.indexOf(val) === -1;
1585
+ }).join(' ');
1586
+ }
1587
+
1588
+ function prepareAnchoredAnimation(classes, outAnchor, inAnchor) {
1589
+ var clone = jqLite(getDomNode(outAnchor).cloneNode(true));
1590
+ var startingClasses = filterCssClasses(getClassVal(clone));
1591
+
1592
+ outAnchor.addClass(NG_ANIMATE_SHIM_CLASS_NAME);
1593
+ inAnchor.addClass(NG_ANIMATE_SHIM_CLASS_NAME);
1594
+
1595
+ clone.addClass(NG_ANIMATE_ANCHOR_CLASS_NAME);
1596
+
1597
+ rootBodyElement.append(clone);
1598
+
1599
+ var animatorIn, animatorOut = prepareOutAnimation();
1600
+
1601
+ // the user may not end up using the `out` animation and
1602
+ // only making use of the `in` animation or vice-versa.
1603
+ // In either case we should allow this and not assume the
1604
+ // animation is over unless both animations are not used.
1605
+ if (!animatorOut) {
1606
+ animatorIn = prepareInAnimation();
1607
+ if (!animatorIn) {
1608
+ return end();
1609
+ }
1610
+ }
1611
+
1612
+ var startingAnimator = animatorOut || animatorIn;
1613
+
1614
+ return {
1615
+ start: function() {
1616
+ var runner;
1617
+
1618
+ var currentAnimation = startingAnimator.start();
1619
+ currentAnimation.done(function() {
1620
+ currentAnimation = null;
1621
+ if (!animatorIn) {
1622
+ animatorIn = prepareInAnimation();
1623
+ if (animatorIn) {
1624
+ currentAnimation = animatorIn.start();
1625
+ currentAnimation.done(function() {
1626
+ currentAnimation = null;
1627
+ end();
1628
+ runner.complete();
1629
+ });
1630
+ return currentAnimation;
1631
+ }
1632
+ }
1633
+ // in the event that there is no `in` animation
1634
+ end();
1635
+ runner.complete();
1636
+ });
1637
+
1638
+ runner = new $$AnimateRunner({
1639
+ end: endFn,
1640
+ cancel: endFn
1641
+ });
1642
+
1643
+ return runner;
1644
+
1645
+ function endFn() {
1646
+ if (currentAnimation) {
1647
+ currentAnimation.end();
1648
+ }
1649
+ }
1650
+ }
1651
+ };
1652
+
1653
+ function calculateAnchorStyles(anchor) {
1654
+ var styles = {};
1655
+
1656
+ var coords = getDomNode(anchor).getBoundingClientRect();
1657
+
1658
+ // we iterate directly since safari messes up and doesn't return
1659
+ // all the keys for the coords object when iterated
1660
+ forEach(['width','height','top','left'], function(key) {
1661
+ var value = coords[key];
1662
+ switch (key) {
1663
+ case 'top':
1664
+ value += bodyNode.scrollTop;
1665
+ break;
1666
+ case 'left':
1667
+ value += bodyNode.scrollLeft;
1668
+ break;
1669
+ }
1670
+ styles[key] = Math.floor(value) + 'px';
1671
+ });
1672
+ return styles;
1673
+ }
1674
+
1675
+ function prepareOutAnimation() {
1676
+ var animator = $animateCss(clone, {
1677
+ addClass: NG_OUT_ANCHOR_CLASS_NAME,
1678
+ delay: true,
1679
+ from: calculateAnchorStyles(outAnchor)
1680
+ });
1681
+
1682
+ // read the comment within `prepareRegularAnimation` to understand
1683
+ // why this check is necessary
1684
+ return animator.$$willAnimate ? animator : null;
1685
+ }
1686
+
1687
+ function getClassVal(element) {
1688
+ return element.attr('class') || '';
1689
+ }
1690
+
1691
+ function prepareInAnimation() {
1692
+ var endingClasses = filterCssClasses(getClassVal(inAnchor));
1693
+ var toAdd = getUniqueValues(endingClasses, startingClasses);
1694
+ var toRemove = getUniqueValues(startingClasses, endingClasses);
1695
+
1696
+ var animator = $animateCss(clone, {
1697
+ to: calculateAnchorStyles(inAnchor),
1698
+ addClass: NG_IN_ANCHOR_CLASS_NAME + ' ' + toAdd,
1699
+ removeClass: NG_OUT_ANCHOR_CLASS_NAME + ' ' + toRemove,
1700
+ delay: true
1701
+ });
1702
+
1703
+ // read the comment within `prepareRegularAnimation` to understand
1704
+ // why this check is necessary
1705
+ return animator.$$willAnimate ? animator : null;
1706
+ }
1707
+
1708
+ function end() {
1709
+ clone.remove();
1710
+ outAnchor.removeClass(NG_ANIMATE_SHIM_CLASS_NAME);
1711
+ inAnchor.removeClass(NG_ANIMATE_SHIM_CLASS_NAME);
1712
+ }
1713
+ }
1714
+
1715
+ function prepareFromToAnchorAnimation(from, to, classes, anchors) {
1716
+ var fromAnimation = prepareRegularAnimation(from, noop);
1717
+ var toAnimation = prepareRegularAnimation(to, noop);
1718
+
1719
+ var anchorAnimations = [];
1720
+ forEach(anchors, function(anchor) {
1721
+ var outElement = anchor['out'];
1722
+ var inElement = anchor['in'];
1723
+ var animator = prepareAnchoredAnimation(classes, outElement, inElement);
1724
+ if (animator) {
1725
+ anchorAnimations.push(animator);
1726
+ }
1727
+ });
1728
+
1729
+ // no point in doing anything when there are no elements to animate
1730
+ if (!fromAnimation && !toAnimation && anchorAnimations.length === 0) return;
1731
+
1732
+ return {
1733
+ start: function() {
1734
+ var animationRunners = [];
1735
+
1736
+ if (fromAnimation) {
1737
+ animationRunners.push(fromAnimation.start());
1738
+ }
1739
+
1740
+ if (toAnimation) {
1741
+ animationRunners.push(toAnimation.start());
1742
+ }
1743
+
1744
+ forEach(anchorAnimations, function(animation) {
1745
+ animationRunners.push(animation.start());
1746
+ });
1747
+
1748
+ var runner = new $$AnimateRunner({
1749
+ end: endFn,
1750
+ cancel: endFn // CSS-driven animations cannot be cancelled, only ended
1751
+ });
1752
+
1753
+ $$AnimateRunner.all(animationRunners, function(status) {
1754
+ runner.complete(status);
1755
+ });
1756
+
1757
+ return runner;
1758
+
1759
+ function endFn() {
1760
+ forEach(animationRunners, function(runner) {
1761
+ runner.end();
1762
+ });
1763
+ }
1764
+ }
1765
+ };
1766
+ }
1767
+
1768
+ function prepareRegularAnimation(animationDetails) {
1769
+ var element = animationDetails.element;
1770
+ var options = animationDetails.options || {};
1771
+
1772
+ if (animationDetails.structural) {
1773
+ options.event = animationDetails.event;
1774
+ options.structural = true;
1775
+ options.applyClassesEarly = true;
1776
+
1777
+ // we special case the leave animation since we want to ensure that
1778
+ // the element is removed as soon as the animation is over. Otherwise
1779
+ // a flicker might appear or the element may not be removed at all
1780
+ if (animationDetails.event === 'leave') {
1781
+ options.onDone = options.domOperation;
1782
+ }
1783
+ }
1784
+
1785
+ // We assign the preparationClasses as the actual animation event since
1786
+ // the internals of $animateCss will just suffix the event token values
1787
+ // with `-active` to trigger the animation.
1788
+ if (options.preparationClasses) {
1789
+ options.event = concatWithSpace(options.event, options.preparationClasses);
1790
+ }
1791
+
1792
+ var animator = $animateCss(element, options);
1793
+
1794
+ // the driver lookup code inside of $$animation attempts to spawn a
1795
+ // driver one by one until a driver returns a.$$willAnimate animator object.
1796
+ // $animateCss will always return an object, however, it will pass in
1797
+ // a flag as a hint as to whether an animation was detected or not
1798
+ return animator.$$willAnimate ? animator : null;
1799
+ }
1800
+ }];
1801
+ }];
1802
+
1803
+ // TODO(matsko): use caching here to speed things up for detection
1804
+ // TODO(matsko): add documentation
1805
+ // by the time...
1806
+
1807
+ var $$AnimateJsProvider = ['$animateProvider', function($animateProvider) {
1808
+ this.$get = ['$injector', '$$AnimateRunner', '$$jqLite',
1809
+ function($injector, $$AnimateRunner, $$jqLite) {
1810
+
1811
+ var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
1812
+ // $animateJs(element, 'enter');
1813
+ return function(element, event, classes, options) {
1814
+ var animationClosed = false;
1815
+
1816
+ // the `classes` argument is optional and if it is not used
1817
+ // then the classes will be resolved from the element's className
1818
+ // property as well as options.addClass/options.removeClass.
1819
+ if (arguments.length === 3 && isObject(classes)) {
1820
+ options = classes;
1821
+ classes = null;
1822
+ }
1823
+
1824
+ options = prepareAnimationOptions(options);
1825
+ if (!classes) {
1826
+ classes = element.attr('class') || '';
1827
+ if (options.addClass) {
1828
+ classes += ' ' + options.addClass;
1829
+ }
1830
+ if (options.removeClass) {
1831
+ classes += ' ' + options.removeClass;
1832
+ }
1833
+ }
1834
+
1835
+ var classesToAdd = options.addClass;
1836
+ var classesToRemove = options.removeClass;
1837
+
1838
+ // the lookupAnimations function returns a series of animation objects that are
1839
+ // matched up with one or more of the CSS classes. These animation objects are
1840
+ // defined via the module.animation factory function. If nothing is detected then
1841
+ // we don't return anything which then makes $animation query the next driver.
1842
+ var animations = lookupAnimations(classes);
1843
+ var before, after;
1844
+ if (animations.length) {
1845
+ var afterFn, beforeFn;
1846
+ if (event == 'leave') {
1847
+ beforeFn = 'leave';
1848
+ afterFn = 'afterLeave'; // TODO(matsko): get rid of this
1849
+ } else {
1850
+ beforeFn = 'before' + event.charAt(0).toUpperCase() + event.substr(1);
1851
+ afterFn = event;
1852
+ }
1853
+
1854
+ if (event !== 'enter' && event !== 'move') {
1855
+ before = packageAnimations(element, event, options, animations, beforeFn);
1856
+ }
1857
+ after = packageAnimations(element, event, options, animations, afterFn);
1858
+ }
1859
+
1860
+ // no matching animations
1861
+ if (!before && !after) return;
1862
+
1863
+ function applyOptions() {
1864
+ options.domOperation();
1865
+ applyAnimationClasses(element, options);
1866
+ }
1867
+
1868
+ function close() {
1869
+ animationClosed = true;
1870
+ applyOptions();
1871
+ applyAnimationStyles(element, options);
1872
+ }
1873
+
1874
+ var runner;
1875
+
1876
+ return {
1877
+ $$willAnimate: true,
1878
+ end: function() {
1879
+ if (runner) {
1880
+ runner.end();
1881
+ } else {
1882
+ close();
1883
+ runner = new $$AnimateRunner();
1884
+ runner.complete(true);
1885
+ }
1886
+ return runner;
1887
+ },
1888
+ start: function() {
1889
+ if (runner) {
1890
+ return runner;
1891
+ }
1892
+
1893
+ runner = new $$AnimateRunner();
1894
+ var closeActiveAnimations;
1895
+ var chain = [];
1896
+
1897
+ if (before) {
1898
+ chain.push(function(fn) {
1899
+ closeActiveAnimations = before(fn);
1900
+ });
1901
+ }
1902
+
1903
+ if (chain.length) {
1904
+ chain.push(function(fn) {
1905
+ applyOptions();
1906
+ fn(true);
1907
+ });
1908
+ } else {
1909
+ applyOptions();
1910
+ }
1911
+
1912
+ if (after) {
1913
+ chain.push(function(fn) {
1914
+ closeActiveAnimations = after(fn);
1915
+ });
1916
+ }
1917
+
1918
+ runner.setHost({
1919
+ end: function() {
1920
+ endAnimations();
1921
+ },
1922
+ cancel: function() {
1923
+ endAnimations(true);
1924
+ }
1925
+ });
1926
+
1927
+ $$AnimateRunner.chain(chain, onComplete);
1928
+ return runner;
1929
+
1930
+ function onComplete(success) {
1931
+ close(success);
1932
+ runner.complete(success);
1933
+ }
1934
+
1935
+ function endAnimations(cancelled) {
1936
+ if (!animationClosed) {
1937
+ (closeActiveAnimations || noop)(cancelled);
1938
+ onComplete(cancelled);
1939
+ }
1940
+ }
1941
+ }
1942
+ };
1943
+
1944
+ function executeAnimationFn(fn, element, event, options, onDone) {
1945
+ var args;
1946
+ switch (event) {
1947
+ case 'animate':
1948
+ args = [element, options.from, options.to, onDone];
1949
+ break;
1950
+
1951
+ case 'setClass':
1952
+ args = [element, classesToAdd, classesToRemove, onDone];
1953
+ break;
1954
+
1955
+ case 'addClass':
1956
+ args = [element, classesToAdd, onDone];
1957
+ break;
1958
+
1959
+ case 'removeClass':
1960
+ args = [element, classesToRemove, onDone];
1961
+ break;
1962
+
1963
+ default:
1964
+ args = [element, onDone];
1965
+ break;
1966
+ }
1967
+
1968
+ args.push(options);
1969
+
1970
+ var value = fn.apply(fn, args);
1971
+ if (value) {
1972
+ if (isFunction(value.start)) {
1973
+ value = value.start();
1974
+ }
1975
+
1976
+ if (value instanceof $$AnimateRunner) {
1977
+ value.done(onDone);
1978
+ } else if (isFunction(value)) {
1979
+ // optional onEnd / onCancel callback
1980
+ return value;
1981
+ }
1982
+ }
1983
+
1984
+ return noop;
1985
+ }
1986
+
1987
+ function groupEventedAnimations(element, event, options, animations, fnName) {
1988
+ var operations = [];
1989
+ forEach(animations, function(ani) {
1990
+ var animation = ani[fnName];
1991
+ if (!animation) return;
1992
+
1993
+ // note that all of these animations will run in parallel
1994
+ operations.push(function() {
1995
+ var runner;
1996
+ var endProgressCb;
1997
+
1998
+ var resolved = false;
1999
+ var onAnimationComplete = function(rejected) {
2000
+ if (!resolved) {
2001
+ resolved = true;
2002
+ (endProgressCb || noop)(rejected);
2003
+ runner.complete(!rejected);
2004
+ }
2005
+ };
2006
+
2007
+ runner = new $$AnimateRunner({
2008
+ end: function() {
2009
+ onAnimationComplete();
2010
+ },
2011
+ cancel: function() {
2012
+ onAnimationComplete(true);
2013
+ }
2014
+ });
2015
+
2016
+ endProgressCb = executeAnimationFn(animation, element, event, options, function(result) {
2017
+ var cancelled = result === false;
2018
+ onAnimationComplete(cancelled);
2019
+ });
2020
+
2021
+ return runner;
2022
+ });
2023
+ });
2024
+
2025
+ return operations;
2026
+ }
2027
+
2028
+ function packageAnimations(element, event, options, animations, fnName) {
2029
+ var operations = groupEventedAnimations(element, event, options, animations, fnName);
2030
+ if (operations.length === 0) {
2031
+ var a,b;
2032
+ if (fnName === 'beforeSetClass') {
2033
+ a = groupEventedAnimations(element, 'removeClass', options, animations, 'beforeRemoveClass');
2034
+ b = groupEventedAnimations(element, 'addClass', options, animations, 'beforeAddClass');
2035
+ } else if (fnName === 'setClass') {
2036
+ a = groupEventedAnimations(element, 'removeClass', options, animations, 'removeClass');
2037
+ b = groupEventedAnimations(element, 'addClass', options, animations, 'addClass');
2038
+ }
2039
+
2040
+ if (a) {
2041
+ operations = operations.concat(a);
2042
+ }
2043
+ if (b) {
2044
+ operations = operations.concat(b);
2045
+ }
2046
+ }
2047
+
2048
+ if (operations.length === 0) return;
2049
+
2050
+ // TODO(matsko): add documentation
2051
+ return function startAnimation(callback) {
2052
+ var runners = [];
2053
+ if (operations.length) {
2054
+ forEach(operations, function(animateFn) {
2055
+ runners.push(animateFn());
2056
+ });
2057
+ }
2058
+
2059
+ runners.length ? $$AnimateRunner.all(runners, callback) : callback();
2060
+
2061
+ return function endFn(reject) {
2062
+ forEach(runners, function(runner) {
2063
+ reject ? runner.cancel() : runner.end();
2064
+ });
2065
+ };
2066
+ };
2067
+ }
2068
+ };
2069
+
2070
+ function lookupAnimations(classes) {
2071
+ classes = isArray(classes) ? classes : classes.split(' ');
2072
+ var matches = [], flagMap = {};
2073
+ for (var i=0; i < classes.length; i++) {
2074
+ var klass = classes[i],
2075
+ animationFactory = $animateProvider.$$registeredAnimations[klass];
2076
+ if (animationFactory && !flagMap[klass]) {
2077
+ matches.push($injector.get(animationFactory));
2078
+ flagMap[klass] = true;
2079
+ }
2080
+ }
2081
+ return matches;
2082
+ }
2083
+ }];
2084
+ }];
2085
+
2086
+ var $$AnimateJsDriverProvider = ['$$animationProvider', function($$animationProvider) {
2087
+ $$animationProvider.drivers.push('$$animateJsDriver');
2088
+ this.$get = ['$$animateJs', '$$AnimateRunner', function($$animateJs, $$AnimateRunner) {
2089
+ return function initDriverFn(animationDetails) {
2090
+ if (animationDetails.from && animationDetails.to) {
2091
+ var fromAnimation = prepareAnimation(animationDetails.from);
2092
+ var toAnimation = prepareAnimation(animationDetails.to);
2093
+ if (!fromAnimation && !toAnimation) return;
2094
+
2095
+ return {
2096
+ start: function() {
2097
+ var animationRunners = [];
2098
+
2099
+ if (fromAnimation) {
2100
+ animationRunners.push(fromAnimation.start());
2101
+ }
2102
+
2103
+ if (toAnimation) {
2104
+ animationRunners.push(toAnimation.start());
2105
+ }
2106
+
2107
+ $$AnimateRunner.all(animationRunners, done);
2108
+
2109
+ var runner = new $$AnimateRunner({
2110
+ end: endFnFactory(),
2111
+ cancel: endFnFactory()
2112
+ });
2113
+
2114
+ return runner;
2115
+
2116
+ function endFnFactory() {
2117
+ return function() {
2118
+ forEach(animationRunners, function(runner) {
2119
+ // at this point we cannot cancel animations for groups just yet. 1.5+
2120
+ runner.end();
2121
+ });
2122
+ };
2123
+ }
2124
+
2125
+ function done(status) {
2126
+ runner.complete(status);
2127
+ }
2128
+ }
2129
+ };
2130
+ } else {
2131
+ return prepareAnimation(animationDetails);
2132
+ }
2133
+ };
2134
+
2135
+ function prepareAnimation(animationDetails) {
2136
+ // TODO(matsko): make sure to check for grouped animations and delegate down to normal animations
2137
+ var element = animationDetails.element;
2138
+ var event = animationDetails.event;
2139
+ var options = animationDetails.options;
2140
+ var classes = animationDetails.classes;
2141
+ return $$animateJs(element, event, classes, options);
2142
+ }
2143
+ }];
2144
+ }];
2145
+
2146
+ var NG_ANIMATE_ATTR_NAME = 'data-ng-animate';
2147
+ var NG_ANIMATE_PIN_DATA = '$ngAnimatePin';
2148
+ var $$AnimateQueueProvider = ['$animateProvider', function($animateProvider) {
2149
+ var PRE_DIGEST_STATE = 1;
2150
+ var RUNNING_STATE = 2;
2151
+ var ONE_SPACE = ' ';
2152
+
2153
+ var rules = this.rules = {
2154
+ skip: [],
2155
+ cancel: [],
2156
+ join: []
2157
+ };
2158
+
2159
+ function makeTruthyCssClassMap(classString) {
2160
+ if (!classString) {
2161
+ return null;
2162
+ }
2163
+
2164
+ var keys = classString.split(ONE_SPACE);
2165
+ var map = Object.create(null);
2166
+
2167
+ forEach(keys, function(key) {
2168
+ map[key] = true;
2169
+ });
2170
+ return map;
2171
+ }
2172
+
2173
+ function hasMatchingClasses(newClassString, currentClassString) {
2174
+ if (newClassString && currentClassString) {
2175
+ var currentClassMap = makeTruthyCssClassMap(currentClassString);
2176
+ return newClassString.split(ONE_SPACE).some(function(className) {
2177
+ return currentClassMap[className];
2178
+ });
2179
+ }
2180
+ }
2181
+
2182
+ function isAllowed(ruleType, element, currentAnimation, previousAnimation) {
2183
+ return rules[ruleType].some(function(fn) {
2184
+ return fn(element, currentAnimation, previousAnimation);
2185
+ });
2186
+ }
2187
+
2188
+ function hasAnimationClasses(animation, and) {
2189
+ var a = (animation.addClass || '').length > 0;
2190
+ var b = (animation.removeClass || '').length > 0;
2191
+ return and ? a && b : a || b;
2192
+ }
2193
+
2194
+ rules.join.push(function(element, newAnimation, currentAnimation) {
2195
+ // if the new animation is class-based then we can just tack that on
2196
+ return !newAnimation.structural && hasAnimationClasses(newAnimation);
2197
+ });
2198
+
2199
+ rules.skip.push(function(element, newAnimation, currentAnimation) {
2200
+ // there is no need to animate anything if no classes are being added and
2201
+ // there is no structural animation that will be triggered
2202
+ return !newAnimation.structural && !hasAnimationClasses(newAnimation);
2203
+ });
2204
+
2205
+ rules.skip.push(function(element, newAnimation, currentAnimation) {
2206
+ // why should we trigger a new structural animation if the element will
2207
+ // be removed from the DOM anyway?
2208
+ return currentAnimation.event == 'leave' && newAnimation.structural;
2209
+ });
2210
+
2211
+ rules.skip.push(function(element, newAnimation, currentAnimation) {
2212
+ // if there is an ongoing current animation then don't even bother running the class-based animation
2213
+ return currentAnimation.structural && currentAnimation.state === RUNNING_STATE && !newAnimation.structural;
2214
+ });
2215
+
2216
+ rules.cancel.push(function(element, newAnimation, currentAnimation) {
2217
+ // there can never be two structural animations running at the same time
2218
+ return currentAnimation.structural && newAnimation.structural;
2219
+ });
2220
+
2221
+ rules.cancel.push(function(element, newAnimation, currentAnimation) {
2222
+ // if the previous animation is already running, but the new animation will
2223
+ // be triggered, but the new animation is structural
2224
+ return currentAnimation.state === RUNNING_STATE && newAnimation.structural;
2225
+ });
2226
+
2227
+ rules.cancel.push(function(element, newAnimation, currentAnimation) {
2228
+ // cancel the animation if classes added / removed in both animation cancel each other out,
2229
+ // but only if the current animation isn't structural
2230
+
2231
+ if (currentAnimation.structural) return false;
2232
+
2233
+ var nA = newAnimation.addClass;
2234
+ var nR = newAnimation.removeClass;
2235
+ var cA = currentAnimation.addClass;
2236
+ var cR = currentAnimation.removeClass;
2237
+
2238
+ // early detection to save the global CPU shortage :)
2239
+ if ((isUndefined(nA) && isUndefined(nR)) || (isUndefined(cA) && isUndefined(cR))) {
2240
+ return false;
2241
+ }
2242
+
2243
+ return hasMatchingClasses(nA, cR) || hasMatchingClasses(nR, cA);
2244
+ });
2245
+
2246
+ this.$get = ['$$rAF', '$rootScope', '$rootElement', '$document', '$$HashMap',
2247
+ '$$animation', '$$AnimateRunner', '$templateRequest', '$$jqLite', '$$forceReflow',
2248
+ function($$rAF, $rootScope, $rootElement, $document, $$HashMap,
2249
+ $$animation, $$AnimateRunner, $templateRequest, $$jqLite, $$forceReflow) {
2250
+
2251
+ var activeAnimationsLookup = new $$HashMap();
2252
+ var disabledElementsLookup = new $$HashMap();
2253
+ var animationsEnabled = null;
2254
+
2255
+ function postDigestTaskFactory() {
2256
+ var postDigestCalled = false;
2257
+ return function(fn) {
2258
+ // we only issue a call to postDigest before
2259
+ // it has first passed. This prevents any callbacks
2260
+ // from not firing once the animation has completed
2261
+ // since it will be out of the digest cycle.
2262
+ if (postDigestCalled) {
2263
+ fn();
2264
+ } else {
2265
+ $rootScope.$$postDigest(function() {
2266
+ postDigestCalled = true;
2267
+ fn();
2268
+ });
2269
+ }
2270
+ };
2271
+ }
2272
+
2273
+ // Wait until all directive and route-related templates are downloaded and
2274
+ // compiled. The $templateRequest.totalPendingRequests variable keeps track of
2275
+ // all of the remote templates being currently downloaded. If there are no
2276
+ // templates currently downloading then the watcher will still fire anyway.
2277
+ var deregisterWatch = $rootScope.$watch(
2278
+ function() { return $templateRequest.totalPendingRequests === 0; },
2279
+ function(isEmpty) {
2280
+ if (!isEmpty) return;
2281
+ deregisterWatch();
2282
+
2283
+ // Now that all templates have been downloaded, $animate will wait until
2284
+ // the post digest queue is empty before enabling animations. By having two
2285
+ // calls to $postDigest calls we can ensure that the flag is enabled at the
2286
+ // very end of the post digest queue. Since all of the animations in $animate
2287
+ // use $postDigest, it's important that the code below executes at the end.
2288
+ // This basically means that the page is fully downloaded and compiled before
2289
+ // any animations are triggered.
2290
+ $rootScope.$$postDigest(function() {
2291
+ $rootScope.$$postDigest(function() {
2292
+ // we check for null directly in the event that the application already called
2293
+ // .enabled() with whatever arguments that it provided it with
2294
+ if (animationsEnabled === null) {
2295
+ animationsEnabled = true;
2296
+ }
2297
+ });
2298
+ });
2299
+ }
2300
+ );
2301
+
2302
+ var callbackRegistry = {};
2303
+
2304
+ // remember that the classNameFilter is set during the provider/config
2305
+ // stage therefore we can optimize here and setup a helper function
2306
+ var classNameFilter = $animateProvider.classNameFilter();
2307
+ var isAnimatableClassName = !classNameFilter
2308
+ ? function() { return true; }
2309
+ : function(className) {
2310
+ return classNameFilter.test(className);
2311
+ };
2312
+
2313
+ var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
2314
+
2315
+ function normalizeAnimationDetails(element, animation) {
2316
+ return mergeAnimationDetails(element, animation, {});
2317
+ }
2318
+
2319
+ // IE9-11 has no method "contains" in SVG element and in Node.prototype. Bug #10259.
2320
+ var contains = Node.prototype.contains || function(arg) {
2321
+ // jshint bitwise: false
2322
+ return this === arg || !!(this.compareDocumentPosition(arg) & 16);
2323
+ // jshint bitwise: true
2324
+ };
2325
+
2326
+ function findCallbacks(parent, element, event) {
2327
+ var targetNode = getDomNode(element);
2328
+ var targetParentNode = getDomNode(parent);
2329
+
2330
+ var matches = [];
2331
+ var entries = callbackRegistry[event];
2332
+ if (entries) {
2333
+ forEach(entries, function(entry) {
2334
+ if (contains.call(entry.node, targetNode)) {
2335
+ matches.push(entry.callback);
2336
+ } else if (event === 'leave' && contains.call(entry.node, targetParentNode)) {
2337
+ matches.push(entry.callback);
2338
+ }
2339
+ });
2340
+ }
2341
+
2342
+ return matches;
2343
+ }
2344
+
2345
+ var $animate = {
2346
+ on: function(event, container, callback) {
2347
+ var node = extractElementNode(container);
2348
+ callbackRegistry[event] = callbackRegistry[event] || [];
2349
+ callbackRegistry[event].push({
2350
+ node: node,
2351
+ callback: callback
2352
+ });
2353
+
2354
+ // Remove the callback when the element is removed from the DOM
2355
+ jqLite(container).on('$destroy', function() {
2356
+ $animate.off(event, container, callback);
2357
+ });
2358
+ },
2359
+
2360
+ off: function(event, container, callback) {
2361
+ var entries = callbackRegistry[event];
2362
+ if (!entries) return;
2363
+
2364
+ callbackRegistry[event] = arguments.length === 1
2365
+ ? null
2366
+ : filterFromRegistry(entries, container, callback);
2367
+
2368
+ function filterFromRegistry(list, matchContainer, matchCallback) {
2369
+ var containerNode = extractElementNode(matchContainer);
2370
+ return list.filter(function(entry) {
2371
+ var isMatch = entry.node === containerNode &&
2372
+ (!matchCallback || entry.callback === matchCallback);
2373
+ return !isMatch;
2374
+ });
2375
+ }
2376
+ },
2377
+
2378
+ pin: function(element, parentElement) {
2379
+ assertArg(isElement(element), 'element', 'not an element');
2380
+ assertArg(isElement(parentElement), 'parentElement', 'not an element');
2381
+ element.data(NG_ANIMATE_PIN_DATA, parentElement);
2382
+ },
2383
+
2384
+ push: function(element, event, options, domOperation) {
2385
+ options = options || {};
2386
+ options.domOperation = domOperation;
2387
+ return queueAnimation(element, event, options);
2388
+ },
2389
+
2390
+ // this method has four signatures:
2391
+ // () - global getter
2392
+ // (bool) - global setter
2393
+ // (element) - element getter
2394
+ // (element, bool) - element setter<F37>
2395
+ enabled: function(element, bool) {
2396
+ var argCount = arguments.length;
2397
+
2398
+ if (argCount === 0) {
2399
+ // () - Global getter
2400
+ bool = !!animationsEnabled;
2401
+ } else {
2402
+ var hasElement = isElement(element);
2403
+
2404
+ if (!hasElement) {
2405
+ // (bool) - Global setter
2406
+ bool = animationsEnabled = !!element;
2407
+ } else {
2408
+ var node = getDomNode(element);
2409
+ var recordExists = disabledElementsLookup.get(node);
2410
+
2411
+ if (argCount === 1) {
2412
+ // (element) - Element getter
2413
+ bool = !recordExists;
2414
+ } else {
2415
+ // (element, bool) - Element setter
2416
+ disabledElementsLookup.put(node, !bool);
2417
+ }
2418
+ }
2419
+ }
2420
+
2421
+ return bool;
2422
+ }
2423
+ };
2424
+
2425
+ return $animate;
2426
+
2427
+ function queueAnimation(element, event, initialOptions) {
2428
+ // we always make a copy of the options since
2429
+ // there should never be any side effects on
2430
+ // the input data when running `$animateCss`.
2431
+ var options = copy(initialOptions);
2432
+
2433
+ var node, parent;
2434
+ element = stripCommentsFromElement(element);
2435
+ if (element) {
2436
+ node = getDomNode(element);
2437
+ parent = element.parent();
2438
+ }
2439
+
2440
+ options = prepareAnimationOptions(options);
2441
+
2442
+ // we create a fake runner with a working promise.
2443
+ // These methods will become available after the digest has passed
2444
+ var runner = new $$AnimateRunner();
2445
+
2446
+ // this is used to trigger callbacks in postDigest mode
2447
+ var runInNextPostDigestOrNow = postDigestTaskFactory();
2448
+
2449
+ if (isArray(options.addClass)) {
2450
+ options.addClass = options.addClass.join(' ');
2451
+ }
2452
+
2453
+ if (options.addClass && !isString(options.addClass)) {
2454
+ options.addClass = null;
2455
+ }
2456
+
2457
+ if (isArray(options.removeClass)) {
2458
+ options.removeClass = options.removeClass.join(' ');
2459
+ }
2460
+
2461
+ if (options.removeClass && !isString(options.removeClass)) {
2462
+ options.removeClass = null;
2463
+ }
2464
+
2465
+ if (options.from && !isObject(options.from)) {
2466
+ options.from = null;
2467
+ }
2468
+
2469
+ if (options.to && !isObject(options.to)) {
2470
+ options.to = null;
2471
+ }
2472
+
2473
+ // there are situations where a directive issues an animation for
2474
+ // a jqLite wrapper that contains only comment nodes... If this
2475
+ // happens then there is no way we can perform an animation
2476
+ if (!node) {
2477
+ close();
2478
+ return runner;
2479
+ }
2480
+
2481
+ var className = [node.className, options.addClass, options.removeClass].join(' ');
2482
+ if (!isAnimatableClassName(className)) {
2483
+ close();
2484
+ return runner;
2485
+ }
2486
+
2487
+ var isStructural = ['enter', 'move', 'leave'].indexOf(event) >= 0;
2488
+
2489
+ // this is a hard disable of all animations for the application or on
2490
+ // the element itself, therefore there is no need to continue further
2491
+ // past this point if not enabled
2492
+ // Animations are also disabled if the document is currently hidden (page is not visible
2493
+ // to the user), because browsers slow down or do not flush calls to requestAnimationFrame
2494
+ var skipAnimations = !animationsEnabled || $document[0].hidden || disabledElementsLookup.get(node);
2495
+ var existingAnimation = (!skipAnimations && activeAnimationsLookup.get(node)) || {};
2496
+ var hasExistingAnimation = !!existingAnimation.state;
2497
+
2498
+ // there is no point in traversing the same collection of parent ancestors if a followup
2499
+ // animation will be run on the same element that already did all that checking work
2500
+ if (!skipAnimations && (!hasExistingAnimation || existingAnimation.state != PRE_DIGEST_STATE)) {
2501
+ skipAnimations = !areAnimationsAllowed(element, parent, event);
2502
+ }
2503
+
2504
+ if (skipAnimations) {
2505
+ close();
2506
+ return runner;
2507
+ }
2508
+
2509
+ if (isStructural) {
2510
+ closeChildAnimations(element);
2511
+ }
2512
+
2513
+ var newAnimation = {
2514
+ structural: isStructural,
2515
+ element: element,
2516
+ event: event,
2517
+ addClass: options.addClass,
2518
+ removeClass: options.removeClass,
2519
+ close: close,
2520
+ options: options,
2521
+ runner: runner
2522
+ };
2523
+
2524
+ if (hasExistingAnimation) {
2525
+ var skipAnimationFlag = isAllowed('skip', element, newAnimation, existingAnimation);
2526
+ if (skipAnimationFlag) {
2527
+ if (existingAnimation.state === RUNNING_STATE) {
2528
+ close();
2529
+ return runner;
2530
+ } else {
2531
+ mergeAnimationDetails(element, existingAnimation, newAnimation);
2532
+ return existingAnimation.runner;
2533
+ }
2534
+ }
2535
+ var cancelAnimationFlag = isAllowed('cancel', element, newAnimation, existingAnimation);
2536
+ if (cancelAnimationFlag) {
2537
+ if (existingAnimation.state === RUNNING_STATE) {
2538
+ // this will end the animation right away and it is safe
2539
+ // to do so since the animation is already running and the
2540
+ // runner callback code will run in async
2541
+ existingAnimation.runner.end();
2542
+ } else if (existingAnimation.structural) {
2543
+ // this means that the animation is queued into a digest, but
2544
+ // hasn't started yet. Therefore it is safe to run the close
2545
+ // method which will call the runner methods in async.
2546
+ existingAnimation.close();
2547
+ } else {
2548
+ // this will merge the new animation options into existing animation options
2549
+ mergeAnimationDetails(element, existingAnimation, newAnimation);
2550
+
2551
+ return existingAnimation.runner;
2552
+ }
2553
+ } else {
2554
+ // a joined animation means that this animation will take over the existing one
2555
+ // so an example would involve a leave animation taking over an enter. Then when
2556
+ // the postDigest kicks in the enter will be ignored.
2557
+ var joinAnimationFlag = isAllowed('join', element, newAnimation, existingAnimation);
2558
+ if (joinAnimationFlag) {
2559
+ if (existingAnimation.state === RUNNING_STATE) {
2560
+ normalizeAnimationDetails(element, newAnimation);
2561
+ } else {
2562
+ applyGeneratedPreparationClasses(element, isStructural ? event : null, options);
2563
+
2564
+ event = newAnimation.event = existingAnimation.event;
2565
+ options = mergeAnimationDetails(element, existingAnimation, newAnimation);
2566
+
2567
+ //we return the same runner since only the option values of this animation will
2568
+ //be fed into the `existingAnimation`.
2569
+ return existingAnimation.runner;
2570
+ }
2571
+ }
2572
+ }
2573
+ } else {
2574
+ // normalization in this case means that it removes redundant CSS classes that
2575
+ // already exist (addClass) or do not exist (removeClass) on the element
2576
+ normalizeAnimationDetails(element, newAnimation);
2577
+ }
2578
+
2579
+ // when the options are merged and cleaned up we may end up not having to do
2580
+ // an animation at all, therefore we should check this before issuing a post
2581
+ // digest callback. Structural animations will always run no matter what.
2582
+ var isValidAnimation = newAnimation.structural;
2583
+ if (!isValidAnimation) {
2584
+ // animate (from/to) can be quickly checked first, otherwise we check if any classes are present
2585
+ isValidAnimation = (newAnimation.event === 'animate' && Object.keys(newAnimation.options.to || {}).length > 0)
2586
+ || hasAnimationClasses(newAnimation);
2587
+ }
2588
+
2589
+ if (!isValidAnimation) {
2590
+ close();
2591
+ clearElementAnimationState(element);
2592
+ return runner;
2593
+ }
2594
+
2595
+ // the counter keeps track of cancelled animations
2596
+ var counter = (existingAnimation.counter || 0) + 1;
2597
+ newAnimation.counter = counter;
2598
+
2599
+ markElementAnimationState(element, PRE_DIGEST_STATE, newAnimation);
2600
+
2601
+ $rootScope.$$postDigest(function() {
2602
+ var animationDetails = activeAnimationsLookup.get(node);
2603
+ var animationCancelled = !animationDetails;
2604
+ animationDetails = animationDetails || {};
2605
+
2606
+ // if addClass/removeClass is called before something like enter then the
2607
+ // registered parent element may not be present. The code below will ensure
2608
+ // that a final value for parent element is obtained
2609
+ var parentElement = element.parent() || [];
2610
+
2611
+ // animate/structural/class-based animations all have requirements. Otherwise there
2612
+ // is no point in performing an animation. The parent node must also be set.
2613
+ var isValidAnimation = parentElement.length > 0
2614
+ && (animationDetails.event === 'animate'
2615
+ || animationDetails.structural
2616
+ || hasAnimationClasses(animationDetails));
2617
+
2618
+ // this means that the previous animation was cancelled
2619
+ // even if the follow-up animation is the same event
2620
+ if (animationCancelled || animationDetails.counter !== counter || !isValidAnimation) {
2621
+ // if another animation did not take over then we need
2622
+ // to make sure that the domOperation and options are
2623
+ // handled accordingly
2624
+ if (animationCancelled) {
2625
+ applyAnimationClasses(element, options);
2626
+ applyAnimationStyles(element, options);
2627
+ }
2628
+
2629
+ // if the event changed from something like enter to leave then we do
2630
+ // it, otherwise if it's the same then the end result will be the same too
2631
+ if (animationCancelled || (isStructural && animationDetails.event !== event)) {
2632
+ options.domOperation();
2633
+ runner.end();
2634
+ }
2635
+
2636
+ // in the event that the element animation was not cancelled or a follow-up animation
2637
+ // isn't allowed to animate from here then we need to clear the state of the element
2638
+ // so that any future animations won't read the expired animation data.
2639
+ if (!isValidAnimation) {
2640
+ clearElementAnimationState(element);
2641
+ }
2642
+
2643
+ return;
2644
+ }
2645
+
2646
+ // this combined multiple class to addClass / removeClass into a setClass event
2647
+ // so long as a structural event did not take over the animation
2648
+ event = !animationDetails.structural && hasAnimationClasses(animationDetails, true)
2649
+ ? 'setClass'
2650
+ : animationDetails.event;
2651
+
2652
+ markElementAnimationState(element, RUNNING_STATE);
2653
+ var realRunner = $$animation(element, event, animationDetails.options);
2654
+
2655
+ realRunner.done(function(status) {
2656
+ close(!status);
2657
+ var animationDetails = activeAnimationsLookup.get(node);
2658
+ if (animationDetails && animationDetails.counter === counter) {
2659
+ clearElementAnimationState(getDomNode(element));
2660
+ }
2661
+ notifyProgress(runner, event, 'close', {});
2662
+ });
2663
+
2664
+ // this will update the runner's flow-control events based on
2665
+ // the `realRunner` object.
2666
+ runner.setHost(realRunner);
2667
+ notifyProgress(runner, event, 'start', {});
2668
+ });
2669
+
2670
+ return runner;
2671
+
2672
+ function notifyProgress(runner, event, phase, data) {
2673
+ runInNextPostDigestOrNow(function() {
2674
+ var callbacks = findCallbacks(parent, element, event);
2675
+ if (callbacks.length) {
2676
+ // do not optimize this call here to RAF because
2677
+ // we don't know how heavy the callback code here will
2678
+ // be and if this code is buffered then this can
2679
+ // lead to a performance regression.
2680
+ $$rAF(function() {
2681
+ forEach(callbacks, function(callback) {
2682
+ callback(element, phase, data);
2683
+ });
2684
+ });
2685
+ }
2686
+ });
2687
+ runner.progress(event, phase, data);
2688
+ }
2689
+
2690
+ function close(reject) { // jshint ignore:line
2691
+ clearGeneratedClasses(element, options);
2692
+ applyAnimationClasses(element, options);
2693
+ applyAnimationStyles(element, options);
2694
+ options.domOperation();
2695
+ runner.complete(!reject);
2696
+ }
2697
+ }
2698
+
2699
+ function closeChildAnimations(element) {
2700
+ var node = getDomNode(element);
2701
+ var children = node.querySelectorAll('[' + NG_ANIMATE_ATTR_NAME + ']');
2702
+ forEach(children, function(child) {
2703
+ var state = parseInt(child.getAttribute(NG_ANIMATE_ATTR_NAME));
2704
+ var animationDetails = activeAnimationsLookup.get(child);
2705
+ if (animationDetails) {
2706
+ switch (state) {
2707
+ case RUNNING_STATE:
2708
+ animationDetails.runner.end();
2709
+ /* falls through */
2710
+ case PRE_DIGEST_STATE:
2711
+ activeAnimationsLookup.remove(child);
2712
+ break;
2713
+ }
2714
+ }
2715
+ });
2716
+ }
2717
+
2718
+ function clearElementAnimationState(element) {
2719
+ var node = getDomNode(element);
2720
+ node.removeAttribute(NG_ANIMATE_ATTR_NAME);
2721
+ activeAnimationsLookup.remove(node);
2722
+ }
2723
+
2724
+ function isMatchingElement(nodeOrElmA, nodeOrElmB) {
2725
+ return getDomNode(nodeOrElmA) === getDomNode(nodeOrElmB);
2726
+ }
2727
+
2728
+ /**
2729
+ * This fn returns false if any of the following is true:
2730
+ * a) animations on any parent element are disabled, and animations on the element aren't explicitly allowed
2731
+ * b) a parent element has an ongoing structural animation, and animateChildren is false
2732
+ * c) the element is not a child of the body
2733
+ * d) the element is not a child of the $rootElement
2734
+ */
2735
+ function areAnimationsAllowed(element, parentElement, event) {
2736
+ var bodyElement = jqLite($document[0].body);
2737
+ var bodyElementDetected = isMatchingElement(element, bodyElement) || element[0].nodeName === 'HTML';
2738
+ var rootElementDetected = isMatchingElement(element, $rootElement);
2739
+ var parentAnimationDetected = false;
2740
+ var animateChildren;
2741
+ var elementDisabled = disabledElementsLookup.get(getDomNode(element));
2742
+
2743
+ var parentHost = jqLite.data(element[0], NG_ANIMATE_PIN_DATA);
2744
+ if (parentHost) {
2745
+ parentElement = parentHost;
2746
+ }
2747
+
2748
+ parentElement = getDomNode(parentElement);
2749
+
2750
+ while (parentElement) {
2751
+ if (!rootElementDetected) {
2752
+ // angular doesn't want to attempt to animate elements outside of the application
2753
+ // therefore we need to ensure that the rootElement is an ancestor of the current element
2754
+ rootElementDetected = isMatchingElement(parentElement, $rootElement);
2755
+ }
2756
+
2757
+ if (parentElement.nodeType !== ELEMENT_NODE) {
2758
+ // no point in inspecting the #document element
2759
+ break;
2760
+ }
2761
+
2762
+ var details = activeAnimationsLookup.get(parentElement) || {};
2763
+ // either an enter, leave or move animation will commence
2764
+ // therefore we can't allow any animations to take place
2765
+ // but if a parent animation is class-based then that's ok
2766
+ if (!parentAnimationDetected) {
2767
+ var parentElementDisabled = disabledElementsLookup.get(parentElement);
2768
+
2769
+ if (parentElementDisabled === true && elementDisabled !== false) {
2770
+ // disable animations if the user hasn't explicitly enabled animations on the
2771
+ // current element
2772
+ elementDisabled = true;
2773
+ // element is disabled via parent element, no need to check anything else
2774
+ break;
2775
+ } else if (parentElementDisabled === false) {
2776
+ elementDisabled = false;
2777
+ }
2778
+ parentAnimationDetected = details.structural;
2779
+ }
2780
+
2781
+ if (isUndefined(animateChildren) || animateChildren === true) {
2782
+ var value = jqLite.data(parentElement, NG_ANIMATE_CHILDREN_DATA);
2783
+ if (isDefined(value)) {
2784
+ animateChildren = value;
2785
+ }
2786
+ }
2787
+
2788
+ // there is no need to continue traversing at this point
2789
+ if (parentAnimationDetected && animateChildren === false) break;
2790
+
2791
+ if (!bodyElementDetected) {
2792
+ // we also need to ensure that the element is or will be a part of the body element
2793
+ // otherwise it is pointless to even issue an animation to be rendered
2794
+ bodyElementDetected = isMatchingElement(parentElement, bodyElement);
2795
+ }
2796
+
2797
+ if (bodyElementDetected && rootElementDetected) {
2798
+ // If both body and root have been found, any other checks are pointless,
2799
+ // as no animation data should live outside the application
2800
+ break;
2801
+ }
2802
+
2803
+ if (!rootElementDetected) {
2804
+ // If no rootElement is detected, check if the parentElement is pinned to another element
2805
+ parentHost = jqLite.data(parentElement, NG_ANIMATE_PIN_DATA);
2806
+ if (parentHost) {
2807
+ // The pin target element becomes the next parent element
2808
+ parentElement = getDomNode(parentHost);
2809
+ continue;
2810
+ }
2811
+ }
2812
+
2813
+ parentElement = parentElement.parentNode;
2814
+ }
2815
+
2816
+ var allowAnimation = (!parentAnimationDetected || animateChildren) && elementDisabled !== true;
2817
+ return allowAnimation && rootElementDetected && bodyElementDetected;
2818
+ }
2819
+
2820
+ function markElementAnimationState(element, state, details) {
2821
+ details = details || {};
2822
+ details.state = state;
2823
+
2824
+ var node = getDomNode(element);
2825
+ node.setAttribute(NG_ANIMATE_ATTR_NAME, state);
2826
+
2827
+ var oldValue = activeAnimationsLookup.get(node);
2828
+ var newValue = oldValue
2829
+ ? extend(oldValue, details)
2830
+ : details;
2831
+ activeAnimationsLookup.put(node, newValue);
2832
+ }
2833
+ }];
2834
+ }];
2835
+
2836
+ var $$AnimationProvider = ['$animateProvider', function($animateProvider) {
2837
+ var NG_ANIMATE_REF_ATTR = 'ng-animate-ref';
2838
+
2839
+ var drivers = this.drivers = [];
2840
+
2841
+ var RUNNER_STORAGE_KEY = '$$animationRunner';
2842
+
2843
+ function setRunner(element, runner) {
2844
+ element.data(RUNNER_STORAGE_KEY, runner);
2845
+ }
2846
+
2847
+ function removeRunner(element) {
2848
+ element.removeData(RUNNER_STORAGE_KEY);
2849
+ }
2850
+
2851
+ function getRunner(element) {
2852
+ return element.data(RUNNER_STORAGE_KEY);
2853
+ }
2854
+
2855
+ this.$get = ['$$jqLite', '$rootScope', '$injector', '$$AnimateRunner', '$$HashMap', '$$rAFScheduler',
2856
+ function($$jqLite, $rootScope, $injector, $$AnimateRunner, $$HashMap, $$rAFScheduler) {
2857
+
2858
+ var animationQueue = [];
2859
+ var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
2860
+
2861
+ function sortAnimations(animations) {
2862
+ var tree = { children: [] };
2863
+ var i, lookup = new $$HashMap();
2864
+
2865
+ // this is done first beforehand so that the hashmap
2866
+ // is filled with a list of the elements that will be animated
2867
+ for (i = 0; i < animations.length; i++) {
2868
+ var animation = animations[i];
2869
+ lookup.put(animation.domNode, animations[i] = {
2870
+ domNode: animation.domNode,
2871
+ fn: animation.fn,
2872
+ children: []
2873
+ });
2874
+ }
2875
+
2876
+ for (i = 0; i < animations.length; i++) {
2877
+ processNode(animations[i]);
2878
+ }
2879
+
2880
+ return flatten(tree);
2881
+
2882
+ function processNode(entry) {
2883
+ if (entry.processed) return entry;
2884
+ entry.processed = true;
2885
+
2886
+ var elementNode = entry.domNode;
2887
+ var parentNode = elementNode.parentNode;
2888
+ lookup.put(elementNode, entry);
2889
+
2890
+ var parentEntry;
2891
+ while (parentNode) {
2892
+ parentEntry = lookup.get(parentNode);
2893
+ if (parentEntry) {
2894
+ if (!parentEntry.processed) {
2895
+ parentEntry = processNode(parentEntry);
2896
+ }
2897
+ break;
2898
+ }
2899
+ parentNode = parentNode.parentNode;
2900
+ }
2901
+
2902
+ (parentEntry || tree).children.push(entry);
2903
+ return entry;
2904
+ }
2905
+
2906
+ function flatten(tree) {
2907
+ var result = [];
2908
+ var queue = [];
2909
+ var i;
2910
+
2911
+ for (i = 0; i < tree.children.length; i++) {
2912
+ queue.push(tree.children[i]);
2913
+ }
2914
+
2915
+ var remainingLevelEntries = queue.length;
2916
+ var nextLevelEntries = 0;
2917
+ var row = [];
2918
+
2919
+ for (i = 0; i < queue.length; i++) {
2920
+ var entry = queue[i];
2921
+ if (remainingLevelEntries <= 0) {
2922
+ remainingLevelEntries = nextLevelEntries;
2923
+ nextLevelEntries = 0;
2924
+ result.push(row);
2925
+ row = [];
2926
+ }
2927
+ row.push(entry.fn);
2928
+ entry.children.forEach(function(childEntry) {
2929
+ nextLevelEntries++;
2930
+ queue.push(childEntry);
2931
+ });
2932
+ remainingLevelEntries--;
2933
+ }
2934
+
2935
+ if (row.length) {
2936
+ result.push(row);
2937
+ }
2938
+
2939
+ return result;
2940
+ }
2941
+ }
2942
+
2943
+ // TODO(matsko): document the signature in a better way
2944
+ return function(element, event, options) {
2945
+ options = prepareAnimationOptions(options);
2946
+ var isStructural = ['enter', 'move', 'leave'].indexOf(event) >= 0;
2947
+
2948
+ // there is no animation at the current moment, however
2949
+ // these runner methods will get later updated with the
2950
+ // methods leading into the driver's end/cancel methods
2951
+ // for now they just stop the animation from starting
2952
+ var runner = new $$AnimateRunner({
2953
+ end: function() { close(); },
2954
+ cancel: function() { close(true); }
2955
+ });
2956
+
2957
+ if (!drivers.length) {
2958
+ close();
2959
+ return runner;
2960
+ }
2961
+
2962
+ setRunner(element, runner);
2963
+
2964
+ var classes = mergeClasses(element.attr('class'), mergeClasses(options.addClass, options.removeClass));
2965
+ var tempClasses = options.tempClasses;
2966
+ if (tempClasses) {
2967
+ classes += ' ' + tempClasses;
2968
+ options.tempClasses = null;
2969
+ }
2970
+
2971
+ var prepareClassName;
2972
+ if (isStructural) {
2973
+ prepareClassName = 'ng-' + event + PREPARE_CLASS_SUFFIX;
2974
+ $$jqLite.addClass(element, prepareClassName);
2975
+ }
2976
+
2977
+ animationQueue.push({
2978
+ // this data is used by the postDigest code and passed into
2979
+ // the driver step function
2980
+ element: element,
2981
+ classes: classes,
2982
+ event: event,
2983
+ structural: isStructural,
2984
+ options: options,
2985
+ beforeStart: beforeStart,
2986
+ close: close
2987
+ });
2988
+
2989
+ element.on('$destroy', handleDestroyedElement);
2990
+
2991
+ // we only want there to be one function called within the post digest
2992
+ // block. This way we can group animations for all the animations that
2993
+ // were apart of the same postDigest flush call.
2994
+ if (animationQueue.length > 1) return runner;
2995
+
2996
+ $rootScope.$$postDigest(function() {
2997
+ var animations = [];
2998
+ forEach(animationQueue, function(entry) {
2999
+ // the element was destroyed early on which removed the runner
3000
+ // form its storage. This means we can't animate this element
3001
+ // at all and it already has been closed due to destruction.
3002
+ if (getRunner(entry.element)) {
3003
+ animations.push(entry);
3004
+ } else {
3005
+ entry.close();
3006
+ }
3007
+ });
3008
+
3009
+ // now any future animations will be in another postDigest
3010
+ animationQueue.length = 0;
3011
+
3012
+ var groupedAnimations = groupAnimations(animations);
3013
+ var toBeSortedAnimations = [];
3014
+
3015
+ forEach(groupedAnimations, function(animationEntry) {
3016
+ toBeSortedAnimations.push({
3017
+ domNode: getDomNode(animationEntry.from ? animationEntry.from.element : animationEntry.element),
3018
+ fn: function triggerAnimationStart() {
3019
+ // it's important that we apply the `ng-animate` CSS class and the
3020
+ // temporary classes before we do any driver invoking since these
3021
+ // CSS classes may be required for proper CSS detection.
3022
+ animationEntry.beforeStart();
3023
+
3024
+ var startAnimationFn, closeFn = animationEntry.close;
3025
+
3026
+ // in the event that the element was removed before the digest runs or
3027
+ // during the RAF sequencing then we should not trigger the animation.
3028
+ var targetElement = animationEntry.anchors
3029
+ ? (animationEntry.from.element || animationEntry.to.element)
3030
+ : animationEntry.element;
3031
+
3032
+ if (getRunner(targetElement)) {
3033
+ var operation = invokeFirstDriver(animationEntry);
3034
+ if (operation) {
3035
+ startAnimationFn = operation.start;
3036
+ }
3037
+ }
3038
+
3039
+ if (!startAnimationFn) {
3040
+ closeFn();
3041
+ } else {
3042
+ var animationRunner = startAnimationFn();
3043
+ animationRunner.done(function(status) {
3044
+ closeFn(!status);
3045
+ });
3046
+ updateAnimationRunners(animationEntry, animationRunner);
3047
+ }
3048
+ }
3049
+ });
3050
+ });
3051
+
3052
+ // we need to sort each of the animations in order of parent to child
3053
+ // relationships. This ensures that the child classes are applied at the
3054
+ // right time.
3055
+ $$rAFScheduler(sortAnimations(toBeSortedAnimations));
3056
+ });
3057
+
3058
+ return runner;
3059
+
3060
+ // TODO(matsko): change to reference nodes
3061
+ function getAnchorNodes(node) {
3062
+ var SELECTOR = '[' + NG_ANIMATE_REF_ATTR + ']';
3063
+ var items = node.hasAttribute(NG_ANIMATE_REF_ATTR)
3064
+ ? [node]
3065
+ : node.querySelectorAll(SELECTOR);
3066
+ var anchors = [];
3067
+ forEach(items, function(node) {
3068
+ var attr = node.getAttribute(NG_ANIMATE_REF_ATTR);
3069
+ if (attr && attr.length) {
3070
+ anchors.push(node);
3071
+ }
3072
+ });
3073
+ return anchors;
3074
+ }
3075
+
3076
+ function groupAnimations(animations) {
3077
+ var preparedAnimations = [];
3078
+ var refLookup = {};
3079
+ forEach(animations, function(animation, index) {
3080
+ var element = animation.element;
3081
+ var node = getDomNode(element);
3082
+ var event = animation.event;
3083
+ var enterOrMove = ['enter', 'move'].indexOf(event) >= 0;
3084
+ var anchorNodes = animation.structural ? getAnchorNodes(node) : [];
3085
+
3086
+ if (anchorNodes.length) {
3087
+ var direction = enterOrMove ? 'to' : 'from';
3088
+
3089
+ forEach(anchorNodes, function(anchor) {
3090
+ var key = anchor.getAttribute(NG_ANIMATE_REF_ATTR);
3091
+ refLookup[key] = refLookup[key] || {};
3092
+ refLookup[key][direction] = {
3093
+ animationID: index,
3094
+ element: jqLite(anchor)
3095
+ };
3096
+ });
3097
+ } else {
3098
+ preparedAnimations.push(animation);
3099
+ }
3100
+ });
3101
+
3102
+ var usedIndicesLookup = {};
3103
+ var anchorGroups = {};
3104
+ forEach(refLookup, function(operations, key) {
3105
+ var from = operations.from;
3106
+ var to = operations.to;
3107
+
3108
+ if (!from || !to) {
3109
+ // only one of these is set therefore we can't have an
3110
+ // anchor animation since all three pieces are required
3111
+ var index = from ? from.animationID : to.animationID;
3112
+ var indexKey = index.toString();
3113
+ if (!usedIndicesLookup[indexKey]) {
3114
+ usedIndicesLookup[indexKey] = true;
3115
+ preparedAnimations.push(animations[index]);
3116
+ }
3117
+ return;
3118
+ }
3119
+
3120
+ var fromAnimation = animations[from.animationID];
3121
+ var toAnimation = animations[to.animationID];
3122
+ var lookupKey = from.animationID.toString();
3123
+ if (!anchorGroups[lookupKey]) {
3124
+ var group = anchorGroups[lookupKey] = {
3125
+ structural: true,
3126
+ beforeStart: function() {
3127
+ fromAnimation.beforeStart();
3128
+ toAnimation.beforeStart();
3129
+ },
3130
+ close: function() {
3131
+ fromAnimation.close();
3132
+ toAnimation.close();
3133
+ },
3134
+ classes: cssClassesIntersection(fromAnimation.classes, toAnimation.classes),
3135
+ from: fromAnimation,
3136
+ to: toAnimation,
3137
+ anchors: [] // TODO(matsko): change to reference nodes
3138
+ };
3139
+
3140
+ // the anchor animations require that the from and to elements both have at least
3141
+ // one shared CSS class which effectively marries the two elements together to use
3142
+ // the same animation driver and to properly sequence the anchor animation.
3143
+ if (group.classes.length) {
3144
+ preparedAnimations.push(group);
3145
+ } else {
3146
+ preparedAnimations.push(fromAnimation);
3147
+ preparedAnimations.push(toAnimation);
3148
+ }
3149
+ }
3150
+
3151
+ anchorGroups[lookupKey].anchors.push({
3152
+ 'out': from.element, 'in': to.element
3153
+ });
3154
+ });
3155
+
3156
+ return preparedAnimations;
3157
+ }
3158
+
3159
+ function cssClassesIntersection(a,b) {
3160
+ a = a.split(' ');
3161
+ b = b.split(' ');
3162
+ var matches = [];
3163
+
3164
+ for (var i = 0; i < a.length; i++) {
3165
+ var aa = a[i];
3166
+ if (aa.substring(0,3) === 'ng-') continue;
3167
+
3168
+ for (var j = 0; j < b.length; j++) {
3169
+ if (aa === b[j]) {
3170
+ matches.push(aa);
3171
+ break;
3172
+ }
3173
+ }
3174
+ }
3175
+
3176
+ return matches.join(' ');
3177
+ }
3178
+
3179
+ function invokeFirstDriver(animationDetails) {
3180
+ // we loop in reverse order since the more general drivers (like CSS and JS)
3181
+ // may attempt more elements, but custom drivers are more particular
3182
+ for (var i = drivers.length - 1; i >= 0; i--) {
3183
+ var driverName = drivers[i];
3184
+ if (!$injector.has(driverName)) continue; // TODO(matsko): remove this check
3185
+
3186
+ var factory = $injector.get(driverName);
3187
+ var driver = factory(animationDetails);
3188
+ if (driver) {
3189
+ return driver;
3190
+ }
3191
+ }
3192
+ }
3193
+
3194
+ function beforeStart() {
3195
+ element.addClass(NG_ANIMATE_CLASSNAME);
3196
+ if (tempClasses) {
3197
+ $$jqLite.addClass(element, tempClasses);
3198
+ }
3199
+ if (prepareClassName) {
3200
+ $$jqLite.removeClass(element, prepareClassName);
3201
+ prepareClassName = null;
3202
+ }
3203
+ }
3204
+
3205
+ function updateAnimationRunners(animation, newRunner) {
3206
+ if (animation.from && animation.to) {
3207
+ update(animation.from.element);
3208
+ update(animation.to.element);
3209
+ } else {
3210
+ update(animation.element);
3211
+ }
3212
+
3213
+ function update(element) {
3214
+ getRunner(element).setHost(newRunner);
3215
+ }
3216
+ }
3217
+
3218
+ function handleDestroyedElement() {
3219
+ var runner = getRunner(element);
3220
+ if (runner && (event !== 'leave' || !options.$$domOperationFired)) {
3221
+ runner.end();
3222
+ }
3223
+ }
3224
+
3225
+ function close(rejected) { // jshint ignore:line
3226
+ element.off('$destroy', handleDestroyedElement);
3227
+ removeRunner(element);
3228
+
3229
+ applyAnimationClasses(element, options);
3230
+ applyAnimationStyles(element, options);
3231
+ options.domOperation();
3232
+
3233
+ if (tempClasses) {
3234
+ $$jqLite.removeClass(element, tempClasses);
3235
+ }
3236
+
3237
+ element.removeClass(NG_ANIMATE_CLASSNAME);
3238
+ runner.complete(!rejected);
3239
+ }
3240
+ };
3241
+ }];
3242
+ }];
3243
+
3244
+ /**
3245
+ * @ngdoc directive
3246
+ * @name ngAnimateSwap
3247
+ * @restrict A
3248
+ * @scope
3249
+ *
3250
+ * @description
3251
+ *
3252
+ * ngAnimateSwap is a animation-oriented directive that allows for the container to
3253
+ * be removed and entered in whenever the associated expression changes. A
3254
+ * common usecase for this directive is a rotating banner or slider component which
3255
+ * contains one image being present at a time. When the active image changes
3256
+ * then the old image will perform a `leave` animation and the new element
3257
+ * will be inserted via an `enter` animation.
3258
+ *
3259
+ * @animations
3260
+ * | Animation | Occurs |
3261
+ * |----------------------------------|--------------------------------------|
3262
+ * | {@link ng.$animate#enter enter} | when the new element is inserted to the DOM |
3263
+ * | {@link ng.$animate#leave leave} | when the old element is removed from the DOM |
3264
+ *
3265
+ * @example
3266
+ * <example name="ngAnimateSwap-directive" module="ngAnimateSwapExample"
3267
+ * deps="angular-animate.js"
3268
+ * animations="true" fixBase="true">
3269
+ * <file name="index.html">
3270
+ * <div class="container" ng-controller="AppCtrl">
3271
+ * <div ng-animate-swap="number" class="cell swap-animation" ng-class="colorClass(number)">
3272
+ * {{ number }}
3273
+ * </div>
3274
+ * </div>
3275
+ * </file>
3276
+ * <file name="script.js">
3277
+ * angular.module('ngAnimateSwapExample', ['ngAnimate'])
3278
+ * .controller('AppCtrl', ['$scope', '$interval', function($scope, $interval) {
3279
+ * $scope.number = 0;
3280
+ * $interval(function() {
3281
+ * $scope.number++;
3282
+ * }, 1000);
3283
+ *
3284
+ * var colors = ['red','blue','green','yellow','orange'];
3285
+ * $scope.colorClass = function(number) {
3286
+ * return colors[number % colors.length];
3287
+ * };
3288
+ * }]);
3289
+ * </file>
3290
+ * <file name="animations.css">
3291
+ * .container {
3292
+ * height:250px;
3293
+ * width:250px;
3294
+ * position:relative;
3295
+ * overflow:hidden;
3296
+ * border:2px solid black;
3297
+ * }
3298
+ * .container .cell {
3299
+ * font-size:150px;
3300
+ * text-align:center;
3301
+ * line-height:250px;
3302
+ * position:absolute;
3303
+ * top:0;
3304
+ * left:0;
3305
+ * right:0;
3306
+ * border-bottom:2px solid black;
3307
+ * }
3308
+ * .swap-animation.ng-enter, .swap-animation.ng-leave {
3309
+ * transition:0.5s linear all;
3310
+ * }
3311
+ * .swap-animation.ng-enter {
3312
+ * top:-250px;
3313
+ * }
3314
+ * .swap-animation.ng-enter-active {
3315
+ * top:0px;
3316
+ * }
3317
+ * .swap-animation.ng-leave {
3318
+ * top:0px;
3319
+ * }
3320
+ * .swap-animation.ng-leave-active {
3321
+ * top:250px;
3322
+ * }
3323
+ * .red { background:red; }
3324
+ * .green { background:green; }
3325
+ * .blue { background:blue; }
3326
+ * .yellow { background:yellow; }
3327
+ * .orange { background:orange; }
3328
+ * </file>
3329
+ * </example>
3330
+ */
3331
+ var ngAnimateSwapDirective = ['$animate', '$rootScope', function($animate, $rootScope) {
3332
+ return {
3333
+ restrict: 'A',
3334
+ transclude: 'element',
3335
+ terminal: true,
3336
+ priority: 600, // we use 600 here to ensure that the directive is caught before others
3337
+ link: function(scope, $element, attrs, ctrl, $transclude) {
3338
+ var previousElement, previousScope;
3339
+ scope.$watchCollection(attrs.ngAnimateSwap || attrs['for'], function(value) {
3340
+ if (previousElement) {
3341
+ $animate.leave(previousElement);
3342
+ }
3343
+ if (previousScope) {
3344
+ previousScope.$destroy();
3345
+ previousScope = null;
3346
+ }
3347
+ if (value || value === 0) {
3348
+ previousScope = scope.$new();
3349
+ $transclude(previousScope, function(element) {
3350
+ previousElement = element;
3351
+ $animate.enter(element, null, $element);
3352
+ });
3353
+ }
3354
+ });
3355
+ }
3356
+ };
3357
+ }];
3358
+
3359
+ /* global angularAnimateModule: true,
3360
+
3361
+ ngAnimateSwapDirective,
3362
+ $$AnimateAsyncRunFactory,
3363
+ $$rAFSchedulerFactory,
3364
+ $$AnimateChildrenDirective,
3365
+ $$AnimateQueueProvider,
3366
+ $$AnimationProvider,
3367
+ $AnimateCssProvider,
3368
+ $$AnimateCssDriverProvider,
3369
+ $$AnimateJsProvider,
3370
+ $$AnimateJsDriverProvider,
3371
+ */
3372
+
3373
+ /**
3374
+ * @ngdoc module
3375
+ * @name ngAnimate
3376
+ * @description
3377
+ *
3378
+ * The `ngAnimate` module provides support for CSS-based animations (keyframes and transitions) as well as JavaScript-based animations via
3379
+ * callback hooks. Animations are not enabled by default, however, by including `ngAnimate` the animation hooks are enabled for an Angular app.
3380
+ *
3381
+ * <div doc-module-components="ngAnimate"></div>
3382
+ *
3383
+ * # Usage
3384
+ * Simply put, there are two ways to make use of animations when ngAnimate is used: by using **CSS** and **JavaScript**. The former works purely based
3385
+ * using CSS (by using matching CSS selectors/styles) and the latter triggers animations that are registered via `module.animation()`. For
3386
+ * both CSS and JS animations the sole requirement is to have a matching `CSS class` that exists both in the registered animation and within
3387
+ * the HTML element that the animation will be triggered on.
3388
+ *
3389
+ * ## Directive Support
3390
+ * The following directives are "animation aware":
3391
+ *
3392
+ * | Directive | Supported Animations |
3393
+ * |----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|
3394
+ * | {@link ng.directive:ngRepeat#animations ngRepeat} | enter, leave and move |
3395
+ * | {@link ngRoute.directive:ngView#animations ngView} | enter and leave |
3396
+ * | {@link ng.directive:ngInclude#animations ngInclude} | enter and leave |
3397
+ * | {@link ng.directive:ngSwitch#animations ngSwitch} | enter and leave |
3398
+ * | {@link ng.directive:ngIf#animations ngIf} | enter and leave |
3399
+ * | {@link ng.directive:ngClass#animations ngClass} | add and remove (the CSS class(es) present) |
3400
+ * | {@link ng.directive:ngShow#animations ngShow} & {@link ng.directive:ngHide#animations ngHide} | add and remove (the ng-hide class value) |
3401
+ * | {@link ng.directive:form#animation-hooks form} & {@link ng.directive:ngModel#animation-hooks ngModel} | add and remove (dirty, pristine, valid, invalid & all other validations) |
3402
+ * | {@link module:ngMessages#animations ngMessages} | add and remove (ng-active & ng-inactive) |
3403
+ * | {@link module:ngMessages#animations ngMessage} | enter and leave |
3404
+ *
3405
+ * (More information can be found by visiting each the documentation associated with each directive.)
3406
+ *
3407
+ * ## CSS-based Animations
3408
+ *
3409
+ * CSS-based animations with ngAnimate are unique since they require no JavaScript code at all. By using a CSS class that we reference between our HTML
3410
+ * and CSS code we can create an animation that will be picked up by Angular when an the underlying directive performs an operation.
3411
+ *
3412
+ * The example below shows how an `enter` animation can be made possible on an element using `ng-if`:
3413
+ *
3414
+ * ```html
3415
+ * <div ng-if="bool" class="fade">
3416
+ * Fade me in out
3417
+ * </div>
3418
+ * <button ng-click="bool=true">Fade In!</button>
3419
+ * <button ng-click="bool=false">Fade Out!</button>
3420
+ * ```
3421
+ *
3422
+ * Notice the CSS class **fade**? We can now create the CSS transition code that references this class:
3423
+ *
3424
+ * ```css
3425
+ * /&#42; The starting CSS styles for the enter animation &#42;/
3426
+ * .fade.ng-enter {
3427
+ * transition:0.5s linear all;
3428
+ * opacity:0;
3429
+ * }
3430
+ *
3431
+ * /&#42; The finishing CSS styles for the enter animation &#42;/
3432
+ * .fade.ng-enter.ng-enter-active {
3433
+ * opacity:1;
3434
+ * }
3435
+ * ```
3436
+ *
3437
+ * The key thing to remember here is that, depending on the animation event (which each of the directives above trigger depending on what's going on) two
3438
+ * generated CSS classes will be applied to the element; in the example above we have `.ng-enter` and `.ng-enter-active`. For CSS transitions, the transition
3439
+ * code **must** be defined within the starting CSS class (in this case `.ng-enter`). The destination class is what the transition will animate towards.
3440
+ *
3441
+ * If for example we wanted to create animations for `leave` and `move` (ngRepeat triggers move) then we can do so using the same CSS naming conventions:
3442
+ *
3443
+ * ```css
3444
+ * /&#42; now the element will fade out before it is removed from the DOM &#42;/
3445
+ * .fade.ng-leave {
3446
+ * transition:0.5s linear all;
3447
+ * opacity:1;
3448
+ * }
3449
+ * .fade.ng-leave.ng-leave-active {
3450
+ * opacity:0;
3451
+ * }
3452
+ * ```
3453
+ *
3454
+ * We can also make use of **CSS Keyframes** by referencing the keyframe animation within the starting CSS class:
3455
+ *
3456
+ * ```css
3457
+ * /&#42; there is no need to define anything inside of the destination
3458
+ * CSS class since the keyframe will take charge of the animation &#42;/
3459
+ * .fade.ng-leave {
3460
+ * animation: my_fade_animation 0.5s linear;
3461
+ * -webkit-animation: my_fade_animation 0.5s linear;
3462
+ * }
3463
+ *
3464
+ * @keyframes my_fade_animation {
3465
+ * from { opacity:1; }
3466
+ * to { opacity:0; }
3467
+ * }
3468
+ *
3469
+ * @-webkit-keyframes my_fade_animation {
3470
+ * from { opacity:1; }
3471
+ * to { opacity:0; }
3472
+ * }
3473
+ * ```
3474
+ *
3475
+ * Feel free also mix transitions and keyframes together as well as any other CSS classes on the same element.
3476
+ *
3477
+ * ### CSS Class-based Animations
3478
+ *
3479
+ * Class-based animations (animations that are triggered via `ngClass`, `ngShow`, `ngHide` and some other directives) have a slightly different
3480
+ * naming convention. Class-based animations are basic enough that a standard transition or keyframe can be referenced on the class being added
3481
+ * and removed.
3482
+ *
3483
+ * For example if we wanted to do a CSS animation for `ngHide` then we place an animation on the `.ng-hide` CSS class:
3484
+ *
3485
+ * ```html
3486
+ * <div ng-show="bool" class="fade">
3487
+ * Show and hide me
3488
+ * </div>
3489
+ * <button ng-click="bool=true">Toggle</button>
3490
+ *
3491
+ * <style>
3492
+ * .fade.ng-hide {
3493
+ * transition:0.5s linear all;
3494
+ * opacity:0;
3495
+ * }
3496
+ * </style>
3497
+ * ```
3498
+ *
3499
+ * All that is going on here with ngShow/ngHide behind the scenes is the `.ng-hide` class is added/removed (when the hidden state is valid). Since
3500
+ * ngShow and ngHide are animation aware then we can match up a transition and ngAnimate handles the rest.
3501
+ *
3502
+ * In addition the addition and removal of the CSS class, ngAnimate also provides two helper methods that we can use to further decorate the animation
3503
+ * with CSS styles.
3504
+ *
3505
+ * ```html
3506
+ * <div ng-class="{on:onOff}" class="highlight">
3507
+ * Highlight this box
3508
+ * </div>
3509
+ * <button ng-click="onOff=!onOff">Toggle</button>
3510
+ *
3511
+ * <style>
3512
+ * .highlight {
3513
+ * transition:0.5s linear all;
3514
+ * }
3515
+ * .highlight.on-add {
3516
+ * background:white;
3517
+ * }
3518
+ * .highlight.on {
3519
+ * background:yellow;
3520
+ * }
3521
+ * .highlight.on-remove {
3522
+ * background:black;
3523
+ * }
3524
+ * </style>
3525
+ * ```
3526
+ *
3527
+ * We can also make use of CSS keyframes by placing them within the CSS classes.
3528
+ *
3529
+ *
3530
+ * ### CSS Staggering Animations
3531
+ * A Staggering animation is a collection of animations that are issued with a slight delay in between each successive operation resulting in a
3532
+ * curtain-like effect. The ngAnimate module (versions >=1.2) supports staggering animations and the stagger effect can be
3533
+ * performed by creating a **ng-EVENT-stagger** CSS class and attaching that class to the base CSS class used for
3534
+ * the animation. The style property expected within the stagger class can either be a **transition-delay** or an
3535
+ * **animation-delay** property (or both if your animation contains both transitions and keyframe animations).
3536
+ *
3537
+ * ```css
3538
+ * .my-animation.ng-enter {
3539
+ * /&#42; standard transition code &#42;/
3540
+ * transition: 1s linear all;
3541
+ * opacity:0;
3542
+ * }
3543
+ * .my-animation.ng-enter-stagger {
3544
+ * /&#42; this will have a 100ms delay between each successive leave animation &#42;/
3545
+ * transition-delay: 0.1s;
3546
+ *
3547
+ * /&#42; As of 1.4.4, this must always be set: it signals ngAnimate
3548
+ * to not accidentally inherit a delay property from another CSS class &#42;/
3549
+ * transition-duration: 0s;
3550
+ * }
3551
+ * .my-animation.ng-enter.ng-enter-active {
3552
+ * /&#42; standard transition styles &#42;/
3553
+ * opacity:1;
3554
+ * }
3555
+ * ```
3556
+ *
3557
+ * Staggering animations work by default in ngRepeat (so long as the CSS class is defined). Outside of ngRepeat, to use staggering animations
3558
+ * on your own, they can be triggered by firing multiple calls to the same event on $animate. However, the restrictions surrounding this
3559
+ * are that each of the elements must have the same CSS className value as well as the same parent element. A stagger operation
3560
+ * will also be reset if one or more animation frames have passed since the multiple calls to `$animate` were fired.
3561
+ *
3562
+ * The following code will issue the **ng-leave-stagger** event on the element provided:
3563
+ *
3564
+ * ```js
3565
+ * var kids = parent.children();
3566
+ *
3567
+ * $animate.leave(kids[0]); //stagger index=0
3568
+ * $animate.leave(kids[1]); //stagger index=1
3569
+ * $animate.leave(kids[2]); //stagger index=2
3570
+ * $animate.leave(kids[3]); //stagger index=3
3571
+ * $animate.leave(kids[4]); //stagger index=4
3572
+ *
3573
+ * window.requestAnimationFrame(function() {
3574
+ * //stagger has reset itself
3575
+ * $animate.leave(kids[5]); //stagger index=0
3576
+ * $animate.leave(kids[6]); //stagger index=1
3577
+ *
3578
+ * $scope.$digest();
3579
+ * });
3580
+ * ```
3581
+ *
3582
+ * Stagger animations are currently only supported within CSS-defined animations.
3583
+ *
3584
+ * ### The `ng-animate` CSS class
3585
+ *
3586
+ * When ngAnimate is animating an element it will apply the `ng-animate` CSS class to the element for the duration of the animation.
3587
+ * This is a temporary CSS class and it will be removed once the animation is over (for both JavaScript and CSS-based animations).
3588
+ *
3589
+ * Therefore, animations can be applied to an element using this temporary class directly via CSS.
3590
+ *
3591
+ * ```css
3592
+ * .zipper.ng-animate {
3593
+ * transition:0.5s linear all;
3594
+ * }
3595
+ * .zipper.ng-enter {
3596
+ * opacity:0;
3597
+ * }
3598
+ * .zipper.ng-enter.ng-enter-active {
3599
+ * opacity:1;
3600
+ * }
3601
+ * .zipper.ng-leave {
3602
+ * opacity:1;
3603
+ * }
3604
+ * .zipper.ng-leave.ng-leave-active {
3605
+ * opacity:0;
3606
+ * }
3607
+ * ```
3608
+ *
3609
+ * (Note that the `ng-animate` CSS class is reserved and it cannot be applied on an element directly since ngAnimate will always remove
3610
+ * the CSS class once an animation has completed.)
3611
+ *
3612
+ *
3613
+ * ### The `ng-[event]-prepare` class
3614
+ *
3615
+ * This is a special class that can be used to prevent unwanted flickering / flash of content before
3616
+ * the actual animation starts. The class is added as soon as an animation is initialized, but removed
3617
+ * before the actual animation starts (after waiting for a $digest).
3618
+ * It is also only added for *structural* animations (`enter`, `move`, and `leave`).
3619
+ *
3620
+ * In practice, flickering can appear when nesting elements with structural animations such as `ngIf`
3621
+ * into elements that have class-based animations such as `ngClass`.
3622
+ *
3623
+ * ```html
3624
+ * <div ng-class="{red: myProp}">
3625
+ * <div ng-class="{blue: myProp}">
3626
+ * <div class="message" ng-if="myProp"></div>
3627
+ * </div>
3628
+ * </div>
3629
+ * ```
3630
+ *
3631
+ * It is possible that during the `enter` animation, the `.message` div will be briefly visible before it starts animating.
3632
+ * In that case, you can add styles to the CSS that make sure the element stays hidden before the animation starts:
3633
+ *
3634
+ * ```css
3635
+ * .message.ng-enter-prepare {
3636
+ * opacity: 0;
3637
+ * }
3638
+ *
3639
+ * ```
3640
+ *
3641
+ * ## JavaScript-based Animations
3642
+ *
3643
+ * ngAnimate also allows for animations to be consumed by JavaScript code. The approach is similar to CSS-based animations (where there is a shared
3644
+ * CSS class that is referenced in our HTML code) but in addition we need to register the JavaScript animation on the module. By making use of the
3645
+ * `module.animation()` module function we can register the animation.
3646
+ *
3647
+ * Let's see an example of a enter/leave animation using `ngRepeat`:
3648
+ *
3649
+ * ```html
3650
+ * <div ng-repeat="item in items" class="slide">
3651
+ * {{ item }}
3652
+ * </div>
3653
+ * ```
3654
+ *
3655
+ * See the **slide** CSS class? Let's use that class to define an animation that we'll structure in our module code by using `module.animation`:
3656
+ *
3657
+ * ```js
3658
+ * myModule.animation('.slide', [function() {
3659
+ * return {
3660
+ * // make note that other events (like addClass/removeClass)
3661
+ * // have different function input parameters
3662
+ * enter: function(element, doneFn) {
3663
+ * jQuery(element).fadeIn(1000, doneFn);
3664
+ *
3665
+ * // remember to call doneFn so that angular
3666
+ * // knows that the animation has concluded
3667
+ * },
3668
+ *
3669
+ * move: function(element, doneFn) {
3670
+ * jQuery(element).fadeIn(1000, doneFn);
3671
+ * },
3672
+ *
3673
+ * leave: function(element, doneFn) {
3674
+ * jQuery(element).fadeOut(1000, doneFn);
3675
+ * }
3676
+ * }
3677
+ * }]);
3678
+ * ```
3679
+ *
3680
+ * The nice thing about JS-based animations is that we can inject other services and make use of advanced animation libraries such as
3681
+ * greensock.js and velocity.js.
3682
+ *
3683
+ * If our animation code class-based (meaning that something like `ngClass`, `ngHide` and `ngShow` triggers it) then we can still define
3684
+ * our animations inside of the same registered animation, however, the function input arguments are a bit different:
3685
+ *
3686
+ * ```html
3687
+ * <div ng-class="color" class="colorful">
3688
+ * this box is moody
3689
+ * </div>
3690
+ * <button ng-click="color='red'">Change to red</button>
3691
+ * <button ng-click="color='blue'">Change to blue</button>
3692
+ * <button ng-click="color='green'">Change to green</button>
3693
+ * ```
3694
+ *
3695
+ * ```js
3696
+ * myModule.animation('.colorful', [function() {
3697
+ * return {
3698
+ * addClass: function(element, className, doneFn) {
3699
+ * // do some cool animation and call the doneFn
3700
+ * },
3701
+ * removeClass: function(element, className, doneFn) {
3702
+ * // do some cool animation and call the doneFn
3703
+ * },
3704
+ * setClass: function(element, addedClass, removedClass, doneFn) {
3705
+ * // do some cool animation and call the doneFn
3706
+ * }
3707
+ * }
3708
+ * }]);
3709
+ * ```
3710
+ *
3711
+ * ## CSS + JS Animations Together
3712
+ *
3713
+ * AngularJS 1.4 and higher has taken steps to make the amalgamation of CSS and JS animations more flexible. However, unlike earlier versions of Angular,
3714
+ * defining CSS and JS animations to work off of the same CSS class will not work anymore. Therefore the example below will only result in **JS animations taking
3715
+ * charge of the animation**:
3716
+ *
3717
+ * ```html
3718
+ * <div ng-if="bool" class="slide">
3719
+ * Slide in and out
3720
+ * </div>
3721
+ * ```
3722
+ *
3723
+ * ```js
3724
+ * myModule.animation('.slide', [function() {
3725
+ * return {
3726
+ * enter: function(element, doneFn) {
3727
+ * jQuery(element).slideIn(1000, doneFn);
3728
+ * }
3729
+ * }
3730
+ * }]);
3731
+ * ```
3732
+ *
3733
+ * ```css
3734
+ * .slide.ng-enter {
3735
+ * transition:0.5s linear all;
3736
+ * transform:translateY(-100px);
3737
+ * }
3738
+ * .slide.ng-enter.ng-enter-active {
3739
+ * transform:translateY(0);
3740
+ * }
3741
+ * ```
3742
+ *
3743
+ * Does this mean that CSS and JS animations cannot be used together? Do JS-based animations always have higher priority? We can make up for the
3744
+ * lack of CSS animations by using the `$animateCss` service to trigger our own tweaked-out, CSS-based animations directly from
3745
+ * our own JS-based animation code:
3746
+ *
3747
+ * ```js
3748
+ * myModule.animation('.slide', ['$animateCss', function($animateCss) {
3749
+ * return {
3750
+ * enter: function(element) {
3751
+ * // this will trigger `.slide.ng-enter` and `.slide.ng-enter-active`.
3752
+ * return $animateCss(element, {
3753
+ * event: 'enter',
3754
+ * structural: true
3755
+ * });
3756
+ * }
3757
+ * }
3758
+ * }]);
3759
+ * ```
3760
+ *
3761
+ * The nice thing here is that we can save bandwidth by sticking to our CSS-based animation code and we don't need to rely on a 3rd-party animation framework.
3762
+ *
3763
+ * The `$animateCss` service is very powerful since we can feed in all kinds of extra properties that will be evaluated and fed into a CSS transition or
3764
+ * keyframe animation. For example if we wanted to animate the height of an element while adding and removing classes then we can do so by providing that
3765
+ * data into `$animateCss` directly:
3766
+ *
3767
+ * ```js
3768
+ * myModule.animation('.slide', ['$animateCss', function($animateCss) {
3769
+ * return {
3770
+ * enter: function(element) {
3771
+ * return $animateCss(element, {
3772
+ * event: 'enter',
3773
+ * structural: true,
3774
+ * addClass: 'maroon-setting',
3775
+ * from: { height:0 },
3776
+ * to: { height: 200 }
3777
+ * });
3778
+ * }
3779
+ * }
3780
+ * }]);
3781
+ * ```
3782
+ *
3783
+ * Now we can fill in the rest via our transition CSS code:
3784
+ *
3785
+ * ```css
3786
+ * /&#42; the transition tells ngAnimate to make the animation happen &#42;/
3787
+ * .slide.ng-enter { transition:0.5s linear all; }
3788
+ *
3789
+ * /&#42; this extra CSS class will be absorbed into the transition
3790
+ * since the $animateCss code is adding the class &#42;/
3791
+ * .maroon-setting { background:red; }
3792
+ * ```
3793
+ *
3794
+ * And `$animateCss` will figure out the rest. Just make sure to have the `done()` callback fire the `doneFn` function to signal when the animation is over.
3795
+ *
3796
+ * To learn more about what's possible be sure to visit the {@link ngAnimate.$animateCss $animateCss service}.
3797
+ *
3798
+ * ## Animation Anchoring (via `ng-animate-ref`)
3799
+ *
3800
+ * ngAnimate in AngularJS 1.4 comes packed with the ability to cross-animate elements between
3801
+ * structural areas of an application (like views) by pairing up elements using an attribute
3802
+ * called `ng-animate-ref`.
3803
+ *
3804
+ * Let's say for example we have two views that are managed by `ng-view` and we want to show
3805
+ * that there is a relationship between two components situated in within these views. By using the
3806
+ * `ng-animate-ref` attribute we can identify that the two components are paired together and we
3807
+ * can then attach an animation, which is triggered when the view changes.
3808
+ *
3809
+ * Say for example we have the following template code:
3810
+ *
3811
+ * ```html
3812
+ * <!-- index.html -->
3813
+ * <div ng-view class="view-animation">
3814
+ * </div>
3815
+ *
3816
+ * <!-- home.html -->
3817
+ * <a href="#/banner-page">
3818
+ * <img src="./banner.jpg" class="banner" ng-animate-ref="banner">
3819
+ * </a>
3820
+ *
3821
+ * <!-- banner-page.html -->
3822
+ * <img src="./banner.jpg" class="banner" ng-animate-ref="banner">
3823
+ * ```
3824
+ *
3825
+ * Now, when the view changes (once the link is clicked), ngAnimate will examine the
3826
+ * HTML contents to see if there is a match reference between any components in the view
3827
+ * that is leaving and the view that is entering. It will scan both the view which is being
3828
+ * removed (leave) and inserted (enter) to see if there are any paired DOM elements that
3829
+ * contain a matching ref value.
3830
+ *
3831
+ * The two images match since they share the same ref value. ngAnimate will now create a
3832
+ * transport element (which is a clone of the first image element) and it will then attempt
3833
+ * to animate to the position of the second image element in the next view. For the animation to
3834
+ * work a special CSS class called `ng-anchor` will be added to the transported element.
3835
+ *
3836
+ * We can now attach a transition onto the `.banner.ng-anchor` CSS class and then
3837
+ * ngAnimate will handle the entire transition for us as well as the addition and removal of
3838
+ * any changes of CSS classes between the elements:
3839
+ *
3840
+ * ```css
3841
+ * .banner.ng-anchor {
3842
+ * /&#42; this animation will last for 1 second since there are
3843
+ * two phases to the animation (an `in` and an `out` phase) &#42;/
3844
+ * transition:0.5s linear all;
3845
+ * }
3846
+ * ```
3847
+ *
3848
+ * We also **must** include animations for the views that are being entered and removed
3849
+ * (otherwise anchoring wouldn't be possible since the new view would be inserted right away).
3850
+ *
3851
+ * ```css
3852
+ * .view-animation.ng-enter, .view-animation.ng-leave {
3853
+ * transition:0.5s linear all;
3854
+ * position:fixed;
3855
+ * left:0;
3856
+ * top:0;
3857
+ * width:100%;
3858
+ * }
3859
+ * .view-animation.ng-enter {
3860
+ * transform:translateX(100%);
3861
+ * }
3862
+ * .view-animation.ng-leave,
3863
+ * .view-animation.ng-enter.ng-enter-active {
3864
+ * transform:translateX(0%);
3865
+ * }
3866
+ * .view-animation.ng-leave.ng-leave-active {
3867
+ * transform:translateX(-100%);
3868
+ * }
3869
+ * ```
3870
+ *
3871
+ * Now we can jump back to the anchor animation. When the animation happens, there are two stages that occur:
3872
+ * an `out` and an `in` stage. The `out` stage happens first and that is when the element is animated away
3873
+ * from its origin. Once that animation is over then the `in` stage occurs which animates the
3874
+ * element to its destination. The reason why there are two animations is to give enough time
3875
+ * for the enter animation on the new element to be ready.
3876
+ *
3877
+ * The example above sets up a transition for both the in and out phases, but we can also target the out or
3878
+ * in phases directly via `ng-anchor-out` and `ng-anchor-in`.
3879
+ *
3880
+ * ```css
3881
+ * .banner.ng-anchor-out {
3882
+ * transition: 0.5s linear all;
3883
+ *
3884
+ * /&#42; the scale will be applied during the out animation,
3885
+ * but will be animated away when the in animation runs &#42;/
3886
+ * transform: scale(1.2);
3887
+ * }
3888
+ *
3889
+ * .banner.ng-anchor-in {
3890
+ * transition: 1s linear all;
3891
+ * }
3892
+ * ```
3893
+ *
3894
+ *
3895
+ *
3896
+ *
3897
+ * ### Anchoring Demo
3898
+ *
3899
+ <example module="anchoringExample"
3900
+ name="anchoringExample"
3901
+ id="anchoringExample"
3902
+ deps="angular-animate.js;angular-route.js"
3903
+ animations="true">
3904
+ <file name="index.html">
3905
+ <a href="#/">Home</a>
3906
+ <hr />
3907
+ <div class="view-container">
3908
+ <div ng-view class="view"></div>
3909
+ </div>
3910
+ </file>
3911
+ <file name="script.js">
3912
+ angular.module('anchoringExample', ['ngAnimate', 'ngRoute'])
3913
+ .config(['$routeProvider', function($routeProvider) {
3914
+ $routeProvider.when('/', {
3915
+ templateUrl: 'home.html',
3916
+ controller: 'HomeController as home'
3917
+ });
3918
+ $routeProvider.when('/profile/:id', {
3919
+ templateUrl: 'profile.html',
3920
+ controller: 'ProfileController as profile'
3921
+ });
3922
+ }])
3923
+ .run(['$rootScope', function($rootScope) {
3924
+ $rootScope.records = [
3925
+ { id:1, title: "Miss Beulah Roob" },
3926
+ { id:2, title: "Trent Morissette" },
3927
+ { id:3, title: "Miss Ava Pouros" },
3928
+ { id:4, title: "Rod Pouros" },
3929
+ { id:5, title: "Abdul Rice" },
3930
+ { id:6, title: "Laurie Rutherford Sr." },
3931
+ { id:7, title: "Nakia McLaughlin" },
3932
+ { id:8, title: "Jordon Blanda DVM" },
3933
+ { id:9, title: "Rhoda Hand" },
3934
+ { id:10, title: "Alexandrea Sauer" }
3935
+ ];
3936
+ }])
3937
+ .controller('HomeController', [function() {
3938
+ //empty
3939
+ }])
3940
+ .controller('ProfileController', ['$rootScope', '$routeParams', function($rootScope, $routeParams) {
3941
+ var index = parseInt($routeParams.id, 10);
3942
+ var record = $rootScope.records[index - 1];
3943
+
3944
+ this.title = record.title;
3945
+ this.id = record.id;
3946
+ }]);
3947
+ </file>
3948
+ <file name="home.html">
3949
+ <h2>Welcome to the home page</h1>
3950
+ <p>Please click on an element</p>
3951
+ <a class="record"
3952
+ ng-href="#/profile/{{ record.id }}"
3953
+ ng-animate-ref="{{ record.id }}"
3954
+ ng-repeat="record in records">
3955
+ {{ record.title }}
3956
+ </a>
3957
+ </file>
3958
+ <file name="profile.html">
3959
+ <div class="profile record" ng-animate-ref="{{ profile.id }}">
3960
+ {{ profile.title }}
3961
+ </div>
3962
+ </file>
3963
+ <file name="animations.css">
3964
+ .record {
3965
+ display:block;
3966
+ font-size:20px;
3967
+ }
3968
+ .profile {
3969
+ background:black;
3970
+ color:white;
3971
+ font-size:100px;
3972
+ }
3973
+ .view-container {
3974
+ position:relative;
3975
+ }
3976
+ .view-container > .view.ng-animate {
3977
+ position:absolute;
3978
+ top:0;
3979
+ left:0;
3980
+ width:100%;
3981
+ min-height:500px;
3982
+ }
3983
+ .view.ng-enter, .view.ng-leave,
3984
+ .record.ng-anchor {
3985
+ transition:0.5s linear all;
3986
+ }
3987
+ .view.ng-enter {
3988
+ transform:translateX(100%);
3989
+ }
3990
+ .view.ng-enter.ng-enter-active, .view.ng-leave {
3991
+ transform:translateX(0%);
3992
+ }
3993
+ .view.ng-leave.ng-leave-active {
3994
+ transform:translateX(-100%);
3995
+ }
3996
+ .record.ng-anchor-out {
3997
+ background:red;
3998
+ }
3999
+ </file>
4000
+ </example>
4001
+ *
4002
+ * ### How is the element transported?
4003
+ *
4004
+ * When an anchor animation occurs, ngAnimate will clone the starting element and position it exactly where the starting
4005
+ * element is located on screen via absolute positioning. The cloned element will be placed inside of the root element
4006
+ * of the application (where ng-app was defined) and all of the CSS classes of the starting element will be applied. The
4007
+ * element will then animate into the `out` and `in` animations and will eventually reach the coordinates and match
4008
+ * the dimensions of the destination element. During the entire animation a CSS class of `.ng-animate-shim` will be applied
4009
+ * to both the starting and destination elements in order to hide them from being visible (the CSS styling for the class
4010
+ * is: `visibility:hidden`). Once the anchor reaches its destination then it will be removed and the destination element
4011
+ * will become visible since the shim class will be removed.
4012
+ *
4013
+ * ### How is the morphing handled?
4014
+ *
4015
+ * CSS Anchoring relies on transitions and keyframes and the internal code is intelligent enough to figure out
4016
+ * what CSS classes differ between the starting element and the destination element. These different CSS classes
4017
+ * will be added/removed on the anchor element and a transition will be applied (the transition that is provided
4018
+ * in the anchor class). Long story short, ngAnimate will figure out what classes to add and remove which will
4019
+ * make the transition of the element as smooth and automatic as possible. Be sure to use simple CSS classes that
4020
+ * do not rely on DOM nesting structure so that the anchor element appears the same as the starting element (since
4021
+ * the cloned element is placed inside of root element which is likely close to the body element).
4022
+ *
4023
+ * Note that if the root element is on the `<html>` element then the cloned node will be placed inside of body.
4024
+ *
4025
+ *
4026
+ * ## Using $animate in your directive code
4027
+ *
4028
+ * So far we've explored how to feed in animations into an Angular application, but how do we trigger animations within our own directives in our application?
4029
+ * By injecting the `$animate` service into our directive code, we can trigger structural and class-based hooks which can then be consumed by animations. Let's
4030
+ * imagine we have a greeting box that shows and hides itself when the data changes
4031
+ *
4032
+ * ```html
4033
+ * <greeting-box active="onOrOff">Hi there</greeting-box>
4034
+ * ```
4035
+ *
4036
+ * ```js
4037
+ * ngModule.directive('greetingBox', ['$animate', function($animate) {
4038
+ * return function(scope, element, attrs) {
4039
+ * attrs.$observe('active', function(value) {
4040
+ * value ? $animate.addClass(element, 'on') : $animate.removeClass(element, 'on');
4041
+ * });
4042
+ * });
4043
+ * }]);
4044
+ * ```
4045
+ *
4046
+ * Now the `on` CSS class is added and removed on the greeting box component. Now if we add a CSS class on top of the greeting box element
4047
+ * in our HTML code then we can trigger a CSS or JS animation to happen.
4048
+ *
4049
+ * ```css
4050
+ * /&#42; normally we would create a CSS class to reference on the element &#42;/
4051
+ * greeting-box.on { transition:0.5s linear all; background:green; color:white; }
4052
+ * ```
4053
+ *
4054
+ * The `$animate` service contains a variety of other methods like `enter`, `leave`, `animate` and `setClass`. To learn more about what's
4055
+ * possible be sure to visit the {@link ng.$animate $animate service API page}.
4056
+ *
4057
+ *
4058
+ * ## Callbacks and Promises
4059
+ *
4060
+ * When `$animate` is called it returns a promise that can be used to capture when the animation has ended. Therefore if we were to trigger
4061
+ * an animation (within our directive code) then we can continue performing directive and scope related activities after the animation has
4062
+ * ended by chaining onto the returned promise that animation method returns.
4063
+ *
4064
+ * ```js
4065
+ * // somewhere within the depths of the directive
4066
+ * $animate.enter(element, parent).then(function() {
4067
+ * //the animation has completed
4068
+ * });
4069
+ * ```
4070
+ *
4071
+ * (Note that earlier versions of Angular prior to v1.4 required the promise code to be wrapped using `$scope.$apply(...)`. This is not the case
4072
+ * anymore.)
4073
+ *
4074
+ * In addition to the animation promise, we can also make use of animation-related callbacks within our directives and controller code by registering
4075
+ * an event listener using the `$animate` service. Let's say for example that an animation was triggered on our view
4076
+ * routing controller to hook into that:
4077
+ *
4078
+ * ```js
4079
+ * ngModule.controller('HomePageController', ['$animate', function($animate) {
4080
+ * $animate.on('enter', ngViewElement, function(element) {
4081
+ * // the animation for this route has completed
4082
+ * }]);
4083
+ * }])
4084
+ * ```
4085
+ *
4086
+ * (Note that you will need to trigger a digest within the callback to get angular to notice any scope-related changes.)
4087
+ */
4088
+
4089
+ /**
4090
+ * @ngdoc service
4091
+ * @name $animate
4092
+ * @kind object
4093
+ *
4094
+ * @description
4095
+ * The ngAnimate `$animate` service documentation is the same for the core `$animate` service.
4096
+ *
4097
+ * Click here {@link ng.$animate to learn more about animations with `$animate`}.
4098
+ */
4099
+ angular.module('ngAnimate', [])
4100
+ .directive('ngAnimateSwap', ngAnimateSwapDirective)
4101
+
4102
+ .directive('ngAnimateChildren', $$AnimateChildrenDirective)
4103
+ .factory('$$rAFScheduler', $$rAFSchedulerFactory)
4104
+
4105
+ .provider('$$animateQueue', $$AnimateQueueProvider)
4106
+ .provider('$$animation', $$AnimationProvider)
4107
+
4108
+ .provider('$animateCss', $AnimateCssProvider)
4109
+ .provider('$$animateCssDriver', $$AnimateCssDriverProvider)
4110
+
4111
+ .provider('$$animateJs', $$AnimateJsProvider)
4112
+ .provider('$$animateJsDriver', $$AnimateJsDriverProvider);
4113
+
4114
+
4115
+ })(window, window.angular);