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,342 @@
1
+ # coding: utf-8
2
+
3
+ module Engine2
4
+
5
+ class TypeInfo
6
+ def initialize model
7
+ @model = model
8
+ @info = model.type_info
9
+ end
10
+
11
+ def define_field field, type
12
+ info = @info[field]
13
+ raise E2Error.new("Field '#{field}' already defined in model '#{@model}'") if info && info[:type]
14
+
15
+ unless info
16
+ @info[field] = info = {dummy: true}
17
+ @model.dummies << field
18
+ end
19
+
20
+ info.merge!({
21
+ name: field,
22
+ type: type,
23
+ validations: {}
24
+ })
25
+ yield info
26
+ end
27
+
28
+ def modify_field field
29
+ info = @info[field]
30
+ raise E2Error.new("No field '#{field}' defined for model '#{@model}'") unless info
31
+ yield info
32
+ end
33
+
34
+ def depends_on what, *on
35
+ modify_field what do |info|
36
+ (info[:depends] ||= []).concat(on)
37
+ end
38
+ end
39
+
40
+ def null_value field, value
41
+ modify_field field do |info|
42
+ info[:null_value] = value
43
+ end
44
+ end
45
+
46
+ def any_field field
47
+ define_field field, :any do |info|
48
+ end
49
+ end
50
+
51
+ def string_field field, length
52
+ define_field field, :string do |info|
53
+ info[:length] = length
54
+ info[:validations][:string_length] = true
55
+ end
56
+ end
57
+
58
+ def blob_field field, length
59
+ define_field field, :blob do |info|
60
+ info[:length] = length
61
+ end
62
+ end
63
+
64
+ def integer_field field
65
+ define_field field, :integer do |info|
66
+ info[:validations][:integer] = true
67
+ end
68
+ end
69
+
70
+ def date_field field, format, model_format
71
+ define_field field, :date do |info|
72
+ info[:format] = format
73
+ info[:model_format] = model_format
74
+ info[:validations][:date] = true
75
+ end
76
+ end
77
+
78
+ def time_field field, format, model_format
79
+ define_field field, :time do |info|
80
+ info[:format] = format
81
+ info[:model_format] = model_format
82
+ info[:validations][:time] = true
83
+ end
84
+ end
85
+
86
+ def datetime_field field, date_format, time_format, date_model_format, time_model_format
87
+ define_field field, :datetime do |info|
88
+ info[:date_format] = date_format
89
+ info[:time_format] = time_format
90
+ info[:date_model_format] = date_model_format
91
+ info[:time_model_format] = time_model_format
92
+ info[:validations][:datetime] = true
93
+ end
94
+ end
95
+
96
+ def decimal_field field, size, scale
97
+ define_field field, :decimal do |info|
98
+ info[:validations][:decimal] = {
99
+ scale: scale,
100
+ size: size,
101
+ regexp: (scale && size) ? /^\d{,#{size - scale}}(?:\.\d{,#{scale}})?$/ : nil
102
+ }
103
+ end
104
+ end
105
+
106
+ def text_field field
107
+ define_field field, :text do |info|
108
+ end
109
+ end
110
+
111
+ def decimal_date field, format = LOCS[:default_date_format], model_format = "yyyyMMdd"
112
+ modify_field field do |info|
113
+ info[:type] = :decimal_date
114
+ info[:format] = format
115
+ info[:model_format] = model_format
116
+ info[:validations][:decimal_date] = true
117
+ end
118
+ end
119
+
120
+ def decimal_time field, format = LOCS[:default_time_format], model_format = "HHmmss", model_regexp = /^(\d{2})(\d{2})(\d{2})$/
121
+ modify_field field do |info|
122
+ info[:type] = :decimal_time
123
+ info[:format] = format
124
+ info[:model_format] = model_format
125
+ info[:model_regexp] = model_regexp
126
+ info[:validations][:decimal_time] = true
127
+ end
128
+ end
129
+
130
+ def default field, value
131
+ modify_field field do |info|
132
+ info[:default] = value
133
+ end
134
+ end
135
+
136
+ def required field, message = LOCS[:field_required], &blk
137
+ modify_field field do |info|
138
+ raise E2Error.new("Required condition already provided for field #{field} in model #{@model}") if blk && info[:required] && info[:required][:if]
139
+ info[:required] = {message: message}
140
+ info[:required][:if] = blk if blk
141
+ end
142
+ end
143
+
144
+ def optional field
145
+ modify_field field do |info|
146
+ info.delete(:required)
147
+ info[:optional] = true
148
+ end
149
+ end
150
+
151
+ def optionals *fields
152
+ fields.each{|f|optional f}
153
+ end
154
+
155
+ def dont_strip field
156
+ modify_field field do |info|
157
+ info[:dont_strip] = true
158
+ end
159
+ end
160
+
161
+ def primary_key field
162
+ modify_field field do |info|
163
+ info[:primary_key] = true
164
+ end
165
+ end
166
+
167
+ def fix_decimal field, size, scale
168
+ modify_field field do |info|
169
+ info[:validations][:decimal] = {
170
+ scale: scale,
171
+ size: size,
172
+ regexp: /^\d{,#{size - scale}}(?:\.\d{,#{scale}})?$/
173
+ }
174
+ end
175
+ end
176
+
177
+ # def validation field, name, opts = true
178
+ # modify_field field do |info|
179
+ # info[:validations][name] = opts
180
+ # end
181
+ # end
182
+
183
+ def unique field, *with
184
+ depends_on(field, *with)
185
+ modify_field field do |info|
186
+ info[:transaction] = true
187
+ info[:validations][:unique] = {with: with}
188
+ end
189
+ end
190
+
191
+ def email field, message = LOCS[:invalid_email_format]
192
+ modify_field field do |info|
193
+ info[:type] = :email
194
+ end
195
+ format field, /\w+\@\w+\.\w+/, message
196
+ end
197
+
198
+ def password field
199
+ modify_field field do |info|
200
+ info[:type] = :password
201
+ end
202
+ end
203
+
204
+ def file_store_field field, multiple = true, table = :files, store = {}
205
+ # string_field field, 1000
206
+ any_field field
207
+ modify_field field do |info|
208
+ info[:type] = :file_store
209
+ info[:multiple] = multiple
210
+ info[:table] = table
211
+ info[:store] = store
212
+ info[:store][:upload] ||= "#{APP_LOCATION}/store/upload"
213
+ info[:store][:files] ||= "#{APP_LOCATION}/store/files"
214
+ info[:transaction] = true
215
+ end
216
+ end
217
+
218
+ def format field, pattern, message = LOCS[:invalid_format]
219
+ modify_field field do |info|
220
+ info[:validations][:format] = {pattern: pattern, message: message}
221
+ end
222
+ end
223
+
224
+ def date_range from, to
225
+ depends_on(from, to)
226
+ modify_field from do |info|
227
+ # info[:type] = :date_range
228
+ info[:other_date] = to
229
+ info[:validations][:date_range] = true
230
+ end
231
+ end
232
+
233
+ def date_time date, time
234
+ depends_on(date, time)
235
+ modify_field date do |info|
236
+ info[:other_time] = time
237
+ info[:validations][:date_time] = true
238
+ end
239
+ end
240
+
241
+ def boolean field, true_value = 1, false_value = 0
242
+ modify_field field do |info|
243
+ info[:type] = :boolean
244
+ info[:true_value] = true_value
245
+ info[:false_value] = false_value
246
+ info[:validations][:boolean] = true
247
+ end
248
+ end
249
+
250
+ def currency field
251
+ modify_field field do |info|
252
+ info[:type] = :currency
253
+ info[:validations][:currency] = true
254
+ end
255
+ end
256
+
257
+ def blob_store_field name, name_field, mime_field
258
+ optional name
259
+ define_field :"#{name}_blob", :blob_store do |info|
260
+ info[:bytes_field] = name
261
+ info[:name_field] = name_field
262
+ info[:mime_field] = mime_field
263
+ info[:transaction] = true
264
+ end
265
+ end
266
+
267
+ def foreign_blob_store_field assoc_name, name, name_field, mime_field
268
+ assoc = @model.association_reflections[assoc_name]
269
+ raise E2Error.new("Association '#{assoc_name}' not found for model '#{@model}'") unless assoc
270
+ raise E2Error.new("Association '#{assoc_name}' in model '#{@mode}' is not of type many_to_one") unless assoc[:type] == :many_to_one
271
+ define_field :"#{assoc[:key]}_blob", :foreign_blob_store do |info|
272
+ info[:assoc_name] = assoc_name
273
+ info[:bytes_field] = name
274
+ info[:name_field] = name_field
275
+ info[:mime_field] = mime_field
276
+ info[:transaction] = true
277
+ end
278
+ end
279
+
280
+ def many_to_one_field assoc_name
281
+ assoc = @model.association_reflections[assoc_name]
282
+ raise E2Error.new("Association '#{assoc_name}' not found for model '#{@model}'") unless assoc
283
+ raise E2Error.new("Association '#{assoc_name}' in model '#{@mode}' is not of type many_to_one") unless assoc[:type] == :many_to_one
284
+ keys = assoc[:keys]
285
+ modify_field keys.first do |info|
286
+ info[:type] = :many_to_one
287
+ info[:keys] = keys
288
+ info[:assoc_name] = assoc_name
289
+ end
290
+ end
291
+
292
+ def star_to_many_field assoc_name
293
+ assoc = @model.association_reflections[assoc_name]
294
+ raise E2Error.new("Association '#{assoc_name}' not found for model '#{@model}'") unless assoc
295
+ raise E2Error.new("Association '#{assoc_name}' in model '#{@model}' is not of type *_to_many") unless [:one_to_many, :many_to_many].include?(assoc[:type])
296
+ define_field assoc_name, :string do |info|
297
+ info[:type] = :star_to_many_field
298
+ info[:keys] = assoc[:keys]
299
+ info[:assoc_name] = assoc_name
300
+ info[:transaction] = true # ?
301
+ end
302
+ end
303
+
304
+ def list_select name, list
305
+ modify_field name do |info|
306
+ info[:type] = :list_select
307
+ info[:list] = case list
308
+ when Hash
309
+ # list.map{|k, v| {id: k, value: v}}
310
+ list.to_a
311
+ else
312
+ raise E2Error.new("type not supported for list_select modifier for field #{name}")
313
+ end
314
+ info[:validations][:list_select] = true
315
+ end
316
+ end
317
+
318
+ def decode name, dinfo = {form: {scaffold: true}, search: {scaffold: true}}
319
+ modify_field name do |info|
320
+ raise E2Error.new("Field type of #{name} needs to be :many_to_one") unless info[:type] == :many_to_one
321
+ dec = info[:decode] ||= {}
322
+ dec[:search].clear if dinfo[:search] && dec[:search]
323
+ dec[:form].clear if dinfo[:form] && dec[:form]
324
+ info[:decode].rmerge!(dinfo)
325
+ end
326
+ end
327
+
328
+ def validate name, validation_name = nil, &blk
329
+ raise E2Error.new("Local validation '#{validation_name}' in model '#{@model}' conflicts with builtin validation") if validation_name && Validations[validation_name]
330
+ modify_field name do |info|
331
+ info[:validations][validation_name || :"#{@model.table_name}_#{name}_#{info[:validations].size}"] = {lambda: blk}
332
+ end
333
+ end
334
+
335
+ def sequence name, seq_name
336
+ modify_field name do |info|
337
+ info[:sequence] = seq_name
338
+ end
339
+ end
340
+
341
+ end
342
+ end
@@ -0,0 +1,9 @@
1
+ # coding: utf-8
2
+
3
+ module Engine2
4
+ MAJOR, MINOR, TINY = [1, 0, 0]
5
+ VERSION = [MAJOR, MINOR, TINY].join('.').freeze
6
+ def self.version
7
+ VERSION
8
+ end
9
+ end
@@ -0,0 +1,13 @@
1
+ !function(){function e(e,t){window.XMLHttpRequest.prototype[e]=t(window.XMLHttpRequest.prototype[e])}function t(e,t,n){try{Object.defineProperty(e,t,{get:n})}catch(r){}}if(window.FileAPI||(window.FileAPI={}),!window.XMLHttpRequest)throw"AJAX is not supported. XMLHttpRequest is not defined.";if(FileAPI.shouldLoad=!window.FormData||FileAPI.forceLoad,FileAPI.shouldLoad){var n=function(e){if(!e.__listeners){e.upload||(e.upload={}),e.__listeners=[];var t=e.upload.addEventListener;e.upload.addEventListener=function(n,r){e.__listeners[n]=r,t&&t.apply(this,arguments)}}};e("open",function(e){return function(t,r,i){n(this),this.__url=r;try{e.apply(this,[t,r,i])}catch(o){o.message.indexOf("Access is denied")>-1&&(this.__origError=o,e.apply(this,[t,"_fix_for_ie_crossdomain__",i]))}}}),e("getResponseHeader",function(e){return function(t){return this.__fileApiXHR&&this.__fileApiXHR.getResponseHeader?this.__fileApiXHR.getResponseHeader(t):null==e?null:e.apply(this,[t])}}),e("getAllResponseHeaders",function(e){return function(){return this.__fileApiXHR&&this.__fileApiXHR.getAllResponseHeaders?this.__fileApiXHR.getAllResponseHeaders():null==e?null:e.apply(this)}}),e("abort",function(e){return function(){return this.__fileApiXHR&&this.__fileApiXHR.abort?this.__fileApiXHR.abort():null==e?null:e.apply(this)}}),e("setRequestHeader",function(e){return function(t,r){if("__setXHR_"===t){n(this);var i=r(this);i instanceof Function&&i(this)}else this.__requestHeaders=this.__requestHeaders||{},this.__requestHeaders[t]=r,e.apply(this,arguments)}}),e("send",function(e){return function(){var n=this;if(arguments[0]&&arguments[0].__isFileAPIShim){var r=arguments[0],i={url:n.__url,jsonp:!1,cache:!0,complete:function(e,r){e&&angular.isString(e)&&-1!==e.indexOf("#2174")&&(e=null),n.__completed=!0,!e&&n.__listeners.load&&n.__listeners.load({type:"load",loaded:n.__loaded,total:n.__total,target:n,lengthComputable:!0}),!e&&n.__listeners.loadend&&n.__listeners.loadend({type:"loadend",loaded:n.__loaded,total:n.__total,target:n,lengthComputable:!0}),"abort"===e&&n.__listeners.abort&&n.__listeners.abort({type:"abort",loaded:n.__loaded,total:n.__total,target:n,lengthComputable:!0}),void 0!==r.status&&t(n,"status",function(){return 0===r.status&&e&&"abort"!==e?500:r.status}),void 0!==r.statusText&&t(n,"statusText",function(){return r.statusText}),t(n,"readyState",function(){return 4}),void 0!==r.response&&t(n,"response",function(){return r.response});var i=r.responseText||(e&&0===r.status&&"abort"!==e?e:void 0);t(n,"responseText",function(){return i}),t(n,"response",function(){return i}),e&&t(n,"err",function(){return e}),n.__fileApiXHR=r,n.onreadystatechange&&n.onreadystatechange(),n.onload&&n.onload()},progress:function(e){if(e.target=n,n.__listeners.progress&&n.__listeners.progress(e),n.__total=e.total,n.__loaded=e.loaded,e.total===e.loaded){var t=this;setTimeout(function(){n.__completed||(n.getAllResponseHeaders=function(){},t.complete(null,{status:204,statusText:"No Content"}))},FileAPI.noContentTimeout||1e4)}},headers:n.__requestHeaders};i.data={},i.files={};for(var o=0;o<r.data.length;o++){var a=r.data[o];null!=a.val&&null!=a.val.name&&null!=a.val.size&&null!=a.val.type?i.files[a.key]=a.val:i.data[a.key]=a.val}setTimeout(function(){if(!FileAPI.hasFlash)throw'Adode Flash Player need to be installed. To check ahead use "FileAPI.hasFlash"';n.__fileApiXHR=FileAPI.upload(i)},1)}else{if(this.__origError)throw this.__origError;e.apply(n,arguments)}}}),window.XMLHttpRequest.__isFileAPIShim=!0,window.FormData=FormData=function(){return{append:function(e,t,n){t.__isFileAPIBlobShim&&(t=t.data[0]),this.data.push({key:e,val:t,name:n})},data:[],__isFileAPIShim:!0}},window.Blob=Blob=function(e){return{data:e,__isFileAPIBlobShim:!0}}}}(),function(){function e(e){return"input"===e[0].tagName.toLowerCase()&&e.attr("type")&&"file"===e.attr("type").toLowerCase()}function t(){try{var e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(e)return!0}catch(t){if(void 0!==navigator.mimeTypes["application/x-shockwave-flash"])return!0}return!1}function n(e){var t=0,n=0;if(window.jQuery)return jQuery(e).offset();if(e.offsetParent)do t+=e.offsetLeft-e.scrollLeft,n+=e.offsetTop-e.scrollTop,e=e.offsetParent;while(e);return{left:t,top:n}}if(FileAPI.shouldLoad){if(FileAPI.hasFlash=t(),FileAPI.forceLoad&&(FileAPI.html5=!1),!FileAPI.upload){var r,i,o,a,s,u=document.createElement("script"),l=document.getElementsByTagName("script");if(window.FileAPI.jsUrl)r=window.FileAPI.jsUrl;else if(window.FileAPI.jsPath)i=window.FileAPI.jsPath;else for(o=0;o<l.length;o++)if(s=l[o].src,a=s.search(/\/ng\-file\-upload[\-a-zA-z0-9\.]*\.js/),a>-1){i=s.substring(0,a+1);break}null==FileAPI.staticPath&&(FileAPI.staticPath=i),u.setAttribute("src",r||i+"FileAPI.min.js"),document.getElementsByTagName("head")[0].appendChild(u)}FileAPI.ngfFixIE=function(r,i,o){if(!t())throw'Adode Flash Player need to be installed. To check ahead use "FileAPI.hasFlash"';var a=function(){var t=i.parent();r.attr("disabled")?t&&t.removeClass("js-fileapi-wrapper"):(i.attr("__ngf_flash_")||(i.unbind("change"),i.unbind("click"),i.bind("change",function(e){s.apply(this,[e]),o.apply(this,[e])}),i.attr("__ngf_flash_","true")),t.addClass("js-fileapi-wrapper"),e(r)||(t.css("position","absolute").css("top",n(r[0]).top+"px").css("left",n(r[0]).left+"px").css("width",r[0].offsetWidth+"px").css("height",r[0].offsetHeight+"px").css("filter","alpha(opacity=0)").css("display",r.css("display")).css("overflow","hidden").css("z-index","900000").css("visibility","visible"),i.css("width",r[0].offsetWidth+"px").css("height",r[0].offsetHeight+"px").css("position","absolute").css("top","0px").css("left","0px")))};r.bind("mouseenter",a);var s=function(e){for(var t=FileAPI.getFiles(e),n=0;n<t.length;n++)void 0===t[n].size&&(t[n].size=0),void 0===t[n].name&&(t[n].name="file"),void 0===t[n].type&&(t[n].type="undefined");e.target||(e.target={}),e.target.files=t,e.target.files!==t&&(e.__files_=t),(e.__files_||e.target.files).item=function(t){return(e.__files_||e.target.files)[t]||null}}},FileAPI.disableFileInput=function(e,t){t?e.removeClass("js-fileapi-wrapper"):e.addClass("js-fileapi-wrapper")}}}(),window.FileReader||(window.FileReader=function(){var e=this,t=!1;this.listeners={},this.addEventListener=function(t,n){e.listeners[t]=e.listeners[t]||[],e.listeners[t].push(n)},this.removeEventListener=function(t,n){e.listeners[t]&&e.listeners[t].splice(e.listeners[t].indexOf(n),1)},this.dispatchEvent=function(t){var n=e.listeners[t.type];if(n)for(var r=0;r<n.length;r++)n[r].call(e,t)},this.onabort=this.onerror=this.onload=this.onloadstart=this.onloadend=this.onprogress=null;var n=function(t,n){var r={type:t,target:e,loaded:n.loaded,total:n.total,error:n.error};return null!=n.result&&(r.target.result=n.result),r},r=function(r){t||(t=!0,e.onloadstart&&e.onloadstart(n("loadstart",r)));var i;"load"===r.type?(e.onloadend&&e.onloadend(n("loadend",r)),i=n("load",r),e.onload&&e.onload(i),e.dispatchEvent(i)):"progress"===r.type?(i=n("progress",r),e.onprogress&&e.onprogress(i),e.dispatchEvent(i)):(i=n("error",r),e.onerror&&e.onerror(i),e.dispatchEvent(i))};this.readAsDataURL=function(e){FileAPI.readAsDataURL(e,r)},this.readAsText=function(e){FileAPI.readAsText(e,r)}}),function(e,t,n){"use strict";function r(e,t){return t=t||Error,function(){var n,r,i=2,o=arguments,a=o[0],s="["+(e?e+":":"")+a+"] ",u=o[1];for(s+=u.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1),n=t+i;return n<o.length?be(o[n]):e}),s+="\nhttp://errors.angularjs.org/1.5.3/"+(e?e+"/":"")+a,r=i,n="?";r<o.length;r++,n="&")s+=n+"p"+(r-i)+"="+encodeURIComponent(be(o[r]));return new t(s)}}function i(e){if(null==e||E(e))return!1;if(Wr(e)||S(e)||Pr&&e instanceof Pr)return!0;var t="length"in Object(e)&&e.length;return C(t)&&(t>=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function o(e,t,n){var r,a;if(e)if(_(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(Wr(e)||i(e)){var s="object"!=typeof e;for(r=0,a=e.length;a>r;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==o)e.forEach(t,n,e);else if(x(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)Dr.call(e,r)&&t.call(n,e[r],r,e);return e}function a(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function s(e){return function(t,n){e(n,t)}}function u(){return++Br}function l(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function c(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;o>i;++i){var a=t[i];if(w(a)||_(a))for(var s=Object.keys(a),u=0,f=s.length;f>u;u++){var d=s[u],p=a[d];n&&w(p)?k(p)?e[d]=new Date(p.valueOf()):A(p)?e[d]=new RegExp(p):p.nodeName?e[d]=p.cloneNode(!0):I(p)?e[d]=p.clone():(w(e[d])||(e[d]=Wr(p)?[]:{}),c(e[d],[p],!0)):e[d]=p}}return l(e,r),e}function f(e){return c(e,Vr.call(arguments,1),!1)}function d(e){return c(e,Vr.call(arguments,1),!0)}function p(e){return parseInt(e,10)}function h(e,t){return f(Object.create(e),t)}function g(){}function m(e){return e}function $(e){return function(){return e}}function v(e){return _(e.toString)&&e.toString!==Lr}function y(e){return"undefined"==typeof e}function b(e){return"undefined"!=typeof e}function w(e){return null!==e&&"object"==typeof e}function x(e){return null!==e&&"object"==typeof e&&!Hr(e)}function S(e){return"string"==typeof e}function C(e){return"number"==typeof e}function k(e){return"[object Date]"===Lr.call(e)}function _(e){return"function"==typeof e}function A(e){return"[object RegExp]"===Lr.call(e)}function E(e){return e&&e.window===e}function D(e){return e&&e.$evalAsync&&e.$watch}function T(e){return"[object File]"===Lr.call(e)}function M(e){return"[object FormData]"===Lr.call(e)}function O(e){return"[object Blob]"===Lr.call(e)}function N(e){return"boolean"==typeof e}function F(e){return e&&_(e.then)}function P(e){return e&&C(e.length)&&Yr.test(Lr.call(e))}function j(e){return"[object ArrayBuffer]"===Lr.call(e)}function I(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function V(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function R(e){return Tr(e.nodeName||e[0]&&e[0].nodeName)}function U(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function L(e,t){function r(e,t){var n,r=t.$$hashKey;if(Wr(e))for(var o=0,a=e.length;a>o;o++)t.push(i(e[o]));else if(x(e))for(n in e)t[n]=i(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=i(e[n]));else for(n in e)Dr.call(e,n)&&(t[n]=i(e[n]));return l(t,r),t}function i(e){if(!w(e))return e;var t=s.indexOf(e);if(-1!==t)return u[t];if(E(e)||D(e))throw zr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var i=!1,o=a(e);return o===n&&(o=Wr(e)?[]:Object.create(Hr(e)),i=!0),s.push(e),u.push(o),i?r(e,o):o}function a(e){switch(Lr.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(i(e.buffer));case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}return _(e.cloneNode)?e.cloneNode(!0):void 0}var s=[],u=[];if(t){if(P(t)||j(t))throw zr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw zr("cpi","Can't copy! Source and destination are identical.");return Wr(t)?t.length=0:o(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),s.push(e),u.push(t),r(e,t)}return i(e)}function H(e,t){if(Wr(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(w(e)){t=t||{};for(var i in e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i])}return t||e}function z(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o==a&&"object"==o){if(!Wr(e)){if(k(e))return k(t)?z(e.getTime(),t.getTime()):!1;if(A(e))return A(t)?e.toString()==t.toString():!1;if(D(e)||D(t)||E(e)||E(t)||Wr(t)||k(t)||A(t))return!1;i=$e();for(r in e)if("$"!==r.charAt(0)&&!_(e[r])){if(!z(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&b(t[r])&&!_(t[r]))return!1;return!0}if(!Wr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!z(e[r],t[r]))return!1;return!0}}return!1}function q(e,t,n){return e.concat(Vr.call(t,n))}function B(e,t){return Vr.call(e,t||0)}function W(e,t){var n=arguments.length>2?B(arguments,2):[];return!_(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,q(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Y(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=n:E(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":D(r)&&(i="$SCOPE"),i}function X(e,t){return y(e)?n:(C(t)||(t=t?2:null),JSON.stringify(e,Y,t))}function G(e){return S(e)?JSON.parse(e):e}function K(e,t){e=e.replace(Zr,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function J(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Z(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=K(t,r);return J(e,n*(i-r))}function Q(e){e=Pr(e).clone();try{e.empty()}catch(t){}var n=Pr("<div>").append(e).html();try{return e[0].nodeType===ii?Tr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Tr(t)})}catch(t){return Tr(n)}}function ee(e){try{return decodeURIComponent(e)}catch(t){}}function te(e){var t={};return o((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=ee(r),b(r)&&(i=b(i)?ee(i):!0,Dr.call(t,r)?Wr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ne(e){var t=[];return o(e,function(e,n){Wr(e)?o(e,function(e){t.push(ie(n,!0)+(e===!0?"":"="+ie(e,!0)))}):t.push(ie(n,!0)+(e===!0?"":"="+ie(e,!0)))}),t.length?t.join("&"):""}function re(e){return ie(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ie(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function oe(e,t){var n,r,i=Qr.length;for(r=0;i>r;++r)if(n=Qr[r]+t,S(n=e.getAttribute(n)))return n;return null}function ae(e,t){var n,r,i={};o(Qr,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),o(Qr,function(t){var i,o=t+"app";!n&&(i=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(o))}),n&&(i.strictDi=null!==oe(n,"strict-di"),t(n,r?[r]:[],i))}function se(n,r,i){w(i)||(i={});var a={strictDi:!1};i=f(a,i);var s=function(){if(n=Pr(n),n.injector()){var e=n[0]===t?"document":Q(n);throw zr("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(/</,"&lt;").replace(/>/,"&gt;"))}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var o=it(r,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},u=/^NG_ENABLE_DEBUG_INFO!/,l=/^NG_DEFER_BOOTSTRAP!/;return e&&u.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(u,"")),e&&!l.test(e.name)?s():(e.name=e.name.replace(l,""),qr.resumeBootstrap=function(e){return o(e,function(e){r.push(e)}),s()},void(_(qr.resumeDeferredBootstrap)&&qr.resumeDeferredBootstrap()))}function ue(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function le(e){var t=qr.element(e).injector();if(!t)throw zr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ce(e,t){return t=t||"_",e.replace(ei,function(e,n){return(n?t:"")+e.toLowerCase()})}function fe(){var t;if(!ti){var r=Jr();jr=y(r)?e.jQuery:r?e[r]:n,jr&&jr.fn.on?(Pr=jr,f(jr.fn,{scope:Si.scope,isolateScope:Si.isolateScope,controller:Si.controller,injector:Si.injector,inheritedData:Si.inheritedData}),t=jr.cleanData,jr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=jr._data(r,"events"),n&&n.$destroy&&jr(r).triggerHandler("$destroy");t(e)}):Pr=Me,qr.element=Pr,ti=!0}}function de(e,t,n){if(!e)throw zr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function pe(e,t,n){return n&&Wr(e)&&(e=e[e.length-1]),de(_(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function he(e,t){if("hasOwnProperty"===e)throw zr("badname","hasOwnProperty is not a valid {0} name",t)}function ge(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&_(e)?W(o,e):e}function me(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Pr(Vr.call(e,0,i))),t.push(n));return t||e}function $e(){return Object.create(null)}function ve(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||r,t(o,"module",function(){var e={};return function(r,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(r,"module"),o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function t(e,t){return function(n,o){return o&&_(o)&&(o.$$moduleName=r),i.push([e,t,arguments]),c}}if(!o)throw n("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",r);var i=[],s=[],u=[],l=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:r,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:t("$provide","decorator"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),component:t("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return a&&l(a),c})}})}function ye(e){var t=[];return JSON.stringify(e,function(e,n){if(n=Y(e,n),w(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function be(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):y(e)?"undefined":"string"!=typeof e?ye(e):e}function we(t){f(t,{bootstrap:se,copy:L,extend:f,merge:d,equals:z,element:Pr,forEach:o,injector:it,noop:g,bind:W,toJson:X,fromJson:G,identity:m,isUndefined:y,isDefined:b,isString:S,isFunction:_,isObject:w,isNumber:C,isElement:I,isArray:Wr,version:ui,isDate:k,lowercase:Tr,uppercase:Mr,callbacks:{counter:0},getTestability:le,$$minErr:r,$$csp:Kr,reloadWithDebugInfo:ue}),(Ir=ve(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Sn}),e.provider("$compile",ht).directive({a:To,input:Go,textarea:Go,form:Po,script:qa,select:Ya,style:Ga,option:Xa,ngBind:Zo,ngBindHtml:ea,ngBindTemplate:Qo,ngClass:na,ngClassEven:ia,ngClassOdd:ra,ngCloak:oa,ngController:aa,ngForm:jo,ngHide:Ia,ngIf:la,ngInclude:ca,ngInit:da,ngNonBindable:Ea,ngPluralize:Oa,ngRepeat:Na,ngShow:ja,ngStyle:Va,ngSwitch:Ra,ngSwitchWhen:Ua,ngSwitchDefault:La,ngOptions:Ma,ngTransclude:za,ngModel:ka,ngList:pa,ngChange:ta,pattern:Ja,ngPattern:Ja,required:Ka,ngRequired:Ka,minlength:Qa,ngMinlength:Qa,maxlength:Za,ngMaxlength:Za,ngValue:Jo,ngModelOptions:Aa}).directive({ngInclude:fa}).directive(Mo).directive(sa),e.provider({$anchorScroll:ot,$animate:Ri,$animateCss:Hi,$$animateJs:Ii,$$animateQueue:Vi,$$AnimateRunner:Li,$$animateAsyncRun:Ui,$browser:ft,$cacheFactory:dt,$controller:yt,$document:bt,$exceptionHandler:wt,$filter:In,$$forceReflow:Yi,$interpolate:Pt,$interval:jt,$http:Mt,$httpParamSerializer:St,$httpParamSerializerJQLike:Ct,$httpBackend:Nt,$xhrFactory:Ot,$location:Kt,$log:Jt,$parse:$n,$rootScope:xn,$q:vn,$$q:yn,$sce:An,$sceDelegate:_n,$sniffer:En,$templateCache:pt,$templateRequest:Dn,$$testability:Tn,$timeout:Mn,$window:Fn,$$rAF:wn,$$jqLite:Ze,$$HashMap:Ai,$$cookieReader:jn})}])}function xe(){return++ci}function Se(e){return e.replace(pi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(hi,"Moz$1")}function Ce(e){return!vi.test(e)}function ke(e){var t=e.nodeType;return t===ni||!t||t===ai}function _e(e){for(var t in li[e.ng339])return!0;return!1}function Ae(e){for(var t=0,n=e.length;n>t;t++)Pe(e[t])}function Ee(e,t){var n,r,i,a,s=t.createDocumentFragment(),u=[];if(Ce(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),r=(yi.exec(e)||["",""])[1].toLowerCase(),i=wi[r]||wi._default,n.innerHTML=i[1]+e.replace(bi,"<$1></$2>")+i[2],a=i[0];a--;)n=n.lastChild;u=q(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(u,function(e){s.appendChild(e)}),s}function De(e,n){n=n||t;var r;return(r=$i.exec(e))?[n.createElement(r[1])]:(r=Ee(e,n))?r.childNodes:[]}function Te(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Me(e){if(e instanceof Me)return e;var t;if(S(e)&&(e=Xr(e),t=!0),!(this instanceof Me)){if(t&&"<"!=e.charAt(0))throw mi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Me(e)}t?Le(this,De(e)):Le(this,e)}function Oe(e){return e.cloneNode(!0)}function Ne(e,t){if(t||Pe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Pe(n[r])}function Fe(e,t,n,r){if(b(r))throw mi("offargs","jqLite#off() does not support the `selector` argument");var i=je(e),a=i&&i.events,s=i&&i.handle;if(s)if(t){var u=function(t){var r=a[t];b(n)&&U(r||[],n),b(n)&&r&&r.length>0||(di(e,t,s),delete a[t])};o(t.split(" "),function(e){u(e),gi[e]&&u(gi[e])})}else for(t in a)"$destroy"!==t&&di(e,t,s),delete a[t]}function Pe(e,t){var r=e.ng339,i=r&&li[r];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),Fe(e)),delete li[r],e.ng339=n}}function je(e,t){var r=e.ng339,i=r&&li[r];return t&&!i&&(e.ng339=r=xe(),i=li[r]={events:{},data:{},handle:n}),i}function Ie(e,t,n){if(ke(e)){var r=b(n),i=!r&&t&&!w(t),o=!t,a=je(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];f(s,t)}}}function Ve(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Re(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",Xr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Xr(t)+" "," ")))})}function Ue(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=Xr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Xr(n))}}function Le(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function He(e,t){return ze(e,"$"+(t||"ngController")+"Controller")}function ze(e,t,n){e.nodeType==ai&&(e=e.documentElement);for(var r=Wr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if(b(n=Pr.data(e,r[i])))return n;e=e.parentNode||e.nodeType===si&&e.host}}function qe(e){for(Ne(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Be(e,t){t||Ne(e);var n=e.parentNode;n&&n.removeChild(e)}function We(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Pr(n).on("load",t)}function Ye(e,t){var n=Ci[t.toLowerCase()];return n&&ki[R(e)]&&n}function Xe(e){return _i[e]}function Ge(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(y(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var s=i.specialHandlerWrapper||Ke;o>1&&(i=H(i));for(var u=0;o>u;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function Ke(e,t,n){n.call(e,t)}function Je(e,t,n){var r=t.relatedTarget;r&&(r===e||xi.call(e,r))||n.call(e,t)}function Ze(){this.$get=function(){return f(Me,{hasClass:function(e,t){return e.attr&&(e=e[0]),Ve(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Ue(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Re(e,t)}})}}function Qe(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||u)():r+":"+e}function et(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function tt(e){var t=e.toString().replace(Oi,""),n=t.match(Ei)||t.match(Di);return n}function nt(e){var t=tt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function rt(e,t,n){var r,i,a;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw S(n)&&n||(n=e.name||nt(e)),Ni("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=tt(e),o(i[1].split(Ti),function(e){e.replace(Mi,function(e,t,n){r.push(n)})})}e.$inject=r}}else Wr(e)?(a=e.length-1,pe(e[a],"fn"),r=e.slice(0,a)):pe(e,"fn",!0);return r}function it(e,t){function r(e){return function(t,n){return w(t)?void o(t,s(e)):e(t,n)}}function i(e,t){if(he(e,"service"),(_(t)||Wr(t))&&(t=C.instantiate(t)),!t.$get)throw Ni("pget","Provider '{0}' must define $get factory method.",e);return x[e+m]=t}function a(e,t){return function(){var n=E.invoke(t,this);if(y(n))throw Ni("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function u(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function l(e,t){return u(e,["$injector",function(e){return e.instantiate(t)}])}function c(e,t){return u(e,$(t),!1)}function f(e,t){he(e,"constant"),x[e]=t,k[e]=t}function d(e,t){var n=C.get(e+m),r=n.$get;n.$get=function(){var e=E.invoke(r,n);return E.invoke(t,null,{$delegate:e})}}function p(e){de(y(e)||Wr(e),"modulesToLoad","not an array");var t,n=[];return o(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=C.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{S(e)?(t=Ir(e),n=n.concat(p(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):_(e)?n.push(C.invoke(e)):Wr(e)?n.push(C.invoke(e)):pe(e,"module")}catch(i){throw Wr(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Ni("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function h(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===g)throw Ni("cdep","Circular dependency found: {0}",t+" <- "+v.join(" <- "));return e[t]}try{return v.unshift(t),e[t]=g,e[t]=n(t,r)}catch(i){throw e[t]===g&&delete e[t],i}finally{v.shift()}}function i(e,n,i){for(var o=[],a=it.$$annotate(e,t,i),s=0,u=a.length;u>s;s++){var l=a[s];if("string"!=typeof l)throw Ni("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:r(l,i))}return o}function o(e){return 11>=Fr?!1:"function"==typeof e&&/^(?:class\s|constructor\()/.test(Function.prototype.toString.call(e))}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return Wr(e)&&(e=e[e.length-1]),o(e)?(a.unshift(null),new(Function.prototype.bind.apply(e,a))):e.apply(t,a)}function s(e,t,n){var r=Wr(e)?e[e.length-1]:e,o=i(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:it.$$annotate,has:function(t){return x.hasOwnProperty(t+m)||e.hasOwnProperty(t)}}}t=t===!0;var g={},m="Provider",v=[],b=new et([],!0),x={$provide:{provider:r(i),factory:r(u),service:r(l),value:r(c),constant:r(f),decorator:d}},C=x.$injector=h(x,function(e,t){throw qr.isString(t)&&v.push(t),Ni("unpr","Unknown provider: {0}",v.join(" <- "))}),k={},A=h(k,function(e,t){var r=C.get(e+m,t);return E.invoke(r.$get,r,n,e)}),E=A;x["$injector"+m]={$get:$(A)};var D=p(e);return E=A.get("$injector"),E.strictDi=t,o(D,function(e){e&&E.invoke(e)}),E}function ot(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===R(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(_(e))e=e();else if(I(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else C(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=S(e)?e:n.hash();var t;e?(t=u.getElementById(e))?a(t):(t=i(u.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||We(function(){r.$evalAsync(s)})}),s}]}function at(e,t){return e||t?e?t?(Wr(e)&&(e=e.join(" ")),Wr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function st(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Pi)return n}}function ut(e){S(e)&&(e=e.split(" "));var t=$e();return o(e,function(e){e.length&&(t[e]=!0)}),t}function lt(e){return w(e)?e:{}}function ct(e,t,n,r){function i(e){try{e.apply(null,B(arguments,1))}finally{if($--,0===$)for(;v.length;)try{v.pop()()}catch(t){n.error(t)}}}function a(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function s(){C=null,u(),l()}function u(){b=k(),b=y(b)?null:b,z(b,E)&&(b=E),E=b}function l(){x===c.url()&&w===b||(x=c.url(),w=b,o(_,function(e){e(c.url(),b)}))}var c=this,f=e.location,d=e.history,p=e.setTimeout,h=e.clearTimeout,m={};c.isMock=!1;var $=0,v=[];c.$$completeOutstandingRequest=i,c.$$incOutstandingRequestCount=function(){$++},c.notifyWhenNoOutstandingRequests=function(e){0===$?e():v.push(e)};var b,w,x=f.href,S=t.find("base"),C=null,k=r.history?function(){try{return d.state}catch(e){}}:g;u(),w=b,c.url=function(t,n,i){if(y(i)&&(i=null),f!==e.location&&(f=e.location),d!==e.history&&(d=e.history),t){var o=w===i;if(x===t&&(!r.history||o))return c;var s=x&&Lt(x)===Lt(t);return x=t,w=i,!r.history||s&&o?(s&&!C||(C=t),n?f.replace(t):s?f.hash=a(t):f.href=t,f.href!==t&&(C=t)):(d[n?"replaceState":"pushState"](i,"",t),u(),w=b),c}return C||f.href.replace(/%27/g,"'")},c.state=function(){return b};var _=[],A=!1,E=null;c.onUrlChange=function(t){return A||(r.history&&Pr(e).on("popstate",s),Pr(e).on("hashchange",s),A=!0),_.push(t),t},c.$$applicationDestroyed=function(){Pr(e).off("hashchange popstate",s)},c.$$checkUrlChange=l,c.baseHref=function(){var e=S.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""},c.defer=function(e,t){var n;return $++,n=p(function(){delete m[n],i(e)},t||0),m[n]=!0,n},c.defer.cancel=function(e){return m[e]?(delete m[e],h(e),i(g),!0):!1}}function ft(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new ct(e,r,t,n)}]}function dt(){this.$get=function(){function e(e,n){function i(e){e!=d&&(p?p==e&&(p=e.n):p=e,o(e.n,e.p),o(e,d),d=e,d.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw r("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=f({},n,{id:e}),u=$e(),l=n&&n.capacity||Number.MAX_VALUE,c=$e(),d=null,p=null;return t[e]={put:function(e,t){if(!y(t)){if(l<Number.MAX_VALUE){var n=c[e]||(c[e]={key:e});i(n)}return e in u||a++,u[e]=t,a>l&&this.remove(p.key),t}},get:function(e){if(l<Number.MAX_VALUE){var t=c[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(l<Number.MAX_VALUE){var t=c[e];if(!t)return;t==d&&(d=t.p),t==p&&(p=t.n),o(t.n,t.p),delete c[e]}e in u&&(delete u[e],a--)},removeAll:function(){u=$e(),a=0,c=$e(),d=p=null},destroy:function(){u=null,s=null,c=null,delete t[e]},info:function(){return f({},s,{size:a})}}}var t={};return e.info=function(){var e={};return o(t,function(t,n){e[n]=t.info()}),e},e.get=function(e){return t[e]},e}}function pt(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function ht(e,r){function i(e,t,n){var r=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,i={};return o(e,function(e,o){if(e in k)return void(i[o]=k[e]);var a=e.match(r);if(!a)throw zi("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,o,e,n?"controller bindings definition":"isolate scope definition");
2
+ i[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(k[e]=i[o])}),i}function a(e,t){var n={isolateScope:null,bindToController:null};if(w(e.scope)&&(e.bindToController===!0?(n.bindToController=i(e.scope,t,!0),n.isolateScope={}):n.isolateScope=i(e.scope,t,!1)),w(e.bindToController)&&(n.bindToController=i(e.bindToController,t,!0)),w(n.bindToController)){var r=e.controller,o=e.controllerAs;if(!r)throw zi("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);if(!vt(r,o))throw zi("noident","Cannot bind to controller without identifier for directive '{0}'.",t)}return n}function u(e){var t=e.charAt(0);if(!t||t!==Tr(t))throw zi("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw zi("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}var l={},c="Directive",d=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,p=/(([\w\-]+)(?:\:([^;]+))?;?)/,v=V("ngSrc,ngSrcset,src,srcset"),x=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,C=/^(on[a-z]+|formaction)$/,k=$e();this.directive=function T(t,n){return he(t,"directive"),S(t)?(u(t),de(n,"directiveFactory"),l.hasOwnProperty(t)||(l[t]=[],e.factory(t+c,["$injector","$exceptionHandler",function(e,n){var r=[];return o(l[t],function(i,o){try{var a=e.invoke(i);_(a)?a={compile:$(a)}:!a.compile&&a.link&&(a.compile=$(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||t,a.require=a.require||a.controller&&a.name,a.restrict=a.restrict||"EA",a.$$moduleName=i.$$moduleName,r.push(a)}catch(s){n(s)}}),r}])),l[t].push(n)):o(t,s(T)),this},this.component=function(e,t){function n(e){function n(t){return _(t)||Wr(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var i=t.template||t.templateUrl?t.template:"";return{controller:r,controllerAs:vt(t.controller)||t.controllerAs||"$ctrl",template:n(i),templateUrl:n(t.templateUrl),transclude:t.transclude,scope:{},bindToController:t.bindings||{},restrict:"E",require:t.require}}var r=t.controller||g;return o(t,function(e,t){"$"===t.charAt(0)&&(n[t]=e,r[t]=e)}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return b(e)?(r.aHrefSanitizationWhitelist(e),this):r.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return b(e)?(r.imgSrcSanitizationWhitelist(e),this):r.imgSrcSanitizationWhitelist()};var A=!0;this.debugInfoEnabled=function(e){return b(e)?(A=e,this):A};var E=10;this.onChangesTtl=function(e){return arguments.length?(E=e,this):E},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(e,r,i,s,u,$,b,k,T,M){function O(){try{if(!--be)throw me=n,zi("infchng","{0} $onChanges() iterations reached. Aborting!\n",E);b.$apply(function(){for(var e=0,t=me.length;t>e;++e)me[e]();me=n})}finally{be++}}function F(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function P(e,t,n){ye.innerHTML="<span "+t+">";var r=ye.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function j(e,t){try{e.addClass(t)}catch(n){}}function I(e,n,r,i,o){e instanceof Pr||(e=Pr(e));for(var a=/\S+/,s=0,u=e.length;u>s;s++){var l=e[s];l.nodeType===ii&&l.nodeValue.match(a)&&Te(l,e[s]=t.createElement("span"))}var c=L(e,n,e,r,i,o);I.$$addScopeClass(e);var f=null;return function(t,n,r){de(t,"scope"),o&&o.needsNewScope&&(t=t.$parent.$new()),r=r||{};var i=r.parentBoundTranscludeFn,a=r.transcludeControllers,s=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),f||(f=V(s));var u;if(u="html"!==f?Pr(se(f,Pr("<div>").append(e).html())):n?Si.clone.call(e):e,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return I.$$addScopeInfo(u,t),n&&n(u,t),c&&c(t,u,u,i),u}}function V(e){var t=e&&e[0];return t&&"foreignobject"!==R(t)&&Lr.call(t).match(/SVG/)?"svg":"html"}function L(e,t,r,i,o,a){function s(e,r,i,o){var a,s,u,l,c,f,d,p,m;if(h){var $=r.length;for(m=new Array($),c=0;c<g.length;c+=3)d=g[c],m[d]=r[d]}else m=r;for(c=0,f=g.length;f>c;)u=m[g[c++]],a=g[c++],s=g[c++],a?(a.scope?(l=e.$new(),I.$$addScopeInfo(Pr(u),l)):l=e,p=a.transcludeOnThisElement?H(e,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&t?H(e,t):null,a(s,l,u,i,p)):s&&s(e,u.childNodes,n,o)}for(var u,l,c,f,d,p,h,g=[],m=0;m<e.length;m++)u=new F,l=q(e[m],[],u,0===m?i:n,o),c=l.length?G(l,e[m],u,t,r,null,[],[],a):null,c&&c.scope&&I.$$addScopeClass(u.$$element),d=c&&c.terminal||!(f=e[m].childNodes)||!f.length?null:L(f,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:t),(c||d)&&(g.push(m,c,d),p=!0,h=h||c),a=null;return p?s:null}function H(e,t,n){function r(r,i,o,a,s){return r||(r=e.$new(!1,s),r.$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=$e();for(var o in t.$$slots)t.$$slots[o]?i[o]=H(e,t.$$slots[o],n):i[o]=null;return r}function q(e,t,n,r,i){var o,a,s=e.nodeType,u=n.$attr;switch(s){case ni:ee(t,gt(R(e)),"E",r,i);for(var l,c,f,h,g,m,$=e.attributes,v=0,y=$&&$.length;y>v;v++){var b=!1,x=!1;l=$[v],c=l.name,g=Xr(l.value),h=gt(c),(m=ke.test(h))&&(c=c.replace(qi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var C=h.match(_e);C&&te(C[1])&&(b=c,x=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),f=gt(c.toLowerCase()),u[f]=c,!m&&n.hasOwnProperty(f)||(n[f]=g,Ye(e,f)&&(n[f]=!0)),le(e,t,g,f,m),ee(t,f,"A",r,i,b,x)}if(a=e.className,w(a)&&(a=a.animVal),S(a)&&""!==a)for(;o=p.exec(a);)f=gt(o[2]),ee(t,f,"C",r,i)&&(n[f]=Xr(o[3])),a=a.substr(o.index+o[0].length);break;case ii:if(11===Fr)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ii;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);ae(t,e.nodeValue);break;case oi:try{o=d.exec(e.nodeValue),o&&(f=gt(o[1]),ee(t,f,"M",r,i)&&(n[f]=Xr(o[2])))}catch(k){}}return t.sort(ie),t}function W(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw zi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==ni&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Pr(r)}function Y(e,t,n){return function(r,i,o,a,s){return i=W(i[0],t,n),e(r,i,o,a,s)}}function X(e,t,n,r,i,o){var a;return e?I(t,n,r,i,o):function(){return a||(a=I(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function G(e,t,r,a,s,u,l,c,d){function p(e,t,n,r){e&&(n&&(e=Y(e,n,r)),e.require=g.require,e.directiveName=m,(k===g||g.$$isolateScope)&&(e=pe(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=Y(t,n,r)),t.require=g.require,t.directiveName=m,(k===g||g.$$isolateScope)&&(t=pe(t,{isolateScope:!0})),c.push(t))}function h(e,i,a,s,u){function d(e,t,r,i){var o;if(D(e)||(i=r,r=t,t=e,e=n),O&&(o=v),r||(r=O?x.parent():x),!i)return u(e,t,o,r,U);var a=u.$$slots[i];if(a)return a(e,t,o,r,U);if(y(a))throw zi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',i,Q(x))}var p,h,g,m,$,v,b,x,E,T,M;t===a?(E=r,x=r.$$element):(x=Pr(a),E=new F(x,r)),$=i,k?m=i.$new(!0):S&&($=i.$parent),u&&(b=d,b.$$boundTransclude=u,b.isSlotFilled=function(e){return!!u.$$slots[e]}),C&&(v=J(x,E,b,C,m,i,k)),k&&(I.$$addScopeInfo(x,m,!0,!(A&&(A===k||A===k.$$originalDirective))),I.$$addScopeClass(x,!0),m.$$isolateBindings=k.$$isolateBindings,T=ge(i,E,m,m.$$isolateBindings,k),T&&m.$on("$destroy",T));for(var N in v){var P=C[N],j=v[N],V=P.$$bindings.bindToController;j.identifier&&V&&(M=ge($,E,j.instance,V,P));var R=j();R!==j.instance&&(j.instance=R,x.data("$"+P.name+"Controller",R),M&&M(),M=ge($,E,j.instance,V,P))}for(o(C,function(e,t){var n=e.require;e.bindToController&&!Wr(n)&&w(n)&&f(v[t].instance,K(t,n,x,v))}),o(v,function(e){var t=e.instance;_(t.$onInit)&&t.$onInit(),_(t.$onDestroy)&&$.$on("$destroy",function(){t.$onDestroy()})}),p=0,h=l.length;h>p;p++)g=l[p],he(g,g.isolateScope?m:i,x,E,g.require&&K(g.directiveName,g.require,x,v),b);var U=i;for(k&&(k.template||null===k.templateUrl)&&(U=m),e&&e(U,a.childNodes,n,u),p=c.length-1;p>=0;p--)g=c[p],he(g,g.isolateScope?m:i,x,E,g.require&&K(g.directiveName,g.require,x,v),b);o(v,function(e){var t=e.instance;_(t.$postLink)&&t.$postLink()})}d=d||{};for(var g,m,$,v,b,x=-Number.MAX_VALUE,S=d.newScopeDirective,C=d.controllerDirectives,k=d.newIsolateScopeDirective,A=d.templateDirective,E=d.nonTlbTranscludeDirective,T=!1,M=!1,O=d.hasElementTranscludeDirective,N=r.$$element=Pr(t),P=u,j=a,V=!1,U=!1,L=0,H=e.length;H>L;L++){g=e[L];var z=g.$$start,G=g.$$end;if(z&&(N=W(t,z,G)),$=n,x>g.priority)break;if((b=g.scope)&&(g.templateUrl||(w(b)?(oe("new/isolated scope",k||S,g,N),k=g):oe("new/isolated scope",k,g,N)),S=S||g),m=g.name,!V&&(g.replace&&(g.templateUrl||g.template)||g.transclude&&!g.$$tlb)){for(var ee,te=L+1;ee=e[te++];)if(ee.transclude&&!ee.$$tlb||ee.replace&&(ee.templateUrl||ee.template)){U=!0;break}V=!0}if(!g.templateUrl&&g.controller&&(b=g.controller,C=C||$e(),oe("'"+m+"' controller",C[m],g,N),C[m]=g),b=g.transclude)if(T=!0,g.$$tlb||(oe("transclusion",E,g,N),E=g),"element"==b)O=!0,x=g.priority,$=N,N=r.$$element=Pr(I.$$createComment(m,r[m])),t=N[0],fe(s,B($),t),$[0].$$parentNode=$[0].parentNode,j=X(U,$,a,x,P&&P.name,{nonTlbTranscludeDirective:E});else{var ie=$e();if($=Pr(Oe(t)).contents(),w(b)){$=[];var ae=$e(),ue=$e();o(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,ae[e]=t,ie[t]=null,ue[t]=n}),o(N.contents(),function(e){var t=ae[gt(R(e))];t?(ue[t]=!0,ie[t]=ie[t]||[],ie[t].push(e)):$.push(e)}),o(ue,function(e,t){if(!e)throw zi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var le in ie)ie[le]&&(ie[le]=X(U,ie[le],a))}N.empty(),j=X(U,$,a,n,n,{needsNewScope:g.$$isolateScope||g.$$newScope}),j.$$slots=ie}if(g.template)if(M=!0,oe("template",A,g,N),A=g,b=_(g.template)?g.template(N,r):g.template,b=Se(b),g.replace){if(P=g,$=Ce(b)?[]:$t(se(g.templateNamespace,Xr(b))),t=$[0],1!=$.length||t.nodeType!==ni)throw zi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");fe(s,N,t);var ce={$attr:{}},de=q(t,[],ce),me=e.splice(L+1,e.length-(L+1));(k||S)&&Z(de,k,S),e=e.concat(de).concat(me),ne(r,ce),H=e.length}else N.html(b);if(g.templateUrl)M=!0,oe("template",A,g,N),A=g,g.replace&&(P=g),h=re(e.splice(L,e.length-L),N,r,s,T&&j,l,c,{controllerDirectives:C,newScopeDirective:S!==g&&S,newIsolateScopeDirective:k,templateDirective:A,nonTlbTranscludeDirective:E}),H=e.length;else if(g.compile)try{v=g.compile(N,r,j),_(v)?p(null,v,z,G):v&&p(v.pre,v.post,z,G)}catch(ve){i(ve,Q(N))}g.terminal&&(h.terminal=!0,x=Math.max(x,g.priority))}return h.scope=S&&S.scope===!0,h.transcludeOnThisElement=T,h.templateOnThisElement=M,h.transclude=j,d.hasElementTranscludeDirective=O,h}function K(e,t,n,r){var i;if(S(t)){var a=t.match(x),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(i=r&&r[s],i=i&&i.instance),!i){var c="$"+s+"Controller";i=u?n.inheritedData(c):n.data(c)}if(!i&&!l)throw zi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Wr(t)){i=[];for(var f=0,d=t.length;d>f;f++)i[f]=K(e,t[f],n,r)}else w(t)&&(i={},o(t,function(t,o){i[o]=K(e,t,n,r)}));return i||null}function J(e,t,n,r,i,o,a){var s=$e();for(var u in r){var l=r[u],c={$scope:l===a||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"==f&&(f=t[l.name]);var d=$(f,c,!0,l.controllerAs);s[l.name]=d,e.data("$"+l.name+"Controller",d.instance)}return s}function Z(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=h(e[r],{$$isolateScope:t,$$newScope:n})}function ee(t,n,r,o,s,u,f){if(n===s)return null;var d=null;if(l.hasOwnProperty(n))for(var p,g=e.get(n+c),m=0,$=g.length;$>m;m++)try{if(p=g[m],(y(o)||o>p.priority)&&-1!=p.restrict.indexOf(r)){if(u&&(p=h(p,{$$start:u,$$end:f})),!p.$$bindings){var v=p.$$bindings=a(p,p.name);w(v.isolateScope)&&(p.$$isolateBindings=v.isolateScope)}t.push(p),d=p}}catch(b){i(b)}return d}function te(t){if(l.hasOwnProperty(t))for(var n,r=e.get(t+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function ne(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(j(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function re(e,t,n,r,i,a,u,l){var c,f,d=[],p=t[0],g=e.shift(),m=h(g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),$=_(g.templateUrl)?g.templateUrl(t,n):g.templateUrl,v=g.templateNamespace;return t.empty(),s($).then(function(s){var h,y,b,x;if(s=Se(s),g.replace){if(b=Ce(s)?[]:$t(se(v,Xr(s))),h=b[0],1!=b.length||h.nodeType!==ni)throw zi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g.name,$);y={$attr:{}},fe(r,t,h);var S=q(h,[],y);w(g.scope)&&Z(S,!0),e=S.concat(e),ne(n,y)}else h=p,t.html(s);for(e.unshift(m),c=G(e,h,n,i,t,g,a,u,l),o(r,function(e,n){e==h&&(r[n]=t[0])}),f=L(t[0].childNodes,i);d.length;){var C=d.shift(),k=d.shift(),_=d.shift(),A=d.shift(),E=t[0];if(!C.$$destroyed){if(k!==p){var D=k.className;l.hasElementTranscludeDirective&&g.replace||(E=Oe(h)),fe(_,Pr(k),E),j(Pr(E),D)}x=c.transcludeOnThisElement?H(C,c.transclude,A):A,c(f,C,E,r,x)}}d=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(d?d.push(t,n,r,o):(c.transcludeOnThisElement&&(o=H(t,c.transclude,i)),c(f,t,n,r,o)))}}function ie(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function oe(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw zi("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,Q(r))}function ae(e,t){var n=r(t,!0);n&&e.push({priority:0,compile:function(e){var t=e.parent(),r=!!t.length;return r&&I.$$addBindingClass(t),function(e,t){var i=t.parent();r||I.$$addBindingClass(i),I.$$addBindingInfo(i,n.expressions),e.$watch(n,function(e){t[0].nodeValue=e})}}})}function se(e,n){switch(e=Tr(e||"html")){case"svg":case"math":var r=t.createElement("div");return r.innerHTML="<"+e+">"+n+"</"+e+">",r.childNodes[0].childNodes;default:return n}}function ue(e,t){if("srcdoc"==t)return k.HTML;var n=R(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?k.RESOURCE_URL:void 0}function le(e,t,n,i,o){var a=ue(e,i);o=v[i]||o;var s=r(n,!0,a,o);if(s){if("multiple"===i&&"select"===R(e))throw zi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Q(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=$e());if(C.test(i))throw zi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==n&&(s=c&&r(c,!0,a,o),n=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function fe(e,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==a){e[i++]=r;for(var l=i,c=l+s-1,f=e.length;f>l;l++,c++)f>c?e[l]=e[c]:delete e[l];e.length-=s-1,e.context===a&&(e.context=r);break}u&&u.replaceChild(r,a);var d=t.createDocumentFragment();for(i=0;s>i;i++)d.appendChild(n[i]);for(Pr.hasData(a)&&(Pr.data(r,Pr.data(a)),Pr(a).off("$destroy")),Pr.cleanData(d.querySelectorAll("*")),i=1;s>i;i++)delete n[i];n[0]=r,n.length=1}function pe(e,t){return f(function(){return e.apply(null,arguments)},e,t)}function he(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,Q(n))}}function ge(e,t,i,a,s){function l(t,n,r){_(i.$onChanges)&&n!==r&&(me||(e.$$postDigest(O),me=[]),f||(f={},me.push(c)),f[t]&&(r=f[t].previousValue),f[t]={previousValue:r,currentValue:n})}function c(){i.$onChanges(f),f=n}var f,d=[];return o(a,function(n,o){var a,c,f,p,h,m=n.attrName,$=n.optional,v=n.mode;switch(v){case"@":$||Dr.call(t,m)||(i[o]=t[m]=void 0),t.$observe(m,function(e){if(S(e)){var t=i[o];l(o,e,t),i[o]=e}}),t.$$observers[m].$$scope=e,a=t[m],S(a)?i[o]=r(a)(e):N(a)&&(i[o]=a);break;case"=":if(!Dr.call(t,m)){if($)break;t[m]=void 0}if($&&!t[m])break;c=u(t[m]),p=c.literal?z:function(e,t){return e===t||e!==e&&t!==t},f=c.assign||function(){throw a=i[o]=c(e),zi("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[m],m,s.name)},a=i[o]=c(e);var y=function(t){return p(t,i[o])||(p(t,a)?f(e,t=i[o]):i[o]=t),a=t};y.$stateful=!0,h=n.collection?e.$watchCollection(t[m],y):e.$watch(u(t[m],y),null,c.literal),d.push(h);break;case"<":if(!Dr.call(t,m)){if($)break;t[m]=void 0}if($&&!t[m])break;c=u(t[m]),i[o]=c(e),h=e.$watch(c,function(e){var t=i[o];l(o,e,t),i[o]=e},c.literal),d.push(h);break;case"&":if(c=t.hasOwnProperty(m)?u(t[m]):g,c===g&&$)break;i[o]=function(t){return c(e,t)}}}),d.length&&function(){for(var e=0,t=d.length;t>e;++e)d[e]()}}var me,ve=/^\w/,ye=t.createElement("div"),be=E;F.prototype={$normalize:gt,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=mt(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=mt(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,r){var a,s=this.$$element[0],u=Ye(s,e),l=Xe(e),c=e;if(u?(this.$$element.prop(e,t),r=u):l&&(this[l]=t,c=l),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e],r||(this.$attr[e]=r=ce(e,"-"))),a=R(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=M(t,"src"===e);else if("img"===a&&"srcset"===e){for(var f="",d=Xr(t),p=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,h=/\s/.test(d)?p:/(,)/,g=d.split(h),m=Math.floor(g.length/2),$=0;m>$;$++){var v=2*$;f+=M(Xr(g[v]),!0),f+=" "+Xr(g[v+1])}var b=Xr(g[2*$]).split(/\s/);f+=M(Xr(b[0]),!0),2===b.length&&(f+=" "+Xr(b[1])),this[e]=t=f}n!==!1&&(null===t||y(t)?this.$$element.removeAttr(r):ve.test(r)?this.$$element.attr(r,t):P(this.$$element[0],r,t));var w=this.$$observers;w&&o(w[c],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=$e()),i=r[e]||(r[e]=[]);return i.push(t),b.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||y(n[e])||t(n[e])}),function(){U(i,t)}}};var we=r.startSymbol(),xe=r.endSymbol(),Se="{{"==we&&"}}"==xe?m:function(e){return e.replace(/\{\{/g,we).replace(/}}/g,xe)},ke=/^ngAttr[A-Z]/,_e=/^(.+)Start$/;return I.$$addBindingInfo=A?function(e,t){var n=e.data("$binding")||[];Wr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:g,I.$$addBindingClass=A?function(e){j(e,"ng-binding")}:g,I.$$addScopeInfo=A?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:g,I.$$addScopeClass=A?function(e,t){j(e,t?"ng-isolate-scope":"ng-scope")}:g,I.$$createComment=function(e,n){var r="";return A&&(r=" "+(e||"")+": "+(n||"")+" "),t.createComment(r)},I}]}function gt(e){return Se(e.replace(qi,""))}function mt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a==i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function $t(e){e=Pr(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===oi&&Rr.call(e,t,1)}return e}function vt(e,t){if(t&&S(t))return t;if(S(e)){var n=Wi.exec(e);if(n)return n[3]}}function yt(){var e={},t=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){he(t,"controller"),w(t)?f(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(i,o){function a(e,t,n,i){if(!e||!w(e.$scope))throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,t);e.$scope[t]=n}return function(r,s,u,l){var c,d,p,h;if(u=u===!0,l&&S(l)&&(h=l),S(r)){if(d=r.match(Wi),!d)throw Bi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);p=d[1],h=h||d[3],r=e.hasOwnProperty(p)?e[p]:ge(s.$scope,p,!0)||(t?ge(o,p,!0):n),pe(r,p,!0)}if(u){var g=(Wr(r)?r[r.length-1]:r).prototype;c=Object.create(g||null),h&&a(s,h,c,p||r.name);var m;return m=f(function(){var e=i.invoke(r,c,s,p);return e!==c&&(w(e)||_(e))&&(c=e,h&&a(s,h,c,p||r.name)),c},{instance:c,identifier:h})}return c=i.instantiate(r,s,p),h&&a(s,h,c,p||r.name),c}}]}function bt(){this.$get=["$window",function(e){return Pr(e.document)}]}function wt(){this.$get=["$log",function(e){return function(){e.error.apply(e,arguments)}}]}function xt(e){return w(e)?k(e)?e.toISOString():X(e):e}function St(){this.$get=function(){return function(e){if(!e)return"";var t=[];return a(e,function(e,n){null===e||y(e)||(Wr(e)?o(e,function(e){t.push(ie(n)+"="+ie(xt(e)))}):t.push(ie(n)+"="+ie(xt(e))))}),t.join("&")}}}function Ct(){this.$get=function(){return function(e){function t(e,r,i){null===e||y(e)||(Wr(e)?o(e,function(e,n){t(e,r+"["+(w(e)?n:"")+"]")}):w(e)&&!k(e)?a(e,function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))}):n.push(ie(r)+"="+ie(xt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function kt(e,t){if(S(e)){var n=e.replace(Zi,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Xi)||_t(n))&&(e=G(n))}}return e}function _t(e){var t=e.match(Ki);return t&&Ji[t[0]].test(e)}function At(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=$e();return S(e)?o(e.split("\n"),function(e){n=e.indexOf(":"),t(Tr(Xr(e.substr(0,n))),Xr(e.substr(n+1)))}):w(e)&&o(e,function(e,n){t(Tr(n),Xr(e))}),r}function Et(e){var t;return function(n){if(t||(t=At(e)),n){var r=t[Tr(n)];return void 0===r&&(r=null),r}return t}}function Dt(e,t,n,r){return _(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function Tt(e){return e>=200&&300>e}function Mt(){var e=this.defaults={transformResponse:[kt],transformRequest:[function(e){return!w(e)||T(e)||O(e)||M(e)?e:X(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:H(Gi),put:H(Gi),patch:H(Gi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},t=!1;this.useApplyAsync=function(e){return b(e)?(t=!!e,this):t};var i=!0;this.useLegacyPromiseExtensions=function(e){return b(e)?(i=!!e,this):i};var a=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(s,u,l,c,d,p){function h(t){function a(e){var t=f({},e);return t.data=Dt(e.data,e.headers,e.status,l.transformResponse),Tt(e.status)?t:d.reject(t)}function s(e,t){var n,r={};return o(e,function(e,i){_(e)?(n=e(t),null!=n&&(r[i]=n)):r[i]=e}),r}function u(t){var n,r,i,o=e.headers,a=f({},t.headers);o=f({},o.common,o[Tr(t.method)]);e:for(n in o){r=Tr(n);for(i in a)if(Tr(i)===r)continue e;a[n]=o[n]}return s(a,H(t))}if(!w(t))throw r("$http")("badreq","Http request configuration must be an object. Received: {0}",t);if(!S(t.url))throw r("$http")("badreq","Http request configuration url must be a string. Received: {0}",t.url);var l=f({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},t);l.headers=u(t),l.method=Mr(l.method),l.paramSerializer=S(l.paramSerializer)?p.get(l.paramSerializer):l.paramSerializer;var c=function(t){var r=t.headers,i=Dt(t.data,Et(r),n,t.transformRequest);return y(i)&&o(r,function(e,t){"content-type"===Tr(t)&&delete r[t]}),y(t.withCredentials)&&!y(e.withCredentials)&&(t.withCredentials=e.withCredentials),$(t,i).then(a,a)},h=[c,n],g=d.when(l);for(o(C,function(e){(e.request||e.requestError)&&h.unshift(e.request,e.requestError),(e.response||e.responseError)&&h.push(e.response,e.responseError)});h.length;){var m=h.shift(),v=h.shift();g=g.then(m,v)}return i?(g.success=function(e){return pe(e,"fn"),g.then(function(t){e(t.data,t.status,t.headers,l)}),g},g.error=function(e){return pe(e,"fn"),g.then(null,function(t){e(t.data,t.status,t.headers,l)}),g}):(g.success=eo("success"),g.error=eo("error")),g}function g(){o(arguments,function(e){h[e]=function(t,n){return h(f({},n||{},{method:e,url:t}))}})}function m(){o(arguments,function(e){h[e]=function(t,n,r){return h(f({},r||{},{method:e,url:t,data:n}))}})}function $(r,i){function o(e,n,r,i){function o(){a(n,e,r,i)}p&&(Tt(e)?p.put(C,[e,n,At(r),i]):p.remove(C)),t?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function a(e,t,n,i){t=t>=-1?t:0,(Tt(t)?m.resolve:m.reject)({data:e,status:t,headers:Et(n),config:r,statusText:i})}function l(e){a(e.data,e.status,H(e.headers()),e.statusText)}function f(){var e=h.pendingRequests.indexOf(r);-1!==e&&h.pendingRequests.splice(e,1)}var p,g,m=d.defer(),$=m.promise,S=r.headers,C=v(r.url,r.paramSerializer(r.params));if(h.pendingRequests.push(r),$.then(f,f),!r.cache&&!e.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(p=w(r.cache)?r.cache:w(e.cache)?e.cache:x),p&&(g=p.get(C),b(g)?F(g)?g.then(l,l):Wr(g)?a(g[1],g[0],H(g[2]),g[3]):a(g,200,{},"OK"):p.put(C,$)),y(g)){var k=Nn(r.url)?u()[r.xsrfCookieName||e.xsrfCookieName]:n;k&&(S[r.xsrfHeaderName||e.xsrfHeaderName]=k),s(r.method,C,i,o,S,r.timeout,r.withCredentials,r.responseType)}return $}function v(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var x=l("$http");e.paramSerializer=S(e.paramSerializer)?p.get(e.paramSerializer):e.paramSerializer;var C=[];return o(a,function(e){C.unshift(S(e)?p.get(e):p.invoke(e))}),h.pendingRequests=[],g("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ot(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Nt(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return Ft(e,r,e.defer,t.angular.callbacks,n[0])}]}function Ft(e,t,n,r,i){function a(e,t,n){var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){di(o,"load",a),di(o,"error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";e&&("load"!==e.type||r[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},fi(o,"load",a),fi(o,"error",a),i.body.appendChild(o),a}return function(i,s,u,l,c,f,d,p){function h(){v&&v(),w&&w.abort()}function m(t,r,i,o,a){b(C)&&n.cancel(C),v=w=null,t(r,i,o,a),e.$$completeOutstandingRequest(g)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Tr(i)){var $="_"+(r.counter++).toString(36);r[$]=function(e){r[$].data=e,r[$].called=!0};var v=a(s.replace("JSON_CALLBACK","angular.callbacks."+$),$,function(e,t){m(l,e,r[$].data,"",t),r[$]=g})}else{var w=t(i,s);w.open(i,s,!0),o(c,function(e,t){b(e)&&w.setRequestHeader(t,e)}),w.onload=function(){var e=w.statusText||"",t="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=t?200:"file"==On(s).protocol?404:0),m(l,n,t,w.getAllResponseHeaders(),e)};var x=function(){m(l,-1,null,null,"")};if(w.onerror=x,w.onabort=x,d&&(w.withCredentials=!0),p)try{w.responseType=p}catch(S){if("json"!==p)throw S}w.send(y(u)?null:u)}if(f>0)var C=n(h,f);else F(f)&&f.then(h)}}function Pt(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(n){return n.replace(p,e).replace(h,t)}function s(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=X(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function l(o,l,p,h){function g(e){try{return e=O(e),h&&!b(e)?e:s(e)}catch(t){r(to.interr(o,t))}}if(!o.length||-1===o.indexOf(e)){var m;if(!l){var v=a(o);m=$(v),m.exp=o,m.expressions=[],m.$$watchDelegate=u}return m}h=!!h;for(var w,x,S,C=0,k=[],A=[],E=o.length,D=[],T=[];E>C;){if(-1==(w=o.indexOf(e,C))||-1==(x=o.indexOf(t,w+c))){C!==E&&D.push(a(o.substring(C)));break}C!==w&&D.push(a(o.substring(C,w))),S=o.substring(w+c,x),k.push(S),A.push(n(S,g)),C=x+d,T.push(D.length),D.push("")}if(p&&D.length>1&&to.throwNoconcat(o),!l||k.length){var M=function(e){for(var t=0,n=k.length;n>t;t++){if(h&&y(e[t]))return;D[T[t]]=e[t]}return D.join("")},O=function(e){return p?i.getTrusted(p,e):i.valueOf(e)};return f(function(e){var t=0,n=k.length,i=new Array(n);try{for(;n>t;t++)i[t]=A[t](e);return M(i)}catch(a){r(to.interr(o,a))}},{exp:o,expressions:k,$$watchDelegate:function(e,t){var n;return e.$watchGroup(A,function(r,i){var o=M(r);_(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var c=e.length,d=t.length,p=new RegExp(e.replace(/./g,o),"g"),h=new RegExp(t.replace(/./g,o),"g");return l.startSymbol=function(){return e},l.endSymbol=function(){return t},l}]}function jt(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,u,l){function c(){f?o.apply(null,d):o(g)}var f=arguments.length>4,d=f?B(arguments,4):[],p=t.setInterval,h=t.clearInterval,g=0,m=b(l)&&!l,$=(m?r:n).defer(),v=$.promise;return u=b(u)?u:0,v.$$intervalId=p(function(){m?i.defer(c):e.$evalAsync(c),$.notify(g++),u>0&&g>=u&&($.resolve(g),h(v.$$intervalId),delete a[v.$$intervalId]),m||e.$apply()},s),a[v.$$intervalId]=$,v}var a={};return o.cancel=function(e){return e&&e.$$intervalId in a?(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0):!1},o}]}function It(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=re(t[n]);return t.join("/")}function Vt(e,t){var n=On(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=p(n.port)||ro[n.protocol]||null}function Rt(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=On(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=te(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Ut(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Lt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function Ht(e){return e.replace(/(#.+)|#$/,"$1")}function zt(e){return e.substr(0,Lt(e).lastIndexOf("/")+1)}function qt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Bt(e,t,n){this.$$html5=!0,n=n||"",Vt(e,this),this.$$parse=function(e){var n=Ut(t,e);if(!S(n))throw io("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Rt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ne(this.$$search),n=this.$$hash?"#"+re(this.$$hash):"";this.$$url=It(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return b(o=Ut(e,r))?(a=o,s=b(o=Ut(n,o))?t+(Ut("/",o)||o):e+a):b(o=Ut(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Wt(e,t,n){Vt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=Ut(e,r)||Ut(t,r);y(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",y(a)&&(e=r,this.replace())):(o=Ut(n,a),y(o)&&(o=a)),Rt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ne(this.$$search),r=this.$$hash?"#"+re(this.$$hash):"";this.$$url=It(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t){return Lt(e)==Lt(t)?(this.$$parse(t),!0):!1}}function Yt(e,t,n){this.$$html5=!0,Wt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Lt(r)?o=r:(a=Ut(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ne(this.$$search),r=this.$$hash?"#"+re(this.$$hash):"";this.$$url=It(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Xt(e){return function(){return this[e]}}function Gt(e,t){return function(n){return y(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Kt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return b(t)?(e=t,this):e},this.html5Mode=function(e){return N(e)?(t.enabled=e,this):w(e)?(N(e.enabled)&&(t.enabled=e.enabled),N(e.requireBase)&&(t.requireBase=e.requireBase),N(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,f,d=r.baseHref(),p=r.url();if(t.enabled){if(!d&&t.requireBase)throw io("nobase","$location in HTML5 mode requires a <base> tag to be present!");f=qt(p)+(d||"/"),c=i.history?Bt:Yt}else f=Lt(p),c=Wt;var h=zt(f);l=new c(f,h,"#"+e),l.$$parseLinkUrl(p,p),l.$$state=r.state();var g=/^\s*(javascript|mailto):/i;
3
+ o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=Pr(e.target);"a"!==R(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");w(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=On(s.animVal).href),g.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(s,u)&&(e.preventDefault(),l.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),Ht(l.absUrl())!=Ht(p)&&r.url(l.absUrl(),!0);var m=!0;return r.onUrlChange(function(e,t){return y(Ut(h,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=Ht(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(m=!1,u(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var e=Ht(r.url()),t=Ht(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(m||c)&&(m=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(c&&s(t,a,o===l.$$state?null:l.$$state),u(e,o)))})),l.$$replace=!1}),l}]}function Jt(){var e=!0,t=this;this.debugEnabled=function(t){return b(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function i(e){var t=n.console||{},i=t[e]||t.log||g,a=!1;try{a=!!i.apply}catch(s){}return a?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Zt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw ao("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Qt(e){return e+""}function en(e,t){if(e){if(e.constructor===e)throw ao("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw ao("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw ao("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw ao("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function tn(e,t){if(e){if(e.constructor===e)throw ao("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===so||e===uo||e===lo)throw ao("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function nn(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw ao("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function rn(e,t){return"undefined"!=typeof e?e:t}function on(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function an(e,t){var n=e(t);return!n.$stateful}function sn(e,t){var n,r;switch(e.type){case ho.Program:n=!0,o(e.body,function(e){sn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case ho.Literal:e.constant=!0,e.toWatch=[];break;case ho.UnaryExpression:sn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case ho.BinaryExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case ho.LogicalExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case ho.ConditionalExpression:sn(e.test,t),sn(e.alternate,t),sn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case ho.Identifier:e.constant=!1,e.toWatch=[e];break;case ho.MemberExpression:sn(e.object,t),e.computed&&sn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case ho.CallExpression:n=e.filter?an(t,e.callee.name):!1,r=[],o(e.arguments,function(e){sn(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&an(t,e.callee.name)?r:[e];break;case ho.AssignmentExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case ho.ArrayExpression:n=!0,r=[],o(e.elements,function(e){sn(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case ho.ObjectExpression:n=!0,r=[],o(e.properties,function(e){sn(e.value,t),n=n&&e.value.constant,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case ho.ThisExpression:e.constant=!1,e.toWatch=[];break;case ho.LocalsExpression:e.constant=!1,e.toWatch=[]}}function un(e){if(1==e.length){var t=e[0].expression,r=t.toWatch;return 1!==r.length?r:r[0]!==t?r:n}}function ln(e){return e.type===ho.Identifier||e.type===ho.MemberExpression}function cn(e){return 1===e.body.length&&ln(e.body[0].expression)?{type:ho.AssignmentExpression,left:e.body[0].expression,right:{type:ho.NGValueParameter},operator:"="}:void 0}function fn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===ho.Literal||e.body[0].expression.type===ho.ArrayExpression||e.body[0].expression.type===ho.ObjectExpression)}function dn(e){return e.constant}function pn(e,t){this.astBuilder=e,this.$filter=t}function hn(e,t){this.astBuilder=e,this.$filter=t}function gn(e){return"constructor"==e}function mn(e){return _(e.valueOf)?e.valueOf():mo.call(e)}function $n(){var e=$e(),t=$e(),r={"true":!0,"false":!1,"null":null,undefined:n};this.addLiteral=function(e,t){r[e]=t},this.$get=["$filter",function(i){function a(n,r,o){var a,u,h;switch(o=o||v,typeof n){case"string":n=n.trim(),h=n;var y=o?t:e;if(a=y[h],!a){":"===n.charAt(0)&&":"===n.charAt(1)&&(u=!0,n=n.substring(2));var b=o?$:m,w=new po(b),x=new go(w,i,b);a=x.parse(n),a.constant?a.$$watchDelegate=d:u?a.$$watchDelegate=a.literal?f:c:a.inputs&&(a.$$watchDelegate=l),o&&(a=s(a)),y[h]=a}return p(a,r);case"function":return p(n,r);default:return p(g,r)}}function s(e){function t(t,n,r,i){var o=v;v=!0;try{return e(t,n,r,i)}finally{v=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=s(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&n<e.inputs.length;++n)e.inputs[n]=s(e.inputs[n]);return t.inputs=e.inputs,t}function u(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=mn(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function l(e,t,r,i,o){var a,s=i.inputs;if(1===s.length){var l=u;return s=s[0],e.$watch(function(e){var t=s(e);return u(t,l)||(a=i(e,n,n,[t]),l=t&&mn(t)),a},t,r,o)}for(var c=[],f=[],d=0,p=s.length;p>d;d++)c[d]=u,f[d]=null;return e.$watch(function(e){for(var t=!1,r=0,o=s.length;o>r;r++){var l=s[r](e);(t||(t=!u(l,c[r])))&&(f[r]=l,c[r]=l&&mn(l))}return t&&(a=i(e,n,n,f)),a},t,r,o)}function c(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,_(t)&&t.apply(this,arguments),b(e)&&r.$$postDigest(function(){b(o)&&i()})},n)}function f(e,t,n,r){function i(e){var t=!0;return o(e,function(e){b(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return r(e)},function(e,n,r){s=e,_(t)&&t.call(this,e,n,r),i(e)&&r.$$postDigest(function(){i(s)&&a()})},n)}function d(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function p(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==f&&n!==c,o=i?function(n,i,o,a){var s=r&&a?a[0]:e(n,i,o,a);return t(s,n,i)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return b(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==l?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=l,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var h=Kr().noUnsafeEval,m={csp:h,expensiveChecks:!1,literals:L(r)},$={csp:h,expensiveChecks:!0,literals:L(r)},v=!1;return a.$$runningExpensiveChecks=function(){return v},a}]}function vn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return bn(function(t){e.$evalAsync(t)},t)}]}function yn(){this.$get=["$browser","$exceptionHandler",function(e,t){return bn(function(t){e.defer(t)},t)}]}function bn(e,t){function i(){this.$$state={status:0}}function a(e,t){return function(n){t.call(e,n)}}function s(e){var r,i,o;o=e.pending,e.processScheduled=!1,e.pending=n;for(var a=0,s=o.length;s>a;++a){i=o[a][0],r=o[a][e.status];try{_(r)?i.resolve(r(e.value)):1===e.status?i.resolve(e.value):i.reject(e.value)}catch(u){i.reject(u),t(u)}}}function u(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){s(t)}))}function l(){this.promise=new i}function c(e){var t=new l,n=0,r=Wr(e)?[]:{};return o(e,function(e,i){n++,$(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var d=r("$q",TypeError),p=function(){var e=new l;return e.resolve=a(e,e.resolve),e.reject=a(e,e.reject),e.notify=a(e,e.notify),e};f(i.prototype,{then:function(e,t,n){if(y(e)&&y(t)&&y(n))return this;var r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&u(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return m(t,!0,e)},function(t){return m(t,!1,e)},t)}}),f(l.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(d("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function n(e){s||(s=!0,o.$$resolve(e))}function r(e){s||(s=!0,o.$$reject(e))}var i,o=this,s=!1;try{(w(e)||_(e))&&(i=e&&e.then),_(i)?(this.promise.$$state.status=-1,i.call(e,n,r,a(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,u(this.promise.$$state))}catch(l){r(l),t(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,u(this.promise.$$state)},notify:function(n){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(_(e)?e(n):n)}catch(s){t(s)}}})}});var h=function(e){var t=new l;return t.reject(e),t.promise},g=function(e,t){var n=new l;return t?n.resolve(e):n.reject(e),n.promise},m=function(e,t,n){var r=null;try{_(n)&&(r=n())}catch(i){return g(i,!1)}return F(r)?r.then(function(){return g(e,t)},function(e){return g(e,!1)}):g(e,t)},$=function(e,t,n,r){var i=new l;return i.resolve(e),i.promise.then(t,n,r)},v=$,b=function(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!_(e))throw d("norslvr","Expected resolverFn, got '{0}'",e);var r=new l;return e(t,n),r.promise};return b.prototype=i.prototype,b.defer=p,b.reject=h,b.when=$,b.resolve=v,b.all=c,b}function wn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function xn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=u(),this.$$ChildScope=null}return t.prototype=e,t}var t=10,n=r("$rootScope"),a=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$exceptionHandler","$parse","$browser",function(r,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Fr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=u(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function h(e){if(C.$$phase)throw n("inprog","{0} already in progress",C.$$phase);C.$$phase=e}function m(){C.$$phase=null}function $(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function v(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function b(){}function x(){for(;E.length;)try{E.shift()()}catch(e){r(e)}s=null}function S(){null===s&&(s=c.defer(function(){C.$apply(x)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,s=o.$$watchers,u={fn:t,last:b,get:i,exp:r||e,eq:!!n};return a=null,_(t)||(u.fn=g),s||(s=o.$$watchers=[]),s.unshift(u),$(this,1),function(){U(s,u)>=0&&$(o,-1),a=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(i,i,s)):t(i,r,s)}var r=new Array(e.length),i=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(i,i,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,o){i[0]=e,r[0]=n,t(i,e===n?i:r,o)}):(o(e,function(e,t){var o=s.$watch(e,function(e,o){i[t]=e,r[t]=o,u||(u=!0,s.$evalAsync(n))});a.push(o)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function n(e){o=e;var t,n,r,s,u;if(!y(o)){if(w(o))if(i(o)){a!==p&&(a=p,m=a.length=0,f++),t=o.length,m!==t&&(f++,a.length=m=t);for(var l=0;t>l;l++)u=a[l],s=o[l],r=u!==u&&s!==s,r||u===s||(f++,a[l]=s)}else{a!==h&&(a=h={},m=0,f++),t=0;for(n in o)Dr.call(o,n)&&(t++,s=o[n],u=a[n],n in a?(r=u!==u&&s!==s,r||u===s||(f++,a[n]=s)):(m++,a[n]=s,f++));if(m>t){f++;for(n in a)Dr.call(o,n)||(m--,delete a[n])}}else a!==o&&(a=o,f++);return f}}function r(){if(g?(g=!1,t(o,o,u)):t(o,s,u),c)if(w(o))if(i(o)){s=new Array(o.length);for(var e=0;e<o.length;e++)s[e]=o[e]}else{s={};for(var n in o)Dr.call(o,n)&&(s[n]=o[n])}else s=o}n.$stateful=!0;var o,a,s,u=this,c=t.length>1,f=0,d=l(e,n),p=[],h={},g=!0,m=0;return this.$watch(d,r)},$digest:function(){var e,i,o,u,l,f,d,p,g,$,v,y,w=t,S=this,E=[];h("$digest"),c.$$checkUrlChange(),this===C&&null!==s&&(c.defer.cancel(s),x()),a=null;do{for(p=!1,$=S;k.length;){try{y=k.shift(),y.scope.$eval(y.expression,y.locals)}catch(D){r(D)}a=null}e:do{if(f=$.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(i=l($))===(o=e.last)||(e.eq?z(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(e===a){p=!1;break e}}else p=!0,a=e,e.last=e.eq?L(i,null):i,u=e.fn,u(i,o===b?i:o,$),5>w&&(v=4-w,E[v]||(E[v]=[]),E[v].push({msg:_(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:i,oldVal:o}))}catch(D){r(D)}if(!(g=$.$$watchersCount&&$.$$childHead||$!==S&&$.$$nextSibling))for(;$!==S&&!(g=$.$$nextSibling);)$=$.$parent}while($=g);if((p||k.length)&&!w--)throw m(),n("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,E)}while(p||k.length);for(m();A.length;)try{A.shift()()}catch(D){r(D)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===C&&c.$$applicationDestroyed(),$(this,-this.$$watchersCount);for(var t in this.$$listenerCount)v(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=g,this.$on=this.$watch=this.$watchGroup=function(){return g},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){C.$$phase||k.length||c.defer(function(){k.length&&C.$digest()}),k.push({scope:this,expression:l(e),locals:t})},$$postDigest:function(e){A.push(e)},$apply:function(e){try{h("$apply");try{return this.$eval(e)}finally{m()}}catch(t){r(t)}finally{try{C.$digest()}catch(t){throw r(t),t}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&E.push(t),e=l(e),S()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,v(i,1,e))}},$emit:function(e){var t,n,i,o=[],a=this,s=!1,u={name:e,targetScope:a,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},l=q([u],arguments,1);do{for(t=a.$$listeners[e]||o,u.currentScope=a,n=0,i=t.length;i>n;n++)if(t[n])try{t[n].apply(null,l)}catch(c){r(c)}else t.splice(n,1),n--,i--;if(s)return u.currentScope=null,u;a=a.$parent}while(a);return u.currentScope=null,u},$broadcast:function(e){var t=this,n=t,i=t,o={name:e,targetScope:t,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1};if(!t.$$listenerCount[e])return o;for(var a,s,u,l=q([o],arguments,1);n=i;){for(o.currentScope=n,a=n.$$listeners[e]||[],s=0,u=a.length;u>s;s++)if(a[s])try{a[s].apply(null,l)}catch(c){r(c)}else a.splice(s,1),s--,u--;if(!(i=n.$$listenerCount[e]&&n.$$childHead||n!==t&&n.$$nextSibling))for(;n!==t&&!(i=n.$$nextSibling);)n=n.$parent}return o.currentScope=null,o}};var C=new p,k=C.$$asyncQueue=[],A=C.$$postDigestQueue=[],E=C.$$applyAsyncQueue=[];return C}]}function Sn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return b(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return b(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=On(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Cn(e){if("self"===e)return e;if(S(e)){if(e.indexOf("***")>-1)throw $o("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Gr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(A(e))return new RegExp("^"+e.source+"$");throw $o("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function kn(e){var t=[];return b(e)&&o(e,function(e){t.push(Cn(e))}),t}function _n(){this.SCE_CONTEXTS=vo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=kn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=kn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Nn(t):!!e.exec(t.href)}function i(n){var i,o,a=On(n.toString()),s=!1;for(i=0,o=e.length;o>i;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;o>i;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw $o("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||y(t)||""===t)return t;if("string"!=typeof t)throw $o("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof c?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||y(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===vo.RESOURCE_URL){if(i(t))return t;throw $o("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===vo.HTML)return l(t);throw $o("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(){throw $o("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[vo.HTML]=o(c),f[vo.CSS]=o(c),f[vo.URL]=o(c),f[vo.JS]=o(c),f[vo.RESOURCE_URL]=o(f[vo.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function An(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Fr)throw $o("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var r=H(vo);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=m),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(vo,function(e,t){var n=Tr(t);r[Se("parse_as_"+n)]=function(t){return i(e,t)},r[Se("get_trusted_"+n)]=function(t){return a(e,t)},r[Se("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function En(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=p((/android (\d+)/.exec(Tr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,f=l.body&&l.body.style,d=!1,h=!1;if(f){for(var g in f)if(r=c.exec(g)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in f&&"webkit"),d=!!("transition"in f||n+"Transition"in f),h=!!("animation"in f||n+"Animation"in f),!s||d&&h||(d=S(f.webkitTransition),h=S(f.webkitAnimation))}return{history:!(!a||4>s||u),hasEvent:function(e){if("input"===e&&11>=Fr)return!1;if(y(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Kr(),vendorPrefix:n,transitions:d,animations:h,android:s}}]}function Dn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$templateCache","$http","$q","$sce",function(t,n,r,i){function o(a,s){function u(e){if(!s)throw yo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,S(a)&&t.get(a)||(a=i.getTrustedResourceUrl(a));var l=n.defaults&&n.defaults.transformResponse;return Wr(l)?l=l.filter(function(e){return e!==kt}):l===kt&&(l=null),n.get(a,f({cache:t,transformResponse:l},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function Tn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(e,t,n){var r=e.getElementsByClassName("ng-binding"),i=[];return o(r,function(e){var r=qr.element(e).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+Gr(t)+"(\\s|\\||$)");o.test(r)&&i.push(e)}else-1!=r.indexOf(t)&&i.push(e)})}),i},r.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=n?"=":"*=",a="["+r[i]+"model"+o+'"'+t+'"]',s=e.querySelectorAll(a);if(s.length)return s}},r.getLocation=function(){return n.url()},r.setLocation=function(t){t!==n.url()&&(n.url(t),e.$digest())},r.whenStable=function(e){t.notifyWhenNoOutstandingRequests(e)},r}]}function Mn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,u){_(o)||(u=s,s=o,o=g);var l,c=B(arguments,3),f=b(u)&&!u,d=(f?r:n).defer(),p=d.promise;return l=t.defer(function(){try{d.resolve(o.apply(null,c))}catch(t){d.reject(t),i(t)}finally{delete a[p.$$timeoutId]}f||e.$apply()},s),p.$$timeoutId=l,a[l]=d,p}var a={};return o.cancel=function(e){return e&&e.$$timeoutId in a?(a[e.$$timeoutId].reject("canceled"),delete a[e.$$timeoutId],t.defer.cancel(e.$$timeoutId)):!1},o}]}function On(e){var t=e;return Fr&&(bo.setAttribute("href",t),t=bo.href),bo.setAttribute("href",t),{href:bo.href,protocol:bo.protocol?bo.protocol.replace(/:$/,""):"",host:bo.host,search:bo.search?bo.search.replace(/^\?/,""):"",hash:bo.hash?bo.hash.replace(/^#/,""):"",hostname:bo.hostname,port:bo.port,pathname:"/"===bo.pathname.charAt(0)?bo.pathname:"/"+bo.pathname}}function Nn(e){var t=S(e)?On(e):e;return t.protocol===wo.protocol&&t.host===wo.host}function Fn(){this.$get=$(e)}function Pn(e){function t(e){try{return decodeURIComponent(e)}catch(t){return e}}var n=e[0]||{},r={},i="";return function(){var e,o,a,s,u,l=n.cookie||"";if(l!==i)for(i=l,e=i.split("; "),r={},a=0;a<e.length;a++)o=e[a],s=o.indexOf("="),s>0&&(u=t(o.substring(0,s)),y(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function jn(){this.$get=Pn}function In(e){function t(r,i){if(w(r)){var a={};return o(r,function(e,n){a[n]=t(n,e)}),a}return e.factory(r+n,i)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Hn),t("date",rr),t("filter",Vn),t("json",ir),t("limitTo",or),t("lowercase",Eo),t("number",zn),t("orderBy",ar),t("uppercase",Do)}function Vn(){return function(e,t,n){if(!i(e)){if(null==e)return e;throw r("filter")("notarray","Expected array but received: {0}",e)}var o,a,s=Ln(t);switch(s){case"function":o=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Rn(t,n,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Rn(e,t,n){var r,i=w(e)&&"$"in e;return t===!0?t=z:_(t)||(t=function(e,t){return y(e)?!1:null===e||null===t?e===t:w(t)||w(e)&&!v(e)?!1:(e=Tr(""+e),t=Tr(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!w(r)?Un(r,e.$,t,!1):Un(r,e,t,n)}}function Un(e,t,n,r,i){var o=Ln(e),a=Ln(t);if("string"===a&&"!"===t.charAt(0))return!Un(e,t.substring(1),n,r);if(Wr(e))return e.some(function(e){return Un(e,t,n,r)});switch(o){case"object":var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Un(e[s],t,n,!0))return!0;return i?!1:Un(e,t,n,!1)}if("object"===a){for(s in t){var u=t[s];if(!_(u)&&!y(u)){var l="$"===s,c=l?e:e[s];if(!Un(c,u,n,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Ln(e){return null===e?"null":typeof e}function Hn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return y(n)&&(n=t.CURRENCY_SYM),y(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Wn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function zn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Wn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function qn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(So))>-1&&(e=e.replace(So,"")),(r=e.search(/e/i))>0?(0>n&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):0>n&&(n=e.length),r=0;e.charAt(r)==Co;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==Co;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>xo&&(t=t.splice(0,xo-1),a=n-1,n=1),{d:t,e:a,i:n}}function Bn(e,t,n,r){var i=e.d,o=i.length-e.i;t=y(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u<i.length;u++)i[u]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var l=1;a>l;l++)i[l]=0}if(s>=5)if(0>a-1){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o<Math.max(0,t);o++)i.push(0);var f=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);f&&(i.unshift(f),e.i++)}function Wn(e,t,n,r,i){if(!S(e)&&!C(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,u=Math.abs(e)+"",l="";if(a)l="\u221e";else{o=qn(u),Bn(o,i,t.minFrac,t.maxFrac);var c=o.d,f=o.i,d=o.e,p=[];for(s=c.reduce(function(e,t){return e&&!t},!0);0>f;)c.unshift(0),f++;f>0?p=c.splice(f):(p=c,c=[0]);var h=[];for(c.length>=t.lgSize&&h.unshift(c.splice(-t.lgSize).join(""));c.length>t.gSize;)h.unshift(c.splice(-t.gSize).join(""));c.length&&h.unshift(c.join("")),l=h.join(n),p.length&&(l+=r+p.join("")),d&&(l+="e+"+d)}return 0>e&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Yn(e,t,n,r){var i="";for((0>e||r&&0>=e)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length<t;)e=Co+e;return n&&(e=e.substr(e.length-t)),i+e}function Xn(e,t,n,r,i){return n=n||0,function(o){var a=o["get"+e]();return(n>0||a>-n)&&(a+=n),0===a&&-12==n&&(a=12),Yn(a,t,r,i)}}function Gn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Mr(a+e);return i[s][o]}}function Kn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Yn(Math[r>0?"floor":"ceil"](r/60),2)+Yn(Math.abs(r%60),2)}function Jn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Zn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Qn(e){return function(t){var n=Jn(t.getFullYear()),r=Zn(t),i=+r-+n,o=1+Math.round(i/6048e5);return Yn(o,e)}}function er(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function tr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function nr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function rr(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=p(t[9]+t[10]),o=p(t[9]+t[11])),a.call(r,p(t[1]),p(t[2])-1,p(t[3]));var u=p(t[4]||0)-i,l=p(t[5]||0)-o,c=p(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,f),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var a,s,u="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,S(n)&&(n=Ao.test(n)?p(n):t(n)),C(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;r;)s=_o.exec(r),s?(l=q(l,s,1),r=l.pop()):(l.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=K(i,c),n=Z(n,i,!0)),o(l,function(t){a=ko[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ir(){return function(e,t){return y(t)&&(t=2),X(e,t)}}function or(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):p(t),isNaN(t)?e:(C(e)&&(e=e.toString()),Wr(e)||S(e)?(n=!n||isNaN(n)?0:p(n),n=0>n?Math.max(0,e.length+n):n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function ar(e){function t(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=m;if(_(t))i=t;else if(S(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(r="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant))){var o=i();i=function(e){return e[o]}}return{get:i,descending:r*n}})}function n(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e,t){return"function"==typeof e.valueOf&&(e=e.valueOf(),n(e))?e:v(e)&&(e=e.toString(),n(e))?e:t}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"string"===n?e=e.toLowerCase():"object"===n&&(e=o(e,t)),{value:e,type:n}}function s(e,t){var n=0;return e.type===t.type?e.value!==t.value&&(n=e.value<t.value?-1:1):n=e.type<t.type?-1:1,n}return function(e,n,o){function u(e,t){return{value:e,predicateValues:c.map(function(n){return a(n.get(e),t)})}}function l(e,t){for(var n=0,r=0,i=c.length;i>r&&!(n=s(e.predicateValues[r],t.predicateValues[r])*c[r].descending);++r);return n}if(null==e)return e;if(!i(e))throw r("orderBy")("notarray","Expected array but received: {0}",e);Wr(n)||(n=[n]),0===n.length&&(n=["+"]);var c=t(n,o);c.push({get:function(){return{}},descending:o?-1:1});var f=Array.prototype.map.call(e,u);return f.sort(l),e=f.map(function(e){return e.value})}}function sr(e){return _(e)&&(e={link:e}),e.restrict=e.restrict||"AC",$(e)}function ur(e,t){e.$name=t}function lr(e,t,r,i,a){var s=this,u=[];s.$error={},s.$$success={},s.$pending=n,s.$name=a(t.name||t.ngForm||"")(r),s.$dirty=!1,s.$pristine=!0,s.$valid=!0,s.$invalid=!1,s.$submitted=!1,s.$$parentForm=Oo,s.$rollbackViewValue=function(){o(u,function(e){e.$rollbackViewValue()})},s.$commitViewValue=function(){o(u,function(e){e.$commitViewValue()})},s.$addControl=function(e){he(e.$name,"input"),u.push(e),e.$name&&(s[e.$name]=e),e.$$parentForm=s},s.$$renameControl=function(e,t){var n=e.$name;s[n]===e&&delete s[n],s[t]=e,e.$name=t},s.$removeControl=function(e){e.$name&&s[e.$name]===e&&delete s[e.$name],o(s.$pending,function(t,n){s.$setValidity(n,null,e)}),o(s.$error,function(t,n){s.$setValidity(n,null,e)}),o(s.$$success,function(t,n){s.$setValidity(n,null,e)}),U(u,e),e.$$parentForm=Oo;
4
+ },Cr({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(U(r,n),0===r.length&&delete e[t])},$animate:i}),s.$setDirty=function(){i.removeClass(e,ma),i.addClass(e,$a),s.$dirty=!0,s.$pristine=!1,s.$$parentForm.$setDirty()},s.$setPristine=function(){i.setClass(e,ma,$a+" "+No),s.$dirty=!1,s.$pristine=!0,s.$submitted=!1,o(u,function(e){e.$setPristine()})},s.$setUntouched=function(){o(u,function(e){e.$setUntouched()})},s.$setSubmitted=function(){i.addClass(e,No),s.$submitted=!0,s.$$parentForm.$setSubmitted()}}function cr(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function fr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r)}function dr(e,t,n,r,i,o){var a=Tr(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,l()})}var u,l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Xr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),Yo[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(Wo,function(e){if(!u){var t=this[Er],n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function pr(e,t){if(k(e))return e;if(S(e)){zo.lastIndex=0;var n=zo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Jn(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}function hr(e,t){return function(n,r){var i,a;if(k(n))return n;if(S(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Io.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(i,function(e,n){n<t.length&&(a[t[n]]=+e)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return NaN}}function gr(e,t,r,i){return function(o,a,s,u,l,c,f){function d(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function p(e){return b(e)&&!k(e)?r(e)||n:e}mr(o,a,s,u),dr(o,a,s,u,l,c);var h,g=u&&u.$options&&u.$options.timezone;if(u.$$parserName=e,u.$parsers.push(function(e){if(u.$isEmpty(e))return null;if(t.test(e)){var i=r(e,h);return g&&(i=Z(i,g)),i}return n}),u.$formatters.push(function(e){if(e&&!k(e))throw Sa("datefmt","Expected `{0}` to be a date",e);return d(e)?(h=e,h&&g&&(h=Z(h,g,!0)),f("date")(e,i,g)):(h=null,"")}),b(s.min)||s.ngMin){var m;u.$validators.min=function(e){return!d(e)||y(m)||r(e)>=m},s.$observe("min",function(e){m=p(e),u.$validate()})}if(b(s.max)||s.ngMax){var $;u.$validators.max=function(e){return!d(e)||y($)||r(e)<=$},s.$observe("max",function(e){$=p(e),u.$validate()})}}}function mr(e,t,r,i){var o=t[0],a=i.$$hasNativeValidators=w(o.validity);a&&i.$parsers.push(function(e){var r=t.prop(Er)||{};return r.badInput||r.typeMismatch?n:e})}function $r(e,t,r,i,o,a){if(mr(e,t,r,i),dr(e,t,r,i,o,a),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:Uo.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!C(e))throw Sa("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),b(r.min)||r.ngMin){var s;i.$validators.min=function(e){return i.$isEmpty(e)||y(s)||e>=s},r.$observe("min",function(e){b(e)&&!C(e)&&(e=parseFloat(e,10)),s=C(e)&&!isNaN(e)?e:n,i.$validate()})}if(b(r.max)||r.ngMax){var u;i.$validators.max=function(e){return i.$isEmpty(e)||y(u)||u>=e},r.$observe("max",function(e){b(e)&&!C(e)&&(e=parseFloat(e,10)),u=C(e)&&!isNaN(e)?e:n,i.$validate()})}}function vr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Vo.test(n)}}function yr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Ro.test(n)}}function br(e,t,n,r){y(n.name)&&t.attr("name",u());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function wr(e,t,n,r,i){var o;if(b(r)){if(o=e(r),!o.constant)throw Sa("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function xr(e,t,n,r,i,o,a,s){var u=wr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=wr(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return z(e,u)}),r.$parsers.push(function(e){return e?u:l})}function Sr(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i==t[o])continue e;n.push(i)}return n}function i(e){var t=[];return Wr(e)?(o(e,function(e){t=t.concat(i(e))}),t):S(e)?e.split(" "):w(e)?(o(e,function(e,n){e&&(t=t.concat(n.split(" ")))}),t):e}return{restrict:"AC",link:function(a,s,u){function l(e){var t=f(e,1);u.$addClass(t)}function c(e){var t=f(e,-1);u.$removeClass(t)}function f(e,t){var n=s.data("$classCounts")||$e(),r=[];return o(e,function(e){(t>0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function d(e,t){var i=r(t,e),o=r(e,t);i=f(i,1),o=f(o,-1),i&&i.length&&n.addClass(s,i),o&&o.length&&n.removeClass(s,o)}function p(e){if(t===!0||a.$index%2===t){var n=i(e||[]);if(h){if(!z(e,h)){var r=i(h);d(r,n)}}else l(n)}h=H(e)}var h;a.$watch(u[e],p,!0),u.$observe("class",function(){p(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var s=i(a.$eval(u[e]));o===t?l(s):c(s)}})}}}]}function Cr(e){function t(e,t,u){y(t)?r("$pending",e,u):i("$pending",e,u),N(t)?t?(f(s.$error,e,u),c(s.$$success,e,u)):(c(s.$error,e,u),f(s.$$success,e,u)):(f(s.$error,e,u),f(s.$$success,e,u)),s.$pending?(o(ba,!0),s.$valid=s.$invalid=n,a("",null)):(o(ba,!1),s.$valid=kr(s.$error),s.$invalid=!s.$valid,a("",s.$valid));var l;l=s.$pending&&s.$pending[e]?n:s.$error[e]?!1:s.$$success[e]?!0:null,a(e,l),s.$$parentForm.$setValidity(e,l,s)}function r(e,t,n){s[e]||(s[e]={}),c(s[e],t,n)}function i(e,t,r){s[e]&&f(s[e],t,r),kr(s[e])&&(s[e]=n)}function o(e,t){t&&!l[e]?(d.addClass(u,e),l[e]=!0):!t&&l[e]&&(d.removeClass(u,e),l[e]=!1)}function a(e,t){e=e?"-"+ce(e,"-"):"",o(ha+e,t===!0),o(ga+e,t===!1)}var s=e.ctrl,u=e.$element,l={},c=e.set,f=e.unset,d=e.$animate;l[ga]=!(l[ha]=u.hasClass(ha)),s.$setValidity=t}function kr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function _r(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Ar=/^\/(.+)\/([a-z]*)$/,Er="validity",Dr=Object.prototype.hasOwnProperty,Tr=function(e){return S(e)?e.toLowerCase():e},Mr=function(e){return S(e)?e.toUpperCase():e},Or=function(e){return S(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Nr=function(e){return S(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Tr=Or,Mr=Nr);var Fr,Pr,jr,Ir,Vr=[].slice,Rr=[].splice,Ur=[].push,Lr=Object.prototype.toString,Hr=Object.getPrototypeOf,zr=r("ng"),qr=e.angular||(e.angular={}),Br=0;Fr=t.documentMode,g.$inject=[],m.$inject=[];var Wr=Array.isArray,Yr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Xr=function(e){return S(e)?e.trim():e},Gr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Kr=function(){function e(){try{return new Function(""),!1}catch(e){return!0}}if(!b(Kr.rules)){var n=t.querySelector("[ng-csp]")||t.querySelector("[data-ng-csp]");if(n){var r=n.getAttribute("ng-csp")||n.getAttribute("data-ng-csp");Kr.rules={noUnsafeEval:!r||-1!==r.indexOf("no-unsafe-eval"),noInlineStyle:!r||-1!==r.indexOf("no-inline-style")}}else Kr.rules={noUnsafeEval:e(),noInlineStyle:!1}}return Kr.rules},Jr=function(){if(b(Jr.name_))return Jr.name_;var e,n,r,i,o=Qr.length;for(n=0;o>n;++n)if(r=Qr[n],e=t.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return Jr.name_=i},Zr=/:/g,Qr=["ng-","data-ng-","ng:","x-ng-"],ei=/[A-Z]/g,ti=!1,ni=1,ri=2,ii=3,oi=8,ai=9,si=11,ui={full:"1.5.3",major:1,minor:5,dot:3,codeName:"diplohaplontic-meiosis"};Me.expando="ng339";var li=Me.cache={},ci=1,fi=function(e,t,n){e.addEventListener(t,n,!1)},di=function(e,t,n){e.removeEventListener(t,n,!1)};Me._data=function(e){return this.cache[e[this.expando]]||{}};var pi=/([\:\-\_]+(.))/g,hi=/^moz([A-Z])/,gi={mouseleave:"mouseout",mouseenter:"mouseover"},mi=r("jqLite"),$i=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,vi=/<|&#?\w+;/,yi=/<([\w:-]+)/,bi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wi={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};wi.optgroup=wi.option,wi.tbody=wi.tfoot=wi.colgroup=wi.caption=wi.thead,wi.th=wi.td;var xi=Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},Si=Me.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),Me(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Pr(e>=0?this[e]:this[this.length+e])},length:0,push:Ur,sort:[].sort,splice:[].splice},Ci={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ci[Tr(e)]=e});var ki={};o("input,select,option,textarea,button,form,details".split(","),function(e){ki[e]=!0});var _i={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:Ie,removeData:Pe,hasData:_e,cleanData:Ae},function(e,t){Me[t]=e}),o({data:Ie,inheritedData:ze,scope:function(e){return Pr.data(e,"$scope")||ze(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Pr.data(e,"$isolateScope")||Pr.data(e,"$isolateScopeNoTemplate")},controller:He,injector:function(e){return ze(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Ve,css:function(e,t,n){return t=Se(t),b(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,r){var i=e.nodeType;if(i!==ii&&i!==ri&&i!==oi){var o=Tr(t);if(Ci[o]){if(!b(r))return e[t]||(e.attributes.getNamedItem(t)||g).specified?o:n;r?(e[t]=!0,e.setAttribute(t,o)):(e[t]=!1,e.removeAttribute(o))}else if(b(r))e.setAttribute(t,r);else if(e.getAttribute){var a=e.getAttribute(t,2);return null===a?n:a}}},prop:function(e,t,n){return b(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(y(t)){var n=e.nodeType;return n===ni||n===ii?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(y(t)){if(e.multiple&&"select"===R(e)){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return y(t)?e.innerHTML:(Ne(e,!0),void(e.innerHTML=t))},empty:qe},function(e,t){Me.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==qe&&y(2==e.length&&e!==Ve&&e!==He?t:n)){if(w(t)){for(r=0;o>r;r++)if(e===Ie)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=y(a)?Math.min(o,1):o,u=0;s>u;u++){var l=e(this[u],t,n);a=a?a+l:l}return a}for(r=0;o>r;r++)e(this[r],t,n);return this}}),o({removeData:Pe,on:function(e,t,r,i){if(b(i))throw mi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ke(e)){var o=je(e,!0),a=o.events,s=o.handle;s||(s=o.handle=Ge(e,a));for(var u=t.indexOf(" ")>=0?t.split(" "):[t],l=u.length,c=function(t,n,i){var o=a[t];o||(o=a[t]=[],o.specialHandlerWrapper=n,"$destroy"===t||i||fi(e,t,s)),o.push(r)};l--;)t=u[l],gi[t]?(c(gi[t],Je),c(t,n,!0)):c(t)}},off:Fe,one:function(e,t,n){e=Pr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;Ne(e),o(new Me(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){e.nodeType===ni&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===ni||n===si){t=new Me(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===ni){var n=e.firstChild;o(new Me(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){Te(e,Pr(t).eq(0).clone()[0])},remove:Be,detach:function(e){Be(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new Me(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Ue,removeClass:Re,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;y(r)&&(r=!Ve(e,t)),(r?Ue:Re)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==si?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Oe,triggerHandler:function(e,t,n){var r,i,a,s=t.type||t,u=je(e),l=u&&u.events,c=l&&l[s];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:g,type:s,target:e},t.type&&(r=f(r,t)),i=H(c),a=n?[r].concat(n):[r],o(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Me.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)y(i)?(i=e(this[o],t,n,r),b(i)&&(i=Pr(i))):Le(i,e(this[o],t,n,r));return b(i)?i:this},Me.prototype.bind=Me.prototype.on,Me.prototype.unbind=Me.prototype.off}),et.prototype={put:function(e,t){this[Qe(e,this.nextUid)]=t},get:function(e){return this[Qe(e,this.nextUid)]},remove:function(e){var t=this[e=Qe(e,this.nextUid)];return delete this[e],t}};var Ai=[function(){this.$get=[function(){return et}]}],Ei=/^([^\(]+?)=>/,Di=/^[^\(]*\(\s*([^\)]*)\)/m,Ti=/,/,Mi=/^\s*(_?)(\S+?)\1\s*$/,Oi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Ni=r("$injector");it.$$annotate=rt;var Fi=r("$animate"),Pi=1,ji="ng-animate",Ii=function(){this.$get=g},Vi=function(){var e=new et,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=S(t)?t.split(" "):Wr(t)?t:[],o(t,function(t){t&&(r=!0,e[t]=n)})),r}function a(){o(t,function(t){var n=e.get(t);if(n){var r=ut(t.attr("class")),i="",a="";o(n,function(e,t){var n=!!r[t];e!==n&&(e?i+=(i.length?" ":"")+t:a+=(a.length?" ":"")+t)}),o(t,function(e){i&&Ue(e,i),a&&Re(e,a)}),e.remove(t)}}),t.length=0}function s(n,o,s){var u=e.get(n)||{},l=i(u,o,!0),c=i(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&r.$$postDigest(a))}return{enabled:g,on:g,off:g,pin:g,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},Ri=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Fi("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){var t=new RegExp("(\\s+|\\/)"+ji+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Fi("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',ji)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=st(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Pr(r),i=i&&Pr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",lt(o))},move:function(n,r,i,o){return r=r&&Pr(r),i=i&&Pr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",lt(o))},leave:function(t,n){return e.push(t,"leave",lt(n),function(){t.remove()})},addClass:function(t,n,r){return r=lt(r),r.addClass=at(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=lt(r),r.removeClass=at(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=lt(i),i.addClass=at(i.addClass,n),i.removeClass=at(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=lt(o),o.from=o.from?f(o.from,n):n,o.to=o.to?f(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=at(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ui=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}var n=[];return function(){var e=!1;return t(function(){e=!0}),function(n){e?n():t(n)}}}]},Li=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$document","$timeout",function(e,t,n,r,i){function a(e){this.setHost(e);var t=n(),o=function(e){i(e,0,!1)};this._doneCallbacks=[],this._tick=function(e){var n=r[0];n&&n.hidden?o(e):t(e)},this._state=0}var s=0,u=1,l=2;return a.chain=function(e,t){function n(){return r===e.length?void t(!0):void e[r](function(e){return e===!1?void t(!1):(r++,void n())})}var r=0;n()},a.all=function(e,t){function n(n){i=i&&n,++r===e.length&&t(i)}var r=0,i=!0;o(e,function(e){e.done(n)})},a.prototype={setHost:function(e){this.host=e||{}},done:function(e){this._state===l?e():this._doneCallbacks.push(e)},progress:g,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){t===!1?n():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},"catch":function(e){return this.getPromise()["catch"](e)},"finally":function(e){return this.getPromise()["finally"](e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;t._state===s&&(t._state=u,t._tick(function(){t._resolve(e)}))},_resolve:function(e){this._state!==l&&(o(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=l)}},a}]},Hi=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){function i(){return e(function(){o(),s||u.complete(),s=!0}),u}function o(){a.addClass&&(t.addClass(a.addClass),a.addClass=null),a.removeClass&&(t.removeClass(a.removeClass),a.removeClass=null),a.to&&(t.css(a.to),a.to=null)}var a=r||{};a.$$prepared||(a=L(a)),a.cleanupStyles&&(a.from=a.to=null),a.from&&(t.css(a.from),a.from=null);var s,u=new n;return{start:i,end:i}}}]},zi=r("$compile");ht.$inject=["$provide","$$sanitizeUriProvider"];var qi=/^((?:x|data)[\:\-_])/i,Bi=r("$controller"),Wi=/^(\S+)(\s+as\s+([\w$]+))?$/,Yi=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof Pr&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},Xi="application/json",Gi={"Content-Type":Xi+";charset=utf-8"},Ki=/^\[|^\{(?!\{)/,Ji={"[":/]$/,"{":/}$/},Zi=/^\)\]\}',?\n/,Qi=r("$http"),eo=function(e){return function(){throw Qi("legacy","The method `{0}` on the promise returned from `$http` has been disabled.",e)}},to=qr.$interpolateMinErr=r("$interpolate");to.throwNoconcat=function(e){throw to("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",e)},to.interr=function(e,t){return to("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var no=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,ro={http:80,https:443,ftp:21},io=r("$location"),oo={$$html5:!1,$$replace:!1,absUrl:Xt("$$absUrl"),url:function(e){if(y(e))return this.$$url;var t=no.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Xt("$$protocol"),host:Xt("$$host"),port:Xt("$$port"),path:Gt("$$path",function(e){return e=null!==e?e.toString():"","/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(S(e)||C(e))e=e.toString(),this.$$search=te(e);else{if(!w(e))throw io("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=L(e,{}),o(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:y(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:Gt("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};o([Yt,Wt,Bt],function(e){e.prototype=Object.create(oo),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==Bt||!this.$$html5)throw io("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=y(t)?null:t,this}});var ao=r("$parse"),so=Function.prototype.call,uo=Function.prototype.apply,lo=Function.prototype.bind,co=$e();o("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){co[e]=!0});var fo={n:"\n",f:"\f",r:"\r",t:" ",v:"\x0B","'":"'",'"':'"'},po=function(e){this.options=e};po.prototype={constructor:po,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(t))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=co[t],o=co[n],a=co[r];if(i||o||a){var s=a?r:o?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(e){return e>="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||"\x0B"===e||"\xa0"===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=b(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw ao("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=Tr(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){for(var e=this.index;this.index<this.text.length;){var t=this.text.charAt(this.index);if(!this.isIdent(t)&&!this.isNumber(t))break;this.index++}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{var s=fo[o];n+=s||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var ho=function(e,t){this.lexer=e,this.options=t};ho.Program="Program",ho.ExpressionStatement="ExpressionStatement",ho.AssignmentExpression="AssignmentExpression",ho.ConditionalExpression="ConditionalExpression",ho.LogicalExpression="LogicalExpression",ho.BinaryExpression="BinaryExpression",ho.UnaryExpression="UnaryExpression",ho.CallExpression="CallExpression",ho.MemberExpression="MemberExpression",ho.Identifier="Identifier",ho.Literal="Literal",ho.ArrayExpression="ArrayExpression",ho.Property="Property",ho.ObjectExpression="ObjectExpression",ho.ThisExpression="ThisExpression",ho.LocalsExpression="LocalsExpression",ho.NGValueParameter="NGValueParameter",ho.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:ho.Program,body:e}},expressionStatement:function(){return{type:ho.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:ho.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:ho.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:ho.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:ho.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:ho.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:ho.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:ho.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:ho.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:ho.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=L(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:ho.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:ho.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:ho.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:ho.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:ho.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:ho.Identifier,name:e.text}},constant:function(){return{type:ho.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:ho.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:ho.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:ho.ObjectExpression,properties:t}},throwError:function(e,t){throw ao("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw ao("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw ao("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},selfReferential:{"this":{type:ho.ThisExpression},$locals:{type:ho.LocalsExpression}}},pn.prototype={compile:function(e,t){var r=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},sn(i,r.$filter);var a,s="";if(this.stage="assign",a=cn(i)){this.state.computing="assign";var u=this.nextId();this.recurse(a,u),this.return_(u),s="fn.assign="+this.generateFunction("assign","s,v,l")}var l=un(i.body);r.stage="inputs",o(l,function(e,t){var n="fn"+t;r.state[n]={vars:[],body:[],own:{}},r.state.computing=n;var i=r.nextId();r.recurse(e,i),r.return_(i),r.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var c='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+s+this.watchFns()+"return fn;",f=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",c)(this.$filter,Zt,en,tn,Qt,nn,rn,on,e);return this.state=this.stage=n,f.literal=fn(i),f.constant=dn(i),f},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return o(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return o(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,r,i,a,s){var u,l,c,f,d=this;if(i=i||g,!s&&b(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,r,i,a,!0));switch(e.type){case ho.Program:o(e.body,function(t,r){d.recurse(t.expression,n,n,function(e){l=e}),r!==e.body.length-1?d.current().body.push(l,";"):d.return_(l)});break;case ho.Literal:f=this.escape(e.value),this.assign(t,f),i(f);break;case ho.UnaryExpression:this.recurse(e.argument,n,n,function(e){l=e}),f=e.operator+"("+this.ifDefined(l,0)+")",this.assign(t,f),i(f);break;case ho.BinaryExpression:this.recurse(e.left,n,n,function(e){u=e}),this.recurse(e.right,n,n,function(e){l=e}),f="+"===e.operator?this.plus(u,l):"-"===e.operator?this.ifDefined(u,0)+e.operator+this.ifDefined(l,0):"("+u+")"+e.operator+"("+l+")",
5
+ this.assign(t,f),i(f);break;case ho.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),i(t);break;case ho.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),i(t);break;case ho.Identifier:t=t||this.nextId(),r&&(r.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),r.computed=!1,r.name=e.name),Zt(e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){a&&1!==a&&d.if_(d.not(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),(d.state.expensiveChecks||gn(e.name))&&d.addEnsureSafeObject(t),i(t);break;case ho.MemberExpression:u=r&&(r.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,u,n,function(){d.if_(d.notNull(u),function(){a&&1!==a&&d.addEnsureSafeAssignContext(u),e.computed?(l=d.nextId(),d.recurse(e.property,l),d.getStringValue(l),d.addEnsureSafeMemberName(l),a&&1!==a&&d.if_(d.not(d.computedMember(u,l)),d.lazyAssign(d.computedMember(u,l),"{}")),f=d.ensureSafeObject(d.computedMember(u,l)),d.assign(t,f),r&&(r.computed=!0,r.name=l)):(Zt(e.property.name),a&&1!==a&&d.if_(d.not(d.nonComputedMember(u,e.property.name)),d.lazyAssign(d.nonComputedMember(u,e.property.name),"{}")),f=d.nonComputedMember(u,e.property.name),(d.state.expensiveChecks||gn(e.property.name))&&(f=d.ensureSafeObject(f)),d.assign(t,f),r&&(r.computed=!1,r.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!a);break;case ho.CallExpression:t=t||this.nextId(),e.filter?(l=d.filter(e.callee.name),c=[],o(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),c.push(t)}),f=l+"("+c.join(",")+")",d.assign(t,f),i(t)):(l=d.nextId(),u={},c=[],d.recurse(e.callee,l,u,function(){d.if_(d.notNull(l),function(){d.addEnsureSafeFunction(l),o(e.arguments,function(e){d.recurse(e,d.nextId(),n,function(e){c.push(d.ensureSafeObject(e))})}),u.name?(d.state.expensiveChecks||d.addEnsureSafeObject(u.context),f=d.member(u.context,u.name,u.computed)+"("+c.join(",")+")"):f=l+"("+c.join(",")+")",f=d.ensureSafeObject(f),d.assign(t,f)},function(){d.assign(t,"undefined")}),i(t)}));break;case ho.AssignmentExpression:if(l=this.nextId(),u={},!ln(e.left))throw ao("lval","Trying to assign a value to a non l-value");this.recurse(e.left,n,u,function(){d.if_(d.notNull(u.context),function(){d.recurse(e.right,l),d.addEnsureSafeObject(d.member(u.context,u.name,u.computed)),d.addEnsureSafeAssignContext(u.context),f=d.member(u.context,u.name,u.computed)+e.operator+l,d.assign(t,f),i(t||f)})},1);break;case ho.ArrayExpression:c=[],o(e.elements,function(e){d.recurse(e,d.nextId(),n,function(e){c.push(e)})}),f="["+c.join(",")+"]",this.assign(t,f),i(f);break;case ho.ObjectExpression:c=[],o(e.properties,function(e){d.recurse(e.value,d.nextId(),n,function(t){c.push(d.escape(e.key.type===ho.Identifier?e.key.name:""+e.key.value)+":"+t)})}),f="{"+c.join(",")+"}",this.assign(t,f),i(f);break;case ho.ThisExpression:this.assign(t,"s"),i("s");break;case ho.LocalsExpression:this.assign(t,"l"),i("l");break;case ho.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return e+"."+t},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(S(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(C(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw ao("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},hn.prototype={compile:function(e,t){var n=this,r=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,sn(r,n.$filter);var i,a;(i=cn(r))&&(a=this.recurse(i));var s,u=un(r.body);u&&(s=[],o(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];o(r.body,function(e){l.push(n.recurse(e.expression))});var c=0===r.body.length?g:1===r.body.length?l[0]:function(e,t){var n;return o(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=fn(r),c.constant=dn(r),c},recurse:function(e,t,r){var i,a,s,u=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case ho.Literal:return this.value(e.value,t);case ho.UnaryExpression:return a=this.recurse(e.argument),this["unary"+e.operator](a,t);case ho.BinaryExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case ho.LogicalExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case ho.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case ho.Identifier:return Zt(e.name,u.expression),u.identifier(e.name,u.expensiveChecks||gn(e.name),t,r,u.expression);case ho.MemberExpression:return i=this.recurse(e.object,!1,!!r),e.computed||(Zt(e.property.name,u.expression),a=e.property.name),e.computed&&(a=this.recurse(e.property)),e.computed?this.computedMember(i,a,t,r,u.expression):this.nonComputedMember(i,a,u.expensiveChecks,t,r,u.expression);case ho.CallExpression:return s=[],o(e.arguments,function(e){s.push(u.recurse(e))}),e.filter&&(a=this.$filter(e.callee.name)),e.filter||(a=this.recurse(e.callee,!0)),e.filter?function(e,r,i,o){for(var u=[],l=0;l<s.length;++l)u.push(s[l](e,r,i,o));var c=a.apply(n,u,o);return t?{context:n,name:n,value:c}:c}:function(e,n,r,i){var o,l=a(e,n,r,i);if(null!=l.value){en(l.context,u.expression),tn(l.value,u.expression);for(var c=[],f=0;f<s.length;++f)c.push(en(s[f](e,n,r,i),u.expression));o=en(l.value.apply(l.context,c),u.expression)}return t?{value:o}:o};case ho.AssignmentExpression:return i=this.recurse(e.left,!0,1),a=this.recurse(e.right),function(e,n,r,o){var s=i(e,n,r,o),l=a(e,n,r,o);return en(s.value,u.expression),nn(s.context),s.context[s.name]=l,t?{value:l}:l};case ho.ArrayExpression:return s=[],o(e.elements,function(e){s.push(u.recurse(e))}),function(e,n,r,i){for(var o=[],a=0;a<s.length;++a)o.push(s[a](e,n,r,i));return t?{value:o}:o};case ho.ObjectExpression:return s=[],o(e.properties,function(e){s.push({key:e.key.type===ho.Identifier?e.key.name:""+e.key.value,value:u.recurse(e.value)})}),function(e,n,r,i){for(var o={},a=0;a<s.length;++a)o[s[a].key]=s[a].value(e,n,r,i);return t?{value:o}:o};case ho.ThisExpression:return function(e){return t?{value:e}:e};case ho.LocalsExpression:return function(e,n){return t?{value:n}:n};case ho.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=b(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=b(a)?-a:0,t?{value:a}:a}},"unary!":function(e,t){return function(n,r,i,o){var a=!e(n,r,i,o);return t?{value:a}:a}},"binary+":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),l=on(s,u);return n?{value:l}:l}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),l=(b(s)?s:0)-(b(u)?u:0);return n?{value:l}:l}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:n,name:n,value:e}:e}},identifier:function(e,t,r,i,o){return function(a,s){var u=s&&e in s?s:a;i&&1!==i&&u&&!u[e]&&(u[e]={});var l=u?u[e]:n;return t&&en(l,o),r?{context:u,name:e,value:l}:l}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=Qt(l),Zt(l,i),r&&1!==r&&(nn(f),f&&!f[l]&&(f[l]={})),c=f[l],en(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,r,i,o,a){return function(s,u,l,c){var f=e(s,u,l,c);o&&1!==o&&(nn(f),f&&!f[t]&&(f[t]={}));var d=null!=f?f[t]:n;return(r||gn(t))&&en(d,a),i?{context:f,name:t,value:d}:d}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var go=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new ho(e,n),this.astCompiler=n.csp?new hn(this.ast,t):new pn(this.ast,t)};go.prototype={constructor:go,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var mo=Object.prototype.valueOf,$o=r("$sce"),vo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},yo=r("$compile"),bo=t.createElement("a"),wo=On(e.location.href);Pn.$inject=["$document"],In.$inject=["$provide"];var xo=22,So=".",Co="0";Hn.$inject=["$locale"],zn.$inject=["$locale"];var ko={yyyy:Xn("FullYear",4,0,!1,!0),yy:Xn("FullYear",2,0,!0,!0),y:Xn("FullYear",1,0,!1,!0),MMMM:Gn("Month"),MMM:Gn("Month",!0),MM:Xn("Month",2,1),M:Xn("Month",1,1),LLLL:Gn("Month",!1,!0),dd:Xn("Date",2),d:Xn("Date",1),HH:Xn("Hours",2),H:Xn("Hours",1),hh:Xn("Hours",2,-12),h:Xn("Hours",1,-12),mm:Xn("Minutes",2),m:Xn("Minutes",1),ss:Xn("Seconds",2),s:Xn("Seconds",1),sss:Xn("Milliseconds",3),EEEE:Gn("Day"),EEE:Gn("Day",!0),a:er,Z:Kn,ww:Qn(2),w:Qn(1),G:tr,GG:tr,GGG:tr,GGGG:nr},_o=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Ao=/^\-?\d+$/;rr.$inject=["$locale"];var Eo=$(Tr),Do=$(Mr);ar.$inject=["$parse"];var To=$({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Lr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Mo={};o(Ci,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=gt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Mo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(_i,function(e,t){Mo[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Ar);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),o(["src","srcset","href"],function(e){var t=gt("ng-"+e);Mo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Lr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),void(Fr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Oo={$addControl:g,$$renameControl:ur,$removeControl:g,$setValidity:g,$setDirty:g,$setPristine:g,$setSubmitted:g},No="ng-submitted";lr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Fo=function(e){return["$timeout","$parse",function(t,r){function i(e){return""===e?r('this[""]').assign:r(e).assign||g}var o={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:lr,compile:function(r,o){r.addClass(ma).addClass(ha);var a=o.name?"name":e&&o.ngForm?"ngForm":!1;return{pre:function(e,r,o,s){var u=s[0];if(!("action"in o)){var l=function(t){e.$apply(function(){u.$commitViewValue(),u.$setSubmitted()}),t.preventDefault()};fi(r[0],"submit",l),r.on("$destroy",function(){t(function(){di(r[0],"submit",l)},0,!1)})}var c=s[1]||u.$$parentForm;c.$addControl(u);var d=a?i(u.$name):g;a&&(d(e,u),o.$observe(a,function(t){u.$name!==t&&(d(e,n),u.$$parentForm.$$renameControl(u,t),(d=i(u.$name))(e,u))})),r.on("$destroy",function(){u.$$parentForm.$removeControl(u),d(e,n),f(u,Oo)})}}}};return o}]},Po=Fo(),jo=Fo(!0),Io=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Vo=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Ro=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Uo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Lo=/^(\d{4,})-(\d{2})-(\d{2})$/,Ho=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,zo=/^(\d{4,})-W(\d\d)$/,qo=/^(\d{4,})-(\d\d)$/,Bo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Wo="keydown wheel mousedown",Yo=$e();o("date,datetime-local,month,time,week".split(","),function(e){Yo[e]=!0});var Xo={text:fr,date:gr("date",Lo,hr(Lo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":gr("datetimelocal",Ho,hr(Ho,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:gr("time",Bo,hr(Bo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:gr("week",zo,pr,"yyyy-Www"),month:gr("month",qo,hr(qo,["yyyy","MM"]),"yyyy-MM"),number:$r,url:vr,email:yr,radio:br,checkbox:xr,hidden:g,button:g,submit:g,reset:g,file:g},Go=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Xo[Tr(a.type)]||Xo.text)(i,o,a,s[0],t,e,n,r)}}}}],Ko=/^(true|false|\d+)$/,Jo=function(){return{restrict:"A",priority:100,compile:function(e,t){return Ko.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Zo=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=y(e)?"":e})}}}}],Qo=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=y(e)?"":e})}}}}],ea=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],ta=$({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),na=Sr("",!0),ra=Sr("Odd",0),ia=Sr("Even",1),oa=sr({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),aa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],sa={},ua={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=gt("ng-"+e);sa[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};ua[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var la=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=me(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],ca=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:qr.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,d,p,h=0,g=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).then(function(){d=null}),d=p,p=null)};r.$watch(o,function(o){var u=function(){!b(s)||s&&!r.$eval(s)||t()},d=++h;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===h){var t=r.$new();l.template=e;var s=c(t,function(e){g(),n.enter(e,null,i).then(u)});f=t,p=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===h&&(g(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(g(),l.template=null)})}}}}],fa=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Lr.call(r[0]).match(/SVG/)?(r.empty(),void e(Ee(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],da=sr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),pa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,r,i){var a=t.attr(r.$attr.ngList)||", ",s="false"!==r.ngTrim,u=s?Xr(a):a,l=function(e){if(!y(e)){var t=[];return e&&o(e.split(u),function(e){e&&t.push(s?Xr(e):e)}),t}};i.$parsers.push(l),i.$formatters.push(function(e){return Wr(e)?e.join(a):n}),i.$isEmpty=function(e){return!e||!e.length}}}},ha="ng-valid",ga="ng-invalid",ma="ng-pristine",$a="ng-dirty",va="ng-untouched",ya="ng-touched",ba="ng-pending",wa="ng-empty",xa="ng-not-empty",Sa=r("ngModel"),Ca=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,r,i,a,s,u,l,c,f){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=n,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=n,this.$name=f(r.name||"",!1)(e),this.$$parentForm=Oo;var d,p=a(r.ngModel),h=p.assign,m=p,$=h,v=null,w=this;this.$$setOptions=function(e){if(w.$options=e,e&&e.getterSetter){var t=a(r.ngModel+"()"),n=a(r.ngModel+"($$$p)");m=function(e){var n=p(e);return _(n)&&(n=t(e)),n},$=function(e,t){_(p(e))?n(e,{$$$p:t}):h(e,t)}}else if(!p.assign)throw Sa("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,Q(i))},this.$render=g,this.$isEmpty=function(e){return y(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){w.$isEmpty(e)?(s.removeClass(i,xa),s.addClass(i,wa)):(s.removeClass(i,wa),s.addClass(i,xa))};var x=0;Cr({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:s}),this.$setPristine=function(){w.$dirty=!1,w.$pristine=!0,s.removeClass(i,$a),s.addClass(i,ma)},this.$setDirty=function(){w.$dirty=!0,w.$pristine=!1,s.removeClass(i,ma),s.addClass(i,$a),w.$$parentForm.$setDirty()},this.$setUntouched=function(){w.$touched=!1,w.$untouched=!0,s.setClass(i,va,ya)},this.$setTouched=function(){w.$touched=!0,w.$untouched=!1,s.setClass(i,ya,va)},this.$rollbackViewValue=function(){u.cancel(v),w.$viewValue=w.$$lastCommittedViewValue,w.$render()},this.$validate=function(){if(!C(w.$modelValue)||!isNaN(w.$modelValue)){var e=w.$$lastCommittedViewValue,t=w.$$rawModelValue,r=w.$valid,i=w.$modelValue,o=w.$options&&w.$options.allowInvalid;w.$$runValidators(t,e,function(e){o||r===e||(w.$modelValue=e?t:n,w.$modelValue!==i&&w.$$writeModelToScope())})}},this.$$runValidators=function(e,t,r){function i(){var e=w.$$parserName||"parse";return y(d)?(u(e,null),!0):(d||(o(w.$validators,function(e,t){u(t,null)}),o(w.$asyncValidators,function(e,t){u(t,null)})),u(e,d),d)}function a(){var n=!0;return o(w.$validators,function(r,i){var o=r(e,t);n=n&&o,u(i,o)}),n?!0:(o(w.$asyncValidators,function(e,t){u(t,null)}),!1)}function s(){var r=[],i=!0;o(w.$asyncValidators,function(o,a){var s=o(e,t);if(!F(s))throw Sa("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);u(a,n),r.push(s.then(function(){u(a,!0)},function(){i=!1,u(a,!1)}))}),r.length?c.all(r).then(function(){l(i)},g):l(!0)}function u(e,t){f===x&&w.$setValidity(e,t)}function l(e){f===x&&r(e)}x++;var f=x;return i()&&a()?void s():void l(!1)},this.$commitViewValue=function(){var e=w.$viewValue;u.cancel(v),(w.$$lastCommittedViewValue!==e||""===e&&w.$$hasNativeValidators)&&(w.$$updateEmptyClasses(e),w.$$lastCommittedViewValue=e,w.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){w.$modelValue!==a&&w.$$writeModelToScope()}var r=w.$$lastCommittedViewValue,i=r;if(d=y(i)?n:!0)for(var o=0;o<w.$parsers.length;o++)if(i=w.$parsers[o](i),y(i)){d=!1;break}C(w.$modelValue)&&isNaN(w.$modelValue)&&(w.$modelValue=m(e));var a=w.$modelValue,s=w.$options&&w.$options.allowInvalid;w.$$rawModelValue=i,s&&(w.$modelValue=i,t()),w.$$runValidators(i,w.$$lastCommittedViewValue,function(e){s||(w.$modelValue=e?i:n,t())})},this.$$writeModelToScope=function(){$(e,w.$modelValue),o(w.$viewChangeListeners,function(e){try{e()}catch(n){t(n)}})},this.$setViewValue=function(e,t){w.$viewValue=e,w.$options&&!w.$options.updateOnDefault||w.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(t){var n,r=0,i=w.$options;i&&b(i.debounce)&&(n=i.debounce,C(n)?r=n:C(n[t])?r=n[t]:C(n["default"])&&(r=n["default"])),u.cancel(v),r?v=u(function(){w.$commitViewValue()},r):l.$$phase?w.$commitViewValue():e.$apply(function(){w.$commitViewValue()})},e.$watch(function(){var t=m(e);if(t!==w.$modelValue&&(w.$modelValue===w.$modelValue||t===t)){w.$modelValue=w.$$rawModelValue=t,d=n;for(var r=w.$formatters,i=r.length,o=t;i--;)o=r[i](o);w.$viewValue!==o&&(w.$$updateEmptyClasses(o),w.$viewValue=w.$$lastCommittedViewValue=o,w.$render(),w.$$runValidators(t,o,g))}return t})}],ka=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Ca,priority:1,compile:function(t){return t.addClass(ma).addClass(va).addClass(ha),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm;i.$$setOptions(r[2]&&r[2].$options),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){var o=i[0];o.$options&&o.$options.updateOn&&n.on(o.$options.updateOn,function(e){o.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){o.$touched||(e.$$phase?t.$evalAsync(o.$setTouched):t.$apply(o.$setTouched))})}}}}}],_a=/(\s+|^)default(\s+|$)/,Aa=function(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var n=this;this.$options=L(e.$eval(t.ngModelOptions)),b(this.$options.updateOn)?(this.$options.updateOnDefault=!1,this.$options.updateOn=Xr(this.$options.updateOn.replace(_a,function(){return n.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}},Ea=sr({terminal:!0,priority:1e3}),Da=r("ngOptions"),Ta=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,Ma=["$compile","$parse",function(e,n){function r(e,t,r){function o(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!l&&i(e))t=e;else{t=[];for(var n in e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n)}return t}var s=e.match(Ta);if(!s)throw Da("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,Q(t));var u=s[5]||s[7],l=s[6],c=/ as /.test(s[0])&&s[1],f=s[9],d=n(s[2]?s[1]:u),p=c&&n(c),h=p||d,g=f&&n(f),m=f?function(e,t){return g(r,t)}:function(e){return Qe(e)},$=function(e,t){return m(e,S(e,t))},v=n(s[2]||s[1]),y=n(s[3]||""),b=n(s[4]||""),w=n(s[8]),x={},S=l?function(e,t){return x[l]=t,x[u]=e,x}:function(e){return x[u]=e,x};return{trackBy:f,getTrackByValue:$,getWatchables:n(w,function(e){var t=[];e=e||[];for(var n=a(e),i=n.length,o=0;i>o;o++){var u=e===n?o:n[o],l=e[u],c=S(l,u),f=m(l,c);if(t.push(f),s[2]||s[1]){var d=v(r,c);t.push(d)}if(s[4]){var p=b(r,c);t.push(p)}}return t}),getOptions:function(){for(var e=[],t={},n=w(r)||[],i=a(n),s=i.length,u=0;s>u;u++){var l=n===i?u:i[u],c=n[l],d=S(c,l),p=h(r,d),g=m(p,d),x=v(r,d),C=y(r,d),k=b(r,d),_=new o(g,p,x,C,k);e.push(_),t[g]=_}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[$(e)]},getViewValueFromOption:function(e){return f?qr.copy(e.viewValue):e.viewValue}}}}}function a(t,n,i,a){function l(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),e.value!==t.value&&(t.value=e.selectValue)}function c(e,t,n,r){var i;return t&&Tr(t.nodeName)===n?i=t:(i=r.cloneNode(!1),t?e.insertBefore(i,t):e.appendChild(i)),i}function f(e){for(var t;e;)t=e.nextSibling,Be(e),e=t}function d(e){var t=h&&h[0],n=S&&S[0];if(t||n)for(;e&&(e===t||e===n||e.nodeType===oi||"option"===R(e)&&""===e.value);)e=e.nextSibling;return e}function p(){var e=C&&g.readValue();C=k.getOptions();var t={},r=n[0].firstChild;if(x&&n.prepend(h),r=d(r),C.items.forEach(function(e){var i,o,a;b(e.group)?(i=t[e.group],i||(o=c(n[0],r,"optgroup",u),r=o.nextSibling,o.label=e.group,i=t[e.group]={groupElement:o,currentOptionElement:o.firstChild}),a=c(i.groupElement,i.currentOptionElement,"option",s),l(e,a),i.currentOptionElement=a.nextSibling):(a=c(n[0],r,"option",s),l(e,a),r=a.nextSibling)}),Object.keys(t).forEach(function(e){f(t[e].currentOptionElement)}),f(r),m.$render(),!m.$isEmpty(e)){var i=g.readValue(),o=k.trackBy||$;(o?z(e,i):e===i)||(m.$setViewValue(i),m.$render())}}for(var h,g=a[0],m=a[1],$=i.multiple,v=0,y=n.children(),w=y.length;w>v;v++)if(""===y[v].value){h=y.eq(v);break}var x=!!h,S=Pr(s.cloneNode(!1));S.val("?");var C,k=r(i.ngOptions,n,t),_=function(){x||n.prepend(h),n.val(""),h.prop("selected",!0),h.attr("selected",!0)},A=function(){x||h.remove()},E=function(){n.prepend(S),n.val("?"),S.prop("selected",!0),S.attr("selected",!0)},D=function(){S.remove()};$?(m.$isEmpty=function(e){return!e||0===e.length},g.writeValue=function(e){C.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=C.getOptionFromViewValue(e);t&&!t.disabled&&(t.element.selected=!0)})},g.readValue=function(){var e=n.val()||[],t=[];return o(e,function(e){var n=C.selectValueMap[e];n&&!n.disabled&&t.push(C.getViewValueFromOption(n))}),t},k.trackBy&&t.$watchCollection(function(){return Wr(m.$viewValue)?m.$viewValue.map(function(e){return k.getTrackByValue(e)}):void 0},function(){m.$render()})):(g.writeValue=function(e){var t=C.getOptionFromViewValue(e);t&&!t.disabled?(n[0].value!==t.selectValue&&(D(),A(),n[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):null===e||x?(D(),_()):(A(),E())},g.readValue=function(){var e=C.selectValueMap[n.val()];return e&&!e.disabled?(A(),D(),C.getViewValueFromOption(e)):null},k.trackBy&&t.$watch(function(){return k.getTrackByValue(m.$viewValue)},function(){m.$render()})),x?(h.remove(),e(h)(t),h.removeClass("ng-scope")):h=Pr(s.cloneNode(!1)),p(),t.$watchCollection(k.getWatchables,p)}var s=t.createElement("option"),u=t.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=g},post:a}}}],Oa=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(e){s.text(e||"")}var c,f=u.count,d=u.$attr.when&&s.attr(u.$attr.when),p=u.offset||0,h=a.$eval(d)||{},m={},$=t.startSymbol(),v=t.endSymbol(),b=$+f+"-"+p+v,w=qr.noop;o(u,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+Tr(n[2]);h[r]=s.attr(u.$attr[t])}}),o(h,function(e,n){m[n]=t(e.replace(r,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in h||(r=e.pluralCat(r-p)),r!==c&&!(i&&C(c)&&isNaN(c))){w();var o=m[r];y(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=g,l()):w=a.$watch(o,l),c=r}})}}}],Na=["$parse","$animate","$compile",function(e,t,a){var s="$$NG_REMOVED",u=r("ngRepeat"),l=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},c=function(e){return e.clone[0]},f=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,d){var p=d.ngRepeat,h=a.$$createComment("end ngRepeat",p),g=p.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!g)throw u("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",p);var m=g[1],$=g[2],v=g[3],y=g[4];if(g=m.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!g)throw u("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var b=g[3]||g[1],w=g[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw u("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);var x,S,C,k,_={$id:Qe};return y?x=e(y):(C=function(e,t){return Qe(t)},k=function(e){return e}),function(e,r,a,d,g){x&&(S=function(t,n,r){return w&&(_[w]=t),_[b]=n,_.$index=r,x(e,_)});var m=$e();e.$watchCollection($,function(a){var d,$,y,x,_,A,E,D,T,M,O,N,F=r[0],P=$e();if(v&&(e[v]=a),i(a))T=a,D=S||C;else{D=S||k,T=[];for(var j in a)Dr.call(a,j)&&"$"!==j.charAt(0)&&T.push(j)}for(x=T.length,O=new Array(x),d=0;x>d;d++)if(_=a===T?d:T[d],A=a[_],E=D(_,A,d),m[E])M=m[E],delete m[E],P[E]=M,O[d]=M;else{if(P[E])throw o(O,function(e){e&&e.scope&&(m[e.id]=e)}),u("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",p,E,A);O[d]={id:E,scope:n,clone:n},P[E]=!0}for(var I in m){if(M=m[I],N=me(M.clone),t.leave(N),N[0].parentNode)for(d=0,$=N.length;$>d;d++)N[d][s]=!0;M.scope.$destroy()}for(d=0;x>d;d++)if(_=a===T?d:T[d],A=a[_],M=O[d],M.scope){
6
+ y=F;do y=y.nextSibling;while(y&&y[s]);c(M)!=y&&t.move(me(M.clone),null,F),F=f(M),l(M.scope,d,b,A,w,_,x)}else g(function(e,n){M.scope=n;var r=h.cloneNode(!1);e[e.length++]=r,t.enter(e,null,F),F=r,M.clone=e,P[M.id]=M,l(M.scope,d,b,A,w,_,x)});m=P})}}}}],Fa="ng-hide",Pa="ng-hide-animate",ja=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Fa,{tempClasses:Pa})})}}}],Ia=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Fa,{tempClasses:Pa})})}}}],Va=sr(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Ra=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var s=i.ngSwitch||i.on,u=[],l=[],c=[],f=[],d=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var r,i;for(r=0,i=c.length;i>r;++r)e.cancel(c[r]);for(c.length=0,r=0,i=f.length;i>r;++r){var s=me(l[r].clone);f[r].$destroy();var p=c[r]=e.leave(s);p.then(d(c,r))}l.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&o(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};l.push(a),e.enter(r,o.parent(),o)})})})}}}],Ua=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),La=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ha=r("ngTransclude"),za=sr({restrict:"EAC",link:function(e,t,n,r,i){function o(e){e.length&&(t.empty(),t.append(e))}if(n.ngTransclude===n.$attr.ngTransclude&&(n.ngTransclude=""),!i)throw Ha("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",Q(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),qa=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Ba={$setViewValue:g,$render:g},Wa=["$element","$scope",function(e,r){var i=this,o=new et;i.ngModelCtrl=Ba,i.unknownOption=Pr(t.createElement("option")),i.renderUnknownOption=function(t){var n="? "+Qe(t)+" ?";i.unknownOption.val(n),e.prepend(i.unknownOption),e.val(n)},r.$on("$destroy",function(){i.renderUnknownOption=g}),i.removeUnknownOption=function(){i.unknownOption.parent()&&i.unknownOption.remove()},i.readValue=function(){return i.removeUnknownOption(),e.val()},i.writeValue=function(t){i.hasOption(t)?(i.removeUnknownOption(),e.val(t),""===t&&i.emptyOption.prop("selected",!0)):null==t&&i.emptyOption?(i.removeUnknownOption(),e.val("")):i.renderUnknownOption(t)},i.addOption=function(e,t){if(t[0].nodeType!==oi){he(e,'"option value"'),""===e&&(i.emptyOption=t);var n=o.get(e)||0;o.put(e,n+1),i.ngModelCtrl.$render(),_r(t)}},i.removeOption=function(e){var t=o.get(e);t&&(1===t?(o.remove(e),""===e&&(i.emptyOption=n)):o.put(e,t-1))},i.hasOption=function(e){return!!o.get(e)},i.registerOption=function(e,t,n,r,o){if(r){var a;n.$observe("value",function(e){b(a)&&i.removeOption(a),a=e,i.addOption(e,t)})}else o?e.$watch(o,function(e,r){n.$set("value",e),r!==e&&i.removeOption(r),i.addOption(e,t)}):i.addOption(n.value,t);t.on("$destroy",function(){i.removeOption(n.value),i.ngModelCtrl.$render()})}}],Ya=function(){function e(e,t,n,r){var i=r[1];if(i){var a=r[0];if(a.ngModelCtrl=i,t.on("change",function(){e.$apply(function(){i.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return o(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new et(e);o(t.find("option"),function(e){e.selected=b(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==i.$viewValue||z(s,i.$viewValue)||(s=H(i.$viewValue),i.$render()),u=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}}}function t(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:Wa,priority:1,link:{pre:e,post:t}}},Xa=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if(b(n.value))var r=e(n.value,!0);else{var i=e(t.text(),!0);i||n.$set("value",t.text())}return function(e,t,n){var o="$selectController",a=t.parent(),s=a.data(o)||a.parent().data(o);s&&s.registerOption(e,t,n,r,i)}}}}],Ga=$({restrict:"E",terminal:!1}),Ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Ja=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,i,o){if(o){var a,s=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(S(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",s,e,Q(t));a=e||n,o.$validate()}),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||y(a)||a.test(t)}}}}},Za=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=p(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},Qa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=p(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void(e.console&&console.log("WARNING: Tried to load angular more than once.")):(fe(),we(qr),qr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function r(e,r){var i=r;n===i&&(i=Math.min(t(e),3));var o=Math.pow(10,i),a=(e*o|0)%o;return{v:i,f:a}}var i={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-\xa4",negSuf:"",posPre:"\xa4",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var n=0|e,o=r(e,t);return 1==n&&0==o.v?i.ONE:i.OTHER}})}]),void Pr(t).ready(function(){ae(t,se)}))}(window,document),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),angular.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["niedziela","poniedzia\u0142ek","wtorek","\u015broda","czwartek","pi\u0105tek","sobota"],MONTH:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","wrze\u015bnia","pa\u017adziernika","listopada","grudnia"],SHORTDAY:["niedz.","pon.","wt.","\u015br.","czw.","pt.","sob."],SHORTMONTH:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017a","lis","gru"],fullDate:"EEEE, d MMMM y",longDate:"d MMMM y",medium:"d MMM y HH:mm:ss",mediumDate:"d MMM y",mediumTime:"HH:mm:ss","short":"dd.MM.y HH:mm",shortDate:"dd.MM.y",shortTime:"HH:mm"},NUMBER_FORMATS:{CURRENCY_SYM:"z\u0142",DECIMAL_SEP:",",GROUP_SEP:"\xa0",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-",negSuf:"\xa0\xa4",posPre:"",posSuf:"\xa0\xa4"}]},id:"pl",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:0==o.v&&i%10>=2&&4>=i%10&&(12>i%100||i%100>14)?r.FEW:0==o.v&&1!=i&&i%10>=0&&1>=i%10||0==o.v&&i%10>=5&&9>=i%10||0==o.v&&i%100>=12&&14>=i%100?r.MANY:r.OTHER}})}]),function(e,t){"use strict";function n(){function e(e,n){return t.extend(Object.create(e),n)}function n(e,t){var n=t.caseInsensitiveMatch,r={originalPath:e,regexp:e},i=r.keys=[];return e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[\?\*])?/g,function(e,t,n,r){var o="?"===r||"*?"===r?"?":null,a="*"===r||"*?"===r?"*":null;return i.push({name:n,optional:!!o}),t=t||"",""+(o?"":t)+"(?:"+(o?t:"")+(a&&"(.+?)"||"([^/]+)")+(o||"")+")"+(o||"")}).replace(/([\/$\*])/g,"\\$1"),r.regexp=new RegExp("^"+e+"$",n?"i":""),r}var r={};this.when=function(e,i){var o=t.copy(i);if(t.isUndefined(o.reloadOnSearch)&&(o.reloadOnSearch=!0),t.isUndefined(o.caseInsensitiveMatch)&&(o.caseInsensitiveMatch=this.caseInsensitiveMatch),r[e]=t.extend(o,e&&n(e,o)),e){var a="/"==e[e.length-1]?e.substr(0,e.length-1):e+"/";r[a]=t.extend({redirectTo:e},n(a,o))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(e){return"string"==typeof e&&(e={redirectTo:e}),this.when(null,e),this},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(n,i,o,a,u,l,c){function f(e,t){var n=t.keys,r={};if(!t.regexp)return null;var i=t.regexp.exec(e);if(!i)return null;for(var o=1,a=i.length;a>o;++o){var s=n[o-1],u=i[o];s&&u&&(r[s.name]=u)}return r}function d(e){var r=y.current;m=h(),$=m&&r&&m.$$route===r.$$route&&t.equals(m.pathParams,r.pathParams)&&!m.reloadOnSearch&&!v,$||!r&&!m||n.$broadcast("$routeChangeStart",m,r).defaultPrevented&&e&&e.preventDefault()}function p(){var e=y.current,r=m;$?(e.params=r.params,t.copy(e.params,o),n.$broadcast("$routeUpdate",e)):(r||e)&&(v=!1,y.current=r,r&&r.redirectTo&&(t.isString(r.redirectTo)?i.path(g(r.redirectTo,r.params)).search(r.params).replace():i.url(r.redirectTo(r.pathParams,i.path(),i.search())).replace()),a.when(r).then(function(){if(r){var e,n,i=t.extend({},r.resolve);return t.forEach(i,function(e,n){i[n]=t.isString(e)?u.get(e):u.invoke(e,null,null,n)}),t.isDefined(e=r.template)?t.isFunction(e)&&(e=e(r.params)):t.isDefined(n=r.templateUrl)&&(t.isFunction(n)&&(n=n(r.params)),t.isDefined(n)&&(r.loadedTemplateUrl=c.valueOf(n),e=l(n))),t.isDefined(e)&&(i.$template=e),a.all(i)}}).then(function(i){r==y.current&&(r&&(r.locals=i,t.copy(r.params,o)),n.$broadcast("$routeChangeSuccess",r,e))},function(t){r==y.current&&n.$broadcast("$routeChangeError",r,e,t)}))}function h(){var n,o;return t.forEach(r,function(r){!o&&(n=f(i.path(),r))&&(o=e(r,{params:t.extend({},i.search(),n),pathParams:n}),o.$$route=r)}),o||r[null]&&e(r[null],{params:{},pathParams:{}})}function g(e,n){var r=[];return t.forEach((e||"").split(":"),function(e,t){if(0===t)r.push(e);else{var i=e.match(/(\w+)(?:[?*])?(.*)/),o=i[1];r.push(n[o]),r.push(i[2]||""),delete n[o]}}),r.join("")}var m,$,v=!1,y={routes:r,reload:function(){v=!0;var e={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,v=!1}};n.$evalAsync(function(){d(e),e.defaultPrevented||p()})},updateParams:function(e){if(!this.current||!this.current.$$route)throw s("norout","Tried updating route when with no current route");e=t.extend({},this.current.params,e),i.path(g(this.current.$$route.originalPath,e)),i.search(e)}};return n.$on("$locationChangeStart",d),n.$on("$locationChangeSuccess",p),y}]}function r(){this.$get=function(){return{}}}function i(e,n,r){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,o,a,s,u){function l(){p&&(r.cancel(p),p=null),f&&(f.$destroy(),f=null),d&&(p=r.leave(d),p.then(function(){p=null}),d=null)}function c(){var a=e.current&&e.current.locals,s=a&&a.$template;if(t.isDefined(s)){var c=i.$new(),p=e.current,m=u(c,function(e){r.enter(e,null,d||o).then(function(){!t.isDefined(h)||h&&!i.$eval(h)||n()}),l()});d=m,f=p.scope=c,f.$emit("$viewContentLoaded"),f.$eval(g)}else l()}var f,d,p,h=a.autoscroll,g=a.onload||"";i.$on("$routeChangeSuccess",c),c()}}}function o(e,t,n){return{restrict:"ECA",priority:-400,link:function(r,i){var o=n.current,a=o.locals;i.html(a.$template);var s=e(i.contents());if(o.controller){a.$scope=r;var u=t(o.controller,a);o.controllerAs&&(r[o.controllerAs]=u),i.data("$ngControllerController",u),i.children().data("$ngControllerController",u)}r[o.resolveAs||"$resolve"]=a,s(r)}}}var a=t.module("ngRoute",["ng"]).provider("$route",n).run(["$route",t.noop]),s=t.$$minErr("ngRoute");a.provider("$routeParams",r),a.directive("ngView",i),a.directive("ngView",o),i.$inject=["$route","$anchorScroll","$animate"],o.$inject=["$compile","$controller","$route"]}(window,window.angular),function(e,t,n){"use strict";function r(){var e=!1;this.$get=["$$sanitizeUri",function(n){return e&&t.extend(S,w),function(e){var t=[];return a(e,l(t,function(e,t){return!/^unsafe:/.test(n(e,t))})),t.join("")}}],this.enableSvg=function(n){return t.isDefined(n)?(e=n,this):e}}function i(e){var n=[],r=l(n,t.noop);return r.chars(e),n.join("")}function o(e,n){var r,i={},o=e.split(",");for(r=0;r<o.length;r++)i[n?t.lowercase(o[r]):o[r]]=!0;return i}function a(e,t){null===e||e===n?e="":"string"!=typeof e&&(e=""+e),f.innerHTML=e;var r=5;do{if(0===r)throw d("uinput","Failed to sanitize html because the input is unstable");r--,document.documentMode<=11&&c(f),e=f.innerHTML,f.innerHTML=e}while(e!==f.innerHTML);for(var i=f.firstChild;i;){switch(i.nodeType){case 1:t.start(i.nodeName.toLowerCase(),s(i.attributes));break;case 3:t.chars(i.textContent)}var o;if(!(o=i.firstChild)&&(1==i.nodeType&&t.end(i.nodeName.toLowerCase()),o=i.nextSibling,!o))for(;null==o&&(i=i.parentNode,i!==f);)o=i.nextSibling,1==i.nodeType&&t.end(i.nodeName.toLowerCase());i=o}for(;i=f.firstChild;)f.removeChild(i)}function s(e){for(var t={},n=0,r=e.length;r>n;n++){var i=e[n];t[i.name]=i.value}return t}function u(e){return e.replace(/&/g,"&amp;").replace(p,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+(1024*(t-55296)+(n-56320)+65536)+";"}).replace(h,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function l(e,n){var r=!1,i=t.bind(e,e.push);return{start:function(e,o){e=t.lowercase(e),!r&&x[e]&&(r=e),r||S[e]!==!0||(i("<"),i(e),t.forEach(o,function(r,o){var a=t.lowercase(o),s="img"===e&&"src"===a||"background"===a;A[a]!==!0||C[a]===!0&&!n(r,s)||(i(" "),i(o),i('="'),i(u(r)),i('"'))}),i(">"))},end:function(e){e=t.lowercase(e),r||S[e]!==!0||g[e]===!0||(i("</"),i(e),i(">")),e==r&&(r=!1)},chars:function(e){r||i(u(e))}}}function c(e){if(e.nodeType===Node.ELEMENT_NODE)for(var t=e.attributes,n=0,r=t.length;r>n;n++){var i=t[n],o=i.name.toLowerCase();"xmlns:ns1"!==o&&0!==o.indexOf("ns1:")||(e.removeAttributeNode(i),n--,r--)}var a=e.firstChild;a&&c(a),a=e.nextSibling,a&&c(a)}var f,d=t.$$minErr("$sanitize"),p=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=/([^\#-~ |!])/g,g=o("area,br,col,hr,img,wbr"),m=o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$=o("rp,rt"),v=t.extend({},$,m),y=t.extend({},m,o("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),b=t.extend({},$,o("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),w=o("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),x=o("script,style"),S=t.extend({},g,y,b,v),C=o("background,cite,href,longdesc,src,xlink:href"),k=o("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),_=o("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),A=t.extend({},C,_,k);!function(e){var t;if(!e.document||!e.document.implementation)throw d("noinert","Can't create an inert html document");t=e.document.implementation.createHTMLDocument("inert");var n=t.documentElement||t.getDocumentElement(),r=n.getElementsByTagName("body");if(1===r.length)f=r[0];else{var i=t.createElement("html");f=t.createElement("body"),i.appendChild(f),t.appendChild(i)}}(e),t.module("ngSanitize",[]).provider("$sanitize",r),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,r=/^mailto:/i,o=t.$$minErr("linky"),a=t.isString;return function(s,u,l){function c(e){e&&m.push(i(e))}function f(e,n){var r;if(m.push("<a "),t.isFunction(l)&&(l=l(e)),t.isObject(l))for(r in l)m.push(r+'="'+l[r]+'" ');else l={};!t.isDefined(u)||"target"in l||m.push('target="',u,'" '),m.push('href="',e.replace(/"/g,"&quot;"),'">'),c(n),m.push("</a>")}if(null==s||""===s)return s;if(!a(s))throw o("notstring","Expected string but received: {0}",s);for(var d,p,h,g=s,m=[];d=g.match(n);)p=d[0],d[2]||d[4]||(p=(d[3]?"http://":"mailto:")+p),h=d.index,c(g.substr(0,h)),f(p,d[0].replace(r,"")),g=g.substring(h+d[0].length);return c(g),e(m.join(""))}}])}(window,window.angular),function(e,t){"use strict";function n(e,t,n){if(!e)throw ge("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function r(e,t){return e||t?e?t?(H(e)&&(e=e.join(" ")),H(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function i(e){var t={};return e&&(e.to||e.from)&&(t.to=e.to,t.from=e.from),t}function o(e,t,n){var r="";return e=H(e)?e:e&&z(e)&&e.length?e.split(/\s+/):[],L(e,function(e,i){e&&e.length>0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof U)switch(e.length){case 0:return[];case 1:if(e[0].nodeType===G)return e;break;default:return U(u(e))}return e.nodeType===G?U(e):void 0}function u(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType==G)return n}}function l(e,t,n){L(t,function(t){e.addClass(t,n)})}function c(e,t,n){L(t,function(t){e.removeClass(t,n)})}function f(e){return function(t,n){n.addClass&&(l(e,t,n.addClass),n.addClass=null),n.removeClass&&(c(e,t,n.removeClass),n.removeClass=null)}}function d(e){if(e=e||{},!e.$$prepared){var t=e.domOperation||I;e.domOperation=function(){e.$$domOperationFired=!0,t(),t=I},e.$$prepared=!0}return e}function p(e,t){h(e,t),g(e,t)}function h(e,t){t.from&&(e.css(t.from),t.from=null)}function g(e,t){t.to&&(e.css(t.to),t.to=null)}function m(e,t,n){var r=t.options||{},i=n.options||{},o=(r.addClass||"")+" "+(i.addClass||""),a=(r.removeClass||"")+" "+(i.removeClass||""),s=$(e.attr("class"),o,a);i.preparationClasses&&(r.preparationClasses=C(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var u=r.domOperation!==I?r.domOperation:null;return R(r,i),u&&(r.domOperation=u),s.addClass?r.addClass=s.addClass:r.addClass=null,s.removeClass?r.removeClass=s.removeClass:r.removeClass=null,t.addClass=r.addClass,t.removeClass=r.removeClass,r}function $(e,t,n){function r(e){z(e)&&(e=e.split(" "));var t={};return L(e,function(e){e.length&&(t[e]=!0)}),t}var i=1,o=-1,a={};e=r(e),t=r(t),L(t,function(e,t){a[t]=i}),n=r(n),L(n,function(e,t){a[t]=a[t]===i?null:o});var s={addClass:"",removeClass:""};return L(a,function(t,n){var r,a;t===i?(r="addClass",a=!e[n]):t===o&&(r="removeClass",a=e[n]),a&&(s[r].length&&(s[r]+=" "),s[r]+=n)}),s}function v(e){return e instanceof t.element?e[0]:e}function y(e,t,n){var r="";t&&(r=o(t,Z,!0)),n.addClass&&(r=C(r,o(n.addClass,K))),n.removeClass&&(r=C(r,o(n.removeClass,J))),r.length&&(n.preparationClasses=r,e.addClass(r))}function b(e,t){t.preparationClasses&&(e.removeClass(t.preparationClasses),t.preparationClasses=null),t.activeClasses&&(e.removeClass(t.activeClasses),t.activeClasses=null)}function w(e,t){var n=t?"-"+t+"s":"";return S(e,[pe,n]),[pe,n]}function x(e,t){var n=t?"paused":"",r=P+le;return S(e,[r,n]),[r,n]}function S(e,t){var n=t[0],r=t[1];e.style[n]=r}function C(e,t){return e?t?e+" "+t:e:t}function k(e){return[de,e+"s"]}function _(e,t){var n=t?fe:pe;return[n,e+"s"]}function A(e,t,n){var r=Object.create(null),i=e.getComputedStyle(t)||{};return L(n,function(e,t){var n=i[e];if(n){var o=n.charAt(0);("-"===o||"+"===o||o>=0)&&(n=E(n)),0===n&&(n=null),r[t]=n}}),r}function E(e){var t=0,n=e.split(/\s*,\s*/);return L(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function D(e){return 0===e||null!=e}function T(e,t){var n=N,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function M(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){L(n,function(n){e[n]=W(e[n])?e[n]:t.style.getPropertyValue(n)})}var N,F,P,j,I=t.noop,V=t.copy,R=t.extend,U=t.element,L=t.forEach,H=t.isArray,z=t.isString,q=t.isObject,B=t.isUndefined,W=t.isDefined,Y=t.isFunction,X=t.isElement,G=1,K="-add",J="-remove",Z="ng-",Q="-active",ee="-prepare",te="ng-animate",ne="$$ngAnimateChildren",re="";B(e.ontransitionend)&&W(e.onwebkittransitionend)?(re="-webkit-",N="WebkitTransition",F="webkitTransitionEnd transitionend"):(N="transition",F="transitionend"),B(e.onanimationend)&&W(e.onwebkitanimationend)?(re="-webkit-",P="WebkitAnimation",j="webkitAnimationEnd animationend"):(P="animation",j="animationend");var ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=P+ae,de=P+ie,pe=N+ae,he=N+ie,ge=t.$$minErr("ng"),me=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o<t.length;o++)t[o]();i||e(function(){i||n()})}}var r,i;return r=t.queue=[],t.waitUntilQuiet=function(t){i&&i(),i=e(function(){i=null,t(),n()})},t}],$e=["$interpolate",function(e){return{link:function(n,r,i){function o(e){e="on"===e||"true"===e,r.data(ne,e)}var a=i.ngAnimateChildren;t.isString(a)&&0===a.length?r.data(ne,!0):(o(e(a)(n)),i.$observe("ngAnimateChildren",o))}}}],ve="$$animateCss",ye=1e3,be=3,we=1.5,xe={transitionDuration:he,transitionDelay:pe,transitionProperty:N+oe,animationDuration:de,animationDelay:fe,animationIterationCount:P+ue},Se={transitionDuration:he,transitionDelay:pe,animationDuration:de,animationDelay:fe},Ce=["$animateProvider",function(){var e=M(),t=M();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(n,r,s,u,l,c,m,$){function y(e,t){var n="$$ngAnimateParentKey",r=e.parentNode,i=r[n]||(r[n]=++U);return i+"-"+e.getAttribute("class")+"-"+t}function b(t,r,i,o){var a=e.get(i);return a||(a=A(n,t,o),"infinite"===a.animationIterationCount&&(a.animationIterationCount=1)),e.put(i,a),a}function C(i,a,s,u){var l;if(e.count(s)>0&&(l=t.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=A(n,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),t.put(s,l)}return l||{}}function E(n){z.push(n),m.waitUntilQuiet(function(){e.flush(),t.flush();for(var n=l(),r=0;r<z.length;r++)z[r](n);z.length=0})}function M(e,t,n){var r=b(e,t,n,xe),i=r.animationDelay,o=r.transitionDelay;return r.maxDelay=i&&o?Math.max(i,o):i||o,r.maxDuration=Math.max(r.animationDuration*r.animationIterationCount,r.transitionDuration),r}var R=f(r),U=0,z=[];return function(t,n){function l(){m()}function f(){m(!0)}function m(e){if(!(Y||G&&X)){Y=!0,X=!1,q.$$skipPreparationClasses||r.removeClass(t,xe),r.removeClass(t,ke),x(W,!1),w(W,!1),L(le,function(e){W.style[e[0]]=""}),R(t,q),p(t,q),Object.keys(B).length&&L(B,function(e,t){e?W.style.setProperty(t,e):W.style.removeProperty(t)}),q.onDone&&q.onDone(),pe&&pe.length&&t.off(pe.join(" "),U);var n=t.data(ve);n&&(u.cancel(n[0].timer),t.removeData(ve)),ee&&ee.complete(!e)}}function b(e){Re.blockTransition&&w(W,e),Re.blockKeyframeAnimation&&x(W,!!e)}function A(){return ee=new s({end:l,cancel:f}),E(I),m(),{$$willAnimate:!1,start:function(){return ee},end:l}}function U(e){e.stopPropagation();var t=e.originalEvent||e,n=t.$manualTimeStamp||Date.now(),r=parseFloat(t.elapsedTime.toFixed(be));Math.max(n-ue,0)>=re&&r>=ie&&(G=!0,m())}function z(){function e(){if(!Y){if(b(!1),L(le,function(e){var t=e[0],n=e[1];W.style[t]=n}),R(t,q),r.addClass(t,ke),Re.recalculateTimingStyles){if(Ce=W.className+" "+xe,Ee=y(W,Ce),Ie=M(W,Ce,Ee),Ve=Ie.maxDelay,ne=Math.max(Ve,0),ie=Ie.maxDuration,0===ie)return void m();Re.hasTransitions=Ie.transitionDuration>0,Re.hasAnimations=Ie.animationDuration>0}if(Re.applyAnimationDelay&&(Ve="boolean"!=typeof q.delay&&D(q.delay)?parseFloat(q.delay):Ve,ne=Math.max(Ve,0),Ie.animationDelay=Ve,Ue=_(Ve,!0),le.push(Ue),W.style[Ue[0]]=Ue[1]),re=ne*ye,ae=ie*ye,q.easing){var e,i=q.easing;Re.hasTransitions&&(e=N+se,le.push([e,i]),W.style[e]=i),Re.hasAnimations&&(e=P+se,le.push([e,i]),W.style[e]=i)}Ie.transitionDuration&&pe.push(F),Ie.animationDuration&&pe.push(j),ue=Date.now();var o=re+we*ae,a=ue+o,s=t.data(ve)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(m)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(m),t.data(ve,s)}pe.length&&t.on(pe.join(" "),U),q.to&&(q.cleanupStyles&&O(B,W,Object.keys(q.to)),g(t,q))}}function n(){var e=t.data(ve);if(e){for(var n=1;n<e.length;n++)e[n]();t.removeData(ve)}}if(!Y){if(!W.parentNode)return void m();var i=function(e){if(G)X&&e&&(X=!1,m());else if(X=!e,Ie.animationDuration){var t=x(W,X);X?le.push(t):a(le,t)}},o=Pe>0&&(Ie.transitionDuration&&0===De.transitionDuration||Ie.animationDuration&&0===De.animationDuration)&&Math.max(De.animationDelay,De.transitionDelay);o?u(e,Math.floor(o*Pe*ye),!1):e(),te.resume=function(){i(!0)},te.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(V(q)));var B={},W=v(t);if(!W||!W.parentNode||!$.enabled())return A();var Y,X,G,ee,te,ne,re,ie,ae,ue,le=[],fe=t.attr("class"),de=i(q),pe=[];if(0===q.duration||!c.animations&&!c.transitions)return A();var he=q.event&&H(q.event)?q.event.join(" "):q.event,ge=he&&q.structural,me="",$e="";ge?me=o(he,Z,!0):he&&(me=he),q.addClass&&($e+=o(q.addClass,K)),q.removeClass&&($e.length&&($e+=" "),$e+=o(q.removeClass,J)),q.applyClassesEarly&&$e.length&&R(t,q);var xe=[me,$e].join(" ").trim(),Ce=fe+" "+xe,ke=o(xe,Q),_e=de.to&&Object.keys(de.to).length>0,Ae=(q.keyframeStyle||"").length>0;if(!Ae&&!_e&&!xe)return A();var Ee,De;if(q.stagger>0){var Te=parseFloat(q.stagger);De={transitionDelay:Te,animationDelay:Te,transitionDuration:0,animationDuration:0}}else Ee=y(W,Ce),De=C(W,xe,Ee,Se);q.$$skipPreparationClasses||r.addClass(t,xe);var Me;if(q.transitionStyle){var Oe=[N,q.transitionStyle];S(W,Oe),le.push(Oe)}if(q.duration>=0){Me=W.style[N].length>0;var Ne=T(q.duration,Me);S(W,Ne),le.push(Ne)}if(q.keyframeStyle){var Fe=[P,q.keyframeStyle];S(W,Fe),le.push(Fe)}var Pe=De?q.staggerIndex>=0?q.staggerIndex:e.count(Ee):0,je=0===Pe;je&&!q.skipBlocking&&w(W,ce);var Ie=M(W,Ce,Ee),Ve=Ie.maxDelay;ne=Math.max(Ve,0),ie=Ie.maxDuration;var Re={};if(Re.hasTransitions=Ie.transitionDuration>0,Re.hasAnimations=Ie.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==Ie.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=q.duration&&Re.hasAnimations,Re.applyTransitionDelay=D(q.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=D(q.delay)&&Re.hasAnimations,Re.recalculateTimingStyles=$e.length>0,(Re.applyTransitionDuration||Re.applyAnimationDuration)&&(ie=q.duration?parseFloat(q.duration):ie,Re.applyTransitionDuration&&(Re.hasTransitions=!0,Ie.transitionDuration=ie,Me=W.style[N+oe].length>0,le.push(T(ie,Me))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,Ie.animationDuration=ie,le.push(k(ie)))),0===ie&&!Re.recalculateTimingStyles)return A();if(null!=q.delay){var Ue;"boolean"!=typeof q.delay&&(Ue=parseFloat(q.delay),ne=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==q.duration&&Ie.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||je),re=ne*ye,ae=ie*ye,q.skipBlocking||(Re.blockTransition=Ie.transitionDuration>0,Re.blockKeyframeAnimation=Ie.animationDuration>0&&De.animationDelay>0&&0===De.animationDuration),q.from&&(q.cleanupStyles&&O(B,W,Object.keys(q.from)),h(t,q)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):q.skipBlocking||w(W,!1),{$$willAnimate:!0,end:l,start:function(){return Y?void 0:(te={end:l,cancel:f,resume:null,pause:null},ee=new s(te),E(z),ee)}}}}]}],ke=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,d){function p(e){return e.replace(/\bng-\S+\b/g,"")}function h(e,t){return z(e)&&(e=e.split(" ")),z(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function g(t,a,u){function l(e){var t={},n=v(e).getBoundingClientRect();return L(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=y.scrollTop;break;case"left":r+=y.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(m,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function d(){var t=p(f(u)),n=h(t,$),r=h($,t),a=e(m,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function g(){m.remove(),a.removeClass(n),u.removeClass(n)}var m=U(v(a).cloneNode(!0)),$=p(f(m));a.addClass(n),u.addClass(n),m.addClass(r),w.append(m);var b,x=c();if(!x&&(b=d(),!b))return g();var S=x||b;return{start:function(){function e(){n&&n.end()}var t,n=S.start();return n.done(function(){return n=null,!b&&(b=d())?(n=b.start(),n.done(function(){n=null,g(),t.complete()}),n):(g(),void t.complete())}),t=new s({end:e,cancel:e})}}}function m(e,t,n,r){var i=$(e,I),o=$(t,I),a=[];return L(r,function(e){var t=e.out,r=e["in"],i=g(n,t,r);i&&a.push(i)}),i||o||0!==a.length?{start:function(){function e(){L(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),L(a,function(e){t.push(e.start())});var n=new s({
7
+ end:e,cancel:e});return s.all(t,function(e){n.complete(e)}),n}}:void 0}function $(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return I;var y=d[0].body,b=v(u),w=U(t(b)||y.contains(b)?b:y);f(c);return function(e){return e.from&&e.to?m(e.from,e.to,e.classes,e.anchors):$(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=H(n)?n:n.split(" ");for(var r=[],i={},o=0;o<n.length;o++){var a=n[o],s=e.$$registeredAnimations[a];s&&!i[a]&&(r.push(t.get(s)),i[a]=!0)}return r}var o=f(r);return function(e,t,r,a){function s(){a.domOperation(),o(e,a)}function u(){h=!0,s(),p(e,a)}function l(e,t,r,i,o){var a;switch(r){case"animate":a=[t,i.from,i.to,o];break;case"setClass":a=[t,$,v,o];break;case"addClass":a=[t,$,o];break;case"removeClass":a=[t,v,o];break;default:a=[t,o]}a.push(i);var s=e.apply(e,a);if(s)if(Y(s.start)&&(s=s.start()),s instanceof n)s.done(o);else if(Y(s))return s;return I}function c(e,t,r,i,o){var a=[];return L(i,function(i){var s=i[o];s&&a.push(function(){var i,o,a=!1,u=function(e){a||(a=!0,(o||I)(e),i.complete(!e))};return i=new n({end:function(){u()},cancel:function(){u(!0)}}),o=l(s,e,t,r,function(e){var t=e===!1;u(t)}),i})}),a}function f(e,t,r,i,o){var a=c(e,t,r,i,o);if(0===a.length){var s,u;"beforeSetClass"===o?(s=c(e,"removeClass",r,i,"beforeRemoveClass"),u=c(e,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(s=c(e,"removeClass",r,i,"removeClass"),u=c(e,"addClass",r,i,"addClass")),s&&(a=a.concat(s)),u&&(a=a.concat(u))}if(0!==a.length)return function(e){var t=[];return a.length&&L(a,function(e){t.push(e())}),t.length?n.all(t,e):e(),function(e){L(t,function(t){e?t.cancel():t.end()})}}}var h=!1;3===arguments.length&&q(r)&&(a=r,r=null),a=d(a),r||(r=e.attr("class")||"",a.addClass&&(r+=" "+a.addClass),a.removeClass&&(r+=" "+a.removeClass));var g,m,$=a.addClass,v=a.removeClass,y=i(r);if(y.length){var b,w;"leave"==t?(w="leave",b="afterLeave"):(w="before"+t.charAt(0).toUpperCase()+t.substr(1),b=t),"enter"!==t&&"move"!==t&&(g=f(e,t,a,y,w)),m=f(e,t,a,y,b)}if(g||m){var x;return{$$willAnimate:!0,end:function(){return x?x.end():(u(),x=new n,x.complete(!0)),x},start:function(){function e(e){u(e),x.complete(e)}function t(t){h||((r||I)(t),e(t))}if(x)return x;x=new n;var r,i=[];return g&&i.push(function(e){r=g(e)}),i.length?i.push(function(e){s(),e(!0)}):s(),m&&i.push(function(e){r=m(e)}),x.setHost({end:function(){t()},cancel:function(){t(!0)}}),n.chain(i,e),x}}}}}]}],Ae=["$$animationProvider",function(e){e.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(e,t){function n(t){var n=t.element,r=t.event,i=t.options,o=t.classes;return e(n,r,o,i)}return function(e){if(e.from&&e.to){var r=n(e.from),i=n(e.to);if(!r&&!i)return;return{start:function(){function e(){return function(){L(o,function(e){e.end()})}}function n(e){a.complete(e)}var o=[];r&&o.push(r.start()),i&&o.push(i.start()),t.all(o,n);var a=new t({end:e(),cancel:e()});return a}}}return n(e)}}]}],Ee="data-ng-animate",De="$ngAnimatePin",Te=["$animateProvider",function(e){function t(e){if(!e)return null;var t=e.split(c),n=Object.create(null);return L(t,function(e){n[e]=!0}),n}function r(e,n){if(e&&n){var r=t(n);return e.split(c).some(function(e){return r[e]})}}function i(e,t,n,r){return h[e].some(function(e){return e(t,n,r)})}function o(e,t){var n=(e.addClass||"").length>0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var a=1,l=2,c=" ",h=this.rules={skip:[],cancel:[],join:[]};h.join.push(function(e,t){return!t.structural&&o(t)}),h.skip.push(function(e,t){return!t.structural&&!o(t)}),h.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),h.skip.push(function(e,t,n){return n.structural&&n.state===l&&!t.structural}),h.cancel.push(function(e,t,n){return n.structural&&t.structural}),h.cancel.push(function(e,t,n){return n.state===l&&t.structural}),h.cancel.push(function(e,t,n){if(n.structural)return!1;var i=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return B(i)&&B(o)||B(a)&&B(s)?!1:r(i,s)||r(o,a)}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(t,r,c,h,g,$,w,x,S){function C(){var e=!1;return function(t){e?t():r.$$postDigest(function(){e=!0,t()})}}function k(e,t){return m(e,t,{})}function _(e,t,n){var r=v(t),i=v(e),o=[],a=I[n];return a&&L(a,function(e){Z.call(e.node,r)?o.push(e.callback):"leave"===n&&Z.call(e.node,i)&&o.push(e.callback)}),o}function A(e,n,u){function c(n,r,i,o){T(function(){var n=_(x,e,r);n.length&&t(function(){L(n,function(t){t(e,i,o)})})}),n.progress(r,i,o)}function f(t){b(e,S),J(e,S),p(e,S),S.domOperation(),A.complete(!t)}var g,x,S=V(u);e=s(e),e&&(g=v(e),x=e.parent()),S=d(S);var A=new w,T=C();if(H(S.addClass)&&(S.addClass=S.addClass.join(" ")),S.addClass&&!z(S.addClass)&&(S.addClass=null),H(S.removeClass)&&(S.removeClass=S.removeClass.join(" ")),S.removeClass&&!z(S.removeClass)&&(S.removeClass=null),S.from&&!q(S.from)&&(S.from=null),S.to&&!q(S.to)&&(S.to=null),!g)return f(),A;var j=[g.className,S.addClass,S.removeClass].join(" ");if(!K(j))return f(),A;var I=["enter","move","leave"].indexOf(n)>=0,R=!P||h[0].hidden||F.get(g),U=!R&&N.get(g)||{},B=!!U.state;if(R||B&&U.state==a||(R=!M(e,x,n)),R)return f(),A;I&&E(e);var W={structural:I,element:e,event:n,addClass:S.addClass,removeClass:S.removeClass,close:f,options:S,runner:A};if(B){var Y=i("skip",e,W,U);if(Y)return U.state===l?(f(),A):(m(e,U,W),U.runner);var X=i("cancel",e,W,U);if(X)if(U.state===l)U.runner.end();else{if(!U.structural)return m(e,U,W),U.runner;U.close()}else{var G=i("join",e,W,U);if(G){if(U.state!==l)return y(e,I?n:null,S),n=W.event=U.event,S=m(e,U,W),U.runner;k(e,W)}}}else k(e,W);var Z=W.structural;if(Z||(Z="animate"===W.event&&Object.keys(W.options.to||{}).length>0||o(W)),!Z)return f(),D(e),A;var Q=(U.counter||0)+1;return W.counter=Q,O(e,a,W),r.$$postDigest(function(){var t=N.get(g),r=!t;t=t||{};var i=e.parent()||[],a=i.length>0&&("animate"===t.event||t.structural||o(t));if(r||t.counter!==Q||!a)return r&&(J(e,S),p(e,S)),(r||I&&t.event!==n)&&(S.domOperation(),A.end()),void(a||D(e));n=!t.structural&&o(t,!0)?"setClass":t.event,O(e,l);var s=$(e,n,t.options);s.done(function(t){f(!t);var r=N.get(g);r&&r.counter===Q&&D(v(e)),c(A,n,"close",{})}),A.setHost(s),c(A,n,"start",{})}),A}function E(e){var t=v(e),n=t.querySelectorAll("["+Ee+"]");L(n,function(e){var t=parseInt(e.getAttribute(Ee)),n=N.get(e);if(n)switch(t){case l:n.runner.end();case a:N.remove(e)}})}function D(e){var t=v(e);t.removeAttribute(Ee),N.remove(t)}function T(e,t){return v(e)===v(t)}function M(e,t){var n,r=U(h[0].body),i=T(e,r)||"HTML"===e[0].nodeName,o=T(e,c),a=!1,s=F.get(v(e)),u=U.data(e[0],De);for(u&&(t=u),t=v(t);t&&(o||(o=T(t,c)),t.nodeType===G);){var l=N.get(t)||{};if(!a){var f=F.get(t);if(f===!0&&s!==!1){s=!0;break}f===!1&&(s=!1),a=l.structural}if(B(n)||n===!0){var d=U.data(t,ne);W(d)&&(n=d)}if(a&&n===!1)break;if(i||(i=T(t,r)),i&&o)break;t=o||!(u=U.data(t,De))?t.parentNode:v(u)}var p=(!a||n)&&s!==!0;return p&&o&&i}function O(e,t,n){n=n||{},n.state=t;var r=v(e);r.setAttribute(Ee,t);var i=N.get(r),o=i?R(i,n):n;N.put(r,o)}var N=new g,F=new g,P=null,j=r.$watch(function(){return 0===x.totalPendingRequests},function(e){e&&(j(),r.$$postDigest(function(){r.$$postDigest(function(){null===P&&(P=!0)})}))}),I={},Y=e.classNameFilter(),K=Y?function(e){return Y.test(e)}:function(){return!0},J=f(S),Z=Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},Q={on:function(e,t,n){var r=u(t);I[e]=I[e]||[],I[e].push({node:r,callback:n}),U(t).on("$destroy",function(){Q.off(e,t,n)})},off:function(e,t,n){function r(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}var i=I[e];i&&(I[e]=1===arguments.length?null:r(i,t,n))},pin:function(e,t){n(X(e),"element","not an element"),n(X(t),"parentElement","not an element"),e.data(De,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,A(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!P;else{var r=X(e);if(r){var i=v(e),o=F.get(i);1===n?t=!o:F.put(i,!t)}else t=P=!!e}return t}};return Q}]}],Me=["$animateProvider",function(){function e(e,t){e.data(a,t)}function t(e){e.removeData(a)}function n(e){return e.data(a)}var i="ng-animate-ref",o=this.drivers=[],a="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(a,s,u,l,c,h){function g(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t<e.children.length;t++)r.push(e.children[t]);var i=r.length,o=0,a=[];for(t=0;t<r.length;t++){var s=r[t];0>=i&&(i=o,o=0,n.push(a),a=[]),a.push(s.fn),s.children.forEach(function(e){o++,r.push(e)}),i--}return a.length&&n.push(a),n}var r,i={children:[]},o=new c;for(r=0;r<e.length;r++){var a=e[r];o.put(a.domNode,e[r]={domNode:a.domNode,fn:a.fn,children:[]})}for(r=0;r<e.length;r++)t(e[r]);return n(i)}var m=[],$=f(a);return function(c,f,y){function b(e){var t="["+i+"]",n=e.hasAttribute(i)?[e]:e.querySelectorAll(t),r=[];return L(n,function(e){var t=e.getAttribute(i);t&&t.length&&r.push(e)}),r}function w(e){var t=[],n={};L(e,function(e,r){var o=e.element,a=v(o),s=e.event,u=["enter","move"].indexOf(s)>=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";L(l,function(e){var t=e.getAttribute(i);n[t]=n[t]||{},n[t][c]={animationID:r,element:U(e)}})}else t.push(e)});var r={},o={};return L(n,function(n){var i=n.from,a=n.to;if(!i||!a){var s=i?i.animationID:a.animationID,u=s.toString();return void(r[u]||(r[u]=!0,t.push(e[s])))}var l=e[i.animationID],c=e[a.animationID],f=i.animationID.toString();if(!o[f]){var d=o[f]={structural:!0,beforeStart:function(){l.beforeStart(),c.beforeStart()},close:function(){l.close(),c.close()},classes:x(l.classes,c.classes),from:l,to:c,anchors:[]};d.classes.length?t.push(d):(t.push(l),t.push(c))}o[f].anchors.push({out:i.element,"in":a.element})}),t}function x(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r<e.length;r++){var i=e[r];if("ng-"!==i.substring(0,3))for(var o=0;o<t.length;o++)if(i===t[o]){n.push(i);break}}return n.join(" ")}function S(e){for(var t=o.length-1;t>=0;t--){var n=o[t];if(u.has(n)){var r=u.get(n),i=r(e);if(i)return i}}}function C(){c.addClass(te),M&&a.addClass(c,M),O&&(a.removeClass(c,O),O=null)}function k(e,t){function r(e){n(e).setHost(t)}e.from&&e.to?(r(e.from.element),r(e.to.element)):r(e.element)}function _(){var e=n(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function A(e){c.off("$destroy",_),t(c),$(c,y),p(c,y),y.domOperation(),M&&a.removeClass(c,M),c.removeClass(te),D.complete(!e)}y=d(y);var E=["enter","move","leave"].indexOf(f)>=0,D=new l({end:function(){A()},cancel:function(){A(!0)}});if(!o.length)return A(),D;e(c,D);var T=r(c.attr("class"),r(y.addClass,y.removeClass)),M=y.tempClasses;M&&(T+=" "+M,y.tempClasses=null);var O;return E&&(O="ng-"+f+ee,a.addClass(c,O)),m.push({element:c,classes:T,event:f,structural:E,options:y,beforeStart:C,close:A}),c.on("$destroy",_),m.length>1?D:(s.$$postDigest(function(){var e=[];L(m,function(t){n(t.element)?e.push(t):t.close()}),m.length=0;var t=w(e),r=[];L(t,function(e){r.push({domNode:v(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,r=e.close,i=e.anchors?e.from.element||e.to.element:e.element;if(n(i)){var o=S(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){r(!e)}),k(e,a)}else r()}})}),h(g(r))}),D)}}]}],Oe=["$animate","$rootScope",function(e){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[]).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",$e).factory("$$rAFScheduler",me).provider("$$animateQueue",Te).provider("$$animation",Me).provider("$animateCss",Ce).provider("$$animateCssDriver",ke).provider("$$animateJs",_e).provider("$$animateJsDriver",Ae)}(window,window.angular),function(e,t,n){"use strict";function r(e,n,r){function i(e,r,i){var a,s;i=i||{},s=i.expires,a=t.isDefined(i.path)?i.path:o,t.isUndefined(r)&&(s="Thu, 01 Jan 1970 00:00:00 GMT",r=""),t.isString(s)&&(s=new Date(s));var u=encodeURIComponent(e)+"="+encodeURIComponent(r);u+=a?";path="+a:"",u+=i.domain?";domain="+i.domain:"",u+=s?";expires="+s.toUTCString():"",u+=i.secure?";secure":"";var l=u.length+1;return l>4096&&n.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+l+" > 4096 bytes)!"),u}var o=r.baseHref(),a=e[0];return function(e,t,n){a.cookie=i(e,t,n)}}t.module("ngCookies",["ng"]).provider("$cookies",[function(){function e(e){return e?t.extend({},r,e):r}var r=this.defaults={};this.$get=["$$cookieReader","$$cookieWriter",function(r,i){return{get:function(e){return r()[e]},getObject:function(e){var n=this.get(e);return n?t.fromJson(n):n},getAll:function(){return r()},put:function(t,n,r){i(t,n,e(r))},putObject:function(e,n,r){this.put(e,t.toJson(n),r)},remove:function(t,r){i(t,n,e(r))}}}]}]),t.module("ngCookies").factory("$cookieStore",["$cookies",function(e){return{get:function(t){return e.getObject(t)},put:function(t,n){e.putObject(t,n)},remove:function(t){e.remove(t)}}}]),r.$inject=["$document","$log","$browser"],t.module("ngCookies").provider("$$cookieWriter",function(){this.$get=r})}(window,window.angular),function(e,t,n){"use strict";function r(e,n,r,i,o,a){function s(e,n){return angular.element((n||t).querySelectorAll(e))}function u(e){return l[e]?l[e]:l[e]=n.get(e,{cache:a}).then(function(e){return e.data})}this.compile=function(t){t.template&&/\.html$/.test(t.template)&&(console.warn("Deprecated use of `template` option to pass a file. Please use the `templateUrl` option instead."),t.templateUrl=t.template,t.template="");var n=t.templateUrl,a=t.template||"",l=t.controller,c=t.controllerAs,f=angular.copy(t.resolve||{}),d=angular.copy(t.locals||{}),p=t.transformTemplate||angular.identity,h=t.bindToController;if(angular.forEach(f,function(e,t){angular.isString(e)?f[t]=r.get(e):f[t]=r.invoke(e)}),angular.extend(f,d),a)f.$template=e.when(a);else{if(!n)throw new Error("Missing `template` / `templateUrl` option.");f.$template=u(n)}return t.titleTemplate&&(f.$template=e.all([f.$template,u(t.titleTemplate)]).then(function(e){var t=angular.element(e[0]);return s('[ng-bind="title"]',t[0]).removeAttr("ng-bind").html(e[1]),t[0].outerHTML})),t.contentTemplate&&(f.$template=e.all([f.$template,u(t.contentTemplate)]).then(function(e){var n=angular.element(e[0]),r=s('[ng-bind="content"]',n[0]).removeAttr("ng-bind").html(e[1]);return t.templateUrl||r.next().remove(),n[0].outerHTML})),e.all(f).then(function(e){var n=p(e.$template);t.html&&(n=n.replace(/ng-bind="/gi,'ng-bind-html="'));var r=angular.element("<div>").html(n.trim()).contents(),a=i(r);return{locals:e,element:r,link:function(t){if(e.$scope=t,l){var n=o(l,e,!0);h&&angular.extend(n.instance,e);var i=angular.isObject(n)?n:n();r.data("$ngControllerController",i),r.children().data("$ngControllerController",i),c&&(t[c]=i)}return a.apply(null,arguments)}}})};var l={}}r.$inject=["$q","$http","$injector","$compile","$controller","$templateCache"],angular.module("mgcrea.ngStrap.tooltip",["mgcrea.ngStrap.core","mgcrea.ngStrap.helpers.dimensions"]).provider("$tooltip",function(){var e=this.defaults={animation:"am-fade",customClass:"",prefixClass:"tooltip",prefixEvent:"tooltip",container:!1,target:!1,placement:"top",templateUrl:"tooltip/tooltip.tpl.html",template:"",titleTemplate:!1,trigger:"hover focus",keyboard:!1,html:!1,show:!1,title:"",type:"",delay:0,autoClose:!1,bsEnabled:!0,viewport:{selector:"body",padding:0}};this.$get=["$window","$rootScope","$bsCompiler","$q","$templateCache","$http","$animate","$sce","dimensions","$$rAF","$timeout",function(n,r,i,o,a,s,u,l,c,f,d){function p(o,a){function s(){F.$emit(O.prefixEvent+".show",M)}function p(){if(F.$emit(O.prefixEvent+".hide",M),U===q){if(z&&"focus"===O.trigger)return o[0].blur();T()}}function v(){var e=O.trigger.split(" ");angular.forEach(e,function(e){"click"===e||"contextmenu"===e?o.on(e,M.toggle):"manual"!==e&&(o.on("hover"===e?"mouseenter":"focus",M.enter),o.on("hover"===e?"mouseleave":"blur",M.leave),"button"===P&&"hover"!==e&&o.on(m?"touchstart":"mousedown",M.$onFocusElementMouseDown))})}function y(){for(var e=O.trigger.split(" "),t=e.length;t--;){var n=e[t];"click"===n||"contextmenu"===n?o.off(n,M.toggle):"manual"!==n&&(o.off("hover"===n?"mouseenter":"focus",M.enter),o.off("hover"===n?"mouseleave":"blur",M.leave),"button"===P&&"hover"!==n&&o.off(m?"touchstart":"mousedown",M.$onFocusElementMouseDown))}}function b(){"focus"!==O.trigger?U.on("keyup",M.$onKeyUp):o.on("keyup",M.$onFocusKeyUp)}function w(){"focus"!==O.trigger?U.off("keyup",M.$onKeyUp):o.off("keyup",M.$onFocusKeyUp)}function x(){d(function(){U.on("click",C),$.on("click",M.hide),B=!0},0,!1)}function S(){B&&(U.off("click",C),$.off("click",M.hide),B=!1)}function C(e){e.stopPropagation()}function k(e){e=e||O.target||o;var r=e[0],i="BODY"===r.tagName,a=r.getBoundingClientRect(),s={};for(var u in a)s[u]=a[u];null===s.width&&(s=angular.extend({},s,{width:a.right-a.left,height:a.bottom-a.top}));var l=i?{top:0,left:0}:c.offset(r),f={scroll:i?t.documentElement.scrollTop||t.body.scrollTop:e.prop("scrollTop")||0},d=i?{width:t.documentElement.clientWidth,height:n.innerHeight}:null;return angular.extend({},s,f,d,l)}function _(e,t,n,r){var i,o=e.split("-");switch(o[0]){case"right":i={top:t.top+t.height/2-r/2,left:t.left+t.width};break;case"bottom":i={top:t.top+t.height,left:t.left+t.width/2-n/2};break;case"left":i={top:t.top+t.height/2-r/2,left:t.left-n};break;default:i={top:t.top-r,left:t.left+t.width/2-n/2}}if(!o[1])return i;if("top"===o[0]||"bottom"===o[0])switch(o[1]){case"left":i.left=t.left;break;case"right":i.left=t.left+t.width-n}else if("left"===o[0]||"right"===o[0])switch(o[1]){case"top":i.top=t.top-r+t.height;break;case"bottom":i.top=t.top}return i}function A(e,t){var n=U[0],r=n.offsetWidth,i=n.offsetHeight,o=parseInt(c.css(n,"margin-top"),10),a=parseInt(c.css(n,"margin-left"),10);isNaN(o)&&(o=0),isNaN(a)&&(a=0),e.top=e.top+o,e.left=e.left+a,c.setOffset(n,angular.extend({using:function(e){U.css({top:Math.round(e.top)+"px",left:Math.round(e.left)+"px",right:""})}},e),0);var s=n.offsetWidth,u=n.offsetHeight;if("top"===t&&u!==i&&(e.top=e.top+i-u),!/top-left|top-right|bottom-left|bottom-right/.test(t)){var l=E(t,e,s,u);if(l.left?e.left+=l.left:e.top+=l.top,c.setOffset(n,e),/top|right|bottom|left/.test(t)){var f=/top|bottom/.test(t),d=f?2*l.left-r+s:2*l.top-i+u,p=f?"offsetWidth":"offsetHeight";D(d,n[p],f)}}}function E(e,t,n,r){var i={top:0,left:0};if(!M.$viewport)return i;var o=O.viewport&&O.viewport.padding||0,a=k(M.$viewport);if(/right|left/.test(e)){var s=t.top-o-a.scroll,u=t.top+o-a.scroll+r;s<a.top?i.top=a.top-s:u>a.top+a.height&&(i.top=a.top+a.height-u)}else{var l=t.left-o,c=t.left+o+n;l<a.left?i.left=a.left-l:c>a.right&&(i.left=a.left+a.width-c)}return i}function D(e,t,n){var r=g(".tooltip-arrow, .arrow",U[0]);r.css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")}function T(){clearTimeout(I),M.$isShown&&null!==U&&(O.autoClose&&S(),O.keyboard&&w()),H&&(H.$destroy(),H=null),U&&(U.remove(),U=M.$element=null)}var M={},O=M.$options=angular.extend({},e,a),N=M.$promise=i.compile(O),F=M.$scope=O.scope&&O.scope.$new()||r.$new(),P=o[0].nodeName.toLowerCase();if(O.delay&&angular.isString(O.delay)){var j=O.delay.split(",").map(parseFloat);O.delay=j.length>1?{show:j[0],hide:j[1]}:j[0]}M.$id=O.id||o.attr("id")||"",O.title&&(F.title=l.trustAsHtml(O.title)),F.$setEnabled=function(e){F.$$postDigest(function(){M.setEnabled(e)})},F.$hide=function(){F.$$postDigest(function(){M.hide()})},F.$show=function(){F.$$postDigest(function(){M.show()})},F.$toggle=function(){F.$$postDigest(function(){M.toggle()})},M.$isShown=F.$isShown=!1;var I,V,R,U,L,H;N.then(function(e){R=e,M.init()}),M.init=function(){O.delay&&angular.isNumber(O.delay)&&(O.delay={show:O.delay,hide:O.delay}),"self"===O.container?L=o:angular.isElement(O.container)?L=O.container:O.container&&(L=g(O.container)),v(),O.target&&(O.target=angular.isElement(O.target)?O.target:g(O.target)),O.show&&F.$$postDigest(function(){"focus"===O.trigger?o[0].focus():M.show()})},M.destroy=function(){y(),T(),F.$destroy()},M.enter=function(){return clearTimeout(I),V="in",O.delay&&O.delay.show?void(I=setTimeout(function(){"in"===V&&M.show()},O.delay.show)):M.show()},M.show=function(){if(O.bsEnabled&&!M.$isShown){F.$emit(O.prefixEvent+".show.before",M);var e,t;O.container?(e=L,t=L[0].lastChild?angular.element(L[0].lastChild):null):(e=null,t=o),U&&T(),H=M.$scope.$new(),U=M.$element=R.link(H,function(){}),U.css({top:"-9999px",left:"-9999px",right:"auto",display:"block",visibility:"hidden"}),O.animation&&U.addClass(O.animation),O.type&&U.addClass(O.prefixClass+"-"+O.type),O.customClass&&U.addClass(O.customClass),t?t.after(U):e.prepend(U),M.$isShown=F.$isShown=!0,h(F),M.$applyPlacement(),angular.version.minor<=2?u.enter(U,e,t,s):u.enter(U,e,t).then(s),h(F),f(function(){U&&U.css({visibility:"visible"}),O.keyboard&&("focus"!==O.trigger&&M.focus(),b())}),O.autoClose&&x()}},M.leave=function(){return clearTimeout(I),V="out",O.delay&&O.delay.hide?void(I=setTimeout(function(){"out"===V&&M.hide()},O.delay.hide)):M.hide()};var z,q;M.hide=function(e){M.$isShown&&(F.$emit(O.prefixEvent+".hide.before",M),z=e,q=U,angular.version.minor<=2?u.leave(U,p):u.leave(U).then(p),M.$isShown=F.$isShown=!1,h(F),O.keyboard&&null!==U&&w(),O.autoClose&&null!==U&&S())},M.toggle=function(e){e&&e.preventDefault(),M.$isShown?M.leave():M.enter()},M.focus=function(){U[0].focus()},M.setEnabled=function(e){O.bsEnabled=e},M.setViewport=function(e){O.viewport=e},M.$applyPlacement=function(){if(U){var t=O.placement,n=/\s?auto?\s?/i,r=n.test(t);r&&(t=t.replace(n,"")||e.placement),U.addClass(O.placement);var i=k(),o=U.prop("offsetWidth"),a=U.prop("offsetHeight");if(M.$viewport=O.viewport&&g(O.viewport.selector||O.viewport),r){var s=t,u=k(M.$viewport);/bottom/.test(s)&&i.bottom+a>u.bottom?t=s.replace("bottom","top"):/top/.test(s)&&i.top-a<u.top&&(t=s.replace("top","bottom")),/left/.test(s)&&i.left-o<u.left?t=t.replace("left","right"):/right/.test(s)&&i.right+o>u.width&&(t=t.replace("right","left")),U.removeClass(s).addClass(t)}var l=_(t,i,o,a);A(l,t)}},M.$onKeyUp=function(e){27===e.which&&M.$isShown&&(M.hide(),e.stopPropagation())},M.$onFocusKeyUp=function(e){27===e.which&&(o[0].blur(),e.stopPropagation())},M.$onFocusElementMouseDown=function(e){e.preventDefault(),e.stopPropagation(),M.$isShown?o[0].blur():o[0].focus()};var B=!1;return M}function h(e){e.$$phase||e.$root&&e.$root.$$phase||e.$digest()}function g(e,n){return angular.element((n||t).querySelectorAll(e))}var m="createTouch"in n.document,$=angular.element(n.document);return p}]}).directive("bsTooltip",["$window","$location","$sce","$tooltip","$$rAF",function(e,t,n,r,i){return{restrict:"EAC",scope:!0,link:function(e,t,o){var a,s={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","titleTemplate","placement","container","delay","trigger","html","animation","backdropAnimation","type","customClass","id"],function(e){angular.isDefined(o[e])&&(s[e]=o[e])});var u=/^(false|0|)$/i;angular.forEach(["html","container"],function(e){angular.isDefined(o[e])&&u.test(o[e])&&(s[e]=!1)});var l=t.attr("data-target");angular.isDefined(l)&&(u.test(l)?s.target=!1:s.target=l),e.hasOwnProperty("title")||(e.title=""),o.$observe("title",function(t){if(angular.isDefined(t)||!e.hasOwnProperty("title")){var r=e.title;e.title=n.trustAsHtml(t),angular.isDefined(r)&&i(function(){a&&a.$applyPlacement()})}}),o.$observe("disabled",function(e){e&&a.$isShown&&a.hide()}),o.bsTooltip&&e.$watch(o.bsTooltip,function(t,n){angular.isObject(t)?angular.extend(e,t):e.title=t,angular.isDefined(n)&&i(function(){a&&a.$applyPlacement()})},!0),o.bsShow&&e.$watch(o.bsShow,function(e){a&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|,?(tooltip),?/i)),e===!0?a.show():a.hide())}),o.bsEnabled&&e.$watch(o.bsEnabled,function(e){a&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|1|,?(tooltip),?/i)),e===!1?a.setEnabled(!1):a.setEnabled(!0))}),o.viewport&&e.$watch(o.viewport,function(e){a&&angular.isDefined(e)&&a.setViewport(e)}),a=r(t,s),e.$on("$destroy",function(){a&&a.destroy(),s=null,a=null})}}}]),angular.module("mgcrea.ngStrap.typeahead",["mgcrea.ngStrap.tooltip","mgcrea.ngStrap.helpers.parseOptions"]).provider("$typeahead",function(){var e=this.defaults={animation:"am-fade",prefixClass:"typeahead",prefixEvent:"$typeahead",placement:"bottom-left",templateUrl:"typeahead/typeahead.tpl.html",trigger:"focus",container:!1,keyboard:!0,html:!1,delay:0,minLength:1,filter:"bsAsyncFilter",limit:6,autoSelect:!1,comparator:"",trimValue:!0};this.$get=["$window","$rootScope","$tooltip","$$rAF","$timeout",function(t,n,r,i,o){function a(t,n,a){var u={},l=angular.extend({},e,a);u=r(t,l);var c=a.scope,f=u.$scope;f.$resetMatches=function(){f.$matches=[],f.$activeIndex=l.autoSelect?0:-1},f.$resetMatches(),f.$activate=function(e){f.$$postDigest(function(){u.activate(e)})},f.$select=function(e){f.$$postDigest(function(){u.select(e)})},f.$isVisible=function(){return u.$isVisible()},u.update=function(e){f.$matches=e,f.$activeIndex>=e.length&&(f.$activeIndex=l.autoSelect?0:-1),s(f),i(u.$applyPlacement)},u.activate=function(e){f.$activeIndex=e},u.select=function(e){if(-1!==e){var t=f.$matches[e].value;n.$setViewValue(t),n.$render(),f.$resetMatches(),c&&c.$digest(),f.$emit(l.prefixEvent+".select",t,e,u)}},u.$isVisible=function(){return l.minLength&&n?f.$matches.length&&angular.isString(n.$viewValue)&&n.$viewValue.length>=l.minLength:!!f.$matches.length},u.$getIndex=function(e){var t;for(t=f.$matches.length;t--&&!angular.equals(f.$matches[t].value,e););return t},u.$onMouseDown=function(e){e.preventDefault(),e.stopPropagation()},u.$onKeyDown=function(e){/(38|40|13)/.test(e.keyCode)&&(!u.$isVisible()||13===e.keyCode&&-1===f.$activeIndex||(e.preventDefault(),e.stopPropagation()),13===e.keyCode&&f.$matches.length?u.select(f.$activeIndex):38===e.keyCode&&f.$activeIndex>0?f.$activeIndex--:40===e.keyCode&&f.$activeIndex<f.$matches.length-1?f.$activeIndex++:angular.isUndefined(f.$activeIndex)&&(f.$activeIndex=0),f.$digest())};var d=u.show;u.show=function(){d(),o(function(){u.$element&&(u.$element.on("mousedown",u.$onMouseDown),l.keyboard&&t&&t.on("keydown",u.$onKeyDown))},0,!1)};var p=u.hide;return u.hide=function(){u.$element&&u.$element.off("mousedown",u.$onMouseDown),l.keyboard&&t&&t.off("keydown",u.$onKeyDown),l.autoSelect||u.activate(-1),p()},u}function s(e){e.$$phase||e.$root&&e.$root.$$phase||e.$digest()}return a.defaults=e,a}]}).filter("bsAsyncFilter",["$filter",function(e){return function(t,n,r){return t&&angular.isFunction(t.then)?t.then(function(t){return e("filter")(t,n,r)}):e("filter")(t,n,r)}}]).directive("bsTypeahead",["$window","$parse","$q","$typeahead","$parseOptions",function(e,t,n,r,i){var o=r.defaults;return{restrict:"EAC",require:"ngModel",link:function(e,t,n,a){t.off("change");var s={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","placement","container","delay","trigger","keyboard","html","animation","filter","limit","minLength","watchOptions","selectMode","autoSelect","comparator","id","prefixEvent","prefixClass"],function(e){angular.isDefined(n[e])&&(s[e]=n[e])});var u=/^(false|0|)$/i;angular.forEach(["html","container","trimValue","filter"],function(e){angular.isDefined(n[e])&&u.test(n[e])&&(s[e]=!1)}),t.attr("autocomplete")||t.attr("autocomplete","off");var l=angular.isDefined(s.filter)?s.filter:o.filter,c=s.limit||o.limit,f=s.comparator||o.comparator,d=n.bsOptions;l&&(d+=" | "+l+":$viewValue",f&&(d+=":"+f)),c&&(d+=" | limitTo:"+c);var p=i(d),h=r(t,a,s);if(s.watchOptions){var g=p.$match[7].replace(/\|.+/,"").replace(/\(.*\)/g,"").trim();e.$watchCollection(g,function(){p.valuesFn(e,a).then(function(e){h.update(e),a.$render()})})}e.$watch(n.ngModel,function(t){e.$modelValue=t,p.valuesFn(e,a).then(function(e){return s.selectMode&&!e.length&&t.length>0?void a.$setViewValue(a.$viewValue.substring(0,a.$viewValue.length-1)):(e.length>c&&(e=e.slice(0,c)),h.update(e),void a.$render())})}),a.$formatters.push(function(e){var t=p.displayValue(e);return t?t:angular.isDefined(e)&&"object"!=typeof e?e:""}),a.$render=function(){if(a.$isEmpty(a.$viewValue))return t.val("");var e=h.$getIndex(a.$modelValue),n=-1!==e?h.$scope.$matches[e].label:a.$viewValue;n=angular.isObject(n)?p.displayValue(n):n;var r=n?n.toString().replace(/<(?:.|\n)*?>/gm,""):"";t.val(s.trimValue===!1?r:r.trim())},e.$on("$destroy",function(){h&&h.destroy(),s=null,h=null})}}}]),angular.module("mgcrea.ngStrap.timepicker",["mgcrea.ngStrap.helpers.dateParser","mgcrea.ngStrap.helpers.dateFormatter","mgcrea.ngStrap.tooltip"]).provider("$timepicker",function(){var e=this.defaults={animation:"am-fade",prefixClass:"timepicker",placement:"bottom-left",templateUrl:"timepicker/timepicker.tpl.html",trigger:"focus",container:!1,keyboard:!0,html:!1,delay:0,useNative:!0,timeType:"date",timeFormat:"shortTime",timezone:null,modelTimeFormat:null,autoclose:!1,minTime:-(1/0),maxTime:+(1/0),length:5,hourStep:1,minuteStep:5,secondStep:5,roundDisplay:!1,iconUp:"glyphicon glyphicon-chevron-up",iconDown:"glyphicon glyphicon-chevron-down",arrowBehavior:"pager"};this.$get=["$window","$document","$rootScope","$sce","$dateFormatter","$tooltip","$timeout",function(t,n,r,i,o,a,s){function u(t,n,r){function i(e){var t=6e4*h.minuteStep;return new Date(Math.floor(e.getTime()/t)*t)}function u(e,n){var r=e+n;if(t[0].createTextRange){var i=t[0].createTextRange();i.collapse(!0),i.moveStart("character",e),i.moveEnd("character",r),i.select()}else t[0].setSelectionRange?t[0].setSelectionRange(e,r):angular.isUndefined(t[0].selectionStart)&&(t[0].selectionStart=e,t[0].selectionEnd=r)}function f(){t[0].focus()}var d=a(t,angular.extend({},e,r)),p=r.scope,h=d.$options,g=d.$scope,m=h.lang,$=function(e,t,n){return o.formatDate(e,t,m,n)},v=0,y=h.roundDisplay?i(new Date):new Date,b=n.$dateValue||y,w={hour:b.getHours(),meridian:b.getHours()<12,minute:b.getMinutes(),second:b.getSeconds(),millisecond:b.getMilliseconds()},x=o.getDatetimeFormat(h.timeFormat,m),S=o.hoursFormat(x),C=o.timeSeparator(x),k=o.minutesFormat(x),_=o.secondsFormat(x),A=o.showSeconds(x),E=o.showAM(x);g.$iconUp=h.iconUp,g.$iconDown=h.iconDown,g.$select=function(e,t){d.select(e,t)},g.$moveIndex=function(e,t){d.$moveIndex(e,t)},g.$switchMeridian=function(e){d.switchMeridian(e)},d.update=function(e){angular.isDate(e)&&!isNaN(e.getTime())?(d.$date=e,angular.extend(w,{hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),d.$build()):d.$isBuilt||d.$build()},d.select=function(e,t,r){n.$dateValue&&!isNaN(n.$dateValue.getTime())||(n.$dateValue=new Date(1970,0,1)),angular.isDate(e)||(e=new Date(e)),0===t?n.$dateValue.setHours(e.getHours()):1===t?n.$dateValue.setMinutes(e.getMinutes()):2===t&&n.$dateValue.setSeconds(e.getSeconds()),n.$setViewValue(angular.copy(n.$dateValue)),n.$render(),h.autoclose&&!r&&s(function(){d.hide(!0)})},d.switchMeridian=function(e){if(n.$dateValue&&!isNaN(n.$dateValue.getTime())){var t=(e||n.$dateValue).getHours();n.$dateValue.setHours(12>t?t+12:t-12),n.$setViewValue(angular.copy(n.$dateValue)),n.$render()}},d.$build=function(){var e,t,n=g.midIndex=parseInt(h.length/2,10),r=[];for(e=0;e<h.length;e++)t=new Date(1970,0,1,w.hour-(n-e)*h.hourStep),r.push({date:t,label:$(t,S),selected:d.$date&&d.$isSelected(t,0),disabled:d.$isDisabled(t,0)});var i,o=[];for(e=0;e<h.length;e++)i=new Date(1970,0,1,0,w.minute-(n-e)*h.minuteStep),o.push({date:i,label:$(i,k),selected:d.$date&&d.$isSelected(i,1),disabled:d.$isDisabled(i,1)});var a,s=[];for(e=0;e<h.length;e++)a=new Date(1970,0,1,0,0,w.second-(n-e)*h.secondStep),s.push({date:a,label:$(a,_),selected:d.$date&&d.$isSelected(a,2),disabled:d.$isDisabled(a,2)});var u=[];for(e=0;e<h.length;e++)A?u.push([r[e],o[e],s[e]]):u.push([r[e],o[e]]);g.rows=u,g.showSeconds=A,g.showAM=E,g.isAM=(d.$date||r[n].date).getHours()<12,g.timeSeparator=C,d.$isBuilt=!0},d.$isSelected=function(e,t){return d.$date?0===t?e.getHours()===d.$date.getHours():1===t?e.getMinutes()===d.$date.getMinutes():2===t?e.getSeconds()===d.$date.getSeconds():void 0:!1;
8
+ },d.$isDisabled=function(e,t){var n;return 0===t?n=e.getTime()+6e4*w.minute+1e3*w.second:1===t?n=e.getTime()+36e5*w.hour+1e3*w.second:2===t&&(n=e.getTime()+36e5*w.hour+6e4*w.minute),n<1*h.minTime||n>1*h.maxTime},g.$arrowAction=function(e,t){"picker"===h.arrowBehavior?d.$setTimeByStep(e,t):d.$moveIndex(e,t)},d.$setTimeByStep=function(e,t){var n=new Date(d.$date||b),r=n.getHours(),i=n.getMinutes(),o=n.getSeconds();0===t?n.setHours(r-parseInt(h.hourStep,10)*e):1===t?n.setMinutes(i-parseInt(h.minuteStep,10)*e):2===t&&n.setSeconds(o-parseInt(h.secondStep,10)*e),d.select(n,t,!0)},d.$moveIndex=function(e,t){var n;0===t?(n=new Date(1970,0,1,w.hour+e*h.length,w.minute,w.second),angular.extend(w,{hour:n.getHours()})):1===t?(n=new Date(1970,0,1,w.hour,w.minute+e*h.length*h.minuteStep,w.second),angular.extend(w,{minute:n.getMinutes()})):2===t&&(n=new Date(1970,0,1,w.hour,w.minute,w.second+e*h.length*h.secondStep),angular.extend(w,{second:n.getSeconds()})),d.$build()},d.$onMouseDown=function(e){if("input"!==e.target.nodeName.toLowerCase()&&e.preventDefault(),e.stopPropagation(),c){var t=angular.element(e.target);"button"!==t[0].nodeName.toLowerCase()&&(t=t.parent()),t.triggerHandler("click")}},d.$onKeyDown=function(e){if(/(38|37|39|40|13)/.test(e.keyCode)&&!e.shiftKey&&!e.altKey){if(e.preventDefault(),e.stopPropagation(),13===e.keyCode)return void d.hide(!0);var t=new Date(d.$date),n=t.getHours(),r=$(t,S).length,i=t.getMinutes(),o=$(t,k).length,a=t.getSeconds(),s=$(t,_).length,l=1,c=/(37|39)/.test(e.keyCode),f=2+1*A+1*E;c&&(37===e.keyCode?v=1>v?f-1:v-1:39===e.keyCode&&(v=f-1>v?v+1:0));var g=[0,r],m=0;38===e.keyCode&&(m=-1),40===e.keyCode&&(m=1);var y=2===v&&A,b=2===v&&!A||3===v&&A;0===v?(t.setHours(n+m*parseInt(h.hourStep,10)),r=$(t,S).length,g=[0,r]):1===v?(t.setMinutes(i+m*parseInt(h.minuteStep,10)),o=$(t,k).length,g=[r+l,o]):y?(t.setSeconds(a+m*parseInt(h.secondStep,10)),s=$(t,_).length,g=[r+l+o+l,s]):b&&(c||d.switchMeridian(),g=[r+l+o+l+(s+l)*A,2]),d.select(t,v,!0),u(g[0],g[1]),p.$digest()}};var D=d.init;d.init=function(){return l&&h.useNative?(t.prop("type","time"),void t.css("-webkit-appearance","textfield")):(c&&(t.prop("type","text"),t.attr("readonly","true"),t.on("click",f)),void D())};var T=d.destroy;d.destroy=function(){l&&h.useNative&&t.off("click",f),T()};var M=d.show;d.show=function(){!c&&t.attr("readonly")||t.attr("disabled")||(M(),s(function(){d.$element&&d.$element.on(c?"touchstart":"mousedown",d.$onMouseDown),h.keyboard&&t&&t.on("keydown",d.$onKeyDown)},0,!1))};var O=d.hide;return d.hide=function(e){d.$isShown&&(d.$element&&d.$element.off(c?"touchstart":"mousedown",d.$onMouseDown),h.keyboard&&t&&t.off("keydown",d.$onKeyDown),O(e))},d}var l=/(ip[ao]d|iphone|android)/gi.test(t.navigator.userAgent),c="createTouch"in t.document&&l;return e.lang||(e.lang=o.getDefaultLocale()),u.defaults=e,u}]}).directive("bsTimepicker",["$window","$parse","$q","$dateFormatter","$dateParser","$timepicker",function(e,t,r,i,o,a){var s=a.defaults,u=/(ip[ao]d|iphone|android)/gi.test(e.navigator.userAgent);return{restrict:"EAC",require:"ngModel",link:function(e,t,r,l){function c(e){if(angular.isDate(e)){var t=isNaN(d.minTime)||new Date(e.getTime()).setFullYear(1970,0,1)>=d.minTime,n=isNaN(d.maxTime)||new Date(e.getTime()).setFullYear(1970,0,1)<=d.maxTime,r=t&&n;l.$setValidity("date",r),l.$setValidity("min",t),l.$setValidity("max",n),r&&(l.$dateValue=e)}}function f(){return!l.$dateValue||isNaN(l.$dateValue.getTime())?"":m(l.$dateValue,d.timeFormat)}var d={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","placement","container","delay","trigger","keyboard","html","animation","autoclose","timeType","timeFormat","timezone","modelTimeFormat","useNative","hourStep","minuteStep","secondStep","length","arrowBehavior","iconUp","iconDown","roundDisplay","id","prefixClass","prefixEvent"],function(e){angular.isDefined(r[e])&&(d[e]=r[e])});var p=/^(false|0|)$/i;angular.forEach(["html","container","autoclose","useNative","roundDisplay"],function(e){angular.isDefined(r[e])&&p.test(r[e])&&(d[e]=!1)}),u&&(d.useNative||s.useNative)&&(d.timeFormat="HH:mm");var h=a(t,l,d);d=h.$options;var g=d.lang,m=function(e,t,n){return i.formatDate(e,t,g,n)};r.bsShow&&e.$watch(r.bsShow,function(e){h&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|,?(timepicker),?/i)),e===!0?h.show():h.hide())});var $=o({format:d.timeFormat,lang:g});angular.forEach(["minTime","maxTime"],function(e){angular.isDefined(r[e])&&r.$observe(e,function(t){h.$options[e]=$.getTimeForAttribute(e,t),isNaN(h.$options[e])||h.$build(),c(l.$dateValue)})}),e.$watch(r.ngModel,function(){h.update(l.$dateValue)},!0),l.$parsers.unshift(function(e){var t;if(!e)return l.$setValidity("date",!0),null;var r=angular.isDate(e)?e:$.parse(e,l.$dateValue);return!r||isNaN(r.getTime())?(l.$setValidity("date",!1),n):(c(r),"string"===d.timeType?(t=$.timezoneOffsetAdjust(r,d.timezone,!0),m(t,d.modelTimeFormat||d.timeFormat)):(t=$.timezoneOffsetAdjust(l.$dateValue,d.timezone,!0),"number"===d.timeType?t.getTime():"unix"===d.timeType?t.getTime()/1e3:"iso"===d.timeType?t.toISOString():new Date(t)))}),l.$formatters.push(function(e){var t;return t=angular.isUndefined(e)||null===e?NaN:angular.isDate(e)?e:"string"===d.timeType?$.parse(e,null,d.modelTimeFormat):"unix"===d.timeType?new Date(1e3*e):new Date(e),l.$dateValue=$.timezoneOffsetAdjust(t,d.timezone),f()}),l.$render=function(){t.val(f())},e.$on("$destroy",function(){h&&h.destroy(),d=null,h=null})}}}]),angular.module("mgcrea.ngStrap.tab",[]).provider("$tab",function(){var e=this.defaults={animation:"am-fade",template:"tab/tab.tpl.html",navClass:"nav-tabs",activeClass:"active"},t=this.controller=function(t,n,r){var i=this;i.$options=angular.copy(e),angular.forEach(["animation","navClass","activeClass"],function(e){angular.isDefined(r[e])&&(i.$options[e]=r[e])}),t.$navClass=i.$options.navClass,t.$activeClass=i.$options.activeClass,i.$panes=t.$panes=[],i.$activePaneChangeListeners=i.$viewChangeListeners=[],i.$push=function(e){angular.isUndefined(i.$panes.$active)&&t.$setActive(e.name||0),i.$panes.push(e)},i.$remove=function(e){var t,n=i.$panes.indexOf(e),r=i.$panes.$active;t=angular.isString(r)?i.$panes.map(function(e){return e.name}).indexOf(r):i.$panes.$active,i.$panes.splice(n,1),t>n?t--:n===t&&t===i.$panes.length&&t--,t>=0&&t<i.$panes.length?i.$setActive(i.$panes[t].name||t):i.$setActive()},i.$setActive=t.$setActive=function(e){i.$panes.$active=e,i.$activePaneChangeListeners.forEach(function(e){e()})},i.$isActive=t.$isActive=function(e,t){return i.$panes.$active===e.name||i.$panes.$active===t}};this.$get=function(){var n={};return n.defaults=e,n.controller=t,n}}).directive("bsTabs",["$window","$animate","$tab","$parse",function(e,t,n,r){var i=n.defaults;return{require:["?ngModel","bsTabs"],transclude:!0,scope:!0,controller:["$scope","$element","$attrs",n.controller],templateUrl:function(e,t){return t.template||i.template},link:function(e,t,n,i){var o=i[0],a=i[1];if(o&&(a.$activePaneChangeListeners.push(function(){o.$setViewValue(a.$panes.$active)}),o.$formatters.push(function(e){return a.$setActive(e),e})),n.bsActivePane){var s=r(n.bsActivePane);a.$activePaneChangeListeners.push(function(){s.assign(e,a.$panes.$active)}),e.$watch(n.bsActivePane,function(e){a.$setActive(e)},!0)}}}}]).directive("bsPane",["$window","$animate","$sce",function(e,t,n){return{require:["^?ngModel","^bsTabs"],scope:!0,link:function(e,r,i,o){function a(){var n=s.$panes.indexOf(e);t[s.$isActive(e,n)?"addClass":"removeClass"](r,s.$options.activeClass)}var s=o[1];r.addClass("tab-pane"),i.$observe("title",function(t){e.title=n.trustAsHtml(t)}),e.name=i.name,s.$options.animation&&r.addClass(s.$options.animation),i.$observe("disabled",function(t){e.disabled=e.$eval(t)}),s.$push(e),e.$on("$destroy",function(){s.$remove(e)}),s.$activePaneChangeListeners.push(function(){a()}),a()}}}]),angular.module("mgcrea.ngStrap.select",["mgcrea.ngStrap.tooltip","mgcrea.ngStrap.helpers.parseOptions"]).provider("$select",function(){var e=this.defaults={animation:"am-fade",prefixClass:"select",prefixEvent:"$select",placement:"bottom-left",templateUrl:"select/select.tpl.html",trigger:"focus",container:!1,keyboard:!0,html:!1,delay:0,multiple:!1,allNoneButtons:!1,sort:!0,caretHtml:'&nbsp;<span class="caret"></span>',placeholder:"Choose among the following...",allText:"All",noneText:"None",maxLength:3,maxLengthHtml:"selected",iconCheckmark:"glyphicon glyphicon-ok"};this.$get=["$window","$document","$rootScope","$tooltip","$timeout",function(t,n,r,i,o){function a(r,a,s){var l={},c=angular.extend({},e,s);l=i(r,c);var f=l.$scope;f.$matches=[],c.multiple?f.$activeIndex=[]:f.$activeIndex=-1,f.$isMultiple=c.multiple,f.$showAllNoneButtons=c.allNoneButtons&&c.multiple,f.$iconCheckmark=c.iconCheckmark,f.$allText=c.allText,f.$noneText=c.noneText,f.$activate=function(e){f.$$postDigest(function(){l.activate(e)})},f.$select=function(e){f.$$postDigest(function(){l.select(e)})},f.$isVisible=function(){return l.$isVisible()},f.$isActive=function(e){return l.$isActive(e)},f.$selectAll=function(){for(var e=0;e<f.$matches.length;e++)f.$isActive(e)||f.$select(e)},f.$selectNone=function(){for(var e=0;e<f.$matches.length;e++)f.$isActive(e)&&f.$select(e)},l.update=function(e){f.$matches=e,l.$updateActiveIndex()},l.activate=function(e){return c.multiple?(l.$isActive(e)?f.$activeIndex.splice(f.$activeIndex.indexOf(e),1):f.$activeIndex.push(e),c.sort&&f.$activeIndex.sort(function(e,t){return e-t})):f.$activeIndex=e,f.$activeIndex},l.select=function(e){var t=f.$matches[e].value;f.$apply(function(){l.activate(e),c.multiple?a.$setViewValue(f.$activeIndex.map(function(e){return angular.isUndefined(f.$matches[e])?null:f.$matches[e].value})):(a.$setViewValue(t),l.hide())}),f.$emit(c.prefixEvent+".select",t,e,l)},l.$updateActiveIndex=function(){c.multiple?angular.isArray(a.$modelValue)?f.$activeIndex=a.$modelValue.map(function(e){return l.$getIndex(e)}):f.$activeIndex=[]:angular.isDefined(a.$modelValue)&&f.$matches.length?f.$activeIndex=l.$getIndex(a.$modelValue):f.$activeIndex=-1},l.$isVisible=function(){return c.minLength&&a?f.$matches.length&&a.$viewValue.length>=c.minLength:f.$matches.length},l.$isActive=function(e){return c.multiple?-1!==f.$activeIndex.indexOf(e):f.$activeIndex===e},l.$getIndex=function(e){var t;for(t=f.$matches.length;t--&&!angular.equals(f.$matches[t].value,e););return t},l.$onMouseDown=function(e){if(e.preventDefault(),e.stopPropagation(),u){var t=angular.element(e.target);t.triggerHandler("click")}},l.$onKeyDown=function(e){return/(9|13|38|40)/.test(e.keyCode)?(9!==e.keyCode&&(e.preventDefault(),e.stopPropagation()),c.multiple&&9===e.keyCode?l.hide():c.multiple||13!==e.keyCode&&9!==e.keyCode?void(c.multiple||(38===e.keyCode&&f.$activeIndex>0?f.$activeIndex--:38===e.keyCode&&f.$activeIndex<0?f.$activeIndex=f.$matches.length-1:40===e.keyCode&&f.$activeIndex<f.$matches.length-1?f.$activeIndex++:angular.isUndefined(f.$activeIndex)&&(f.$activeIndex=0),f.$digest())):l.select(f.$activeIndex)):void 0},l.$isIE=function(){var e=t.navigator.userAgent;return e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0||e.indexOf("Edge/")>0},l.$selectScrollFix=function(e){"UL"===n[0].activeElement.tagName&&(e.preventDefault(),e.stopImmediatePropagation(),e.target.focus())};var d=l.show;l.show=function(){d(),c.multiple&&l.$element.addClass("select-multiple"),o(function(){l.$element.on(u?"touchstart":"mousedown",l.$onMouseDown),c.keyboard&&r.on("keydown",l.$onKeyDown)},0,!1)};var p=l.hide;return l.hide=function(){!c.multiple&&angular.isUndefined(a.$modelValue)&&(f.$activeIndex=-1),l.$element.off(u?"touchstart":"mousedown",l.$onMouseDown),c.keyboard&&r.off("keydown",l.$onKeyDown),p(!0)},l}var s=/(ip[ao]d|iphone|android)/gi.test(t.navigator.userAgent),u="createTouch"in t.document&&s;return a.defaults=e,a}]}).directive("bsSelect",["$window","$parse","$q","$select","$parseOptions",function(e,t,n,r,i){var o=r.defaults;return{restrict:"EAC",require:"ngModel",link:function(e,t,n,a){var s={scope:e,placeholder:o.placeholder};angular.forEach(["template","templateUrl","controller","controllerAs","placement","container","delay","trigger","keyboard","html","animation","placeholder","allNoneButtons","maxLength","maxLengthHtml","allText","noneText","iconCheckmark","autoClose","id","sort","caretHtml","prefixClass","prefixEvent"],function(e){angular.isDefined(n[e])&&(s[e]=n[e])});var u=/^(false|0|)$/i;angular.forEach(["html","container","allNoneButtons","sort"],function(e){angular.isDefined(n[e])&&u.test(n[e])&&(s[e]=!1)});var l=t.attr("data-multiple");if(angular.isDefined(l)&&(u.test(l)?s.multiple=!1:s.multiple=l),"select"===t[0].nodeName.toLowerCase()){var c=t;c.css("display","none"),t=angular.element('<button type="button" class="btn btn-default"></button>'),c.after(t)}var f=i(n.bsOptions),d=r(t,a,s);d.$isIE()&&t[0].addEventListener("blur",d.$selectScrollFix);var p=f.$match[7].replace(/\|.+/,"").trim();e.$watch(p,function(){f.valuesFn(e,a).then(function(e){d.update(e),a.$render()})},!0),e.$watch(n.ngModel,function(){d.$updateActiveIndex(),a.$render()},!0),a.$render=function(){var e,n;s.multiple&&angular.isArray(a.$modelValue)?(e=a.$modelValue.map(function(e){return n=d.$getIndex(e),-1!==n?d.$scope.$matches[n].label:!1}).filter(angular.isDefined),e=e.length>(s.maxLength||o.maxLength)?e.length+" "+(s.maxLengthHtml||o.maxLengthHtml):e.join(", ")):(n=d.$getIndex(a.$modelValue),e=-1!==n?d.$scope.$matches[n].label:!1),t.html((e||s.placeholder)+(s.caretHtml||o.caretHtml))},s.multiple&&(a.$isEmpty=function(e){return!e||0===e.length}),e.$on("$destroy",function(){d&&d.destroy(),s=null,d=null})}}}]),angular.module("mgcrea.ngStrap.scrollspy",["mgcrea.ngStrap.helpers.debounce","mgcrea.ngStrap.helpers.dimensions"]).provider("$scrollspy",function(){var e=this.$$spies={},n=this.defaults={debounce:150,throttle:100,offset:100};this.$get=["$window","$document","$rootScope","dimensions","debounce","throttle",function(r,i,o,a,s,u){function l(e,t){return e[0].nodeName&&e[0].nodeName.toLowerCase()===t.toLowerCase()}function c(i){var c=angular.extend({},n,i);c.element||(c.element=p);var h=l(c.element,"body"),g=h?f:c.element,m=h?"window":c.id;if(e[m])return e[m].$$count++,e[m];var $,v,y,b,w,x,S,C,k={},_=k.$trackedElements=[],A=[];return k.init=function(){this.$$count=1,b=s(this.checkPosition,c.debounce),w=u(this.checkPosition,c.throttle),g.on("click",this.checkPositionWithEventLoop),f.on("resize",b),g.on("scroll",w),x=s(this.checkOffsets,c.debounce),$=o.$on("$viewContentLoaded",x),v=o.$on("$includeContentLoaded",x),x(),m&&(e[m]=k)},k.destroy=function(){this.$$count--,this.$$count>0||(g.off("click",this.checkPositionWithEventLoop),f.off("resize",b),g.off("scroll",w),$(),v(),m&&delete e[m])},k.checkPosition=function(){if(A.length){if(C=(h?r.pageYOffset:g.prop("scrollTop"))||0,S=Math.max(r.innerHeight,d.prop("clientHeight")),C<A[0].offsetTop&&y!==A[0].target)return k.$activateElement(A[0]);for(var e=A.length;e--;)if(!angular.isUndefined(A[e].offsetTop)&&null!==A[e].offsetTop&&y!==A[e].target&&!(C<A[e].offsetTop||A[e+1]&&C>A[e+1].offsetTop))return k.$activateElement(A[e])}},k.checkPositionWithEventLoop=function(){setTimeout(k.checkPosition,1)},k.$activateElement=function(e){if(y){var t=k.$getTrackedElement(y);t&&(t.source.removeClass("active"),l(t.source,"li")&&l(t.source.parent().parent(),"li")&&t.source.parent().parent().removeClass("active"))}y=e.target,e.source.addClass("active"),l(e.source,"li")&&l(e.source.parent().parent(),"li")&&e.source.parent().parent().addClass("active")},k.$getTrackedElement=function(e){return _.filter(function(t){return t.target===e})[0]},k.checkOffsets=function(){angular.forEach(_,function(e){var n=t.querySelector(e.target);e.offsetTop=n?a.offset(n).top:null,c.offset&&null!==e.offsetTop&&(e.offsetTop-=1*c.offset)}),A=_.filter(function(e){return null!==e.offsetTop}).sort(function(e,t){return e.offsetTop-t.offsetTop}),b()},k.trackElement=function(e,t){_.push({target:e,source:t})},k.untrackElement=function(e,t){for(var n,r=_.length;r--;)if(_[r].target===e&&_[r].source===t){n=r;break}_.splice(n,1)},k.activate=function(e){_[e].addClass("active")},k.init(),k}var f=angular.element(r),d=angular.element(i.prop("documentElement")),p=angular.element(r.document.body);return c}]}).directive("bsScrollspy",["$rootScope","debounce","dimensions","$scrollspy",function(e,t,n,r){return{restrict:"EAC",link:function(e,t,n){var i={scope:e};angular.forEach(["offset","target"],function(e){angular.isDefined(n[e])&&(i[e]=n[e])});var o=r(i);o.trackElement(i.target,t),e.$on("$destroy",function(){o&&(o.untrackElement(i.target,t),o.destroy()),i=null,o=null})}}}]).directive("bsScrollspyList",["$rootScope","debounce","dimensions","$scrollspy",function(){return{restrict:"A",compile:function(e){var t=e[0].querySelectorAll("li > a[href]");angular.forEach(t,function(e){var t=angular.element(e);t.parent().attr("bs-scrollspy","").attr("data-target",t.attr("href"))})}}}]),angular.module("mgcrea.ngStrap.popover",["mgcrea.ngStrap.tooltip"]).provider("$popover",function(){var e=this.defaults={animation:"am-fade",customClass:"",container:!1,target:!1,placement:"right",templateUrl:"popover/popover.tpl.html",contentTemplate:!1,trigger:"click",keyboard:!0,html:!1,title:"",content:"",delay:0,autoClose:!1};this.$get=["$tooltip",function(t){function n(n,r){var i=angular.extend({},e,r),o=t(n,i);return i.content&&(o.$scope.content=i.content),o}return n}]}).directive("bsPopover",["$window","$sce","$popover",function(e,t,n){var r=e.requestAnimationFrame||e.setTimeout;return{restrict:"EAC",scope:!0,link:function(e,i,o){var a,s={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","contentTemplate","placement","container","delay","trigger","html","animation","customClass","autoClose","id","prefixClass","prefixEvent"],function(e){angular.isDefined(o[e])&&(s[e]=o[e])});var u=/^(false|0|)$/i;angular.forEach(["html","container","autoClose"],function(e){angular.isDefined(o[e])&&u.test(o[e])&&(s[e]=!1)});var l=i.attr("data-target");angular.isDefined(l)&&(u.test(l)?s.target=!1:s.target=l),angular.forEach(["title","content"],function(n){o[n]&&o.$observe(n,function(i,o){e[n]=t.trustAsHtml(i),angular.isDefined(o)&&r(function(){a&&a.$applyPlacement()})})}),o.bsPopover&&e.$watch(o.bsPopover,function(t,n){angular.isObject(t)?angular.extend(e,t):e.content=t,angular.isDefined(n)&&r(function(){a&&a.$applyPlacement()})},!0),o.bsShow&&e.$watch(o.bsShow,function(e){a&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|,?(popover),?/i)),e===!0?a.show():a.hide())}),o.viewport&&e.$watch(o.viewport,function(e){a&&angular.isDefined(e)&&a.setViewport(e)}),a=n(i,s),e.$on("$destroy",function(){a&&a.destroy(),s=null,a=null})}}}]),angular.module("mgcrea.ngStrap.navbar",[]).provider("$navbar",function(){var e=this.defaults={activeClass:"active",routeAttr:"data-match-route",strict:!1};this.$get=function(){return{defaults:e}}}).directive("bsNavbar",["$window","$location","$navbar",function(e,t,n){var r=n.defaults;return{restrict:"A",link:function(e,n,i){var o=angular.copy(r);angular.forEach(Object.keys(r),function(e){angular.isDefined(i[e])&&(o[e]=i[e])}),e.$watch(function(){return t.path()},function(e){var t=n[0].querySelectorAll("li["+o.routeAttr+"]");angular.forEach(t,function(t){var n=angular.element(t),r=n.attr(o.routeAttr).replace("/","\\/");o.strict&&(r="^"+r+"$");var i=new RegExp(r,"i");i.test(e)?n.addClass(o.activeClass):n.removeClass(o.activeClass)})})}}}]),angular.module("mgcrea.ngStrap.dropdown",["mgcrea.ngStrap.tooltip"]).provider("$dropdown",function(){var e=this.defaults={animation:"am-fade",prefixClass:"dropdown",prefixEvent:"dropdown",placement:"bottom-left",templateUrl:"dropdown/dropdown.tpl.html",trigger:"click",container:!1,keyboard:!0,html:!1,delay:0};this.$get=["$window","$rootScope","$tooltip","$timeout",function(t,n,r,i){function o(t,o){function u(e){return e.target!==t[0]?e.target!==t[0]&&l.hide():void 0}var l={},c=angular.extend({},e,o);l.$scope=c.scope&&c.scope.$new()||n.$new(),l=r(t,c);var f=t.parent();l.$onKeyDown=function(e){if(/(38|40)/.test(e.keyCode)){e.preventDefault(),e.stopPropagation();var t=angular.element(l.$element[0].querySelectorAll("li:not(.divider) a"));if(t.length){var n;angular.forEach(t,function(e,t){s&&s.call(e,":focus")&&(n=t)}),38===e.keyCode&&n>0?n--:40===e.keyCode&&n<t.length-1?n++:angular.isUndefined(n)&&(n=0),t.eq(n)[0].focus()}}};var d=l.show;l.show=function(){d(),i(function(){c.keyboard&&l.$element&&l.$element.on("keydown",l.$onKeyDown),a.on("click",u)},0,!1),f.hasClass("dropdown")&&f.addClass("open")};var p=l.hide;l.hide=function(){l.$isShown&&(c.keyboard&&l.$element&&l.$element.off("keydown",l.$onKeyDown),a.off("click",u),f.hasClass("dropdown")&&f.removeClass("open"),p())};var h=l.destroy;return l.destroy=function(){a.off("click",u),h()},l}var a=angular.element(t.document.body),s=Element.prototype.matchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector;return o}]}).directive("bsDropdown",["$window","$sce","$dropdown",function(e,t,r){return{restrict:"EAC",scope:!0,compile:function(e,t){if(!t.bsDropdown){for(var i=e[0].nextSibling;i&&1!==i.nodeType;)i=i.nextSibling;i&&i.className.split(" ").indexOf("dropdown-menu")>=0&&(t.template=i.outerHTML,t.templateUrl=n,i.parentNode.removeChild(i))}return function(e,n,i){var o={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","placement","container","delay","trigger","keyboard","html","animation","id","autoClose"],function(e){angular.isDefined(t[e])&&(o[e]=t[e])});var a=/^(false|0|)$/i;angular.forEach(["html","container"],function(e){angular.isDefined(i[e])&&a.test(i[e])&&(o[e]=!1)}),i.bsDropdown&&e.$watch(i.bsDropdown,function(t){e.content=t},!0);var s=r(n,o);i.bsShow&&e.$watch(i.bsShow,function(e){s&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|,?(dropdown),?/i)),e===!0?s.show():s.hide())}),e.$on("$destroy",function(){s&&s.destroy(),o=null,s=null})}}}}]),angular.module("mgcrea.ngStrap.modal",["mgcrea.ngStrap.core","mgcrea.ngStrap.helpers.dimensions"]).provider("$modal",function(){var e=this.defaults={animation:"am-fade",backdropAnimation:"am-fade",customClass:"",prefixClass:"modal",prefixEvent:"modal",placement:"top",templateUrl:"modal/modal.tpl.html",template:"",contentTemplate:!1,container:!1,element:null,backdrop:!0,keyboard:!0,html:!1,show:!0,size:null};this.$get=["$window","$rootScope","$bsCompiler","$animate","$timeout","$sce","dimensions",function(n,r,i,o,a,s){function u(t){function n(){A.$emit(k.prefixEvent+".show",C)}function a(){p.removeClass(k.prefixClass+"-open"),k.animation&&p.removeClass(k.prefixClass+"-with-"+k.animation),A.$emit(k.prefixEvent+".hide",C)}function u(){k.backdrop&&(D.on("click",w),M.on("click",w),M.on("wheel",x))}function v(){k.backdrop&&(D.off("click",w),M.off("click",w),M.off("wheel",x))}function y(){k.keyboard&&D.on("keyup",C.$onKeyUp)}function b(){k.keyboard&&D.off("keyup",C.$onKeyUp)}function w(e){e.target===e.currentTarget&&("static"===k.backdrop?C.focus():C.hide())}function x(e){e.preventDefault()}function S(){C.$isShown&&null!==D&&(v(),b()),T&&(T.$destroy(),T=null),D&&(D.remove(),D=C.$element=null)}var C={},k=C.$options=angular.extend({},e,t),_=C.$promise=i.compile(k),A=C.$scope=k.scope&&k.scope.$new()||r.$new();k.element||k.container||(k.container="body"),C.$id=k.id||k.element&&k.element.attr("id")||"",f(["title","content"],function(e){k[e]&&(A[e]=s.trustAsHtml(k[e]))}),A.$hide=function(){A.$$postDigest(function(){C.hide()})},A.$show=function(){A.$$postDigest(function(){C.show()})},A.$toggle=function(){A.$$postDigest(function(){C.toggle()})},C.$isShown=A.$isShown=!1;var E,D,T,M=angular.element('<div class="'+k.prefixClass+'-backdrop"/>');return M.css({position:"fixed",top:"0px",left:"0px",bottom:"0px",right:"0px"}),_.then(function(e){E=e,C.init()}),C.init=function(){k.show&&A.$$postDigest(function(){C.show()})},C.destroy=function(){S(),M&&(M.remove(),M=null),A.$destroy()},C.show=function(){if(!C.$isShown){var e,t;if(angular.isElement(k.container)?(e=k.container,t=k.container[0].lastChild?angular.element(k.container[0].lastChild):null):k.container?(e=c(k.container),t=e[0]&&e[0].lastChild?angular.element(e[0].lastChild):null):(e=null,t=k.element),D&&S(),T=C.$scope.$new(),D=C.$element=E.link(T,function(){}),C.$backdrop=M,k.backdrop&&(D.css({"z-index":g+20*h}),M.css({"z-index":m+20*h}),h++),!A.$emit(k.prefixEvent+".show.before",C).defaultPrevented){D.css({display:"block"}).addClass(k.placement),k.customClass&&D.addClass(k.customClass),k.size&&$[k.size]&&angular.element(c(".modal-dialog",D[0])).addClass($[k.size]),k.animation&&(k.backdrop&&M.addClass(k.backdropAnimation),D.addClass(k.animation)),k.backdrop&&o.enter(M,p,null),angular.version.minor<=2?o.enter(D,e,t,n):o.enter(D,e,t).then(n),C.$isShown=A.$isShown=!0,l(A);var r=D[0];d(function(){r.focus()}),p.addClass(k.prefixClass+"-open"),k.animation&&p.addClass(k.prefixClass+"-with-"+k.animation),u(),y()}}},C.hide=function(){C.$isShown&&(k.backdrop&&h--,A.$emit(k.prefixEvent+".hide.before",C).defaultPrevented||(angular.version.minor<=2?o.leave(D,a):o.leave(D).then(a),k.backdrop&&o.leave(M),C.$isShown=A.$isShown=!1,l(A),v(),b()))},C.toggle=function(){C.$isShown?C.hide():C.show()},C.focus=function(){D[0].focus()},C.$onKeyUp=function(e){27===e.which&&C.$isShown&&(C.hide(),e.stopPropagation())},C}function l(e){e.$$phase||e.$root&&e.$root.$$phase||e.$digest()}function c(e,n){return angular.element((n||t).querySelectorAll(e))}var f=angular.forEach,d=n.requestAnimationFrame||n.setTimeout,p=angular.element(n.document.body),h=0,g=1050,m=1040,$={lg:"modal-lg",sm:"modal-sm"};return u}]}).directive("bsModal",["$window","$sce","$modal",function(e,t,n){return{restrict:"EAC",scope:!0,link:function(e,r,i){var o={scope:e,element:r,show:!1};angular.forEach(["template","templateUrl","controller","controllerAs","contentTemplate","placement","backdrop","keyboard","html","container","animation","backdropAnimation","id","prefixEvent","prefixClass","customClass","modalClass","size"],function(e){angular.isDefined(i[e])&&(o[e]=i[e])}),o.modalClass&&(o.customClass=o.modalClass);var a=/^(false|0|)$/i;angular.forEach(["backdrop","keyboard","html","container"],function(e){angular.isDefined(i[e])&&a.test(i[e])&&(o[e]=!1)}),angular.forEach(["title","content"],function(n){i[n]&&i.$observe(n,function(r){e[n]=t.trustAsHtml(r)})}),i.bsModal&&e.$watch(i.bsModal,function(t){angular.isObject(t)?angular.extend(e,t):e.content=t},!0);var s=n(o);r.on(i.trigger||"click",s.toggle),e.$on("$destroy",function(){s&&s.destroy(),o=null,s=null})}}}]),angular.version.minor<3&&angular.version.dot<14&&angular.module("ng").factory("$$rAF",["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]),angular.module("mgcrea.ngStrap.helpers.parseOptions",[]).provider("$parseOptions",function(){var e=this.defaults={regexp:/^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+group\s+by\s+(.*))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+(.*?)(?:\s+track\s+by\s+(.*?))?$/};this.$get=["$parse","$q",function(t,n){function r(r,i){function o(e,t){return e.map(function(e,n){var r,i,o={};return o[c]=e,r=l(t,o),i=p(t,o),{label:r,value:i,index:n}})}var a={},s=angular.extend({},e,i);a.$values=[];var u,l,c,f,d,p,h;return a.init=function(){a.$match=u=r.match(s.regexp),l=t(u[2]||u[1]),c=u[4]||u[6],f=u[5],d=t(u[3]||""),p=t(u[2]?u[1]:c),h=t(u[7])},a.valuesFn=function(e,t){return n.when(h(e,t)).then(function(t){return angular.isArray(t)||(t=[]),a.$values=t.length?o(t,e):[],a.$values})},a.displayValue=function(e){var t={};return t[c]=e,l(t)},a.init(),a}return r}]}),angular.module("mgcrea.ngStrap.helpers.dimensions",[]).factory("dimensions",function(){function t(e){var t=e.ownerDocument,i=e.offsetParent||t;if(r(i,"#document"))return t.documentElement;for(;i&&!r(i,"html")&&"static"===n.css(i,"position");)i=i.offsetParent;return i||t.documentElement}var n={},r=n.nodeName=function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()};return n.css=function(t,n,r){var i;return i=t.currentStyle?t.currentStyle[n]:e.getComputedStyle?e.getComputedStyle(t)[n]:t.style[n],r===!0?parseFloat(i)||0:i},n.offset=function(t){var n=t.getBoundingClientRect(),r=t.ownerDocument;return{width:n.width||t.offsetWidth,height:n.height||t.offsetHeight,top:n.top+(e.pageYOffset||r.documentElement.scrollTop)-(r.documentElement.clientTop||0),left:n.left+(e.pageXOffset||r.documentElement.scrollLeft)-(r.documentElement.clientLeft||0)}},n.setOffset=function(e,t,r){var i,o,a,s,u,l,c,f=n.css(e,"position"),d=angular.element(e),p={};"static"===f&&(e.style.position="relative"),u=n.offset(e),a=n.css(e,"top"),l=n.css(e,"left"),c=("absolute"===f||"fixed"===f)&&(a+l).indexOf("auto")>-1,c?(i=n.position(e),s=i.top,o=i.left):(s=parseFloat(a)||0,o=parseFloat(l)||0),angular.isFunction(t)&&(t=t.call(e,r,u)),null!==t.top&&(p.top=t.top-u.top+s),null!==t.left&&(p.left=t.left-u.left+o),"using"in t?t.using.call(d,p):d.css({top:p.top+"px",left:p.left+"px"})},n.position=function(e){var i,o,a={top:0,left:0};return"fixed"===n.css(e,"position")?o=e.getBoundingClientRect():(i=t(e),o=n.offset(e),r(i,"html")||(a=n.offset(i)),a.top+=n.css(i,"borderTopWidth",!0),a.left+=n.css(i,"borderLeftWidth",!0)),{width:e.offsetWidth,height:e.offsetHeight,top:o.top-a.top-n.css(e,"marginTop",!0),left:o.left-a.left-n.css(e,"marginLeft",!0)}},n.height=function(e,t){var r=e.offsetHeight;return t?r+=n.css(e,"marginTop",!0)+n.css(e,"marginBottom",!0):r-=n.css(e,"paddingTop",!0)+n.css(e,"paddingBottom",!0)+n.css(e,"borderTopWidth",!0)+n.css(e,"borderBottomWidth",!0),r},n.width=function(e,t){var r=e.offsetWidth;return t?r+=n.css(e,"marginLeft",!0)+n.css(e,"marginRight",!0):r-=n.css(e,"paddingLeft",!0)+n.css(e,"paddingRight",!0)+n.css(e,"borderLeftWidth",!0)+n.css(e,"borderRightWidth",!0),r},n}),angular.module("mgcrea.ngStrap.helpers.debounce",[]).factory("debounce",["$timeout",function(e){return function(t,n,r){var i=null;return function(){var o=this,a=arguments,s=r&&!i;return i&&e.cancel(i),i=e(function(){i=null,r||t.apply(o,a)},n,!1),s&&t.apply(o,a),i}}}]).factory("throttle",["$timeout",function(e){return function(t,n,r){var i=null;return r||(r={}),function(){var o=this,a=arguments;i||(r.leading!==!1&&t.apply(o,a),i=e(function(){i=null,r.trailing!==!1&&t.apply(o,a)},n,!1))}}}]),angular.module("mgcrea.ngStrap.helpers.dateParser",[]).provider("$dateParser",["$localeProvider",function(){function e(){this.year=1970,this.month=0,this.day=1,this.hours=0,this.minutes=0,this.seconds=0,this.milliseconds=0}function t(){}function n(e){return!isNaN(parseFloat(e))&&isFinite(e)}function r(e,t){for(var n=e.length,r=t.toString().toLowerCase(),i=0;n>i;i++)if(e[i].toLowerCase()===r)return i;return-1}e.prototype.setMilliseconds=function(e){this.milliseconds=e},e.prototype.setSeconds=function(e){this.seconds=e},e.prototype.setMinutes=function(e){this.minutes=e},e.prototype.setHours=function(e){this.hours=e},e.prototype.getHours=function(){return this.hours},e.prototype.setDate=function(e){this.day=e},e.prototype.setMonth=function(e){this.month=e},e.prototype.setFullYear=function(e){this.year=e},e.prototype.fromDate=function(e){return this.year=e.getFullYear(),this.month=e.getMonth(),this.day=e.getDate(),this.hours=e.getHours(),this.minutes=e.getMinutes(),this.seconds=e.getSeconds(),this.milliseconds=e.getMilliseconds(),this},e.prototype.toDate=function(){return new Date(this.year,this.month,this.day,this.hours,this.minutes,this.seconds,this.milliseconds)};var i=e.prototype,o=this.defaults={format:"shortDate",strict:!1};this.$get=["$locale","dateFilter",function(a,s){var u=function(u){function l(e){var t=c(e);return h(t)}function c(e){var t=f(e),n=t.replace(/''/g,"\\'"),r=/('(?:\\'|.)*?')/,i=n.split(r),o=Object.keys(w),a=[];return angular.forEach(i,function(e){if(d(e))e=p(e);else for(var t=0;t<o.length;t++)e=e.split(o[t]).join("${"+t+"}");a.push(e)}),a.join("")}function f(e){return e.replace(/\\/g,"[\\\\]").replace(/-/g,"[-]").replace(/\./g,"[.]").replace(/\*/g,"[*]").replace(/\+/g,"[+]").replace(/\?/g,"[?]").replace(/\$/g,"[$]").replace(/\^/g,"[^]").replace(/\//g,"[/]").replace(/\\s/g,"[\\s]")}function d(e){return/^'.*'$/.test(e)}function p(e){return e.replace(/^'(.*)'$/,"$1")}function h(e){for(var t=Object.keys(w),n=e,r=0;r<t.length;r++)n=n.split("${"+r+"}").join("("+w[t[r]]+")");return new RegExp("^"+n+"$",["i"]);
9
+ }function g(e){var t=c(e);return m(t)}function m(e){for(var t,n,r,i,o=Object.keys(w),a=new RegExp("\\${(\\d+)}","g"),s=[];null!==(t=a.exec(e));)n=t[1],r=o[n],i=x[r],s.push(i);return s}var $,v,y=angular.extend({},o,u),b={},w={sss:"[0-9]{3}",ss:"[0-5][0-9]",s:y.strict?"[1-5]?[0-9]":"[0-9]|[0-5][0-9]",mm:"[0-5][0-9]",m:y.strict?"[1-5]?[0-9]":"[0-9]|[0-5][0-9]",HH:"[01][0-9]|2[0-3]",H:y.strict?"1?[0-9]|2[0-3]":"[01]?[0-9]|2[0-3]",hh:"[0][1-9]|[1][012]",h:y.strict?"[1-9]|1[012]":"0?[1-9]|1[012]",a:"AM|PM",EEEE:a.DATETIME_FORMATS.DAY.join("|"),EEE:a.DATETIME_FORMATS.SHORTDAY.join("|"),dd:"0[1-9]|[12][0-9]|3[01]",d:y.strict?"[1-9]|[1-2][0-9]|3[01]":"0?[1-9]|[1-2][0-9]|3[01]",MMMM:a.DATETIME_FORMATS.MONTH.join("|"),MMM:a.DATETIME_FORMATS.SHORTMONTH.join("|"),MM:"0[1-9]|1[012]",M:y.strict?"[1-9]|1[012]":"0?[1-9]|1[012]",yyyy:"[1]{1}[0-9]{3}|[2]{1}[0-9]{3}",yy:"[0-9]{2}",y:y.strict?"-?(0|[1-9][0-9]{0,3})":"-?0*[0-9]{1,4}"},x={sss:i.setMilliseconds,ss:i.setSeconds,s:i.setSeconds,mm:i.setMinutes,m:i.setMinutes,HH:i.setHours,H:i.setHours,hh:i.setHours,h:i.setHours,EEEE:t,EEE:t,dd:i.setDate,d:i.setDate,a:function(e){var t=this.getHours()%12;return this.setHours(e.match(/pm/i)?t+12:t)},MMMM:function(e){return this.setMonth(r(a.DATETIME_FORMATS.MONTH,e))},MMM:function(e){return this.setMonth(r(a.DATETIME_FORMATS.SHORTMONTH,e))},MM:function(e){return this.setMonth(1*e-1)},M:function(e){return this.setMonth(1*e-1)},yyyy:i.setFullYear,yy:function(e){return this.setFullYear(2e3+1*e)},y:function(e){return 50>=1*e&&2===e.length?this.setFullYear(2e3+1*e):this.setFullYear(1*e)}};return b.init=function(){b.$format=a.DATETIME_FORMATS[y.format]||y.format,$=l(b.$format),v=g(b.$format)},b.isValid=function(e){return angular.isDate(e)?!isNaN(e.getTime()):$.test(e)},b.parse=function(t,n,r,i){r&&(r=a.DATETIME_FORMATS[r]||r),angular.isDate(t)&&(t=s(t,r||b.$format,i));var o=r?l(r):$,u=r?g(r):v,c=o.exec(t);if(!c)return!1;for(var f=n&&!isNaN(n.getTime())?(new e).fromDate(n):(new e).fromDate(new Date(1970,0,1,0)),d=0;d<c.length-1;d++)u[d]&&u[d].call(f,c[d+1]);var p=f.toDate();return parseInt(f.day,10)!==p.getDate()?!1:p},b.getDateForAttribute=function(e,t){var r;if("today"===t){var i=new Date;r=new Date(i.getFullYear(),i.getMonth(),i.getDate()+("maxDate"===e?1:0),0,0,0,"minDate"===e?0:-1)}else r=angular.isString(t)&&t.match(/^".+"$/)?new Date(t.substr(1,t.length-2)):n(t)?new Date(parseInt(t,10)):angular.isString(t)&&0===t.length?"minDate"===e?-(1/0):+(1/0):new Date(t);return r},b.getTimeForAttribute=function(e,t){var r;return r="now"===t?(new Date).setFullYear(1970,0,1):angular.isString(t)&&t.match(/^".+"$/)?new Date(t.substr(1,t.length-2)).setFullYear(1970,0,1):n(t)?new Date(parseInt(t,10)).setFullYear(1970,0,1):angular.isString(t)&&0===t.length?"minTime"===e?-(1/0):+(1/0):b.parse(t,new Date(1970,0,1,0))},b.daylightSavingAdjust=function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},b.timezoneOffsetAdjust=function(e,t,n){return e?(t&&"UTC"===t&&(e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+(n?-1:1)*e.getTimezoneOffset())),e):null},b.init(),b};return u}]}]),angular.module("mgcrea.ngStrap.helpers.dateFormatter",[]).service("$dateFormatter",["$locale","dateFilter",function(e,t){function n(e){return/(h+)([:\.])?(m+)([:\.])?(s*)[ ]?(a?)/i.exec(e).slice(1)}this.getDefaultLocale=function(){return e.id},this.getDatetimeFormat=function(t){return e.DATETIME_FORMATS[t]||t},this.weekdaysShort=function(){return e.DATETIME_FORMATS.SHORTDAY},this.hoursFormat=function(e){return n(e)[0]},this.minutesFormat=function(e){return n(e)[2]},this.secondsFormat=function(e){return n(e)[4]},this.timeSeparator=function(e){return n(e)[1]},this.showSeconds=function(e){return!!n(e)[4]},this.showAM=function(e){return!!n(e)[5]},this.formatDate=function(e,n,r,i){return t(e,n,i)}}]),angular.module("mgcrea.ngStrap.core",[]).service("$bsCompiler",r),angular.module("mgcrea.ngStrap.datepicker",["mgcrea.ngStrap.helpers.dateParser","mgcrea.ngStrap.helpers.dateFormatter","mgcrea.ngStrap.tooltip"]).provider("$datepicker",function(){var e=this.defaults={animation:"am-fade",prefixClass:"datepicker",placement:"bottom-left",templateUrl:"datepicker/datepicker.tpl.html",trigger:"focus",container:!1,keyboard:!0,html:!1,delay:0,useNative:!1,dateType:"date",dateFormat:"shortDate",timezone:null,modelDateFormat:null,dayFormat:"dd",monthFormat:"MMM",yearFormat:"yyyy",monthTitleFormat:"MMMM yyyy",yearTitleFormat:"yyyy",strictFormat:!1,autoclose:!1,minDate:-(1/0),maxDate:+(1/0),startView:0,minView:0,startWeek:0,daysOfWeekDisabled:"",iconLeft:"glyphicon glyphicon-chevron-left",iconRight:"glyphicon glyphicon-chevron-right"};this.$get=["$window","$document","$rootScope","$sce","$dateFormatter","datepickerViews","$tooltip","$timeout",function(t,n,r,i,o,a,s,u){function l(t,n,r){function i(e){e.selected=l.$isSelected(e.date)}function o(){t[0].focus()}var l=s(t,angular.extend({},e,r)),d=r.scope,p=l.$options,h=l.$scope;p.startView&&(p.startView-=p.minView);var g=a(l);l.$views=g.views;var m=g.viewDate;h.$mode=p.startView,h.$iconLeft=p.iconLeft,h.$iconRight=p.iconRight;var $=l.$views[h.$mode];h.$select=function(e){l.select(e)},h.$selectPane=function(e){l.$selectPane(e)},h.$toggleMode=function(){l.setMode((h.$mode+1)%l.$views.length)},l.update=function(e){angular.isDate(e)&&!isNaN(e.getTime())&&(l.$date=e,$.update.call($,e)),l.$build(!0)},l.updateDisabledDates=function(e){p.disabledDateRanges=e;for(var t=0,n=h.rows.length;n>t;t++)angular.forEach(h.rows[t],l.$setDisabledEl)},l.select=function(e,t){angular.isDate(n.$dateValue)||(n.$dateValue=new Date(e)),!h.$mode||t?(n.$setViewValue(angular.copy(e)),n.$render(),p.autoclose&&!t&&u(function(){l.hide(!0)})):(angular.extend(m,{year:e.getFullYear(),month:e.getMonth(),date:e.getDate()}),l.setMode(h.$mode-1),l.$build())},l.setMode=function(e){h.$mode=e,$=l.$views[h.$mode],l.$build()},l.$build=function(e){e===!0&&$.built||(e!==!1||$.built)&&$.build.call($)},l.$updateSelected=function(){for(var e=0,t=h.rows.length;t>e;e++)angular.forEach(h.rows[e],i)},l.$isSelected=function(e){return $.isSelected(e)},l.$setDisabledEl=function(e){e.disabled=$.isDisabled(e.date)},l.$selectPane=function(e){var t=$.steps,n=new Date(Date.UTC(m.year+(t.year||0)*e,m.month+(t.month||0)*e,1));angular.extend(m,{year:n.getUTCFullYear(),month:n.getUTCMonth(),date:n.getUTCDate()}),l.$build()},l.$onMouseDown=function(e){if(e.preventDefault(),e.stopPropagation(),f){var t=angular.element(e.target);"button"!==t[0].nodeName.toLowerCase()&&(t=t.parent()),t.triggerHandler("click")}},l.$onKeyDown=function(e){if(/(38|37|39|40|13)/.test(e.keyCode)&&!e.shiftKey&&!e.altKey){if(e.preventDefault(),e.stopPropagation(),13===e.keyCode)return void(h.$mode?h.$apply(function(){l.setMode(h.$mode-1)}):l.hide(!0));$.onKeyDown(e),d.$digest()}};var v=l.init;l.init=function(){return c&&p.useNative?(t.prop("type","date"),void t.css("-webkit-appearance","textfield")):(f&&(t.prop("type","text"),t.attr("readonly","true"),t.on("click",o)),void v())};var y=l.destroy;l.destroy=function(){c&&p.useNative&&t.off("click",o),y()};var b=l.show;l.show=function(){!f&&t.attr("readonly")||t.attr("disabled")||(b(),u(function(){l.$isShown&&(l.$element.on(f?"touchstart":"mousedown",l.$onMouseDown),p.keyboard&&t.on("keydown",l.$onKeyDown))},0,!1))};var w=l.hide;return l.hide=function(e){l.$isShown&&(l.$element.off(f?"touchstart":"mousedown",l.$onMouseDown),p.keyboard&&t.off("keydown",l.$onKeyDown),w(e))},l}var c=/(ip[ao]d|iphone|android)/gi.test(t.navigator.userAgent),f="createTouch"in t.document&&c;return e.lang||(e.lang=o.getDefaultLocale()),l.defaults=e,l}]}).directive("bsDatepicker",["$window","$parse","$q","$dateFormatter","$dateParser","$datepicker",function(e,t,n,r,i,o){var a=/(ip[ao]d|iphone|android)/gi.test(e.navigator.userAgent);return{restrict:"EAC",require:"ngModel",link:function(e,t,n,s){function u(e){return e&&e.length?e:null}function l(e){if(angular.isDate(e)){var t=isNaN(p.$options.minDate)||e.getTime()>=p.$options.minDate,n=isNaN(p.$options.maxDate)||e.getTime()<=p.$options.maxDate,r=t&&n;s.$setValidity("date",r),s.$setValidity("min",t),s.$setValidity("max",n),r&&(s.$dateValue=e)}}function c(){return!s.$dateValue||isNaN(s.$dateValue.getTime())?"":g(s.$dateValue,f.dateFormat)}var f={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","placement","container","delay","trigger","html","animation","autoclose","dateType","dateFormat","timezone","modelDateFormat","dayFormat","strictFormat","startWeek","startDate","useNative","lang","startView","minView","iconLeft","iconRight","daysOfWeekDisabled","id","prefixClass","prefixEvent"],function(e){angular.isDefined(n[e])&&(f[e]=n[e])});var d=/^(false|0|)$/i;angular.forEach(["html","container","autoclose","useNative"],function(e){angular.isDefined(n[e])&&d.test(n[e])&&(f[e]=!1)});var p=o(t,s,f);f=p.$options,a&&f.useNative&&(f.dateFormat="yyyy-MM-dd");var h=f.lang,g=function(e,t){return r.formatDate(e,t,h)},m=i({format:f.dateFormat,lang:h,strict:f.strictFormat});n.bsShow&&e.$watch(n.bsShow,function(e){p&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|,?(datepicker),?/i)),e===!0?p.show():p.hide())}),angular.forEach(["minDate","maxDate"],function(e){angular.isDefined(n[e])&&n.$observe(e,function(t){p.$options[e]=m.getDateForAttribute(e,t),isNaN(p.$options[e])||p.$build(!1),l(s.$dateValue)})}),angular.isDefined(n.dateFormat)&&n.$observe("dateFormat",function(e){p.$options.dateFormat=e}),e.$watch(n.ngModel,function(){p.update(s.$dateValue)},!0),angular.isDefined(n.disabledDates)&&e.$watch(n.disabledDates,function(e,t){e=u(e),t=u(t),e&&p.updateDisabledDates(e)}),s.$parsers.unshift(function(e){var t;if(!e)return s.$setValidity("date",!0),null;var n=m.parse(e,s.$dateValue);return!n||isNaN(n.getTime())?void s.$setValidity("date",!1):(l(n),"string"===f.dateType?(t=m.timezoneOffsetAdjust(n,f.timezone,!0),g(t,f.modelDateFormat||f.dateFormat)):(t=m.timezoneOffsetAdjust(s.$dateValue,f.timezone,!0),"number"===f.dateType?t.getTime():"unix"===f.dateType?t.getTime()/1e3:"iso"===f.dateType?t.toISOString():new Date(t)))}),s.$formatters.push(function(e){var t;return t=angular.isUndefined(e)||null===e?NaN:angular.isDate(e)?e:"string"===f.dateType?m.parse(e,null,f.modelDateFormat):"unix"===f.dateType?new Date(1e3*e):new Date(e),s.$dateValue=m.timezoneOffsetAdjust(t,f.timezone),c()}),s.$render=function(){t.val(c())},e.$on("$destroy",function(){p&&p.destroy(),f=null,p=null})}}}]).provider("datepickerViews",function(){function e(e,t){for(var n=[];e.length>0;)n.push(e.splice(0,t));return n}function t(e,t){return(e%t+t)%t}this.$get=["$dateFormatter","$dateParser","$sce",function(n,r,i){return function(o){var a=o.$scope,s=o.$options,u=s.lang,l=function(e,t){return n.formatDate(e,t,u)},c=r({format:s.dateFormat,lang:u,strict:s.strictFormat}),f=n.weekdaysShort(u),d=f.slice(s.startWeek).concat(f.slice(0,s.startWeek)),p=i.trustAsHtml('<th class="dow text-center">'+d.join('</th><th class="dow text-center">')+"</th>"),h=o.$date||(s.startDate?c.getDateForAttribute("startDate",s.startDate):new Date),g={year:h.getFullYear(),month:h.getMonth(),date:h.getDate()},m=[{format:s.dayFormat,split:7,steps:{month:1},update:function(e,t){!this.built||t||e.getFullYear()!==g.year||e.getMonth()!==g.month?(angular.extend(g,{year:o.$date.getFullYear(),month:o.$date.getMonth(),date:o.$date.getDate()}),o.$build()):e.getDate()===g.date&&1!==e.getDate()||(g.date=o.$date.getDate(),o.$updateSelected())},build:function(){var n=new Date(g.year,g.month,1),r=n.getTimezoneOffset(),i=new Date(+n-864e5*t(n.getDay()-s.startWeek,7)),u=i.getTimezoneOffset(),f=c.timezoneOffsetAdjust(new Date,s.timezone).toDateString();u!==r&&(i=new Date(+i+6e4*(u-r)));for(var d,h=[],m=0;42>m;m++)d=c.daylightSavingAdjust(new Date(i.getFullYear(),i.getMonth(),i.getDate()+m)),h.push({date:d,isToday:d.toDateString()===f,label:l(d,this.format),selected:o.$date&&this.isSelected(d),muted:d.getMonth()!==g.month,disabled:this.isDisabled(d)});a.title=l(n,s.monthTitleFormat),a.showLabels=!0,a.labels=p,a.rows=e(h,this.split),this.built=!0},isSelected:function(e){return o.$date&&e.getFullYear()===o.$date.getFullYear()&&e.getMonth()===o.$date.getMonth()&&e.getDate()===o.$date.getDate()},isDisabled:function(e){var t=e.getTime();if(t<s.minDate||t>s.maxDate)return!0;if(-1!==s.daysOfWeekDisabled.indexOf(e.getDay()))return!0;if(s.disabledDateRanges)for(var n=0;n<s.disabledDateRanges.length;n++)if(t>=s.disabledDateRanges[n].start&&t<=s.disabledDateRanges[n].end)return!0;return!1},onKeyDown:function(e){if(o.$date){var t,n=o.$date.getTime();37===e.keyCode?t=new Date(n-864e5):38===e.keyCode?t=new Date(n-6048e5):39===e.keyCode?t=new Date(n+864e5):40===e.keyCode&&(t=new Date(n+6048e5)),this.isDisabled(t)||o.select(t,!0)}}},{name:"month",format:s.monthFormat,split:4,steps:{year:1},update:function(e){this.built&&e.getFullYear()===g.year?e.getMonth()!==g.month&&(angular.extend(g,{month:o.$date.getMonth(),date:o.$date.getDate()}),o.$updateSelected()):(angular.extend(g,{year:o.$date.getFullYear(),month:o.$date.getMonth(),date:o.$date.getDate()}),o.$build())},build:function(){for(var t,n=[],r=0;12>r;r++)t=new Date(g.year,r,1),n.push({date:t,label:l(t,this.format),selected:o.$isSelected(t),disabled:this.isDisabled(t)});a.title=l(t,s.yearTitleFormat),a.showLabels=!1,a.rows=e(n,this.split),this.built=!0},isSelected:function(e){return o.$date&&e.getFullYear()===o.$date.getFullYear()&&e.getMonth()===o.$date.getMonth()},isDisabled:function(e){var t=+new Date(e.getFullYear(),e.getMonth()+1,0);return t<s.minDate||e.getTime()>s.maxDate},onKeyDown:function(e){if(o.$date){var t=o.$date.getMonth(),n=new Date(o.$date);37===e.keyCode?n.setMonth(t-1):38===e.keyCode?n.setMonth(t-4):39===e.keyCode?n.setMonth(t+1):40===e.keyCode&&n.setMonth(t+4),this.isDisabled(n)||o.select(n,!0)}}},{name:"year",format:s.yearFormat,split:4,steps:{year:12},update:function(e,t){!this.built||t||parseInt(e.getFullYear()/20,10)!==parseInt(g.year/20,10)?(angular.extend(g,{year:o.$date.getFullYear(),month:o.$date.getMonth(),date:o.$date.getDate()}),o.$build()):e.getFullYear()!==g.year&&(angular.extend(g,{year:o.$date.getFullYear(),month:o.$date.getMonth(),date:o.$date.getDate()}),o.$updateSelected())},build:function(){for(var t,n=g.year-g.year%(3*this.split),r=[],i=0;12>i;i++)t=new Date(n+i,0,1),r.push({date:t,label:l(t,this.format),selected:o.$isSelected(t),disabled:this.isDisabled(t)});a.title=r[0].label+"-"+r[r.length-1].label,a.showLabels=!1,a.rows=e(r,this.split),this.built=!0},isSelected:function(e){return o.$date&&e.getFullYear()===o.$date.getFullYear()},isDisabled:function(e){var t=+new Date(e.getFullYear()+1,0,0);return t<s.minDate||e.getTime()>s.maxDate},onKeyDown:function(e){if(o.$date){var t=o.$date.getFullYear(),n=new Date(o.$date);37===e.keyCode?n.setYear(t-1):38===e.keyCode?n.setYear(t-4):39===e.keyCode?n.setYear(t+1):40===e.keyCode&&n.setYear(t+4),this.isDisabled(n)||o.select(n,!0)}}}];return{views:s.minView?Array.prototype.slice.call(m,s.minView):m,viewDate:g}}}]}),angular.module("mgcrea.ngStrap.collapse",[]).provider("$collapse",function(){var e=this.defaults={animation:"am-collapse",disallowToggle:!1,activeClass:"in",startCollapsed:!1,allowMultiple:!1},t=this.controller=function(t,n,r){function i(e){for(var t=u.$targets.$active,n=0;n<t.length;n++)e<t[n]&&(t[n]=t[n]-1),t[n]===u.$targets.length&&(t[n]=u.$targets.length-1)}function o(e){var t=u.$targets.$active;return-1!==t.indexOf(e)}function a(e){var t=u.$targets.$active.indexOf(e);-1!==t&&u.$targets.$active.splice(t,1)}function s(e){u.$options.allowMultiple||u.$targets.$active.splice(0,1),-1===u.$targets.$active.indexOf(e)&&u.$targets.$active.push(e)}var u=this;u.$options=angular.copy(e),angular.forEach(["animation","disallowToggle","activeClass","startCollapsed","allowMultiple"],function(e){angular.isDefined(r[e])&&(u.$options[e]=r[e])});var l=/^(false|0|)$/i;angular.forEach(["disallowToggle","startCollapsed","allowMultiple"],function(e){angular.isDefined(r[e])&&l.test(r[e])&&(u.$options[e]=!1)}),u.$toggles=[],u.$targets=[],u.$viewChangeListeners=[],u.$registerToggle=function(e){u.$toggles.push(e)},u.$registerTarget=function(e){u.$targets.push(e)},u.$unregisterToggle=function(e){var t=u.$toggles.indexOf(e);u.$toggles.splice(t,1)},u.$unregisterTarget=function(e){var t=u.$targets.indexOf(e);u.$targets.splice(t,1),u.$options.allowMultiple&&a(e),i(t),u.$viewChangeListeners.forEach(function(e){e()})},u.$targets.$active=u.$options.startCollapsed?[]:[0],u.$setActive=t.$setActive=function(e){angular.isArray(e)?u.$targets.$active=e:!u.$options.disallowToggle&&o(e)?a(e):s(e),u.$viewChangeListeners.forEach(function(e){e()})},u.$activeIndexes=function(){return u.$options.allowMultiple?u.$targets.$active:1===u.$targets.$active.length?u.$targets.$active[0]:-1}};this.$get=function(){var n={};return n.defaults=e,n.controller=t,n}}).directive("bsCollapse",["$window","$animate","$collapse",function(e,t,n){return{require:["?ngModel","bsCollapse"],controller:["$scope","$element","$attrs",n.controller],link:function(e,t,n,r){var i=r[0],o=r[1];i&&(o.$viewChangeListeners.push(function(){i.$setViewValue(o.$activeIndexes())}),i.$formatters.push(function(e){if(angular.isArray(e))o.$setActive(e);else{var t=o.$activeIndexes();angular.isArray(t)?-1===t.indexOf(1*e)&&o.$setActive(1*e):t!==1*e&&o.$setActive(1*e)}return e}))}}}]).directive("bsCollapseToggle",function(){return{require:["^?ngModel","^bsCollapse"],link:function(e,t,n,r){var i=r[1];t.attr("data-toggle","collapse"),i.$registerToggle(t),e.$on("$destroy",function(){i.$unregisterToggle(t)}),t.on("click",function(){if(!n.disabled){var r=n.bsCollapseToggle&&"bs-collapse-toggle"!==n.bsCollapseToggle?n.bsCollapseToggle:i.$toggles.indexOf(t);i.$setActive(1*r),e.$apply()}})}}}).directive("bsCollapseTarget",["$animate",function(e){return{require:["^?ngModel","^bsCollapse"],link:function(t,n,r,i){function o(){var t=a.$targets.indexOf(n),r=a.$activeIndexes(),i="removeClass";angular.isArray(r)?-1!==r.indexOf(t)&&(i="addClass"):t===r&&(i="addClass"),e[i](n,a.$options.activeClass)}var a=i[1];n.addClass("collapse"),a.$options.animation&&n.addClass(a.$options.animation),a.$registerTarget(n),t.$on("$destroy",function(){a.$unregisterTarget(n)}),a.$viewChangeListeners.push(function(){o()}),o()}}}]),angular.module("mgcrea.ngStrap.button",[]).provider("$button",function(){var e=this.defaults={activeClass:"active",toggleEvent:"click"};this.$get=function(){return{defaults:e}}}).directive("bsCheckboxGroup",function(){return{restrict:"A",require:"ngModel",compile:function(e,t){e.attr("data-toggle","buttons"),e.removeAttr("ng-model");var n=e[0].querySelectorAll('input[type="checkbox"]');angular.forEach(n,function(e){var n=angular.element(e);n.attr("bs-checkbox",""),n.attr("ng-model",t.ngModel+"."+n.attr("value"))})}}}).directive("bsCheckbox",["$button","$$rAF",function(e,t){var n=e.defaults,r=/^(true|false|\d+)$/;return{restrict:"A",require:"ngModel",link:function(e,i,o,a){var s=n,u="INPUT"===i[0].nodeName,l=u?i.parent():i,c=angular.isDefined(o.trueValue)?o.trueValue:!0;r.test(o.trueValue)&&(c=e.$eval(o.trueValue));var f=angular.isDefined(o.falseValue)?o.falseValue:!1;r.test(o.falseValue)&&(f=e.$eval(o.falseValue));var d="boolean"!=typeof c||"boolean"!=typeof f;d&&(a.$parsers.push(function(e){return e?c:f}),a.$formatters.push(function(e){return angular.equals(e,c)}),e.$watch(o.ngModel,function(){a.$render()})),a.$render=function(){var e=angular.equals(a.$modelValue,c);t(function(){u&&(i[0].checked=e),l.toggleClass(s.activeClass,e)})},i.bind(s.toggleEvent,function(){e.$apply(function(){u||a.$setViewValue(!l.hasClass("active")),d||a.$render()})})}}}]).directive("bsRadioGroup",function(){return{restrict:"A",require:"ngModel",compile:function(e,t){e.attr("data-toggle","buttons"),e.removeAttr("ng-model");var n=e[0].querySelectorAll('input[type="radio"]');angular.forEach(n,function(e){angular.element(e).attr("bs-radio",""),angular.element(e).attr("ng-model",t.ngModel)})}}}).directive("bsRadio",["$button","$$rAF",function(e,t){var n=e.defaults,r=/^(true|false|\d+)$/;return{restrict:"A",require:"ngModel",link:function(e,i,o,a){var s,u=n,l="INPUT"===i[0].nodeName,c=l?i.parent():i;o.$observe("value",function(t){s="boolean"!=typeof t&&r.test(t)?e.$eval(t):t,a.$render()}),a.$render=function(){var e=angular.equals(a.$modelValue,s);t(function(){l&&(i[0].checked=e),c.toggleClass(u.activeClass,e)})},i.bind(u.toggleEvent,function(){e.$apply(function(){a.$setViewValue(s),a.$render()})})}}}]),angular.module("mgcrea.ngStrap.alert",["mgcrea.ngStrap.modal"]).provider("$alert",function(){var e=this.defaults={animation:"am-fade",prefixClass:"alert",prefixEvent:"alert",placement:null,templateUrl:"alert/alert.tpl.html",container:!1,element:null,backdrop:!1,keyboard:!0,show:!0,duration:!1,type:!1,dismissable:!0};this.$get=["$modal","$timeout",function(t,n){function r(r){var i={},o=angular.extend({},e,r);i=t(o),i.$scope.dismissable=!!o.dismissable,o.type&&(i.$scope.type=o.type);var a=i.show;return o.duration&&(i.show=function(){a(),n(function(){i.hide()},1e3*o.duration)}),i}return r}]}).directive("bsAlert",["$window","$sce","$alert",function(e,t,n){return{restrict:"EAC",scope:!0,link:function(e,r,i){var o={scope:e,element:r,show:!1};angular.forEach(["template","templateUrl","controller","controllerAs","placement","keyboard","html","container","animation","duration","dismissable"],function(e){angular.isDefined(i[e])&&(o[e]=i[e])});var a=/^(false|0|)$/i;angular.forEach(["keyboard","html","container","dismissable"],function(e){angular.isDefined(i[e])&&a.test(i[e])&&(o[e]=!1)}),e.hasOwnProperty("title")||(e.title=""),angular.forEach(["title","content","type"],function(n){i[n]&&i.$observe(n,function(r){e[n]=t.trustAsHtml(r)})}),i.bsAlert&&e.$watch(i.bsAlert,function(t){angular.isObject(t)?angular.extend(e,t):e.content=t},!0);var s=n(o);r.on(i.trigger||"click",s.toggle),e.$on("$destroy",function(){s&&s.destroy(),o=null,s=null})}}}]),angular.module("mgcrea.ngStrap.aside",["mgcrea.ngStrap.modal"]).provider("$aside",function(){var e=this.defaults={animation:"am-fade-and-slide-right",prefixClass:"aside",prefixEvent:"aside",placement:"right",templateUrl:"aside/aside.tpl.html",contentTemplate:!1,container:!1,element:null,backdrop:!0,keyboard:!0,html:!1,show:!0};this.$get=["$modal",function(t){function n(n){var r={},i=angular.extend({},e,n);return r=t(i)}return n}]}).directive("bsAside",["$window","$sce","$aside",function(e,t,n){return{restrict:"EAC",scope:!0,link:function(e,r,i){var o={scope:e,element:r,show:!1};angular.forEach(["template","templateUrl","controller","controllerAs","contentTemplate","placement","backdrop","keyboard","html","container","animation"],function(e){angular.isDefined(i[e])&&(o[e]=i[e])});var a=/^(false|0|)$/i;angular.forEach(["backdrop","keyboard","html","container"],function(e){angular.isDefined(i[e])&&a.test(i[e])&&(o[e]=!1)}),angular.forEach(["title","content"],function(n){i[n]&&i.$observe(n,function(r){e[n]=t.trustAsHtml(r)})}),i.bsAside&&e.$watch(i.bsAside,function(t){angular.isObject(t)?angular.extend(e,t):e.content=t},!0);var s=n(o);r.on(i.trigger||"click",s.toggle),e.$on("$destroy",function(){s&&s.destroy(),o=null,s=null})}}}]),angular.module("mgcrea.ngStrap.affix",["mgcrea.ngStrap.helpers.dimensions","mgcrea.ngStrap.helpers.debounce"]).provider("$affix",function(){var e=this.defaults={offsetTop:"auto",inlineStyles:!0};this.$get=["$window","debounce","dimensions",function(t,n,r){function i(i,s){function u(e,t,n){var r=l(),i=c();return v>=r?"top":null!==e&&r+e<=t.top?"middle":null!==y&&t.top+n+m>=i-y?"bottom":"middle"}function l(){return p[0]===t?t.pageYOffset:p[0].scrollTop}function c(){return p[0]===t?t.document.body.scrollHeight:p[0].scrollHeight}var f={},d=angular.extend({},e,s),p=d.target,h="affix affix-top affix-bottom",g=!1,m=0,$=0,v=0,y=0,b=null,w=null,x=i.parent();if(d.offsetParent)if(d.offsetParent.match(/^\d+$/))for(var S=0;S<1*d.offsetParent-1;S++)x=x.parent();else x=angular.element(d.offsetParent);return f.init=function(){this.$parseOffsets(),$=r.offset(i[0]).top+m,g=!i[0].style.width,p.on("scroll",this.checkPosition),p.on("click",this.checkPositionWithEventLoop),a.on("resize",this.$debouncedOnResize),this.checkPosition(),this.checkPositionWithEventLoop()},f.destroy=function(){p.off("scroll",this.checkPosition),p.off("click",this.checkPositionWithEventLoop),a.off("resize",this.$debouncedOnResize)},f.checkPositionWithEventLoop=function(){setTimeout(f.checkPosition,1)},f.checkPosition=function(){var e=l(),t=r.offset(i[0]),n=r.height(i[0]),a=u(w,t,n);b!==a&&(b=a,"top"===a?(w=null,g&&i.css("width",""),d.inlineStyles&&(i.css("position",d.offsetParent?"":"relative"),i.css("top",""))):"bottom"===a?(w=d.offsetUnpin?-(1*d.offsetUnpin):t.top-e,g&&i.css("width",""),d.inlineStyles&&(i.css("position",d.offsetParent?"":"relative"),i.css("top",d.offsetParent?"":o[0].offsetHeight-y-n-$+"px"))):(w=null,g&&i.css("width",i[0].offsetWidth+"px"),d.inlineStyles&&(i.css("position","fixed"),i.css("top",m+"px"))),i.removeClass(h).addClass("affix"+("middle"!==a?"-"+a:"")))},f.$onResize=function(){f.$parseOffsets(),f.checkPosition()},f.$debouncedOnResize=n(f.$onResize,50),f.$parseOffsets=function(){var e=i.css("position");d.inlineStyles&&i.css("position",d.offsetParent?"":"relative"),d.offsetTop&&("auto"===d.offsetTop&&(d.offsetTop="+0"),d.offsetTop.match(/^[-+]\d+$/)?(m=1*-d.offsetTop,v=d.offsetParent?r.offset(x[0]).top+1*d.offsetTop:r.offset(i[0]).top-r.css(i[0],"marginTop",!0)+1*d.offsetTop):v=1*d.offsetTop),d.offsetBottom&&(y=d.offsetParent&&d.offsetBottom.match(/^[-+]\d+$/)?c()-(r.offset(x[0]).top+r.height(x[0]))+1*d.offsetBottom+1:1*d.offsetBottom),d.inlineStyles&&i.css("position",e)},f.init(),f}var o=angular.element(t.document.body),a=angular.element(t);return i}]}).directive("bsAffix",["$affix","$window",function(e,t){return{restrict:"EAC",require:"^?bsAffixTarget",link:function(n,r,i,o){var a={scope:n,target:o?o.$element:angular.element(t)};angular.forEach(["offsetTop","offsetBottom","offsetParent","offsetUnpin","inlineStyles"],function(e){if(angular.isDefined(i[e])){var t=i[e];/true/i.test(t)&&(t=!0),/false/i.test(t)&&(t=!1),a[e]=t}});var s=e(r,a);n.$on("$destroy",function(){s&&s.destroy(),a=null,s=null})}}}]).directive("bsAffixTarget",function(){return{controller:["$element",function(e){this.$element=e}]}}),angular.module("mgcrea.ngStrap",["mgcrea.ngStrap.modal","mgcrea.ngStrap.aside","mgcrea.ngStrap.alert","mgcrea.ngStrap.button","mgcrea.ngStrap.select","mgcrea.ngStrap.datepicker","mgcrea.ngStrap.timepicker","mgcrea.ngStrap.navbar","mgcrea.ngStrap.tooltip","mgcrea.ngStrap.popover","mgcrea.ngStrap.dropdown","mgcrea.ngStrap.typeahead","mgcrea.ngStrap.scrollspy","mgcrea.ngStrap.affix","mgcrea.ngStrap.tab","mgcrea.ngStrap.collapse"])}(window,document),function(){"use strict";angular.module("mgcrea.ngStrap.aside").run(["$templateCache",function(e){e.put("aside/aside.tpl.html",'<div class="aside" tabindex="-1" role="dialog"><div class="aside-dialog"><div class="aside-content"><div class="aside-header" ng-show="title"><button type="button" class="close" ng-click="$hide()">&times;</button><h4 class="aside-title" ng-bind="title"></h4></div><div class="aside-body" ng-bind="content"></div><div class="aside-footer"><button type="button" class="btn btn-default" ng-click="$hide()">Close</button></div></div></div></div>')}]),angular.module("mgcrea.ngStrap.alert").run(["$templateCache",function(e){e.put("alert/alert.tpl.html",'<div class="alert" ng-class="[type ? \'alert-\' + type : null]"><button type="button" class="close" ng-if="dismissable" ng-click="$hide()">&times;</button> <strong ng-bind="title"></strong>&nbsp;<span ng-bind-html="content"></span></div>')}]),angular.module("mgcrea.ngStrap.datepicker").run(["$templateCache",function(e){e.put("datepicker/datepicker.tpl.html",'<div class="dropdown-menu datepicker" ng-class="\'datepicker-mode-\' + $mode" style="max-width: 320px"><table style="table-layout: fixed; height: 100%; width: 100%"><thead><tr class="text-center"><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$selectPane(-1)"><i class="{{$iconLeft}}"></i></button></th><th colspan="{{ rows[0].length - 2 }}"><button tabindex="-1" type="button" class="btn btn-default btn-block text-strong" ng-click="$toggleMode()"><strong style="text-transform: capitalize" ng-bind="title"></strong></button></th><th><button tabindex="-1" type="button" class="btn btn-default pull-right" ng-click="$selectPane(+1)"><i class="{{$iconRight}}"></i></button></th></tr><tr ng-if="showLabels" ng-bind-html="labels"></tr></thead><tbody><tr ng-repeat="(i, row) in rows" height="{{ 100 / rows.length }}%"><td class="text-center" ng-repeat="(j, el) in row"><button tabindex="-1" type="button" class="btn btn-default" style="width: 100%" ng-class="{\'btn-primary\': el.selected, \'btn-info btn-today\': el.isToday && !el.selected}" ng-click="$select(el.date)" ng-disabled="el.disabled"><span ng-class="{\'text-muted\': el.muted}" ng-bind="el.label"></span></button></td></tr></tbody></table></div>')}]),angular.module("mgcrea.ngStrap.modal").run(["$templateCache",function(e){e.put("modal/modal.tpl.html",'<div class="modal" tabindex="-1" role="dialog" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-header" ng-show="title"><button type="button" class="close" aria-label="Close" ng-click="$hide()"><span aria-hidden="true">&times;</span></button><h4 class="modal-title" ng-bind="title"></h4></div><div class="modal-body" ng-bind="content"></div><div class="modal-footer"><button type="button" class="btn btn-default" ng-click="$hide()">Close</button></div></div></div></div>')}]),angular.module("mgcrea.ngStrap.dropdown").run(["$templateCache",function(e){e.put("dropdown/dropdown.tpl.html",'<ul tabindex="-1" class="dropdown-menu" role="menu" ng-show="content && content.length"><li role="presentation" ng-class="{divider: item.divider, active: item.active}" ng-repeat="item in content"><a role="menuitem" tabindex="-1" ng-href="{{item.href}}" ng-if="!item.divider && item.href" target="{{item.target || \'\'}}" ng-bind="item.text"></a> <a role="menuitem" tabindex="-1" href="javascript:void(0)" ng-if="!item.divider && item.click" ng-click="$eval(item.click);$hide()" ng-bind="item.text"></a></li></ul>')}]),angular.module("mgcrea.ngStrap.popover").run(["$templateCache",function(e){e.put("popover/popover.tpl.html",'<div class="popover" tabindex="-1"><div class="arrow"></div><h3 class="popover-title" ng-bind="title" ng-show="title"></h3><div class="popover-content" ng-bind="content"></div></div>')}]),angular.module("mgcrea.ngStrap.select").run(["$templateCache",function(e){e.put("select/select.tpl.html",'<ul tabindex="-1" class="select dropdown-menu" ng-show="$isVisible()" role="select"><li ng-if="$showAllNoneButtons"><div class="btn-group" style="margin-bottom: 5px; margin-left: 5px"><button type="button" class="btn btn-default btn-xs" ng-click="$selectAll()">{{$allText}}</button> <button type="button" class="btn btn-default btn-xs" ng-click="$selectNone()">{{$noneText}}</button></div></li><li role="presentation" ng-repeat="match in $matches" ng-class="{active: $isActive($index)}"><a style="cursor: default" role="menuitem" tabindex="-1" ng-click="$select($index, $event)"><i class="{{$iconCheckmark}} pull-right" ng-if="$isMultiple && $isActive($index)"></i> <span ng-bind="match.label"></span></a></li></ul>')}]),angular.module("mgcrea.ngStrap.tab").run(["$templateCache",function(e){e.put("tab/tab.tpl.html",'<ul class="nav" ng-class="$navClass" role="tablist"><li role="presentation" ng-repeat="$pane in $panes track by $index" ng-class="[ $isActive($pane, $index) ? $activeClass : \'\', $pane.disabled ? \'disabled\' : \'\' ]"><a role="tab" data-toggle="tab" ng-click="!$pane.disabled && $setActive($pane.name || $index)" data-index="{{ $index }}" ng-bind-html="$pane.title" aria-controls="$pane.title"></a></li></ul><div ng-transclude class="tab-content"></div>')}]),angular.module("mgcrea.ngStrap.timepicker").run(["$templateCache",function(e){e.put("timepicker/timepicker.tpl.html",'<div class="dropdown-menu timepicker" style="min-width: 0px;width: auto"><table height="100%"><thead><tr class="text-center"><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(-1, 0)"><i class="{{ $iconUp }}"></i></button></th><th>&nbsp;</th><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(-1, 1)"><i class="{{ $iconUp }}"></i></button></th><th ng-if="showSeconds">&nbsp;</th><th ng-if="showSeconds"><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(-1, 2)"><i class="{{ $iconUp }}"></i></button></th></tr></thead><tbody><tr ng-repeat="(i, row) in rows"><td class="text-center"><button tabindex="-1" style="width: 100%" type="button" class="btn btn-default" ng-class="{\'btn-primary\': row[0].selected}" ng-click="$select(row[0].date, 0)" ng-disabled="row[0].disabled"><span ng-class="{\'text-muted\': row[0].muted}" ng-bind="row[0].label"></span></button></td><td><span ng-bind="i == midIndex ? timeSeparator : \' \'"></span></td><td class="text-center"><button tabindex="-1" ng-if="row[1].date" style="width: 100%" type="button" class="btn btn-default" ng-class="{\'btn-primary\': row[1].selected}" ng-click="$select(row[1].date, 1)" ng-disabled="row[1].disabled"><span ng-class="{\'text-muted\': row[1].muted}" ng-bind="row[1].label"></span></button></td><td ng-if="showSeconds"><span ng-bind="i == midIndex ? timeSeparator : \' \'"></span></td><td ng-if="showSeconds" class="text-center"><button tabindex="-1" ng-if="row[2].date" style="width: 100%" type="button" class="btn btn-default" ng-class="{\'btn-primary\': row[2].selected}" ng-click="$select(row[2].date, 2)" ng-disabled="row[2].disabled"><span ng-class="{\'text-muted\': row[2].muted}" ng-bind="row[2].label"></span></button></td><td ng-if="showAM">&nbsp;</td><td ng-if="showAM"><button tabindex="-1" ng-show="i == midIndex - !isAM * 1" style="width: 100%" type="button" ng-class="{\'btn-primary\': !!isAM}" class="btn btn-default" ng-click="$switchMeridian()" ng-disabled="el.disabled">AM</button> <button tabindex="-1" ng-show="i == midIndex + 1 - !isAM * 1" style="width: 100%" type="button" ng-class="{\'btn-primary\': !isAM}" class="btn btn-default" ng-click="$switchMeridian()" ng-disabled="el.disabled">PM</button></td></tr></tbody><tfoot><tr class="text-center"><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(1, 0)"><i class="{{ $iconDown }}"></i></button></th><th>&nbsp;</th><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(1, 1)"><i class="{{ $iconDown }}"></i></button></th><th ng-if="showSeconds">&nbsp;</th><th ng-if="showSeconds"><button ng-if="showSeconds" tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(1, 2)"><i class="{{ $iconDown }}"></i></button></th></tr></tfoot></table></div>');
10
+ }]),angular.module("mgcrea.ngStrap.typeahead").run(["$templateCache",function(e){e.put("typeahead/typeahead.tpl.html",'<ul tabindex="-1" class="typeahead dropdown-menu" ng-show="$isVisible()" role="select"><li role="presentation" ng-repeat="match in $matches" ng-class="{active: $index == $activeIndex}"><a role="menuitem" tabindex="-1" ng-click="$select($index, $event)" ng-bind="match.label"></a></li></ul>')}]),angular.module("mgcrea.ngStrap.tooltip").run(["$templateCache",function(e){e.put("tooltip/tooltip.tpl.html",'<div class="tooltip in" ng-show="title"><div class="tooltip-arrow"></div><div class="tooltip-inner" ng-bind="title"></div></div>')}])}(window,document),!window.XMLHttpRequest||window.FileAPI&&FileAPI.shouldLoad||(window.XMLHttpRequest.prototype.setRequestHeader=function(e){return function(t,n){if("__setXHR_"===t){var r=n(this);r instanceof Function&&r(this)}else e.apply(this,arguments)}}(window.XMLHttpRequest.prototype.setRequestHeader));var ngFileUpload=angular.module("ngFileUpload",[]);ngFileUpload.version="12.0.4",ngFileUpload.service("UploadBase",["$http","$q","$timeout",function(e,t,n){function r(r){function i(e){l.notify&&l.notify(e),c.progressFunc&&n(function(){c.progressFunc(e)})}function s(e){return null!=r._start&&a?{loaded:e.loaded+r._start,total:r._file&&r._file.size||e.total,type:e.type,config:r,lengthComputable:!0,target:e.target}:e}function u(){e(r).then(function(e){a&&r._chunkSize&&!r._finished&&r._file?(i({loaded:r._end,total:r._file&&r._file.size,config:r,type:"progress"}),o.upload(r,!0)):(r._finished&&delete r._finished,l.resolve(e))},function(e){l.reject(e)},function(e){l.notify(e)})}r.method=r.method||"POST",r.headers=r.headers||{};var l=r._deferred=r._deferred||t.defer(),c=l.promise;return r.disableProgress||(r.headers.__setXHR_=function(){return function(e){e&&e.upload&&e.upload.addEventListener&&(r.__XHR=e,r.xhrFn&&r.xhrFn(e),e.upload.addEventListener("progress",function(e){e.config=r,i(s(e))},!1),e.upload.addEventListener("load",function(e){e.lengthComputable&&(e.config=r,i(s(e)))},!1))}}),a?r._chunkSize&&r._end&&!r._finished?(r._start=r._end,r._end+=r._chunkSize,u()):r.resumeSizeUrl?e.get(r.resumeSizeUrl).then(function(e){r._start=r.resumeSizeResponseReader?r.resumeSizeResponseReader(e.data):parseInt((null==e.data.size?e.data:e.data.size).toString()),r._chunkSize&&(r._end=r._start+r._chunkSize),u()},function(e){throw e}):r.resumeSize?r.resumeSize().then(function(e){r._start=e,u()},function(e){throw e}):(r._chunkSize&&(r._start=0,r._end=r._start+r._chunkSize),u()):u(),c.success=function(e){return c.then(function(t){e(t.data,t.status,t.headers,r)}),c},c.error=function(e){return c.then(null,function(t){e(t.data,t.status,t.headers,r)}),c},c.progress=function(e){return c.progressFunc=e,c.then(null,null,function(t){e(t)}),c},c.abort=c.pause=function(){return r.__XHR&&n(function(){r.__XHR.abort()}),c},c.xhr=function(e){return r.xhrFn=function(t){return function(){t&&t.apply(c,arguments),e.apply(c,arguments)}}(r.xhrFn),c},o.promisesCount++,c["finally"](function(){o.promisesCount--}),c}function i(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var o=this;o.promisesCount=0,this.isResumeSupported=function(){return window.Blob&&window.Blob.prototype.slice};var a=this.isResumeSupported();this.isUploadInProgress=function(){return o.promisesCount>0},this.rename=function(e,t){return e.ngfName=t,e},this.jsonBlob=function(e){null==e||angular.isString(e)||(e=JSON.stringify(e));var t=new window.Blob([e],{type:"application/json"});return t._ngfBlob=!0,t},this.json=function(e){return angular.toJson(e)},this.isFile=function(e){return null!=e&&(e instanceof window.Blob||e.flashId&&e.name&&e.size)},this.upload=function(e,t){function n(t,n){if(t._ngfBlob)return t;if(e._file=e._file||t,null!=e._start&&a){e._end&&e._end>=t.size&&(e._finished=!0,e._end=t.size);var r=t.slice(e._start,e._end||t.size);return r.name=t.name,r.ngfName=t.ngfName,e._chunkSize&&(n.append("_chunkSize",e._chunkSize),n.append("_currentChunkSize",e._end-e._start),n.append("_chunkNumber",Math.floor(e._start/e._chunkSize)),n.append("_totalSize",e._file.size)),r}return t}function s(t,r,i){if(void 0!==r)if(angular.isDate(r)&&(r=r.toISOString()),angular.isString(r))t.append(i,r);else if(o.isFile(r)){var a=n(r,t),u=i.split(",");u[1]&&(a.ngfName=u[1].replace(/^\s+|\s+$/g,""),i=u[0]),e._fileKey=e._fileKey||i,t.append(i,a,a.ngfName||a.name)}else if(angular.isObject(r)){if(r.$$ngfCircularDetection)throw"ngFileUpload: Circular reference in config.data. Make sure specified data for Upload.upload() has no circular reference: "+i;r.$$ngfCircularDetection=!0;try{for(var l in r)if(r.hasOwnProperty(l)&&"$$ngfCircularDetection"!==l){var c=null==e.objectKey?"[i]":e.objectKey;r.length&&parseInt(l)>-1&&(c=null==e.arrayKey?c:e.arrayKey),s(t,r[l],i+c.replace(/[ik]/g,l))}}finally{delete r.$$ngfCircularDetection}}else t.append(i,r)}function u(){e._chunkSize=o.translateScalars(e.resumeChunkSize),e._chunkSize=e._chunkSize?parseInt(e._chunkSize.toString()):null,e.headers=e.headers||{},e.headers["Content-Type"]=void 0,e.transformRequest=e.transformRequest?angular.isArray(e.transformRequest)?e.transformRequest:[e.transformRequest]:[],e.transformRequest.push(function(t){var n,r=new window.FormData;t=t||e.fields||{},e.file&&(t.file=e.file);for(n in t)if(t.hasOwnProperty(n)){var i=t[n];e.formDataAppender?e.formDataAppender(r,n,i):s(r,i,n)}return r})}return t||(e=i(e)),e._isDigested||(e._isDigested=!0,u()),r(e)},this.http=function(t){return t=i(t),t.transformRequest=t.transformRequest||function(t){return window.ArrayBuffer&&t instanceof window.ArrayBuffer||t instanceof window.Blob?t:e.defaults.transformRequest[0].apply(this,arguments)},t._chunkSize=o.translateScalars(t.resumeChunkSize),t._chunkSize=t._chunkSize?parseInt(t._chunkSize.toString()):null,r(t)},this.translateScalars=function(e){if(angular.isString(e)){if(e.search(/kb/i)===e.length-2)return parseFloat(1024*e.substring(0,e.length-2));if(e.search(/mb/i)===e.length-2)return parseFloat(1048576*e.substring(0,e.length-2));if(e.search(/gb/i)===e.length-2)return parseFloat(1073741824*e.substring(0,e.length-2));if(e.search(/b/i)===e.length-1)return parseFloat(e.substring(0,e.length-1));if(e.search(/s/i)===e.length-1)return parseFloat(e.substring(0,e.length-1));if(e.search(/m/i)===e.length-1)return parseFloat(60*e.substring(0,e.length-1));if(e.search(/h/i)===e.length-1)return parseFloat(3600*e.substring(0,e.length-1))}return e},this.urlToBlob=function(n){var r=t.defer();return e({url:n,method:"get",responseType:"arraybuffer"}).then(function(e){var t=new Uint8Array(e.data),n=e.headers("content-type")||"image/WebP",i=new window.Blob([t],{type:n});r.resolve(i)},function(e){r.reject(e)}),r.promise},this.setDefaults=function(e){this.defaults=e||{}},this.defaults={},this.version=ngFileUpload.version}]),ngFileUpload.service("Upload",["$parse","$timeout","$compile","$q","UploadExif",function(e,t,n,r,i){function o(e,t,n){var i=[u.emptyPromise()];return angular.forEach(e,function(r,o){0===r.type.indexOf("image/jpeg")&&u.attrGetter("ngfFixOrientation",t,n,{$file:r})&&i.push(u.happyPromise(u.applyExifRotation(r),r).then(function(t){e.splice(o,1,t)}))}),r.all(i)}function a(e,t,n){var i=u.attrGetter("ngfResize",t,n);if(!i||!u.isResizeSupported()||!e.length)return u.emptyPromise();if(!(i instanceof Function))return s(i,e,t,n);var o=r.defer();i(e).then(function(r){s(r,e,t,n).then(function(e){o.resolve(e)},function(e){o.reject(e)})},function(e){o.reject(e)})}function s(e,t,n,i){function o(r,o){if(0===r.type.indexOf("image")){if(e.pattern&&!u.validatePattern(r,e.pattern))return;var s=u.resize(r,e.width,e.height,e.quality,e.type,e.ratio,e.centerCrop,function(e,t){return u.attrGetter("ngfResizeIf",n,i,{$width:e,$height:t,$file:r})},e.restoreExif!==!1);a.push(s),s.then(function(e){t.splice(o,1,e)},function(e){r.$error="resize",r.$errorParam=(e?(e.message?e.message:e)+": ":"")+(r&&r.name)})}}for(var a=[u.emptyPromise()],s=0;s<t.length;s++)o(t[s],s);return r.all(a)}var u=i;return u.getAttrWithDefaults=function(e,t){if(null!=e[t])return e[t];var n=u.defaults[t];return null==n?n:angular.isString(n)?n:JSON.stringify(n)},u.attrGetter=function(t,n,r,i){var o=this.getAttrWithDefaults(n,t);if(!r)return o;try{return i?e(o)(r,i):e(o)(r)}catch(a){if(t.search(/min|max|pattern/i))return o;throw a}},u.shouldUpdateOn=function(e,t,n){var r=u.attrGetter("ngModelOptions",t,n);return r&&r.updateOn?r.updateOn.split(" ").indexOf(e)>-1:!0},u.emptyPromise=function(){var e=r.defer(),n=arguments;return t(function(){e.resolve.apply(e,n)}),e.promise},u.rejectPromise=function(){var e=r.defer(),n=arguments;return t(function(){e.reject.apply(e,n)}),e.promise},u.happyPromise=function(e,n){var i=r.defer();return e.then(function(e){i.resolve(e)},function(e){t(function(){throw e}),i.resolve(n)}),i.promise},u.updateModel=function(n,r,i,s,l,c,f){function d(o,a,l,f,d){r.$$ngfPrevValidFiles=o,r.$$ngfPrevInvalidFiles=a;var p=o&&o.length?o[0]:null,h=a&&a.length?a[0]:null;n&&(u.applyModelValidation(n,o),n.$setViewValue(d?p:o)),s&&e(s)(i,{$files:o,$file:p,$newFiles:l,$duplicateFiles:f,$invalidFiles:a,$invalidFile:h,$event:c});var g=u.attrGetter("ngfModelInvalid",r);g&&t(function(){e(g).assign(i,d?h:a)}),t(function(){})}function p(){function e(e,t){return e.name===t.name&&(e.$ngfOrigSize||e.size)===(t.$ngfOrigSize||t.size)&&e.type===t.type}function t(t){var n;for(n=0;n<v.length;n++)if(e(t,v[n]))return!0;for(n=0;n<y.length;n++)if(e(t,y[n]))return!0;return!1}if(l){$=[],b=[];for(var n=0;n<l.length;n++)t(l[n])?b.push(l[n]):$.push(l[n])}}function h(e){return angular.isArray(e)?e:[e]}function g(){x=[],w=[],angular.forEach($,function(e){e.$error?w.push(e):x.push(e)})}function m(){function e(){t(function(){d(S?v.concat(x):x,S?y.concat(w):w,l,b,C)},_&&_.debounce?_.debounce.change||_.debounce:0)}a(k?$:x,r,i).then(function(){k?u.validate($,v.length,n,r,i).then(function(){g(),e()}):e()},function(e){throw"Could not resize files "+e})}var $,v,y,b=[],w=[],x=[];v=r.$$ngfPrevValidFiles||[],y=r.$$ngfPrevInvalidFiles||[],n&&n.$modelValue&&(v=h(n.$modelValue));var S=u.attrGetter("ngfKeep",r,i);$=(l||[]).slice(0),("distinct"===S||u.attrGetter("ngfKeepDistinct",r,i)===!0)&&p(r,i);var C=!S&&!u.attrGetter("ngfMultiple",r,i)&&!u.attrGetter("multiple",r);if(!S||$.length){u.attrGetter("ngfBeforeModelChange",r,i,{$files:l,$file:l&&l.length?l[0]:null,$newFiles:$,$duplicateFiles:b,$event:c});var k=u.attrGetter("ngfValidateAfterResize",r,i),_=u.attrGetter("ngModelOptions",r,i);u.validate($,v.length,n,r,i).then(function(){f?d($,[],l,b,C):(_&&_.allowInvalid||k?x=$:g(),u.attrGetter("ngfFixOrientation",r,i)&&u.isExifSupported()?o(x,r,i).then(function(){m()}):m())})}},u}]),ngFileUpload.directive("ngfSelect",["$parse","$timeout","$compile","Upload",function(e,t,n,r){function i(e){var t=e.match(/Android[^\d]*(\d+)\.(\d+)/);if(t&&t.length>2){var n=r.defaults.androidFixMinorVersion||4;return parseInt(t[1])<4||parseInt(t[1])===n&&parseInt(t[2])<n}return-1===e.indexOf("Chrome")&&/.*Windows.*Safari.*/.test(e)}function o(e,t,n,r,o,s,u,l){function c(){return"input"===t[0].tagName.toLowerCase()&&n.type&&"file"===n.type.toLowerCase()}function f(){return y("ngfChange")||y("ngfSelect")}function d(t){if(l.shouldUpdateOn("change",n,e)){for(var i=t.__files_||t.target&&t.target.files,o=[],a=0;a<i.length;a++)o.push(i[a]);l.updateModel(r,n,e,f(),o.length?o:null,t)}}function p(e){if(t!==e)for(var n=0;n<t[0].attributes.length;n++){var r=t[0].attributes[n];"type"!==r.name&&"class"!==r.name&&"style"!==r.name&&((null==r.value||""===r.value)&&("required"===r.name&&(r.value="required"),"multiple"===r.name&&(r.value="multiple")),e.attr(r.name,"id"===r.name?"ngf-"+r.value:r.value))}}function h(){if(c())return t;var e=angular.element('<input type="file">');p(e);var n=angular.element("<label>upload</label>");return n.css("visibility","hidden").css("position","absolute").css("overflow","hidden").css("width","0px").css("height","0px").css("border","none").css("margin","0px").css("padding","0px").attr("tabindex","-1"),a.push({el:t,ref:n}),document.body.appendChild(n.append(e)[0]),e}function g(n){if(t.attr("disabled"))return!1;if(!y("ngfSelectDisabled",e)){var r=m(n);if(null!=r)return r;$(n);try{c()||document.body.contains(x[0])||(a.push({el:t,ref:x.parent()}),document.body.appendChild(x.parent()[0]),x.bind("change",d))}catch(o){}return i(navigator.userAgent)?setTimeout(function(){x[0].click()},0):x[0].click(),!1}}function m(e){var t=e.changedTouches||e.originalEvent&&e.originalEvent.changedTouches;if("touchstart"===e.type)return w=t?t[0].clientY:0,!0;if(e.stopPropagation(),e.preventDefault(),"touchend"===e.type){var n=t?t[0].clientY:0;if(Math.abs(n-w)>20)return!1}}function $(t){l.shouldUpdateOn("click",n,e)&&x.val()&&(x.val(null),l.updateModel(r,n,e,f(),null,t,!0))}function v(e){if(x&&!x.attr("__ngf_ie10_Fix_")){if(!x[0].parentNode)return void(x=null);e.preventDefault(),e.stopPropagation(),x.unbind("click");var t=x.clone();return x.replaceWith(t),x=t,x.attr("__ngf_ie10_Fix_","true"),x.bind("change",d),x.bind("click",v),x[0].click(),!1}x.removeAttr("__ngf_ie10_Fix_")}var y=function(e,t){return l.attrGetter(e,n,t)};l.registerModelChangeValidator(r,n,e);var b=[];b.push(e.$watch(y("ngfMultiple"),function(){x.attr("multiple",y("ngfMultiple",e))})),b.push(e.$watch(y("ngfCapture"),function(){x.attr("capture",y("ngfCapture",e))})),b.push(e.$watch(y("ngfAccept"),function(){x.attr("accept",y("ngfAccept",e))})),n.$observe("accept",function(){x.attr("accept",y("accept"))}),b.push(function(){n.$$observers&&delete n.$$observers.accept});var w=0,x=t;c()||(x=h()),x.bind("change",d),c()?t.bind("click",$):t.bind("click touchstart touchend",g),-1!==navigator.appVersion.indexOf("MSIE 10")&&x.bind("click",v),r&&r.$formatters.push(function(e){return(null==e||0===e.length)&&x.val()&&x.val(null),e}),e.$on("$destroy",function(){c()||x.parent().remove(),angular.forEach(b,function(e){e()})}),s(function(){for(var e=0;e<a.length;e++){var t=a[e];document.body.contains(t.el[0])||(a.splice(e,1),t.ref.remove())}}),window.FileAPI&&window.FileAPI.ngfFixIE&&window.FileAPI.ngfFixIE(t,x,d)}var a=[];return{restrict:"AEC",require:"?ngModel",link:function(i,a,s,u){o(i,a,s,u,e,t,n,r)}}}]),function(){function e(e){return"img"===e.tagName.toLowerCase()?"image":"audio"===e.tagName.toLowerCase()?"audio":"video"===e.tagName.toLowerCase()?"video":/./}function t(t,n,r,i,o,a,s,u){function l(e){var a=t.attrGetter("ngfNoObjectUrl",o,r);t.dataUrl(e,a)["finally"](function(){n(function(){var t=(a?e.$ngfDataUrl:e.$ngfBlobUrl)||e.$ngfDataUrl;u?i.css("background-image","url('"+(t||"")+"')"):i.attr("src",t),t?i.removeClass("ng-hide"):i.addClass("ng-hide")})})}n(function(){var n=r.$watch(o[a],function(n){var r=s;if("ngfThumbnail"===a&&(r||(r={width:i[0].clientWidth,height:i[0].clientHeight}),0===r.width&&window.getComputedStyle)){var o=getComputedStyle(i[0]);r={width:parseInt(o.width.slice(0,-2)),height:parseInt(o.height.slice(0,-2))}}return angular.isString(n)?(i.removeClass("ng-hide"),u?i.css("background-image","url('"+n+"')"):i.attr("src",n)):void(!n||!n.type||0!==n.type.search(e(i[0]))||u&&0!==n.type.indexOf("image")?i.addClass("ng-hide"):r&&t.isResizeSupported()?t.resize(n,r.width,r.height,r.quality).then(function(e){l(e)},function(e){throw e}):l(n))});r.$on("$destroy",function(){n()})})}ngFileUpload.service("UploadDataUrl",["UploadBase","$timeout","$q",function(e,t,n){var r=e;return r.base64DataUrl=function(e){if(angular.isArray(e)){var t=n.defer(),i=0;return angular.forEach(e,function(n){r.dataUrl(n,!0)["finally"](function(){if(i++,i===e.length){var n=[];angular.forEach(e,function(e){n.push(e.$ngfDataUrl)}),t.resolve(n,e)}})}),t.promise}return r.dataUrl(e,!0)},r.dataUrl=function(e,i){if(!e)return r.emptyPromise(e,e);if(i&&null!=e.$ngfDataUrl||!i&&null!=e.$ngfBlobUrl)return r.emptyPromise(i?e.$ngfDataUrl:e.$ngfBlobUrl,e);var o=i?e.$$ngfDataUrlPromise:e.$$ngfBlobUrlPromise;if(o)return o;var a=n.defer();return t(function(){if(window.FileReader&&e&&(!window.FileAPI||-1===navigator.userAgent.indexOf("MSIE 8")||e.size<2e4)&&(!window.FileAPI||-1===navigator.userAgent.indexOf("MSIE 9")||e.size<4e6)){var n=window.URL||window.webkitURL;if(n&&n.createObjectURL&&!i){var o;try{o=n.createObjectURL(e)}catch(s){return void t(function(){e.$ngfBlobUrl="",a.reject()})}t(function(){if(e.$ngfBlobUrl=o,o){a.resolve(o,e),r.blobUrls=r.blobUrls||[],r.blobUrlsTotalSize=r.blobUrlsTotalSize||0,r.blobUrls.push({url:o,size:e.size}),r.blobUrlsTotalSize+=e.size||0;for(var t=r.defaults.blobUrlsMaxMemory||268435456,i=r.defaults.blobUrlsMaxQueueSize||200;(r.blobUrlsTotalSize>t||r.blobUrls.length>i)&&r.blobUrls.length>1;){var s=r.blobUrls.splice(0,1)[0];n.revokeObjectURL(s.url),r.blobUrlsTotalSize-=s.size}}})}else{var u=new FileReader;u.onload=function(n){t(function(){e.$ngfDataUrl=n.target.result,a.resolve(n.target.result,e),t(function(){delete e.$ngfDataUrl},1e3)})},u.onerror=function(){t(function(){e.$ngfDataUrl="",a.reject()})},u.readAsDataURL(e)}}else t(function(){e[i?"$ngfDataUrl":"$ngfBlobUrl"]="",a.reject()})}),o=i?e.$$ngfDataUrlPromise=a.promise:e.$$ngfBlobUrlPromise=a.promise,o["finally"](function(){delete e[i?"$$ngfDataUrlPromise":"$$ngfBlobUrlPromise"]}),o},r}]),ngFileUpload.directive("ngfSrc",["Upload","$timeout",function(e,n){return{restrict:"AE",link:function(r,i,o){t(e,n,r,i,o,"ngfSrc",e.attrGetter("ngfResize",o,r),!1)}}}]),ngFileUpload.directive("ngfBackground",["Upload","$timeout",function(e,n){return{restrict:"AE",link:function(r,i,o){t(e,n,r,i,o,"ngfBackground",e.attrGetter("ngfResize",o,r),!0)}}}]),ngFileUpload.directive("ngfThumbnail",["Upload","$timeout",function(e,n){return{restrict:"AE",link:function(r,i,o){var a=e.attrGetter("ngfSize",o,r);t(e,n,r,i,o,"ngfThumbnail",a,e.attrGetter("ngfAsBackground",o,r))}}}]),ngFileUpload.config(["$compileProvider",function(e){e.imgSrcSanitizationWhitelist&&e.imgSrcSanitizationWhitelist(/^\s*(https?|ftp|mailto|tel|local|file|data|blob):/),e.aHrefSanitizationWhitelist&&e.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|tel|local|file|data|blob):/)}]),ngFileUpload.filter("ngfDataUrl",["UploadDataUrl","$sce",function(e,t){return function(n,r,i){if(angular.isString(n))return t.trustAsResourceUrl(n);var o=n&&((r?n.$ngfDataUrl:n.$ngfBlobUrl)||n.$ngfDataUrl);return n&&!o?(!n.$ngfDataUrlFilterInProgress&&angular.isObject(n)&&(n.$ngfDataUrlFilterInProgress=!0,e.dataUrl(n,r)),""):(n&&delete n.$ngfDataUrlFilterInProgress,(n&&o?i?t.trustAsResourceUrl(o):o:n)||"")}}])}(),ngFileUpload.service("UploadValidate",["UploadDataUrl","$q","$timeout",function(e,t,n){function r(e){var t="",n=[];if(e.length>2&&"/"===e[0]&&"/"===e[e.length-1])t=e.substring(1,e.length-1);else{var i=e.split(",");if(i.length>1)for(var o=0;o<i.length;o++){var a=r(i[o]);a.regexp?(t+="("+a.regexp+")",o<i.length-1&&(t+="|")):n=n.concat(a.excludes)}else 0===e.indexOf("!")?n.push("^((?!"+r(e.substring(1)).regexp+").)*$"):(0===e.indexOf(".")&&(e="*"+e),t="^"+e.replace(new RegExp("[.\\\\+*?\\[\\^\\]$(){}=!<>|:\\-]","g"),"\\$&")+"$",t=t.replace(/\\\*/g,".*").replace(/\\\?/g,"."))}return{regexp:t,excludes:n}}function i(e,t){null==t||e.$dirty||(e.$setDirty?e.$setDirty():e.$dirty=!0)}var o=e;return o.validatePattern=function(e,t){if(!t)return!0;var n=r(t),i=!0;if(n.regexp&&n.regexp.length){var o=new RegExp(n.regexp,"i");i=null!=e.type&&o.test(e.type)||null!=e.name&&o.test(e.name)}for(var a=n.excludes.length;a--;){var s=new RegExp(n.excludes[a],"i");i=i&&(null==e.type||s.test(e.type))&&(null==e.name||s.test(e.name))}return i},o.ratioToFloat=function(e){var t=e.toString(),n=t.search(/[x:]/i);return t=n>-1?parseFloat(t.substring(0,n))/parseFloat(t.substring(n+1)):parseFloat(t)},o.registerModelChangeValidator=function(e,t,n){e&&e.$formatters.push(function(r){e.$dirty&&(r&&!angular.isArray(r)&&(r=[r]),o.validate(r,0,e,t,n).then(function(){o.applyModelValidation(e,r)}))})},o.applyModelValidation=function(e,t){i(e,t),angular.forEach(e.$ngfValidations,function(t){e.$setValidity(t.name,t.valid)})},o.getValidationAttr=function(e,t,n,r,i){var a="ngf"+n[0].toUpperCase()+n.substr(1),s=o.attrGetter(a,e,t,{$file:i});if(null==s&&(s=o.attrGetter("ngfValidate",e,t,{$file:i}))){var u=(r||n).split(".");s=s[u[0]],u.length>1&&(s=s&&s[u[1]])}return s},o.validate=function(e,n,r,i,a){function s(t,n,s){if(e){for(var u=e.length,l=null;u--;){var c=e[u];if(c){var f=o.getValidationAttr(i,a,t,n,c);null!=f&&(s(c,f,u)||(c.$error=t,(c.$errorMessages=c.$errorMessages||{})[t]=!0,c.$errorParam=f,e.splice(u,1),l=!1))}}null!==l&&r.$ngfValidations.push({name:t,valid:l})}}function u(n,s,u,c,f){function d(e,t,r){null!=r?c(t,r).then(function(i){f(i,r)?e.resolve():(t.$error=n,(t.$errorMessages=t.$errorMessages||{})[n]=!0,t.$errorParam=r,e.reject())},function(){l("ngfValidateForce",{$file:t})?(t.$error=n,(t.$errorMessages=t.$errorMessages||{})[n]=!0,t.$errorParam=r,e.reject()):e.resolve()}):e.resolve()}var p=[o.emptyPromise()];return e?(e=void 0===e.length?[e]:e,angular.forEach(e,function(e){var r=t.defer();return p.push(r.promise),!u||null!=e.type&&0===e.type.search(u)?void("dimensions"===n&&null!=o.attrGetter("ngfDimensions",i)?o.imageDimensions(e).then(function(t){d(r,e,l("ngfDimensions",{$file:e,$width:t.width,$height:t.height}))},function(){r.reject()}):"duration"===n&&null!=o.attrGetter("ngfDuration",i)?o.mediaDuration(e).then(function(t){d(r,e,l("ngfDuration",{$file:e,$duration:t}))},function(){r.reject()}):d(r,e,o.getValidationAttr(i,a,n,s,e))):void r.resolve()}),t.all(p).then(function(){r.$ngfValidations.push({name:n,valid:!0})},function(){r.$ngfValidations.push({name:n,valid:!1})})):void 0}r=r||{},r.$ngfValidations=r.$ngfValidations||[],angular.forEach(r.$ngfValidations,function(e){e.valid=!0});var l=function(e,t){return o.attrGetter(e,i,a,t)};if(null==e||0===e.length)return o.emptyPromise(r);e=void 0===e.length?[e]:e.slice(0),s("maxFiles",null,function(e,t,r){return t>n+r}),s("pattern",null,o.validatePattern),s("minSize","size.min",function(e,t){return e.size+.1>=o.translateScalars(t)}),s("maxSize","size.max",function(e,t){return e.size-.1<=o.translateScalars(t)});var c=0;if(s("maxTotalSize",null,function(t,n){return c+=t.size,c>o.translateScalars(n)?(e.splice(0,e.length),!1):!0}),s("validateFn",null,function(e,t){return t===!0||null===t||""===t}),!e.length)return o.emptyPromise(r,r.$ngfValidations);var f=t.defer(),d=[];return d.push(o.happyPromise(u("maxHeight","height.max",/image/,this.imageDimensions,function(e,t){return e.height<=t}))),d.push(o.happyPromise(u("minHeight","height.min",/image/,this.imageDimensions,function(e,t){return e.height>=t}))),d.push(o.happyPromise(u("maxWidth","width.max",/image/,this.imageDimensions,function(e,t){return e.width<=t}))),d.push(o.happyPromise(u("minWidth","width.min",/image/,this.imageDimensions,function(e,t){return e.width>=t}))),d.push(o.happyPromise(u("dimensions",null,/image/,function(e,t){return o.emptyPromise(t)},function(e){return e}))),d.push(o.happyPromise(u("ratio",null,/image/,this.imageDimensions,function(e,t){for(var n=t.toString().split(","),r=!1,i=0;i<n.length;i++)Math.abs(e.width/e.height-o.ratioToFloat(n[i]))<1e-4&&(r=!0);return r}))),d.push(o.happyPromise(u("maxRatio","ratio.max",/image/,this.imageDimensions,function(e,t){return e.width/e.height-o.ratioToFloat(t)<1e-4}))),d.push(o.happyPromise(u("minRatio","ratio.min",/image/,this.imageDimensions,function(e,t){return e.width/e.height-o.ratioToFloat(t)>-1e-4}))),d.push(o.happyPromise(u("maxDuration","duration.max",/audio|video/,this.mediaDuration,function(e,t){return e<=o.translateScalars(t)}))),d.push(o.happyPromise(u("minDuration","duration.min",/audio|video/,this.mediaDuration,function(e,t){return e>=o.translateScalars(t)}))),d.push(o.happyPromise(u("duration",null,/audio|video/,function(e,t){return o.emptyPromise(t)},function(e){return e}))),d.push(o.happyPromise(u("validateAsyncFn",null,null,function(e,t){return t},function(e){return e===!0||null===e||""===e}))),t.all(d).then(function(){f.resolve(r,r.$ngfValidations)})},o.imageDimensions=function(e){if(e.$ngfWidth&&e.$ngfHeight){var r=t.defer();return n(function(){r.resolve({width:e.$ngfWidth,height:e.$ngfHeight})}),r.promise}if(e.$ngfDimensionPromise)return e.$ngfDimensionPromise;var i=t.defer();return n(function(){return 0!==e.type.indexOf("image")?void i.reject("not image"):void o.dataUrl(e).then(function(t){function r(){var t=s[0].clientWidth,n=s[0].clientHeight;s.remove(),e.$ngfWidth=t,e.$ngfHeight=n,i.resolve({width:t,height:n})}function o(){s.remove(),i.reject("load error")}function a(){n(function(){s[0].parentNode&&(s[0].clientWidth?r():u>10?o():a())},1e3)}var s=angular.element("<img>").attr("src",t).css("visibility","hidden").css("position","fixed").css("max-width","none !important").css("max-height","none !important");s.on("load",r),s.on("error",o);var u=0;a(),angular.element(document.getElementsByTagName("body")[0]).append(s)},function(){i.reject("load error")})}),e.$ngfDimensionPromise=i.promise,e.$ngfDimensionPromise["finally"](function(){delete e.$ngfDimensionPromise}),e.$ngfDimensionPromise},o.mediaDuration=function(e){if(e.$ngfDuration){var r=t.defer();return n(function(){r.resolve(e.$ngfDuration)}),r.promise}if(e.$ngfDurationPromise)return e.$ngfDurationPromise;var i=t.defer();return n(function(){return 0!==e.type.indexOf("audio")&&0!==e.type.indexOf("video")?void i.reject("not media"):void o.dataUrl(e).then(function(t){function r(){var t=s[0].duration;e.$ngfDuration=t,s.remove(),i.resolve(t)}function o(){s.remove(),i.reject("load error")}function a(){n(function(){s[0].parentNode&&(s[0].duration?r():u>10?o():a())},1e3)}var s=angular.element(0===e.type.indexOf("audio")?"<audio>":"<video>").attr("src",t).css("visibility","none").css("position","fixed");s.on("loadedmetadata",r),s.on("error",o);var u=0;a(),angular.element(document.body).append(s)},function(){i.reject("load error")})}),e.$ngfDurationPromise=i.promise,e.$ngfDurationPromise["finally"](function(){delete e.$ngfDurationPromise}),e.$ngfDurationPromise},o}]),ngFileUpload.service("UploadResize",["UploadValidate","$q",function(e,t){var n=e,r=function(e,t,n,r,i){var o=i?Math.max(n/e,r/t):Math.min(n/e,r/t);return{width:e*o,height:t*o,marginX:e*o-n,marginY:t*o-r}},i=function(e,i,o,a,s,u,l,c){var f=t.defer(),d=document.createElement("canvas"),p=document.createElement("img");return p.onload=function(){if(null!=c&&c(p.width,p.height)===!1)return void f.reject("resizeIf");try{if(u){var e=n.ratioToFloat(u),t=p.width/p.height;e>t?(i=p.width,o=i/e):(o=p.height,i=o*e)}i||(i=p.width),o||(o=p.height);var h=r(p.width,p.height,i,o,l);d.width=Math.min(h.width,i),d.height=Math.min(h.height,o);var g=d.getContext("2d");g.drawImage(p,Math.min(0,-h.marginX/2),Math.min(0,-h.marginY/2),h.width,h.height),f.resolve(d.toDataURL(s||"image/WebP",a||.934))}catch(m){f.reject(m)}},p.onerror=function(){f.reject()},p.src=e,f.promise};return n.dataUrltoBlob=function(e,t,n){for(var r=e.split(","),i=r[0].match(/:(.*?);/)[1],o=atob(r[1]),a=o.length,s=new Uint8Array(a);a--;)s[a]=o.charCodeAt(a);var u=new window.Blob([s],{type:i});return u.name=t,u.$ngfOrigSize=n,u},n.isResizeSupported=function(){var e=document.createElement("canvas");return window.atob&&e.getContext&&e.getContext("2d")&&window.Blob},n.isResizeSupported()&&Object.defineProperty(window.Blob.prototype,"name",{get:function(){return this.$ngfName},set:function(e){this.$ngfName=e},configurable:!0}),n.resize=function(e,r,o,a,s,u,l,c,f){if(0!==e.type.indexOf("image"))return n.emptyPromise(e);var d=t.defer();return n.dataUrl(e,!0).then(function(t){i(t,r,o,a,s||e.type,u,l,c).then(function(r){if("image/jpeg"===e.type&&f)try{r=n.restoreExif(t,r)}catch(i){setTimeout(function(){throw i},1)}try{var o=n.dataUrltoBlob(r,e.name,e.size);d.resolve(o)}catch(i){d.reject(i)}},function(t){"resizeIf"===t&&d.resolve(e),d.reject(t)})},function(e){d.reject(e)}),d.promise},n}]),function(){function e(e,n,r,i,o,a,s,u,l,c){function f(){return n.attr("disabled")||$("ngfDropDisabled",e)}function d(t,n){u.updateModel(i,r,e,$("ngfChange")||$("ngfDrop"),t,n)}function p(t,n){if(!u.shouldUpdateOn(t,r,e)||!n)return u.rejectPromise([]);var i=[];n.replace(/<(img src|img [^>]* src) *=\"([^\"]*)\"/gi,function(e,t,n){i.push(n)});var o=[],a=[];if(i.length){angular.forEach(i,function(e){o.push(u.urlToBlob(e).then(function(e){a.push(e)}))});var s=c.defer();return c.all(o).then(function(){s.resolve(a)},function(e){s.reject(e)}),s.promise}return u.emptyPromise()}function h(e,t,n,r){var i=$("ngfDragOverClass",e,{$event:n}),o="dragover";if(angular.isString(i))o=i;else if(i&&(i.delay&&(w=i.delay),i.accept||i.reject)){var a=n.dataTransfer.items;if(null!=a&&a.length)for(var s=i.pattern||$("ngfPattern",e,{$event:n}),l=a.length;l--;){if(!u.validatePattern(a[l],s)){o=i.reject;break}o=i.accept}else o=i.accept}r(o)}function g(t,n,i,o){function a(e,t){var n=c.defer();if(null!=e)if(e.isDirectory){var r=[u.emptyPromise()];if(d){var i={type:"directory"};i.name=i.path=(t||"")+e.name+e.name,p.push(i)}var o=e.createReader(),s=[],g=function(){o.readEntries(function(i){try{i.length?(s=s.concat(Array.prototype.slice.call(i||[],0)),g()):(angular.forEach(s.slice(0),function(n){p.length<=l&&f>=h&&r.push(a(n,(t?t:"")+e.name+"/"))}),c.all(r).then(function(){n.resolve()},function(e){n.reject(e)}))}catch(o){n.reject(o)}},function(e){n.reject(e)})};g()}else e.file(function(e){try{e.path=(t?t:"")+e.name,d&&(e=u.rename(e,e.path)),p.push(e),h+=e.size,n.resolve()}catch(r){n.reject(r)}},function(e){n.reject(e)});return n.promise}var l=u.getValidationAttr(r,e,"maxFiles")||Number.MAX_VALUE,f=u.getValidationAttr(r,e,"maxTotalSize")||Number.MAX_VALUE,d=$("ngfIncludeDir",e),p=[],h=0,g=[u.emptyPromise()];if(t&&t.length>0&&"file"!==s.protocol())for(var m=0;m<t.length;m++){if(t[m].webkitGetAsEntry&&t[m].webkitGetAsEntry()&&t[m].webkitGetAsEntry().isDirectory){var v=t[m].webkitGetAsEntry();if(v.isDirectory&&!i)continue;null!=v&&g.push(a(v))}else{var y=t[m].getAsFile();null!=y&&(p.push(y),h+=y.size)}if(p.length>l||h>f||!o&&p.length>0)break}else if(null!=n)for(var b=0;b<n.length;b++){var w=n.item(b);if((w.type||w.size>0)&&(p.push(w),h+=w.size),p.length>l||h>f||!o&&p.length>0)break}var x=c.defer();return c.all(g).then(function(){if(o||d||!p.length)x.resolve(p);else{for(var e=0;p[e]&&"directory"===p[e].type;)e++;x.resolve([p[e]])}},function(e){x.reject(e)}),x.promise}var m=t(),$=function(e,t,n){return u.attrGetter(e,r,t,n)};if($("dropAvailable")&&a(function(){e[$("dropAvailable")]?e[$("dropAvailable")].value=m:e[$("dropAvailable")]=m}),!m)return void($("ngfHideOnDropNotAvailable",e)===!0&&n.css("display","none"));null==$("ngfSelect")&&u.registerModelChangeValidator(i,r,e);var v,y=null,b=o($("ngfStopPropagation")),w=1;n[0].addEventListener("dragover",function(t){if(!f()&&u.shouldUpdateOn("drop",r,e)){if(t.preventDefault(),b(e)&&t.stopPropagation(),navigator.userAgent.indexOf("Chrome")>-1){var i=t.dataTransfer.effectAllowed;t.dataTransfer.dropEffect="move"===i||"linkMove"===i?"move":"copy"}a.cancel(y),v||(v="C",h(e,r,t,function(r){v=r,n.addClass(v),$("ngfDrag",e,{$isDragging:!0,$class:v,$event:t})}))}},!1),n[0].addEventListener("dragenter",function(t){!f()&&u.shouldUpdateOn("drop",r,e)&&(t.preventDefault(),b(e)&&t.stopPropagation())},!1),n[0].addEventListener("dragleave",function(t){!f()&&u.shouldUpdateOn("drop",r,e)&&(t.preventDefault(),b(e)&&t.stopPropagation(),y=a(function(){v&&n.removeClass(v),v=null,$("ngfDrag",e,{$isDragging:!1,$event:t})},w||100))},!1),n[0].addEventListener("drop",function(t){if(!f()&&u.shouldUpdateOn("drop",r,e)){t.preventDefault(),b(e)&&t.stopPropagation(),v&&n.removeClass(v),v=null;var i,o=t.dataTransfer.items;try{i=t.dataTransfer&&t.dataTransfer.getData&&t.dataTransfer.getData("text/html")}catch(a){}g(o,t.dataTransfer.files,$("ngfAllowDir",e)!==!1,$("multiple")||$("ngfMultiple",e)).then(function(e){e.length?d(e,t):p("dropUrl",i).then(function(e){d(e,t)})})}},!1),n[0].addEventListener("paste",function(t){if(navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&$("ngfEnableFirefoxPaste",e)&&t.preventDefault(),!f()&&u.shouldUpdateOn("paste",r,e)){var n=[],i=t.clipboardData||t.originalEvent.clipboardData;if(i&&i.items)for(var o=0;o<i.items.length;o++)-1!==i.items[o].type.indexOf("image")&&n.push(i.items[o].getAsFile());n.length?d(n,t):p("pasteUrl",i).then(function(e){d(e,t)})}},!1),navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&$("ngfEnableFirefoxPaste",e)&&(n.attr("contenteditable",!0),n.on("keypress",function(e){e.metaKey||e.ctrlKey||e.preventDefault()}))}function t(){var e=document.createElement("div");return"draggable"in e&&"ondrop"in e&&!/Edge\/12./i.test(navigator.userAgent)}ngFileUpload.directive("ngfDrop",["$parse","$timeout","$location","Upload","$http","$q",function(t,n,r,i,o,a){return{restrict:"AEC",require:"?ngModel",link:function(s,u,l,c){e(s,u,l,c,t,n,r,i,o,a);
11
+ }}}]),ngFileUpload.directive("ngfNoFileDrop",function(){return function(e,n){t()&&n.css("display","none")}}),ngFileUpload.directive("ngfDropAvailable",["$parse","$timeout","Upload",function(e,n,r){return function(i,o,a){if(t()){var s=e(r.attrGetter("ngfDropAvailable",a));n(function(){s(i),s.assign&&s.assign(i,!0)})}}}])}(),ngFileUpload.service("UploadExif",["UploadResize","$q",function(e,t){function n(e,t,n,r){switch(t){case 2:return e.transform(-1,0,0,1,n,0);case 3:return e.transform(-1,0,0,-1,n,r);case 4:return e.transform(1,0,0,-1,0,r);case 5:return e.transform(0,1,1,0,0,0);case 6:return e.transform(0,1,-1,0,r,0);case 7:return e.transform(0,-1,-1,0,r,n);case 8:return e.transform(0,-1,1,0,0,n)}}function r(e){for(var t="",n=new Uint8Array(e),r=n.byteLength,i=0;r>i;i++)t+=String.fromCharCode(n[i]);return window.btoa(t)}var i=e;return i.isExifSupported=function(){return window.FileReader&&(new FileReader).readAsArrayBuffer&&i.isResizeSupported()},i.readOrientation=function(e){var n=t.defer(),r=new FileReader,i=e.slice?e.slice(0,65536):e;return r.readAsArrayBuffer(i),r.onerror=function(e){return n.reject(e)},r.onload=function(e){var t={orientation:1},r=new DataView(this.result);if(65496!==r.getUint16(0,!1))return n.resolve(t);for(var i=r.byteLength,o=2;i>o;){var a=r.getUint16(o,!1);if(o+=2,65505===a){if(1165519206!==r.getUint32(o+=2,!1))return n.resolve(t);var s=18761===r.getUint16(o+=6,!1);o+=r.getUint32(o+4,s);var u=r.getUint16(o,s);o+=2;for(var l=0;u>l;l++)if(274===r.getUint16(o+12*l,s)){var c=r.getUint16(o+12*l+8,s);return c>=2&&8>=c&&(r.setUint16(o+12*l+8,1,s),t.fixedArrayBuffer=e.target.result),t.orientation=c,n.resolve(t)}}else{if(65280!==(65280&a))break;o+=r.getUint16(o,!1)}}return n.resolve(t)},n.promise},i.applyExifRotation=function(e){if(0!==e.type.indexOf("image/jpeg"))return i.emptyPromise(e);var o=t.defer();return i.readOrientation(e).then(function(t){return t.orientation<2||t.orientation>8?o.resolve(e):void i.dataUrl(e,!0).then(function(a){var s=document.createElement("canvas"),u=document.createElement("img");u.onload=function(){try{s.width=t.orientation>4?u.height:u.width,s.height=t.orientation>4?u.width:u.height;var a=s.getContext("2d");n(a,t.orientation,u.width,u.height),a.drawImage(u,0,0);var l=s.toDataURL(e.type||"image/WebP",.934);l=i.restoreExif(r(t.fixedArrayBuffer),l);var c=i.dataUrltoBlob(l,e.name);o.resolve(c)}catch(f){return o.reject(f)}},u.onerror=function(){o.reject()},u.src=a},function(e){o.reject(e)})},function(e){o.reject(e)}),o.promise},i.restoreExif=function(e,t){var n={};return n.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n.encode64=function(e){var t,n,r,i,o,a="",s="",u="",l=0;do t=e[l++],n=e[l++],s=e[l++],r=t>>2,i=(3&t)<<4|n>>4,o=(15&n)<<2|s>>6,u=63&s,isNaN(n)?o=u=64:isNaN(s)&&(u=64),a=a+this.KEY_STR.charAt(r)+this.KEY_STR.charAt(i)+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(u),t=n=s="",r=i=o=u="";while(l<e.length);return a},n.restore=function(e,t){e.match("data:image/jpeg;base64,")&&(e=e.replace("data:image/jpeg;base64,",""));var n=this.decode64(e),r=this.slice2Segments(n),i=this.exifManipulation(t,r);return"data:image/jpeg;base64,"+this.encode64(i)},n.exifManipulation=function(e,t){var n=this.getExifArray(t),r=this.insertExif(e,n);return new Uint8Array(r)},n.getExifArray=function(e){for(var t,n=0;n<e.length;n++)if(t=e[n],255===t[0]&225===t[1])return t;return[]},n.insertExif=function(e,t){var n=e.replace("data:image/jpeg;base64,",""),r=this.decode64(n),i=r.indexOf(255,3),o=r.slice(0,i),a=r.slice(i),s=o;return s=s.concat(t),s=s.concat(a)},n.slice2Segments=function(e){for(var t=0,n=[];!(255===e[t]&218===e[t+1]);){if(255===e[t]&216===e[t+1])t+=2;else{var r=256*e[t+2]+e[t+3],i=t+r+2,o=e.slice(t,i);n.push(o),t=i}if(t>e.length)break}return n},n.decode64=function(e){var t,n,r,i,o,a="",s="",u=0,l=[],c=/[^A-Za-z0-9\+\/\=]/g;c.exec(e)&&console.log("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, NaNExpect errors in decoding."),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");do r=this.KEY_STR.indexOf(e.charAt(u++)),i=this.KEY_STR.indexOf(e.charAt(u++)),o=this.KEY_STR.indexOf(e.charAt(u++)),s=this.KEY_STR.indexOf(e.charAt(u++)),t=r<<2|i>>4,n=(15&i)<<4|o>>2,a=(3&o)<<6|s,l.push(t),64!==o&&l.push(n),64!==s&&l.push(a),t=n=a="",r=i=o=s="";while(u<e.length);return l},n.restore(e,t)},i}]),function(){"use strict";angular.module("ui.tree",[]).constant("treeConfig",{treeClass:"angular-ui-tree",emptyTreeClass:"angular-ui-tree-empty",hiddenClass:"angular-ui-tree-hidden",nodesClass:"angular-ui-tree-nodes",nodeClass:"angular-ui-tree-node",handleClass:"angular-ui-tree-handle",placeholderClass:"angular-ui-tree-placeholder",dragClass:"angular-ui-tree-drag",dragThreshold:3,levelThreshold:30,defaultCollapsed:!1})}(),function(){"use strict";angular.module("ui.tree").controller("TreeHandleController",["$scope","$element",function(e,t){this.scope=e,e.$element=t,e.$nodeScope=null,e.$type="uiTreeHandle"}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeNodeController",["$scope","$element",function(e,t){function n(e){var t,r,i,o=0,a=e.childNodes();if(!a||0===a.length)return 0;for(i=a.length-1;i>=0;i--)t=a[i],r=1+n(t),o=Math.max(o,r);return o}this.scope=e,e.$element=t,e.$modelValue=null,e.$parentNodeScope=null,e.$childNodesScope=null,e.$parentNodesScope=null,e.$treeScope=null,e.$handleScope=null,e.$type="uiTreeNode",e.$$allowNodeDrop=!1,e.collapsed=!1,e.init=function(n){var r=n[0];e.$treeScope=n[1]?n[1].scope:null,e.$parentNodeScope=r.scope.$nodeScope,e.$modelValue=r.scope.$modelValue[e.$index],e.$parentNodesScope=r.scope,r.scope.initSubNode(e),t.on("$destroy",function(){r.scope.destroySubNode(e)})},e.index=function(){return e.$parentNodesScope.$modelValue.indexOf(e.$modelValue)},e.dragEnabled=function(){return!(e.$treeScope&&!e.$treeScope.dragEnabled)},e.isSibling=function(t){return e.$parentNodesScope==t.$parentNodesScope},e.isChild=function(t){var n=e.childNodes();return n&&n.indexOf(t)>-1},e.prev=function(){var t=e.index();return t>0?e.siblings()[t-1]:null},e.siblings=function(){return e.$parentNodesScope.childNodes()},e.childNodesCount=function(){return e.childNodes()?e.childNodes().length:0},e.hasChild=function(){return e.childNodesCount()>0},e.childNodes=function(){return e.$childNodesScope&&e.$childNodesScope.$modelValue?e.$childNodesScope.childNodes():null},e.accept=function(t,n){return e.$childNodesScope&&e.$childNodesScope.$modelValue&&e.$childNodesScope.accept(t,n)},e.remove=function(){return e.$parentNodesScope.removeNode(e)},e.toggle=function(){e.collapsed=!e.collapsed},e.collapse=function(){e.collapsed=!0},e.expand=function(){e.collapsed=!1},e.depth=function(){var t=e.$parentNodeScope;return t?t.depth()+1:1},e.maxSubDepth=function(){return e.$childNodesScope?n(e.$childNodesScope):0}}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeNodesController",["$scope","$element",function(e,t){this.scope=e,e.$element=t,e.$modelValue=null,e.$nodeScope=null,e.$treeScope=null,e.$type="uiTreeNodes",e.$nodesMap={},e.nodropEnabled=!1,e.maxDepth=0,e.cloneEnabled=!1,e.initSubNode=function(t){return t.$modelValue?void(e.$nodesMap[t.$modelValue.$$hashKey]=t):null},e.destroySubNode=function(t){return t.$modelValue?void(e.$nodesMap[t.$modelValue.$$hashKey]=null):null},e.accept=function(t,n){return e.$treeScope.$callbacks.accept(t,e,n)},e.beforeDrag=function(t){return e.$treeScope.$callbacks.beforeDrag(t)},e.isParent=function(t){return t.$parentNodesScope==e},e.hasChild=function(){return e.$modelValue.length>0},e.safeApply=function(e){var t=this.$root.$$phase;"$apply"==t||"$digest"==t?e&&"function"==typeof e&&e():this.$apply(e)},e.removeNode=function(t){var n=e.$modelValue.indexOf(t.$modelValue);return n>-1?(e.safeApply(function(){e.$modelValue.splice(n,1)[0]}),e.$treeScope.$callbacks.removed(t)):null},e.insertNode=function(t,n){e.safeApply(function(){e.$modelValue.splice(t,0,n)})},e.childNodes=function(){var t,n=[];if(e.$modelValue)for(t=0;t<e.$modelValue.length;t++)n.push(e.$nodesMap[e.$modelValue[t].$$hashKey]);return n},e.depth=function(){return e.$nodeScope?e.$nodeScope.depth():0},e.outOfDepth=function(t){var n=e.maxDepth||e.$treeScope.maxDepth;return n>0?e.depth()+t.maxSubDepth()+1>n:!1}}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeController",["$scope","$element",function(e,t){this.scope=e,e.$element=t,e.$nodesScope=null,e.$type="uiTree",e.$emptyElm=null,e.$callbacks=null,e.dragEnabled=!0,e.emptyPlaceholderEnabled=!0,e.maxDepth=0,e.dragDelay=0,e.cloneEnabled=!1,e.nodropEnabled=!1,e.isEmpty=function(){return e.$nodesScope&&e.$nodesScope.$modelValue&&0===e.$nodesScope.$modelValue.length},e.place=function(t){e.$nodesScope.$element.append(t),e.$emptyElm.remove()},this.resetEmptyElement=function(){e.$nodesScope.$modelValue&&0!==e.$nodesScope.$modelValue.length||!e.emptyPlaceholderEnabled?e.$emptyElm.remove():t.append(e.$emptyElm)},e.resetEmptyElement=this.resetEmptyElement}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTree",["treeConfig","$window",function(e,t){return{restrict:"A",scope:!0,controller:"TreeController",link:function(n,r,i,o){var a,s,u,l={accept:null,beforeDrag:null},c={};angular.extend(c,e),c.treeClass&&r.addClass(c.treeClass),"table"===r.prop("tagName").toLowerCase()?(n.$emptyElm=angular.element(t.document.createElement("tr")),s=r.find("tr"),u=s.length>0?angular.element(s).children().length:1e6,a=angular.element(t.document.createElement("td")).attr("colspan",u),n.$emptyElm.append(a)):n.$emptyElm=angular.element(t.document.createElement("div")),c.emptyTreeClass&&n.$emptyElm.addClass(c.emptyTreeClass),n.$watch("$nodesScope.$modelValue.length",function(e){angular.isNumber(e)&&o.resetEmptyElement()},!0),n.$watch(i.dragEnabled,function(e){"boolean"==typeof e&&(n.dragEnabled=e)}),n.$watch(i.emptyPlaceholderEnabled,function(e){"boolean"==typeof e&&(n.emptyPlaceholderEnabled=e,o.resetEmptyElement())}),n.$watch(i.nodropEnabled,function(e){"boolean"==typeof e&&(n.nodropEnabled=e)}),n.$watch(i.cloneEnabled,function(e){"boolean"==typeof e&&(n.cloneEnabled=e)}),n.$watch(i.maxDepth,function(e){"number"==typeof e&&(n.maxDepth=e)}),n.$watch(i.dragDelay,function(e){"number"==typeof e&&(n.dragDelay=e)}),l.accept=function(e,t){return!(t.nodropEnabled||t.$treeScope.nodropEnabled||t.outOfDepth(e))},l.beforeDrag=function(){return!0},l.removed=function(){},l.dropped=function(){},l.dragStart=function(){},l.dragMove=function(){},l.dragStop=function(){},l.beforeDrop=function(){},n.$watch(i.uiTree,function(e){angular.forEach(e,function(e,t){l[t]&&"function"==typeof e&&(l[t]=e)}),n.$callbacks=l},!0)}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeHandle",["treeConfig",function(e){return{require:"^uiTreeNode",restrict:"A",scope:!0,controller:"TreeHandleController",link:function(t,n,r,i){var o={};angular.extend(o,e),o.handleClass&&n.addClass(o.handleClass),t!=i.scope&&(t.$nodeScope=i.scope,i.scope.$handleScope=t)}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeNode",["treeConfig","UiTreeHelper","$window","$document","$timeout","$q","$rootElement",function(e,t,n,r,i,o,a){return{require:["^uiTreeNodes","^uiTree"],restrict:"A",controller:"TreeNodeController",link:function(s,u,l,c){var f,d,p,h,g,m,$,v,y,b,w,x,S,C,k,_,A,E,D,T,M,O,N,F,P={},j="ontouchstart"in window,I=null,V=document.body,R=document.documentElement;angular.extend(P,e),P.nodeClass&&u.addClass(P.nodeClass),s.init(c),s.collapsed=!!t.getNodeAttribute(s,"collapsed")||e.defaultCollapsed,s.sourceOnly=s.nodropEnabled||s.$treeScope.nodropEnabled,s.$watch(l.collapsed,function(e){"boolean"==typeof e&&(s.collapsed=e)}),s.$watch("collapsed",function(e){t.setNodeAttribute(s,"collapsed",e),l.$set("collapsed",e)}),s.$on("angular-ui-tree:collapse-all",function(){s.collapsed=!0}),s.$on("angular-ui-tree:expand-all",function(){s.collapsed=!1}),b=function(e){if((j||2!==e.button&&3!==e.which)&&!(e.uiTreeDragging||e.originalEvent&&e.originalEvent.uiTreeDragging)){var i,o,l,c,b,w,x,S,C,k=angular.element(e.target);if(i=t.treeNodeHandlerContainerOfElement(k),i&&(k=angular.element(i)),o=u.clone(),S=t.elementIsTreeNode(k),C=t.elementIsTreeNodeHandle(k),(S||C)&&!(S&&t.elementContainsTreeNodeHandler(k)||(l=k.prop("tagName").toLowerCase(),"input"==l||"textarea"==l||"button"==l||"select"==l))){for(F=angular.element(e.target);F&&F[0]&&F[0]!==u;){if(t.nodrag(F))return;F=F.parent()}s.beforeDrag(s)&&(e.uiTreeDragging=!0,e.originalEvent&&(e.originalEvent.uiTreeDragging=!0),e.preventDefault(),b=t.eventObj(e),f=!0,d=t.dragInfo(s),c=u.prop("tagName"),"tr"===c.toLowerCase()?(h=angular.element(n.document.createElement(c)),w=angular.element(n.document.createElement("td")).addClass(P.placeholderClass).attr("colspan",u[0].children.length),h.append(w)):h=angular.element(n.document.createElement(c)).addClass(P.placeholderClass),g=angular.element(n.document.createElement(c)),P.hiddenClass&&g.addClass(P.hiddenClass),p=t.positionStarted(b,u),h.css("height",t.height(u)+"px"),m=angular.element(n.document.createElement(s.$parentNodesScope.$element.prop("tagName"))).addClass(s.$parentNodesScope.$element.attr("class")).addClass(P.dragClass),m.css("width",t.width(u)+"px"),m.css("z-index",9999),x=(u[0].querySelector(".angular-ui-tree-handle")||u[0]).currentStyle,x&&(document.body.setAttribute("ui-tree-cursor",r.find("body").css("cursor")||""),r.find("body").css({cursor:x.cursor+"!important"})),s.sourceOnly&&h.css("display","none"),u.after(h),u.after(g),d.isClone()&&s.sourceOnly?m.append(o):m.append(u),a.append(m),m.css({left:b.pageX-p.offsetX+"px",top:b.pageY-p.offsetY+"px"}),$={placeholder:h,dragging:m},D(),s.$apply(function(){s.$treeScope.$callbacks.dragStart(d.eventArgs($,p))}),v=Math.max(V.scrollHeight,V.offsetHeight,R.clientHeight,R.scrollHeight,R.offsetHeight),y=Math.max(V.scrollWidth,V.offsetWidth,R.clientWidth,R.scrollWidth,R.offsetWidth))}}},w=function(e){var r,i,o,a,u,l,c,g,b,w,x,S,C,k,_,A,E=t.eventObj(e);if(m){if(e.preventDefault(),n.getSelection?n.getSelection().removeAllRanges():n.document.selection&&n.document.selection.empty(),o=E.pageX-p.offsetX,a=E.pageY-p.offsetY,0>o&&(o=0),0>a&&(a=0),a+10>v&&(a=v-10),o+10>y&&(o=y-10),m.css({left:o+"px",top:a+"px"}),u=window.pageYOffset||n.document.documentElement.scrollTop,l=u+(window.innerHeight||n.document.clientHeight||n.document.clientHeight),l<E.pageY&&v>=l&&window.scrollBy(0,10),u>E.pageY&&window.scrollBy(0,-10),t.positionMoved(e,p,f),f)return void(f=!1);if(g=t.offset(m).left-t.offset(h).left>=P.threshold,b=E.pageX-(n.pageXOffset||n.document.body.scrollLeft||n.document.documentElement.scrollLeft)-(n.document.documentElement.clientLeft||0),w=E.pageY-(n.pageYOffset||n.document.body.scrollTop||n.document.documentElement.scrollTop)-(n.document.documentElement.clientTop||0),angular.isFunction(m.hide)?m.hide():(x=m[0].style.display,m[0].style.display="none"),n.document.elementFromPoint(b,w),C=angular.element(n.document.elementFromPoint(b,w)),N=t.treeNodeHandlerContainerOfElement(C),N&&(C=angular.element(N)),angular.isFunction(m.show)?m.show():m[0].style.display=x,O=!(t.elementIsTreeNodeHandle(C)||t.elementIsTreeNode(C)||t.elementIsTreeNodes(C)||t.elementIsTree(C)||t.elementIsPlaceholder(C)),O&&(h.remove(),I&&(I.resetEmptyElement(),I=null)),p.dirAx&&p.distAxX>=P.levelThreshold&&(p.distAxX=0,p.distX>0&&(r=d.prev(),r&&!r.collapsed&&r.accept(s,r.childNodesCount())&&(r.$childNodesScope.$element.append(h),d.moveTo(r.$childNodesScope,r.childNodes(),r.childNodesCount()))),p.distX<0&&(i=d.next(),i||(c=d.parentNode(),c&&c.$parentNodesScope.accept(s,c.index()+1)&&(c.$element.after(h),d.moveTo(c.$parentNodesScope,c.siblings(),c.index()+1))))),!p.dirAx){if(t.elementIsTree(C)?S=C.controller("uiTree").scope:t.elementIsTreeNodeHandle(C)?S=C.controller("uiTreeHandle").scope:t.elementIsTreeNode(C)?S=C.controller("uiTreeNode").scope:t.elementIsTreeNodes(C)?S=C.controller("uiTreeNodes").scope:t.elementIsPlaceholder(C)?S=C.controller("uiTreeNodes").scope:C.controller("uiTreeNode")&&(S=C.controller("uiTreeNode").scope),k=!1,!S)return;if(!S.$treeScope||S.$parent.nodropEnabled||S.$treeScope.nodropEnabled||h.css("display",""),"uiTree"==S.$type&&S.dragEnabled&&(k=S.isEmpty()),"uiTreeHandle"==S.$type&&(S=S.$nodeScope),"uiTreeNode"!=S.$type&&!k)return;I&&h.parent()[0]!=I.$element[0]&&(I.resetEmptyElement(),I=null),k?(I=S,S.$nodesScope.accept(s,0)&&(S.place(h),d.moveTo(S.$nodesScope,S.$nodesScope.childNodes(),0))):S.dragEnabled()&&(C=S.$element,_=t.offset(C),A=S.horizontal?E.pageX<_.left+t.width(C)/2:E.pageY<_.top+t.height(C)/2,S.$parentNodesScope.accept(s,S.index())?A?(C[0].parentNode.insertBefore(h[0],C[0]),d.moveTo(S.$parentNodesScope,S.siblings(),S.index())):(C.after(h),d.moveTo(S.$parentNodesScope,S.siblings(),S.index()+1)):!A&&S.accept(s,S.childNodesCount())?(S.$childNodesScope.$element.append(h),d.moveTo(S.$childNodesScope,S.childNodes(),S.childNodesCount())):O=!0)}s.$apply(function(){s.$treeScope.$callbacks.dragMove(d.eventArgs($,p))})}},x=function(e){var t=d.eventArgs($,p);e.preventDefault(),T(),s.$treeScope.$apply(function(){o.when(s.$treeScope.$callbacks.beforeDrop(t)).then(function(e){e!==!1&&s.$$allowNodeDrop&&!O?(d.apply(),s.$treeScope.$callbacks.dropped(t)):E()})["catch"](function(){E()})["finally"](function(){g.replaceWith(s.$element),h.remove(),m&&(m.remove(),m=null),s.$treeScope.$callbacks.dragStop(t),s.$$allowNodeDrop=!1,d=null;var e=document.body.getAttribute("ui-tree-cursor");null!==e&&(r.find("body").css({cursor:e}),document.body.removeAttribute("ui-tree-cursor"))})})},S=function(e){s.dragEnabled()&&b(e)},C=function(e){w(e)},k=function(e){s.$$allowNodeDrop=!0,x(e)},_=function(e){x(e)},A=function(){var e;return{exec:function(t,n){n||(n=0),this.cancel(),e=i(t,n)},cancel:function(){i.cancel(e)}}}(),E=function(){u.bind("touchstart mousedown",function(e){A.exec(function(){S(e)},s.dragDelay||0)}),u.bind("touchend touchcancel mouseup",function(){A.cancel()})},E(),D=function(){angular.element(r).bind("touchend",k),angular.element(r).bind("touchcancel",k),angular.element(r).bind("touchmove",C),angular.element(r).bind("mouseup",k),angular.element(r).bind("mousemove",C),angular.element(r).bind("mouseleave",_)},T=function(){angular.element(r).unbind("touchend",k),angular.element(r).unbind("touchcancel",k),angular.element(r).unbind("touchmove",C),angular.element(r).unbind("mouseup",k),angular.element(r).unbind("mousemove",C),angular.element(r).unbind("mouseleave",_)},M=function(e){27==e.keyCode&&(s.$$allowNodeDrop=!1,x(e))},angular.element(n.document).bind("keydown",M),s.$on("$destroy",function(){angular.element(n.document).unbind("keydown",M)})}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeNodes",["treeConfig","$window",function(e){return{require:["ngModel","?^uiTreeNode","^uiTree"],restrict:"A",scope:!0,controller:"TreeNodesController",link:function(t,n,r,i){var o={},a=i[0],s=i[1],u=i[2];angular.extend(o,e),o.nodesClass&&n.addClass(o.nodesClass),s?(s.scope.$childNodesScope=t,t.$nodeScope=s.scope):u.scope.$nodesScope=t,t.$treeScope=u.scope,a&&(a.$render=function(){t.$modelValue=a.$modelValue}),t.$watch(function(){return r.maxDepth},function(e){"number"==typeof e&&(t.maxDepth=e)}),t.$watch(function(){return r.nodropEnabled},function(e){"undefined"!=typeof e&&(t.nodropEnabled=!0)},!0),r.$observe("horizontal",function(e){t.horizontal="undefined"!=typeof e})}}}])}(),function(){"use strict";function e(e,t){if(void 0===t)return null;for(var n=t.parentNode,r=1,i="function"==typeof n.setAttribute&&n.hasAttribute(e)?n:null;n&&"function"==typeof n.setAttribute&&!n.hasAttribute(e);){if(n=n.parentNode,i=n,n===document.documentElement){i=null;break}r++}return i}angular.module("ui.tree").factory("UiTreeHelper",["$document","$window","treeConfig",function(t,n,r){return{nodesData:{},setNodeAttribute:function(e,t,n){if(!e.$modelValue)return null;var r=this.nodesData[e.$modelValue.$$hashKey];r||(r={},this.nodesData[e.$modelValue.$$hashKey]=r),r[t]=n},getNodeAttribute:function(e,t){if(!e.$modelValue)return null;var n=this.nodesData[e.$modelValue.$$hashKey];return n?n[t]:null},nodrag:function(e){return"undefined"!=typeof e.attr("data-nodrag")?"false"!==e.attr("data-nodrag"):!1},eventObj:function(e){var t=e;return void 0!==e.targetTouches?t=e.targetTouches.item(0):void 0!==e.originalEvent&&void 0!==e.originalEvent.targetTouches&&(t=e.originalEvent.targetTouches.item(0)),t},dragInfo:function(e){return{source:e,sourceInfo:{cloneModel:e.$treeScope.cloneEnabled===!0?angular.copy(e.$modelValue):void 0,nodeScope:e,index:e.index(),nodesScope:e.$parentNodesScope},index:e.index(),siblings:e.siblings().slice(0),parent:e.$parentNodesScope,moveTo:function(e,t,n){this.parent=e,this.siblings=t.slice(0);var r=this.siblings.indexOf(this.source);r>-1&&(this.siblings.splice(r,1),this.source.index()<n&&n--),this.siblings.splice(n,0,this.source),this.index=n},parentNode:function(){return this.parent.$nodeScope},prev:function(){return this.index>0?this.siblings[this.index-1]:null},next:function(){return this.index<this.siblings.length-1?this.siblings[this.index+1]:null},isClone:function(){return this.source.$treeScope.cloneEnabled===!0},clonedNode:function(e){return angular.copy(e)},isDirty:function(){return this.source.$parentNodesScope!=this.parent||this.source.index()!=this.index},isForeign:function(){return this.source.$treeScope!==this.parent.$treeScope},eventArgs:function(e,t){return{source:this.sourceInfo,dest:{index:this.index,nodesScope:this.parent},elements:e,pos:t}},apply:function(){var e=this.source.$modelValue;this.parent.nodropEnabled||this.parent.$treeScope.nodropEnabled||this.isDirty()&&(this.isClone()&&this.isForeign()?this.parent.insertNode(this.index,this.sourceInfo.cloneModel):(this.source.remove(),this.parent.insertNode(this.index,e)))}}},height:function(e){return e.prop("scrollHeight")},width:function(e){return e.prop("scrollWidth")},offset:function(e){var r=e[0].getBoundingClientRect();return{width:e.prop("offsetWidth"),height:e.prop("offsetHeight"),top:r.top+(n.pageYOffset||t[0].body.scrollTop||t[0].documentElement.scrollTop),left:r.left+(n.pageXOffset||t[0].body.scrollLeft||t[0].documentElement.scrollLeft)}},positionStarted:function(e,t){var n={},r=e.pageX,i=e.pageY;return e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length>0&&(r=e.originalEvent.touches[0].pageX,i=e.originalEvent.touches[0].pageY),n.offsetX=r-this.offset(t).left,n.offsetY=i-this.offset(t).top,n.startX=n.lastX=r,n.startY=n.lastY=i,n.nowX=n.nowY=n.distX=n.distY=n.dirAx=0,n.dirX=n.dirY=n.lastDirX=n.lastDirY=n.distAxX=n.distAxY=0,n},positionMoved:function(e,t,n){var r,i=e.pageX,o=e.pageY;return e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length>0&&(i=e.originalEvent.touches[0].pageX,o=e.originalEvent.touches[0].pageY),t.lastX=t.nowX,t.lastY=t.nowY,t.nowX=i,t.nowY=o,t.distX=t.nowX-t.lastX,t.distY=t.nowY-t.lastY,t.lastDirX=t.dirX,t.lastDirY=t.dirY,t.dirX=0===t.distX?0:t.distX>0?1:-1,t.dirY=0===t.distY?0:t.distY>0?1:-1,r=Math.abs(t.distX)>Math.abs(t.distY)?1:0,n?(t.dirAx=r,void(t.moving=!0)):(t.dirAx!==r?(t.distAxX=0,t.distAxY=0):(t.distAxX+=Math.abs(t.distX),0!==t.dirX&&t.dirX!==t.lastDirX&&(t.distAxX=0),t.distAxY+=Math.abs(t.distY),0!==t.dirY&&t.dirY!==t.lastDirY&&(t.distAxY=0)),void(t.dirAx=r))},elementIsTreeNode:function(e){return"undefined"!=typeof e.attr("ui-tree-node")},elementIsTreeNodeHandle:function(e){return"undefined"!=typeof e.attr("ui-tree-handle")},elementIsTree:function(e){return"undefined"!=typeof e.attr("ui-tree")},elementIsTreeNodes:function(e){return"undefined"!=typeof e.attr("ui-tree-nodes")},elementIsPlaceholder:function(e){return e.hasClass(r.placeholderClass)},elementContainsTreeNodeHandler:function(e){return e[0].querySelectorAll("[ui-tree-handle]").length>=1},treeNodeHandlerContainerOfElement:function(t){return e("ui-tree-handle",t[0])}}}])}(),function(e,t){"use strict";function n(e){return/^-?\d+\.?\d*$/.test(e.replace(/["']/g,""))}var r=t.isDefined,i=t.isUndefined,o=t.isNumber,a=t.isObject,s=t.isArray,u=t.extend,l=t.toJson,c=t.fromJson,f=t.module("LocalStorageModule",[]);f.provider("localStorageService",function(){this.prefix="ls",this.storageType="localStorage",this.cookie={expiry:30,path:"/"},this.notify={setItem:!0,removeItem:!1},this.setPrefix=function(e){return this.prefix=e,this},this.setStorageType=function(e){return this.storageType=e,this},this.setStorageCookie=function(e,t){return this.cookie={expiry:e,path:t},this},this.setStorageCookieDomain=function(e){return this.cookie.domain=e,this},this.setNotify=function(e,t){return this.notify={setItem:e,removeItem:t},this},this.$get=["$rootScope","$window","$document","$parse",function(e,t,f,d){var p,h=this,g=h.prefix,m=h.cookie,$=h.notify,v=h.storageType;f?f[0]&&(f=f[0]):f=document,"."!==g.substr(-1)&&(g=g?g+".":"");var y=function(e){return g+e},b=function(){try{var n=v in t&&null!==t[v],r=y("__"+Math.round(1e7*Math.random()));return n&&(p=t[v],p.setItem(r,""),p.removeItem(r)),n}catch(i){return v="cookie",e.$broadcast("LocalStorageModule.notification.error",i.message),!1}}(),w=function(t,n){if(i(n)?n=null:(a(n)||s(n)||o(+n||n))&&(n=l(n)),!b||"cookie"===h.storageType)return b||e.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),$.setItem&&e.$broadcast("LocalStorageModule.notification.setitem",{key:t,newvalue:n,storageType:"cookie"}),A(t,n);try{(a(n)||s(n))&&(n=l(n)),p&&p.setItem(y(t),n),$.setItem&&e.$broadcast("LocalStorageModule.notification.setitem",{key:t,newvalue:n,storageType:h.storageType})}catch(r){return e.$broadcast("LocalStorageModule.notification.error",r.message),A(t,n)}return!0},x=function(t){if(!b||"cookie"===h.storageType)return b||e.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),E(t);var r=p?p.getItem(y(t)):null;return r&&"null"!==r?"{"===r.charAt(0)||"["===r.charAt(0)||n(r)?c(r):r:null},S=function(t){if(!b||"cookie"===h.storageType)return b||e.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),$.removeItem&&e.$broadcast("LocalStorageModule.notification.removeitem",{key:t,storageType:"cookie"}),D(t);try{p.removeItem(y(t)),$.removeItem&&e.$broadcast("LocalStorageModule.notification.removeitem",{key:t,storageType:h.storageType})}catch(n){return e.$broadcast("LocalStorageModule.notification.error",n.message),D(t)}return!0},C=function(){if(!b)return e.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),!1;var t=g.length,n=[];for(var r in p)if(r.substr(0,t)===g)try{n.push(r.substr(t))}catch(i){return e.$broadcast("LocalStorageModule.notification.error",i.Description),[]}return n},k=function(t){t=t||"";var n=g.slice(0,-1),r=new RegExp(n+"."+t);if(!b||"cookie"===h.storageType)return b||e.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),T();var i=g.length;for(var o in p)if(r.test(o))try{S(o.substr(i))}catch(a){return e.$broadcast("LocalStorageModule.notification.error",a.message),T()}return!0},_=function(){try{return t.navigator.cookieEnabled||"cookie"in f&&(f.cookie.length>0||(f.cookie="test").indexOf.call(f.cookie,"test")>-1)}catch(n){return e.$broadcast("LocalStorageModule.notification.error",n.message),!1}}(),A=function(t,n){if(i(n))return!1;if((s(n)||a(n))&&(n=l(n)),!_)return e.$broadcast("LocalStorageModule.notification.error","COOKIES_NOT_SUPPORTED"),!1;try{var r="",o=new Date,u="";if(null===n?(o.setTime(o.getTime()+-864e5),r="; expires="+o.toGMTString(),n=""):0!==m.expiry&&(o.setTime(o.getTime()+24*m.expiry*60*60*1e3),r="; expires="+o.toGMTString()),t){var c="; path="+m.path;m.domain&&(u="; domain="+m.domain),f.cookie=y(t)+"="+encodeURIComponent(n)+r+c+u}}catch(d){return e.$broadcast("LocalStorageModule.notification.error",d.message),!1}return!0},E=function(t){if(!_)return e.$broadcast("LocalStorageModule.notification.error","COOKIES_NOT_SUPPORTED"),!1;for(var n=f.cookie&&f.cookie.split(";")||[],r=0;r<n.length;r++){for(var i=n[r];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(y(t)+"=")){var o=decodeURIComponent(i.substring(g.length+t.length+1,i.length));try{var a=JSON.parse(o);return c(a)}catch(s){return o}}}return null},D=function(e){A(e,null)},T=function(){for(var e=null,t=g.length,n=f.cookie.split(";"),r=0;r<n.length;r++){for(e=n[r];" "===e.charAt(0);)e=e.substring(1,e.length);var i=e.substring(t,e.indexOf("="));D(i)}},M=function(){return v},O=function(e,t,n,i){i=i||t;var o=x(i);return null===o&&r(n)?o=n:a(o)&&a(n)&&(o=u(n,o)),d(t).assign(e,o),e.$watch(t,function(e){w(i,e)},a(e[t]))},N=function(){for(var e=0,n=t[v],r=0;r<n.length;r++)0===n.key(r).indexOf(g)&&e++;return e};return{isSupported:b,getStorageType:M,set:w,add:w,get:x,keys:C,remove:S,clearAll:k,bind:O,deriveKey:y,length:N,cookie:{isSupported:_,set:A,add:A,get:E,remove:D,clearAll:T}}}]})}(window,window.angular),function(){function e(e,t){return e.set(t[0],t[1]),e}function t(e,t){return e.add(t),e}function n(e,t,n){var r=n.length;switch(r){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t,n,r){for(var i=-1,o=e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function i(e,t){for(var n=-1,r=e.length,i=-1,o=t.length,a=Array(r+o);++n<r;)a[n]=e[n];for(;++i<o;)a[n++]=t[i];return a}function o(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function a(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function s(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function u(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function l(e,t){return!!e.length&&v(e,t,0)>-1}function c(e,t,n){for(var r=-1,i=e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function f(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function d(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function p(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function h(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function g(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function m(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):No}),i}function $(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function v(e,t,n){if(t!==t)return O(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function y(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function b(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function w(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].c;return e}function x(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function S(e,t){return f(t,function(t){return[t,e[t]]})}function C(e){return function(t){return e(t)}}function k(e,t){return f(t,function(t){return e[t]})}function _(e){return e&&e.Object===Object?e:null}function A(e,t){if(e!==t){var n=null===e,r=e===No,i=e===e,o=null===t,a=t===No,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function E(e,t,n){for(var r=-1,i=e.a,o=t.a,a=i.length,s=n.length;++r<a;){var u=A(i[r],o[r]);if(u){if(r>=s)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.b-t.b}function D(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function T(e){return _s[e]}function M(e){return"\\"+Es[e]}function O(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function N(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function F(e,t){return e="number"==typeof e||ns.test(e)?+e:-1,t=null==t?na:t,e>-1&&e%1==0&&t>e}function P(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function j(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function I(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==Vo||(e[n]=Vo,o[i++]=n)}return o}function V(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function R(e){if(!e||!Ss.test(e))return e.length;for(var t=xs.lastIndex=0;xs.test(e);)t++;return t}function U(e){return e.match(xs)}function L(e){if(wi(e)&&!cl(e)&&!(e instanceof q)){if(e instanceof z)return e;if(Ls.call(e,"__wrapped__"))return _n(e)}return new z(e)}function H(){}function z(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=No}function q(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=oa,this.__views__=[]}function B(){var e=new q(this.__wrapped__);return e.__actions__=jt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,
12
+ e.__iteratees__=jt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=jt(this.__views__),e}function W(){if(this.__filtered__){var e=new q(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Y(){var e=this.__wrapped__.value(),t=this.__dir__,n=cl(e),r=0>t,i=n?e.length:0,o=un(0,i,this.__views__),a=o.start,s=o.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,f=c.length,d=0,p=uu(u,this.__takeCount__);if(!n||Po>i||i==u&&p==u)return St(e,this.__actions__);var h=[];e:for(;u--&&p>d;){l+=t;for(var g=-1,m=e[l];++g<f;){var $=c[g],v=$.iteratee,y=$.type,b=v(m);if(y==Qo)m=b;else if(!b){if(y==Zo)continue e;break e}}h[d++]=m}return h}function X(){}function G(e,t){return J(e,t)&&delete e[t]}function K(e,t){if(mu){var n=e[t];return n===Io?No:n}return Ls.call(e,t)?e[t]:No}function J(e,t){return mu?e[t]!==No:Ls.call(e,t)}function Z(e,t,n){e[t]=mu&&n===No?Io:n}function Q(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ee(){this.__data__={hash:new X,map:du?new du:[],string:new X}}function te(e){var t=this.__data__;return $n(e)?G("string"==typeof e?t.string:t.hash,e):du?t.map["delete"](e):he(t.map,e)}function ne(e){var t=this.__data__;return $n(e)?K("string"==typeof e?t.string:t.hash,e):du?t.map.get(e):ge(t.map,e)}function re(e){var t=this.__data__;return $n(e)?J("string"==typeof e?t.string:t.hash,e):du?t.map.has(e):me(t.map,e)}function ie(e,t){var n=this.__data__;return $n(e)?Z("string"==typeof e?n.string:n.hash,e,t):du?n.map.set(e,t):ve(n.map,e,t),this}function oe(e){var t=-1,n=e?e.length:0;for(this.__data__=new Q;++t<n;)this.push(e[t])}function ae(e,t){var n=e.__data__;if($n(t)){var r=n.__data__,i="string"==typeof t?r.string:r.hash;return i[t]===Io}return n.has(t)}function se(e){var t=this.__data__;if($n(e)){var n=t.__data__,r="string"==typeof e?n.string:n.hash;r[e]=Io}else t.set(e,Io)}function ue(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function le(){this.__data__={array:[],map:null}}function ce(e){var t=this.__data__,n=t.array;return n?he(n,e):t.map["delete"](e)}function fe(e){var t=this.__data__,n=t.array;return n?ge(n,e):t.map.get(e)}function de(e){var t=this.__data__,n=t.array;return n?me(n,e):t.map.has(e)}function pe(e,t){var n=this.__data__,r=n.array;r&&(Po-1>r.length?ve(r,e,t):(n.array=null,n.map=new Q(r)));var i=n.map;return i&&i.set(e,t),this}function he(e,t){var n=$e(e,t);if(0>n)return!1;var r=e.length-1;return n==r?e.pop():eu.call(e,n,1),!0}function ge(e,t){var n=$e(e,t);return 0>n?No:e[n][1]}function me(e,t){return $e(e,t)>-1}function $e(e,t){for(var n=e.length;n--;)if(ni(e[n][0],t))return n;return-1}function ve(e,t,n){var r=$e(e,t);0>r?e.push([t,n]):e[r][1]=n}function ye(e,t,n,r){return e===No||ni(e,Rs[n])&&!Ls.call(r,n)?t:e}function be(e,t,n){(n===No||ni(e[t],n))&&("number"!=typeof t||n!==No||t in e)||(e[t]=n)}function we(e,t,n){var r=e[t];Ls.call(e,t)&&ni(r,n)&&(n!==No||t in e)||(e[t]=n)}function xe(e,t,n,r){return Eu(e,function(e,i,o){t(r,e,n(e),o)}),r}function Se(e,t){return e&&It(t,so(t),e)}function Ce(e,t){for(var n=-1,r=null==e,i=t.length,o=Array(i);++n<i;)o[n]=r?No:io(e,t[n]);return o}function ke(e){return ui(e)?e:[]}function _e(e){return"function"==typeof e?e:Eo}function Ae(e){return"string"==typeof e||Pi(e)?e:e+""}function Ee(e){return cl(e)?e:Vu(e)}function De(e,t,n){return e===e&&(n!==No&&(e=e>n?n:e),t!==No&&(e=t>e?t:e)),e}function Te(e,t,n,r,i,a,s){var u;if(r&&(u=a?r(e,i,a,s):r(e)),u!==No)return u;if(!bi(e))return e;var l=cl(e);if(l){if(u=cn(e),!t)return jt(e,u)}else{var c=sn(e),f=c==pa||c==ha;if(fl(e))return _t(e,t);if(c==$a||c==ua||f&&!a){if(N(e))return a?e:{};if(u=fn(f?{}:e),!t)return Rt(e,Se(u,e))}else{if(!ks[c])return a?e:{};u=dn(e,c,Te,t)}}s||(s=new ue);var d=s.get(e);if(d)return d;if(s.set(e,u),!l)var p=n?Jt(e):so(e);return o(p||e,function(i,o){p&&(o=i,i=e[o]),we(u,o,Te(i,t,n,r,o,e,s))}),u}function Me(e){return bi(e)?Zs(e):{}}function Oe(e,t,n,r){var i=-1,o=l,a=!0,s=e.length,u=[],d=t.length;if(!s)return u;n&&(t=f(t,C(n))),r?(o=c,a=!1):Po>t.length||(o=ae,a=!1,t=new oe(t));e:for(;++i<s;){var p=e[i],h=n?n(p):p;if(a&&h===h){for(var g=d;g--;)if(t[g]===h)continue e;u.push(p)}else o(t,h,r)||u.push(p)}return u}function Ne(e,t){var n=!0;return Eu(e,function(e,r,i){return n=!!t(e,r,i)}),n}function Fe(e,t,n,r){var i=e.length;for(n=zi(n),0>n&&(n=-n>i?0:i+n),r=r===No||r>i?i:zi(r),0>r&&(r+=i),r=n>r?0:qi(r);r>n;)e[n++]=t;return e}function Pe(e,t){var n=[];return Eu(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function je(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=hn),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?je(s,t-1,n,r,i):d(i,s):r||(i[i.length]=s)}return i}function Ie(e,t){return e&&Tu(e,t,so)}function Ve(e,t){return e&&Mu(e,t,so)}function Re(e,t){return u(t,function(t){return $i(e[t])})}function Ue(e,t){t=mn(t,e)?[t]:Ee(t);for(var n=0,r=t.length;null!=e&&r>n;)e=e[t[n++]];return n&&n==r?e:No}function Le(e,t,n){var r=t(e);return cl(e)?r:d(r,n(e))}function He(e,t){return Ls.call(e,t)||"object"==typeof e&&t in e&&null===on(e)}function ze(e,t){return t in Object(e)}function qe(e,t,n){for(var r=n?c:l,i=e[0].length,o=e.length,a=o,s=Array(o),u=1/0,d=[];a--;){var p=e[a];a&&t&&(p=f(p,C(t))),u=uu(p.length,u),s[a]=n||!t&&(120>i||120>p.length)?No:new oe(a&&p)}p=e[0];var h=-1,g=s[0];e:for(;++h<i&&u>d.length;){var m=p[h],$=t?t(m):m;if(!(g?ae(g,$):r(d,$,n))){for(a=o;--a;){var v=s[a];if(!(v?ae(v,$):r(e[a],$,n)))continue e}g&&g.push($),d.push(m)}}return d}function Be(e,t,n,r){return Ie(e,function(e,i,o){t(r,n(e),i,o)}),r}function We(e,t,r){mn(t,e)||(t=Ee(t),e=Sn(e,t),t=Bn(t));var i=null==e?e:e[t];return null==i?No:n(i,e,r)}function Ye(e,t,n,r,i){return e===t?!0:null==e||null==t||!bi(e)&&!wi(t)?e!==e&&t!==t:Xe(e,t,Ye,n,r,i)}function Xe(e,t,n,r,i,o){var a=cl(e),s=cl(t),u=la,l=la;a||(u=sn(e),u=u==ua?$a:u),s||(l=sn(t),l=l==ua?$a:l);var c=u==$a&&!N(e),f=l==$a&&!N(t),d=u==l;if(d&&!c)return o||(o=new ue),a||ji(e)?Xt(e,t,n,r,i,o):Gt(e,t,u,n,r,i,o);if(!(i&Go)){var p=c&&Ls.call(e,"__wrapped__"),h=f&&Ls.call(t,"__wrapped__");if(p||h){var g=p?e.value():e,m=h?t.value():t;return o||(o=new ue),n(g,m,r,i,o)}}return d?(o||(o=new ue),Kt(e,t,n,r,i,o)):!1}function Ge(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=n[i];var u=s[0],l=e[u],c=s[1];if(a&&s[2]){if(l===No&&!(u in e))return!1}else{var f=new ue;if(r)var d=r(l,c,u,e,t,f);if(!(d===No?Ye(c,l,r,Xo|Go,f):d))return!1}}return!0}function Ke(e){return"function"==typeof e?e:null==e?Eo:"object"==typeof e?cl(e)?tt(e[0],e[1]):et(e):Oo(e)}function Je(e){return au(Object(e))}function Ze(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}function Qe(e,t){var n=-1,r=si(e)?Array(e.length):[];return Eu(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function et(e){var t=tn(e);return 1==t.length&&t[0][2]?wn(t[0][0],t[0][1]):function(n){return n===e||Ge(n,e,t)}}function tt(e,t){return mn(e)&&bn(t)?wn(e,t):function(n){var r=io(n,e);return r===No&&r===t?ao(n,e):Ye(t,r,No,Xo|Go)}}function nt(e,t,n,r,i){if(e!==t){if(!cl(t)&&!ji(t))var a=uo(t);o(a||t,function(o,s){if(a&&(s=o,o=t[s]),bi(o))i||(i=new ue),rt(e,t,s,n,nt,r,i);else{var u=r?r(e[s],o,s+"",e,t,i):No;u===No&&(u=o),be(e,s,u)}})}}function rt(e,t,n,r,i,o,a){var s=e[n],u=t[n],l=a.get(u);if(l)return be(e,n,l),No;var c=o?o(s,u,n+"",e,t,a):No,f=c===No;f&&(c=u,cl(u)||ji(u)?cl(s)?c=s:ui(s)?c=jt(s):(f=!1,c=Te(u,!0)):Ti(u)||oi(u)?oi(s)?c=Wi(s):!bi(s)||r&&$i(s)?(f=!1,c=Te(u,!0)):c=s:f=!1),a.set(u,c),f&&i(c,u,r,o,a),a["delete"](u),be(e,n,c)}function it(e,t,n){var r=-1;t=f(t.length?t:[Eo],en());var i=Qe(e,function(e){var n=f(t,function(t){return t(e)});return{a:n,b:++r,c:e}});return w(i,function(e,t){return E(e,t,n)})}function ot(e,t){return e=Object(e),p(t,function(t,n){return n in e&&(t[n]=e[n]),t},{})}function at(e,t){for(var n=-1,r=Zt(e),i=r.length,o={};++n<i;){var a=r[n],s=e[a];t(s,a)&&(o[a]=s)}return o}function st(e){return function(t){return null==t?No:t[e]}}function ut(e){return function(t){return Ue(t,e)}}function lt(e,t,n,r){var i=r?y:v,o=-1,a=t.length,s=e;for(n&&(s=f(e,C(n)));++o<a;)for(var u=0,l=t[o],c=n?n(l):l;(u=i(s,c,u,r))>-1;)s!==e&&eu.call(s,u,1),eu.call(e,u,1);return e}function ct(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(r==n||i!=o){var o=i;if(F(i))eu.call(e,i,1);else if(mn(i,e))delete e[i];else{var a=Ee(i),s=Sn(e,a);null!=s&&delete s[Bn(a)]}}}return e}function ft(e,t){return e+nu(lu()*(t-e+1))}function dt(e,t,n,r){t=mn(t,e)?[t]:Ee(t);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var u=t[i];if(bi(s)){var l=n;if(i!=a){var c=s[u];l=r?r(c,u,s):No,l===No&&(l=null==c?F(t[i+1])?[]:{}:c)}we(s,u,l)}s=s[u]}return e}function pt(e,t,n){var r=-1,i=e.length;0>t&&(t=-t>i?0:i+t),n=n>i?i:n,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}function ht(e,t){var n;return Eu(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function gt(e,t,n){var r=0,i=e?e.length:r;if("number"==typeof t&&t===t&&sa>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return mt(e,t,Eo,n)}function mt(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,u=t===No;o>i;){var l=nu((i+o)/2),c=n(e[l]),f=c!==No,d=c===c;if(a)var p=d||r;else p=s?d&&f&&(r||null!=c):u?d&&(r||f):null==c?!1:r?t>=c:t>c;p?i=l+1:o=l}return uu(o,aa)}function $t(e){return vt(e)}function vt(e,t){for(var n=0,r=e.length,i=e[0],o=t?t(i):i,a=o,s=1,u=[i];++n<r;)i=e[n],o=t?t(i):i,ni(o,a)||(a=o,u[s++]=i);return u}function yt(e,t,n){var r=-1,i=l,o=e.length,a=!0,s=[],u=s;if(n)a=!1,i=c;else if(Po>o)u=t?[]:s;else{var f=t?null:Nu(e);if(f)return V(f);a=!1,i=ae,u=new oe}e:for(;++r<o;){var d=e[r],p=t?t(d):d;if(a&&p===p){for(var h=u.length;h--;)if(u[h]===p)continue e;t&&u.push(p),s.push(d)}else i(u,p,n)||(u!==s&&u.push(p),s.push(d))}return s}function bt(e,t){t=mn(t,e)?[t]:Ee(t),e=Sn(e,t);var n=Bn(t);return null!=e&&oo(e,n)?delete e[n]:!0}function wt(e,t,n,r){return dt(e,t,n(Ue(e,t)),r)}function xt(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?pt(e,r?0:o,r?o+1:i):pt(e,r?o+1:0,r?i:o)}function St(e,t){var n=e;return n instanceof q&&(n=n.value()),p(t,function(e,t){return t.func.apply(t.thisArg,d([e],t.args))},n)}function Ct(e,t,n){for(var r=-1,i=e.length;++r<i;)var o=o?d(Oe(o,e[r],t,n),Oe(e[r],o,t,n)):e[r];return o&&o.length?yt(o,t,n):[]}function kt(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=o>r?t[r]:No;n(a,e[r],s)}return a}function _t(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function At(e){var t=new e.constructor(e.byteLength);return new Xs(t).set(new Xs(e)),t}function Et(e,t){var n=t?At(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Dt(t,n,r){var i=n?r(j(t),!0):j(t);return p(i,e,new t.constructor)}function Tt(e){var t=new e.constructor(e.source,Ja.exec(e));return t.lastIndex=e.lastIndex,t}function Mt(e,n,r){var i=n?r(V(e),!0):V(e);return p(i,t,new e.constructor)}function Ot(e){return _u?Object(_u.call(e)):{}}function Nt(e,t){var n=t?At(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ft(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,u=t.length,l=su(o-a,0),c=Array(u+l),f=!r;++s<u;)c[s]=t[s];for(;++i<a;)(f||o>i)&&(c[n[i]]=e[i]);for(;l--;)c[s++]=e[i++];return c}function Pt(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,u=-1,l=t.length,c=su(o-s,0),f=Array(c+l),d=!r;++i<c;)f[i]=e[i];for(var p=i;++u<l;)f[p+u]=t[u];for(;++a<s;)(d||o>i)&&(f[p+n[a]]=e[i++]);return f}function jt(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function It(e,t,n){return Vt(e,t,n)}function Vt(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):e[a];we(n,a,s)}return n}function Rt(e,t){return It(e,an(e),t)}function Ut(e,t){return function(n,i){var o=cl(n)?r:xe,a=t?t():{};return o(n,e,en(i),a)}}function Lt(e){return Kr(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:No,a=i>2?n[2]:No;for(o="function"==typeof o?(i--,o):No,a&&gn(n[0],n[1],a)&&(o=3>i?No:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t})}function Ht(e,t){return function(n,r){if(null==n)return n;if(!si(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function zt(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++i];if(n(o[u],u,o)===!1)break}return t}}function qt(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Me(e.prototype),r=e.apply(n,t);return bi(r)?r:n}}function Bt(e,t,n,r,i,o,a,s,u,l){function c(){for(var $=arguments.length,v=$,y=Array($);v--;)y[v]=arguments[v];if(h)var b=rn(c),w=D(y,b);if(r&&(y=Ft(y,r,i,h)),o&&(y=Pt(y,o,a,h)),$-=w,h&&l>$){var x=I(y,b);return Yt(e,t,Bt,c.placeholder,n,y,x,s,u,l-$)}var S=d?n:this,C=p?S[e]:e;return $=y.length,s?y=Cn(y,s):g&&$>1&&y.reverse(),f&&$>u&&(y.length=u),this&&this!==Is&&this instanceof c&&(C=m||qt(C)),C.apply(S,y)}var f=t&Wo,d=t&Ro,p=t&Uo,h=t&(Ho|zo),g=t&Yo,m=p?No:qt(e);return c}function Wt(e,t){return function(n,r){return Be(n,e,t(r),{})}}function Yt(e,t,n,r,i,o,a,s,u,l){var c=t&Ho,f=s?jt(s):No,d=c?a:No,p=c?No:a,h=c?o:No,g=c?No:o;t|=c?qo:Bo,t&=~(c?Bo:qo),t&Lo||(t&=~(Ro|Uo));var m=[e,t,i,h,d,g,p,f,u,l],$=n.apply(No,m);return vn(e)&&Iu($,m),$.placeholder=r,$}function Xt(e,t,n,r,i,o){var a=-1,s=i&Go,u=i&Xo,l=e.length,c=t.length;if(!(l==c||s&&c>l))return!1;var f=o.get(e);if(f)return f==t;var d=!0;for(o.set(e,t);++a<l;){var p=e[a],h=t[a];if(r)var m=s?r(h,p,a,t,e,o):r(p,h,a,e,t,o);if(m!==No){if(m)continue;d=!1;break}if(u){if(!g(t,function(e){return p===e||n(p,e,r,i,o)})){d=!1;break}}else if(p!==h&&!n(p,h,r,i,o)){d=!1;break}}return o["delete"](e),d}function Gt(e,t,n,r,i,o,a){switch(n){case _a:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ka:return!(e.byteLength!=t.byteLength||!r(new Xs(e),new Xs(t)));case ca:case fa:return+e==+t;case da:return e.name==t.name&&e.message==t.message;case ma:return e!=+e?t!=+t:e==+t;case ya:case wa:return e==t+"";case ga:var s=j;case ba:var u=o&Go;if(s||(s=V),e.size!=t.size&&!u)return!1;var l=a.get(e);return l?l==t:(o|=Xo,a.set(e,t),Xt(s(e),s(t),r,i,o,a));case xa:if(_u)return _u.call(e)==_u.call(t)}return!1}function Kt(e,t,n,r,i,o){var a=i&Go,s=so(e),u=s.length,l=so(t),c=l.length;if(u!=c&&!a)return!1;for(var f=u;f--;){var d=s[f];if(!(a?d in t:He(t,d)))return!1}var p=o.get(e);if(p)return p==t;var h=!0;o.set(e,t);for(var g=a;++f<u;){d=s[f];var m=e[d],$=t[d];if(r)var v=a?r($,m,d,t,e,o):r(m,$,d,e,t,o);if(!(v===No?m===$||n(m,$,r,i,o):v)){h=!1;break}g||(g="constructor"==d)}if(h&&!g){var y=e.constructor,b=t.constructor;y!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b)&&(h=!1)}return o["delete"](e),h}function Jt(e){return Le(e,so,an)}function Zt(e){return Le(e,uo,ju)}function Qt(e){for(var t=e.name+"",n=yu[t],r=Ls.call(yu,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function en(){var e=L.iteratee||Do;return e=e===Do?Ke:e,arguments.length?e(arguments[0],arguments[1]):e}function tn(e){for(var t=$o(e),n=t.length;n--;)t[n][2]=bn(t[n][1]);return t}function nn(e,t){var n=e[t];return _i(n)?n:No}function rn(e){var t=Ls.call(L,"placeholder")?L:e;return t.placeholder}function on(e){return ru(Object(e))}function an(e){return Ks(Object(e))}function sn(e){return zs.call(e)}function un(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=uu(t,e+a);break;case"takeRight":e=su(e,t-a)}}return{start:e,end:t}}function ln(e,t,n){t=mn(t,e)?[t]:Ee(t);for(var r,i=-1,o=t.length;++i<o;){var a=t[i];if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;var o=e?e.length:0;return!!o&&yi(o)&&F(a,o)&&(cl(e)||Fi(e)||oi(e))}function cn(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&Ls.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function fn(e){return"function"!=typeof e.constructor||yn(e)?{}:Me(on(e))}function dn(e,t,n,r){var i=e.constructor;switch(t){case ka:return At(e);case ca:case fa:return new i(+e);case _a:return Et(e,r);case Aa:case Ea:case Da:case Ta:case Ma:case Oa:case Na:case Fa:case Pa:return Nt(e,r);case ga:return Dt(e,r,n);case ma:case wa:return new i(e);case ya:return Tt(e);case ba:return Mt(e,r,n);case xa:return Ot(e)}}function pn(e){var t=e?e.length:No;return yi(t)&&(cl(e)||Fi(e)||oi(e))?x(t,String):null}function hn(e){return ui(e)&&(cl(e)||oi(e))}function gn(e,t,n){if(!bi(n))return!1;var r=typeof t;return("number"==r?si(n)&&F(t,n.length):"string"==r&&t in n)?ni(n[t],e):!1}function mn(e,t){var n=typeof e;return"number"==n||"symbol"==n?!0:!cl(e)&&(Pi(e)||Ba.test(e)||!qa.test(e)||null!=t&&e in Object(t))}function $n(e){var t=typeof e;return"number"==t||"boolean"==t||"string"==t&&"__proto__"!=e||null==e}function vn(e){var t=Qt(e),n=L[t];if("function"!=typeof n||!(t in q.prototype))return!1;if(e===n)return!0;var r=Fu(n);return!!r&&e===r[0]}function yn(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Rs;return e===n}function bn(e){return e===e&&!bi(e)}function wn(e,t){return function(n){return null==n?!1:n[e]===t&&(t!==No||e in Object(n))}}function xn(e,t,n,r,i,o){return bi(e)&&bi(t)&&nt(e,t,No,xn,o.set(t,e)),e}function Sn(e,t){return 1==t.length?e:Ue(e,pt(t,0,-1))}function Cn(e,t){for(var n=e.length,r=uu(t.length,n),i=jt(e);r--;){var o=t[r];e[r]=F(o,n)?i[o]:No}return e}function kn(e){if(null!=e){try{return Us.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function _n(e){if(e instanceof q)return e.clone();var t=new z(e.__wrapped__,e.__chain__);return t.__actions__=jt(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function An(e,t,n){t=(n?gn(e,t,n):t===No)?1:su(zi(t),0);var r=e?e.length:0;if(!r||1>t)return[];for(var i=0,o=0,a=Array(tu(r/t));r>i;)a[o++]=pt(e,i,i+=t);return a}function En(e){for(var t=-1,n=e?e.length:0,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}function Dn(){var e=arguments.length,t=Jr(arguments[0]);if(2>e)return e?jt(t):[];for(var n=Array(e-1);e--;)n[e-1]=arguments[e];return i(t,je(n,1))}function Tn(e,t,n){var r=e?e.length:0;return r?(t=n||t===No?1:zi(t),pt(e,0>t?0:t,r)):[]}function Mn(e,t,n){var r=e?e.length:0;return r?(t=n||t===No?1:zi(t),t=r-t,pt(e,0,0>t?0:t)):[]}function On(e,t){return e&&e.length?xt(e,en(t,3),!0,!0):[]}function Nn(e,t){return e&&e.length?xt(e,en(t,3),!0):[]}function Fn(e,t,n,r){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&gn(e,t,n)&&(n=0,r=i),Fe(e,t,n,r)):[]}function Pn(e,t){return e&&e.length?$(e,en(t,3)):-1}function jn(e,t){return e&&e.length?$(e,en(t,3),!0):-1}function In(e){var t=e?e.length:0;return t?je(e,1):[]}function Vn(e){var t=e?e.length:0;return t?je(e,ta):[]}function Rn(e,t){var n=e?e.length:0;return n?(t=t===No?1:zi(t),je(e,t)):[]}function Un(e){for(var t=-1,n=e?e.length:0,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function Ln(e){return e?e[0]:No}function Hn(e,t,n){var r=e?e.length:0;return r?(n=zi(n),0>n&&(n=su(r+n,0)),v(e,t,n)):-1}function zn(e){return Mn(e,1)}function qn(e,t){return e?ou.call(e,t):""}function Bn(e){var t=e?e.length:0;return t?e[t-1]:No}function Wn(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if(n!==No&&(i=zi(n),i=(0>i?su(r+i,0):uu(i,r-1))+1),t!==t)return O(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function Yn(e,t){return e&&e.length&&t&&t.length?lt(e,t):e}function Xn(e,t,n){return e&&e.length&&t&&t.length?lt(e,t,en(n)):e}function Gn(e,t,n){return e&&e.length&&t&&t.length?lt(e,t,No,n):e}function Kn(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=en(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return ct(e,i),n}function Jn(e){return e?cu.call(e):e}function Zn(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&gn(e,t,n)?(t=0,n=r):(t=null==t?0:zi(t),n=n===No?r:zi(n)),pt(e,t,n)):[]}function Qn(e,t){return gt(e,t)}function er(e,t,n){return mt(e,t,en(n))}function tr(e,t){var n=e?e.length:0;if(n){var r=gt(e,t);if(n>r&&ni(e[r],t))return r}return-1}function nr(e,t){return gt(e,t,!0)}function rr(e,t,n){return mt(e,t,en(n),!0)}function ir(e,t){var n=e?e.length:0;if(n){var r=gt(e,t,!0)-1;if(ni(e[r],t))return r}return-1}function or(e){return e&&e.length?$t(e):[]}function ar(e,t){return e&&e.length?vt(e,en(t)):[]}function sr(e){return Tn(e,1)}function ur(e,t,n){return e&&e.length?(t=n||t===No?1:zi(t),pt(e,0,0>t?0:t)):[]}function lr(e,t,n){var r=e?e.length:0;return r?(t=n||t===No?1:zi(t),t=r-t,pt(e,0>t?0:t,r)):[]}function cr(e,t){return e&&e.length?xt(e,en(t,3),!1,!0):[]}function fr(e,t){return e&&e.length?xt(e,en(t,3)):[]}function dr(e){return e&&e.length?yt(e):[]}function pr(e,t){return e&&e.length?yt(e,en(t)):[]}function hr(e,t){return e&&e.length?yt(e,No,t):[]}function gr(e){if(!e||!e.length)return[];var t=0;return e=u(e,function(e){return ui(e)?(t=su(e.length,t),!0):No}),x(t,function(t){return f(e,st(t))})}function mr(e,t){if(!e||!e.length)return[];var r=gr(e);return null==t?r:f(r,function(e){return n(t,No,e)})}function $r(e,t){return kt(e||[],t||[],we)}function vr(e,t){return kt(e||[],t||[],dt)}function yr(e){var t=L(e);return t.__chain__=!0,t}function br(e,t){return t(e),e}function wr(e,t){return t(e)}function xr(){return yr(this)}function Sr(){return new z(this.value(),this.__chain__)}function Cr(){this.__values__===No&&(this.__values__=Hi(this.value()));var e=this.__index__>=this.__values__.length,t=e?No:this.__values__[this.__index__++];return{done:e,value:t}}function kr(){return this}function _r(e){for(var t,n=this;n instanceof H;){var r=_n(n);r.__index__=0,r.__values__=No,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t}function Ar(){var e=this.__wrapped__;if(e instanceof q){var t=e;return this.__actions__.length&&(t=new q(this)),t=t.reverse(),t.__actions__.push({func:wr,args:[Jn],thisArg:No}),new z(t,this.__chain__)}return this.thru(Jn)}function Er(){return St(this.__wrapped__,this.__actions__)}function Dr(e,t,n){var r=cl(e)?s:Ne;return n&&gn(e,t,n)&&(t=No),r(e,en(t,3))}function Tr(e,t){var n=cl(e)?u:Pe;return n(e,en(t,3))}function Mr(e,t){if(t=en(t,3),cl(e)){var n=$(e,t);return n>-1?e[n]:No}return m(e,t,Eu)}function Or(e,t){if(t=en(t,3),cl(e)){var n=$(e,t,!0);return n>-1?e[n]:No}return m(e,t,Du)}function Nr(e,t){return je(Rr(e,t),1)}function Fr(e,t){return je(Rr(e,t),ta)}function Pr(e,t,n){return n=n===No?1:zi(n),je(Rr(e,t),n)}function jr(e,t){return"function"==typeof t&&cl(e)?o(e,t):Eu(e,en(t))}function Ir(e,t){return"function"==typeof t&&cl(e)?a(e,t):Du(e,en(t))}function Vr(e,t,n,r){e=si(e)?e:So(e),n=n&&!r?zi(n):0;var i=e.length;return 0>n&&(n=su(i+n,0)),Fi(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&v(e,t,n)>-1}function Rr(e,t){var n=cl(e)?f:Qe;return n(e,en(t,3))}function Ur(e,t,n,r){return null==e?[]:(cl(t)||(t=null==t?[]:[t]),n=r?No:n,cl(n)||(n=null==n?[]:[n]),it(e,t,n))}function Lr(e,t,n){var r=cl(e)?p:b,i=3>arguments.length;return r(e,en(t,4),n,i,Eu)}function Hr(e,t,n){var r=cl(e)?h:b,i=3>arguments.length;return r(e,en(t,4),n,i,Du)}function zr(e,t){var n=cl(e)?u:Pe;return t=en(t,3),n(e,function(e,n,r){return!t(e,n,r)})}function qr(e){var t=si(e)?e:So(e),n=t.length;return n>0?t[ft(0,n-1)]:No}function Br(e,t,n){var r=-1,i=Hi(e),o=i.length,a=o-1;for(t=(n?gn(e,t,n):t===No)?1:De(zi(t),0,o);++r<t;){var s=ft(r,a),u=i[s];i[s]=i[r],i[r]=u}return i.length=t,i}function Wr(e){return Br(e,oa)}function Yr(e){if(null==e)return 0;if(si(e)){var t=e.length;return t&&Fi(e)?R(e):t}if(wi(e)){var n=sn(e);if(n==ga||n==ba)return e.size}return so(e).length}function Xr(e,t,n){var r=cl(e)?g:ht;return n&&gn(e,t,n)&&(t=No),r(e,en(t,3))}function Gr(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(jo);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Gr.Cache||Q),n}function Kr(e,t){if("function"!=typeof e)throw new TypeError(jo);return t=su(t===No?e.length-1:zi(t),0),function(){for(var r=arguments,i=-1,o=su(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,r[0],a);case 2:return e.call(this,r[0],r[1],a)}var s=Array(t+1);for(i=-1;++i<t;)s[i]=r[i];return s[t]=a,n(e,this,s)}}function Jr(){if(!arguments.length)return[];var e=arguments[0];return cl(e)?e:[e]}function Zr(e){return Te(e,!1,!0)}function Qr(e,t){return Te(e,!1,!0,t)}function ei(e){return Te(e,!0,!0)}function ti(e,t){return Te(e,!0,!0,t)}function ni(e,t){return e===t||e!==e&&t!==t}function ri(e,t){return e>t}function ii(e,t){return e>=t}function oi(e){return ui(e)&&Ls.call(e,"callee")&&(!Qs.call(e,"callee")||zs.call(e)==ua)}function ai(e){return wi(e)&&zs.call(e)==ka}function si(e){return null!=e&&yi(Pu(e))&&!$i(e)}function ui(e){return wi(e)&&si(e)}function li(e){return e===!0||e===!1||wi(e)&&zs.call(e)==ca}function ci(e){return wi(e)&&zs.call(e)==fa}function fi(e){return!!e&&1===e.nodeType&&wi(e)&&!Ti(e)}function di(e){if(si(e)&&(cl(e)||Fi(e)||$i(e.splice)||oi(e)||fl(e)))return!e.length;if(wi(e)){var t=sn(e);if(t==ga||t==ba)return!e.size}for(var n in e)if(Ls.call(e,n))return!1;return!(vu&&so(e).length)}function pi(e,t){return Ye(e,t)}function hi(e,t,n){n="function"==typeof n?n:No;var r=n?n(e,t):No;return r===No?Ye(e,t,n):!!r}function gi(e){return wi(e)?zs.call(e)==da||"string"==typeof e.message&&"string"==typeof e.name:!1}function mi(e){return"number"==typeof e&&iu(e)}function $i(e){var t=bi(e)?zs.call(e):"";return t==pa||t==ha}function vi(e){return"number"==typeof e&&e==zi(e)}function yi(e){return"number"==typeof e&&e>-1&&e%1==0&&na>=e}function bi(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function wi(e){return!!e&&"object"==typeof e}function xi(e){return wi(e)&&sn(e)==ga}function Si(e,t){return e===t||Ge(e,t,tn(t))}function Ci(e,t,n){return n="function"==typeof n?n:No,Ge(e,t,tn(t),n)}function ki(e){return Di(e)&&e!=+e}function _i(e){if(!bi(e))return!1;var t=$i(e)||N(e)?qs:es;return t.test(kn(e))}function Ai(e){return null===e}function Ei(e){return null==e}function Di(e){return"number"==typeof e||wi(e)&&zs.call(e)==ma}function Ti(e){if(!wi(e)||zs.call(e)!=$a||N(e))return!1;var t=on(e);if(null===t)return!0;var n=Ls.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Us.call(n)==Hs}function Mi(e){return bi(e)&&zs.call(e)==ya}function Oi(e){return vi(e)&&e>=-na&&na>=e}function Ni(e){return wi(e)&&sn(e)==ba}function Fi(e){return"string"==typeof e||!cl(e)&&wi(e)&&zs.call(e)==wa}function Pi(e){return"symbol"==typeof e||wi(e)&&zs.call(e)==xa}function ji(e){return wi(e)&&yi(e.length)&&!!Cs[zs.call(e)]}function Ii(e){return e===No}function Vi(e){return wi(e)&&sn(e)==Sa}function Ri(e){return wi(e)&&zs.call(e)==Ca}function Ui(e,t){return t>e}function Li(e,t){return t>=e}function Hi(e){if(!e)return[];if(si(e))return Fi(e)?U(e):jt(e);if(Js&&e[Js])return P(e[Js]());var t=sn(e),n=t==ga?j:t==ba?V:So;return n(e)}function zi(e){if(!e)return 0===e?e:0;if(e=Bi(e),e===ta||e===-ta){var t=0>e?-1:1;return t*ra}var n=e%1;return e===e?n?e-n:e:0}function qi(e){return e?De(zi(e),0,oa):0}function Bi(e){if("number"==typeof e)return e;if(Pi(e))return ia;if(bi(e)){var t=$i(e.valueOf)?e.valueOf():e;e=bi(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Xa,"");var n=Qa.test(e);return n||ts.test(e)?Ds(e.slice(2),n?2:8):Za.test(e)?ia:+e}function Wi(e){return It(e,uo(e))}function Yi(e){return De(zi(e),-na,na)}function Xi(e){if("string"==typeof e)return e;if(null==e)return"";if(Pi(e))return Au?Au.call(e):"";var t=e+"";return"0"==t&&1/e==-ta?"-0":t}function Gi(e,t){var n=Me(e);return t?Se(n,t):n}function Ki(e,t){return m(e,en(t,3),Ie,!0)}function Ji(e,t){return m(e,en(t,3),Ve,!0)}function Zi(e,t){return null==e?e:Tu(e,en(t),uo)}function Qi(e,t){return null==e?e:Mu(e,en(t),uo)}function eo(e,t){return e&&Ie(e,en(t))}function to(e,t){return e&&Ve(e,en(t))}function no(e){return null==e?[]:Re(e,so(e))}function ro(e){return null==e?[]:Re(e,uo(e))}function io(e,t,n){var r=null==e?No:Ue(e,t);return r===No?n:r}function oo(e,t){return null!=e&&ln(e,t,He)}function ao(e,t){return null!=e&&ln(e,t,ze)}function so(e){var t=yn(e);if(!t&&!si(e))return Je(e);var n=pn(e),r=!!n,i=n||[],o=i.length;for(var a in e)!He(e,a)||r&&("length"==a||F(a,o))||t&&"constructor"==a||i.push(a);return i}function uo(e){for(var t=-1,n=yn(e),r=Ze(e),i=r.length,o=pn(e),a=!!o,s=o||[],u=s.length;++t<i;){var l=r[t];a&&("length"==l||F(l,u))||"constructor"==l&&(n||!Ls.call(e,l))||s.push(l)}return s}function lo(e,t){var n={};return t=en(t,3),Ie(e,function(e,r,i){n[t(e,r,i)]=e}),n}function co(e,t){var n={};return t=en(t,3),Ie(e,function(e,r,i){n[r]=t(e,r,i)}),n}function fo(e,t){return t=en(t),at(e,function(e,n){return!t(e,n)})}function po(e,t){return null==e?{}:at(e,en(t))}function ho(e,t,n){t=mn(t,e)?[t]:Ee(t);var r=-1,i=t.length;for(i||(e=No,i=1);++r<i;){var o=null==e?No:e[t[r]];o===No&&(r=i,o=n),e=$i(o)?o.call(e):o}return e}function go(e,t,n){return null==e?e:dt(e,t,n)}function mo(e,t,n,r){return r="function"==typeof r?r:No,null==e?e:dt(e,t,n,r)}function $o(e){return S(e,so(e))}function vo(e){return S(e,uo(e))}function yo(e,t,n){var r=cl(e)||ji(e);if(t=en(t,4),null==n)if(r||bi(e)){var i=e.constructor;n=r?cl(e)?new i:[]:$i(i)?Me(on(e)):{}}else n={};return(r?o:Ie)(e,function(e,r,i){return t(n,e,r,i)}),n}function bo(e,t){return null==e?!0:bt(e,t)}function wo(e,t,n){return null==e?e:wt(e,t,_e(n))}function xo(e,t,n,r){return r="function"==typeof r?r:No,null==e?e:wt(e,t,_e(n),r)}function So(e){return e?k(e,so(e)):[]}function Co(e){return null==e?[]:k(e,uo(e))}function ko(e){return e=Xi(e),e&&Ua.test(e)?e.replace(Ra,T):e}function _o(e,t,n){var r=L.templateSettings;n&&gn(e,t,n)&&(t=No),e=Xi(e),t=hl({},t,r,ye);var i,o,a=hl({},t.imports,r.imports,ye),s=so(a),u=k(a,s),l=0,c=t.interpolate||rs,f="__p+='",d=RegExp((t.escape||rs).source+"|"+c.source+"|"+(c===za?Ka:rs).source+"|"+(t.evaluate||rs).source+"|$","g"),p="sourceURL"in t?"//# sourceURL="+t.sourceURL+"\n":"";e.replace(d,function(t,n,r,a,s,u){return r||(r=a),f+=e.slice(l,u).replace(is,M),n&&(i=!0,f+="'+__e("+n+")+'"),s&&(o=!0,f+="';"+s+";\n__p+='"),r&&(f+="'+((__t=("+r+"))==null?'':__t)+'"),l=u+t.length,t}),f+="';";var h=t.variable;h||(f="with(obj){"+f+"}"),f=(o?f.replace(ja,""):f).replace(Ia,"$1").replace(Va,"$1;"),f="function("+(h||"obj")+"){"+(h?"":"obj||(obj={});")+"var __t,__p=''"+(i?",__e=_.escape":"")+(o?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+f+"return __p}";var g=_l(function(){return Function(s,p+"return "+f).apply(No,u)});if(g.source=f,gi(g))throw g;return g}function Ao(e){return function(){return e}}function Eo(e){return e}function Do(e){return Ke("function"==typeof e?e:Te(e,!0))}function To(e,t,n){var r=so(t),i=Re(t,r);null!=n||bi(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Re(t,so(t)));var a=bi(n)&&"chain"in n?n.chain:!0,s=$i(e);return o(i,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__),i=n.__actions__=jt(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,d([this.value()],arguments))})}),e}function Mo(){}function Oo(e){return mn(e)?st(e):ut(e)}var No,Fo="4.9.0",Po=200,jo="Expected a function",Io="__lodash_hash_undefined__",Vo="__lodash_placeholder__",Ro=1,Uo=2,Lo=4,Ho=8,zo=16,qo=32,Bo=64,Wo=128,Yo=512,Xo=1,Go=2,Ko=150,Jo=16,Zo=1,Qo=2,ea=3,ta=1/0,na=9007199254740991,ra=1.7976931348623157e308,ia=NaN,oa=4294967295,aa=oa-1,sa=oa>>>1,ua="[object Arguments]",la="[object Array]",ca="[object Boolean]",fa="[object Date]",da="[object Error]",pa="[object Function]",ha="[object GeneratorFunction]",ga="[object Map]",ma="[object Number]",$a="[object Object]",va="[object Promise]",ya="[object RegExp]",ba="[object Set]",wa="[object String]",xa="[object Symbol]",Sa="[object WeakMap]",Ca="[object WeakSet]",ka="[object ArrayBuffer]",_a="[object DataView]",Aa="[object Float32Array]",Ea="[object Float64Array]",Da="[object Int8Array]",Ta="[object Int16Array]",Ma="[object Int32Array]",Oa="[object Uint8Array]",Na="[object Uint8ClampedArray]",Fa="[object Uint16Array]",Pa="[object Uint32Array]",ja=/\b__p\+='';/g,Ia=/\b(__p\+=)''\+/g,Va=/(__e\(.*?\)|\b__t\))\+'';/g,Ra=/[&<>"'`]/g,Ua=RegExp(Ra.source),La=/<%-([\s\S]+?)%>/g,Ha=/<%([\s\S]+?)%>/g,za=/<%=([\s\S]+?)%>/g,qa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ba=/^\w*$/,Wa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,Ya=/[\\^$.*+?()[\]{}|]/g,Xa=/^\s+|\s+$/g,Ga=/\\(\\)?/g,Ka=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ja=/\w*$/,Za=/^[-+]0x[0-9a-f]+$/i,Qa=/^0b[01]+$/i,es=/^\[object .+?Constructor\]$/,ts=/^0o[0-7]+$/i,ns=/^(?:0|[1-9]\d*)$/,rs=/($^)/,is=/['\n\r\u2028\u2029\\]/g,os="\\ud800-\\udfff",as="\\u0300-\\u036f\\ufe20-\\ufe23",ss="\\u20d0-\\u20f0",us="\\ufe0e\\ufe0f",ls="["+os+"]",cs="["+as+ss+"]",fs="\\ud83c[\\udffb-\\udfff]",ds="(?:"+cs+"|"+fs+")",ps="[^"+os+"]",hs="(?:\\ud83c[\\udde6-\\uddff]){2}",gs="[\\ud800-\\udbff][\\udc00-\\udfff]",ms="\\u200d",$s=ds+"?",vs="["+us+"]?",ys="(?:"+ms+"(?:"+[ps,hs,gs].join("|")+")"+vs+$s+")*",bs=vs+$s+ys,ws="(?:"+[ps+cs+"?",cs,hs,gs,ls].join("|")+")",xs=RegExp(fs+"(?="+fs+")|"+ws+bs,"g"),Ss=RegExp("["+ms+os+as+ss+us+"]"),Cs={};
13
+ Cs[Aa]=Cs[Ea]=Cs[Da]=Cs[Ta]=Cs[Ma]=Cs[Oa]=Cs[Na]=Cs[Fa]=Cs[Pa]=!0,Cs[ua]=Cs[la]=Cs[ka]=Cs[ca]=Cs[_a]=Cs[fa]=Cs[da]=Cs[pa]=Cs[ga]=Cs[ma]=Cs[$a]=Cs[ya]=Cs[ba]=Cs[wa]=Cs[Sa]=!1;var ks={};ks[ua]=ks[la]=ks[ka]=ks[_a]=ks[ca]=ks[fa]=ks[Aa]=ks[Ea]=ks[Da]=ks[Ta]=ks[Ma]=ks[ga]=ks[ma]=ks[$a]=ks[ya]=ks[ba]=ks[wa]=ks[xa]=ks[Oa]=ks[Na]=ks[Fa]=ks[Pa]=!0,ks[da]=ks[pa]=ks[Sa]=!1;var _s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},As={"function":!0,object:!0},Es={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ds=parseInt,Ts=As[typeof exports]&&exports&&!exports.nodeType?exports:No,Ms=As[typeof module]&&module&&!module.nodeType?module:No,Os=Ms&&Ms.exports===Ts?Ts:No,Ns=_(Ts&&Ms&&"object"==typeof global&&global),Fs=_(As[typeof self]&&self),Ps=_(As[typeof window]&&window),js=_(As[typeof this]&&this),Is=Ns||Ps!==(js&&js.window)&&Ps||Fs||js||Function("return this")(),Vs=Array.prototype,Rs=Object.prototype,Us=Function.prototype.toString,Ls=Rs.hasOwnProperty,Hs=Us.call(Object),zs=Rs.toString,qs=RegExp("^"+Us.call(Ls).replace(Ya,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bs=Os?Is.Buffer:No,Ws=Is.Reflect,Ys=Is.Symbol,Xs=Is.Uint8Array,Gs=Ws?Ws.enumerate:No,Ks=Object.getOwnPropertySymbols,Js="symbol"==typeof(Js=Ys&&Ys.iterator)?Js:No,Zs=Object.create,Qs=Rs.propertyIsEnumerable,eu=Vs.splice,tu=Math.ceil,nu=Math.floor,ru=Object.getPrototypeOf,iu=Is.isFinite,ou=Vs.join,au=Object.keys,su=Math.max,uu=Math.min,lu=Math.random,cu=Vs.reverse,fu=nn(Is,"DataView"),du=nn(Is,"Map"),pu=nn(Is,"Promise"),hu=nn(Is,"Set"),gu=nn(Is,"WeakMap"),mu=nn(Object,"create"),$u=gu&&new gu,vu=!Qs.call({valueOf:1},"valueOf"),yu={},bu=kn(fu),wu=kn(du),xu=kn(pu),Su=kn(hu),Cu=kn(gu),ku=Ys?Ys.prototype:No,_u=ku?ku.valueOf:No,Au=ku?ku.toString:No;L.templateSettings={escape:La,evaluate:Ha,interpolate:za,variable:"",imports:{_:L}},L.prototype=H.prototype,L.prototype.constructor=L,z.prototype=Me(H.prototype),z.prototype.constructor=z,q.prototype=Me(H.prototype),q.prototype.constructor=q,X.prototype=mu?mu(null):Rs,Q.prototype.clear=ee,Q.prototype["delete"]=te,Q.prototype.get=ne,Q.prototype.has=re,Q.prototype.set=ie,oe.prototype.push=se,ue.prototype.clear=le,ue.prototype["delete"]=ce,ue.prototype.get=fe,ue.prototype.has=de,ue.prototype.set=pe;var Eu=Ht(Ie),Du=Ht(Ve,!0),Tu=zt(),Mu=zt(!0);Gs&&!Qs.call({valueOf:1},"valueOf")&&(Ze=function(e){return P(Gs(e))});var Ou=$u?function(e,t){return $u.set(e,t),e}:Eo,Nu=hu&&2===new hu([1,2]).size?function(e){return new hu(e)}:Mo,Fu=$u?function(e){return $u.get(e)}:Mo,Pu=st("length");Ks||(an=function(){return[]});var ju=Ks?function(e){for(var t=[];e;)d(t,an(e)),e=on(e);return t}:an;(fu&&sn(new fu(new ArrayBuffer(1)))!=_a||du&&sn(new du)!=ga||pu&&sn(pu.resolve())!=va||hu&&sn(new hu)!=ba||gu&&sn(new gu)!=Sa)&&(sn=function(e){var t=zs.call(e),n=t==$a?e.constructor:No,r=n?kn(n):No;if(r)switch(r){case bu:return _a;case wu:return ga;case xu:return va;case Su:return ba;case Cu:return Sa}return t});var Iu=function(){var e=0,t=0;return function(n,r){var i=ll(),o=Jo-(i-t);if(t=i,o>0){if(++e>=Ko)return n}else e=0;return Ou(n,r)}}(),Vu=Gr(function(e){var t=[];return Xi(e).replace(Wa,function(e,n,r,i){t.push(r?i.replace(Ga,"$1"):n||e)}),t}),Ru=Kr(function(e,t){return ui(e)?Oe(e,je(t,1,ui,!0)):[]}),Uu=Kr(function(e,t){var n=Bn(t);return ui(n)&&(n=No),ui(e)?Oe(e,je(t,1,ui,!0),en(n)):[]}),Lu=Kr(function(e,t){var n=Bn(t);return ui(n)&&(n=No),ui(e)?Oe(e,je(t,1,ui,!0),No,n):[]}),Hu=Kr(function(e){var t=f(e,ke);return t.length&&t[0]===e[0]?qe(t):[]}),zu=Kr(function(e){var t=Bn(e),n=f(e,ke);return t===Bn(n)?t=No:n.pop(),n.length&&n[0]===e[0]?qe(n,en(t)):[]}),qu=Kr(function(e){var t=Bn(e),n=f(e,ke);return t===Bn(n)?t=No:n.pop(),n.length&&n[0]===e[0]?qe(n,No,t):[]}),Bu=Kr(Yn),Wu=Kr(function(e,t){t=f(je(t,1),String);var n=Ce(e,t);return ct(e,t.sort(A)),n}),Yu=Kr(function(e){return yt(je(e,1,ui,!0))}),Xu=Kr(function(e){var t=Bn(e);return ui(t)&&(t=No),yt(je(e,1,ui,!0),en(t))}),Gu=Kr(function(e){var t=Bn(e);return ui(t)&&(t=No),yt(je(e,1,ui,!0),No,t)}),Ku=Kr(function(e,t){return ui(e)?Oe(e,t):[]}),Ju=Kr(function(e){return Ct(u(e,ui))}),Zu=Kr(function(e){var t=Bn(e);return ui(t)&&(t=No),Ct(u(e,ui),en(t))}),Qu=Kr(function(e){var t=Bn(e);return ui(t)&&(t=No),Ct(u(e,ui),No,t)}),el=Kr(gr),tl=Kr(function(e){var t=e.length,n=t>1?e[t-1]:No;return n="function"==typeof n?(e.pop(),n):No,mr(e,n)}),nl=Kr(function(e){e=je(e,1);var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Ce(t,e)};return 1>=t&&!this.__actions__.length&&r instanceof q&&F(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:wr,args:[i],thisArg:No}),new z(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(No),e})):this.thru(i)}),rl=Ut(function(e,t,n){Ls.call(e,n)?++e[n]:e[n]=1}),il=Ut(function(e,t,n){Ls.call(e,n)?e[n].push(t):e[n]=[t]}),ol=Kr(function(e,t,r){var i=-1,o="function"==typeof t,a=mn(t),s=si(e)?Array(e.length):[];return Eu(e,function(e){var u=o?t:a&&null!=e?e[t]:No;s[++i]=u?n(u,e,r):We(e,t,r)}),s}),al=Ut(function(e,t,n){e[n]=t}),sl=Ut(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ul=Kr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&gn(e,t[0],t[1])?t=[]:n>2&&gn(t[0],t[1],t[2])&&(t.length=1),it(e,je(t,1),[])}),ll=Date.now;Gr.Cache=Q;var cl=Array.isArray,fl=Bs?function(e){return e instanceof Bs}:Ao(!1),dl=Lt(function(e,t){if(vu||yn(t)||si(t))return It(t,so(t),e),No;for(var n in t)Ls.call(t,n)&&we(e,n,t[n])}),pl=Lt(function(e,t){if(vu||yn(t)||si(t))return It(t,uo(t),e),No;for(var n in t)we(e,n,t[n])}),hl=Lt(function(e,t,n,r){Vt(t,uo(t),e,r)}),gl=Lt(function(e,t,n,r){Vt(t,so(t),e,r)}),ml=Kr(function(e,t){return Ce(e,je(t,1))}),$l=Kr(function(e){return e.push(No,ye),n(hl,No,e)}),vl=Kr(function(e){return e.push(No,xn),n(Sl,No,e)}),yl=Wt(function(e,t,n){e[t]=n},Ao(Eo)),bl=Wt(function(e,t,n){Ls.call(e,t)?e[t].push(n):e[t]=[n]},en),wl=Kr(We),xl=Lt(function(e,t,n){nt(e,t,n)}),Sl=Lt(function(e,t,n,r){nt(e,t,n,r)}),Cl=Kr(function(e,t){return null==e?{}:(t=f(je(t,1),Ae),ot(e,Oe(Zt(e),t)))}),kl=Kr(function(e,t){return null==e?{}:ot(e,je(t,1))}),_l=Kr(function(e,t){try{return n(e,No,t)}catch(r){return gi(r)?r:Error(r)}});L.assign=dl,L.assignIn=pl,L.assignInWith=hl,L.assignWith=gl,L.at=ml,L.castArray=Jr,L.chain=yr,L.chunk=An,L.compact=En,L.concat=Dn,L.constant=Ao,L.countBy=rl,L.create=Gi,L.defaults=$l,L.defaultsDeep=vl,L.difference=Ru,L.differenceBy=Uu,L.differenceWith=Lu,L.drop=Tn,L.dropRight=Mn,L.dropRightWhile=On,L.dropWhile=Nn,L.fill=Fn,L.filter=Tr,L.flatMap=Nr,L.flatMapDeep=Fr,L.flatMapDepth=Pr,L.flatten=In,L.flattenDeep=Vn,L.flattenDepth=Rn,L.fromPairs=Un,L.functions=no,L.functionsIn=ro,L.groupBy=il,L.initial=zn,L.intersection=Hu,L.intersectionBy=zu,L.intersectionWith=qu,L.invert=yl,L.invertBy=bl,L.invokeMap=ol,L.iteratee=Do,L.keyBy=al,L.keys=so,L.keysIn=uo,L.map=Rr,L.mapKeys=lo,L.mapValues=co,L.memoize=Gr,L.merge=xl,L.mergeWith=Sl,L.mixin=To,L.omit=Cl,L.omitBy=fo,L.orderBy=Ur,L.partition=sl,L.pick=kl,L.pickBy=po,L.property=Oo,L.pull=Bu,L.pullAll=Yn,L.pullAllBy=Xn,L.pullAllWith=Gn,L.pullAt=Wu,L.reject=zr,L.remove=Kn,L.rest=Kr,L.reverse=Jn,L.sampleSize=Br,L.set=go,L.setWith=mo,L.shuffle=Wr,L.slice=Zn,L.sortBy=ul,L.sortedUniq=or,L.sortedUniqBy=ar,L.tail=sr,L.take=ur,L.takeRight=lr,L.takeRightWhile=cr,L.takeWhile=fr,L.tap=br,L.thru=wr,L.toArray=Hi,L.toPairs=$o,L.toPairsIn=vo,L.toPlainObject=Wi,L.transform=yo,L.union=Yu,L.unionBy=Xu,L.unionWith=Gu,L.uniq=dr,L.uniqBy=pr,L.uniqWith=hr,L.unset=bo,L.unzip=gr,L.unzipWith=mr,L.update=wo,L.updateWith=xo,L.values=So,L.valuesIn=Co,L.without=Ku,L.xor=Ju,L.xorBy=Zu,L.xorWith=Qu,L.zip=el,L.zipObject=$r,L.zipObjectDeep=vr,L.zipWith=tl,L.entries=$o,L.entriesIn=vo,L.extend=pl,L.extendWith=hl,To(L,L),L.attempt=_l,L.clone=Zr,L.cloneDeep=ei,L.cloneDeepWith=ti,L.cloneWith=Qr,L.eq=ni,L.escape=ko,L.every=Dr,L.find=Mr,L.findIndex=Pn,L.findKey=Ki,L.findLast=Or,L.findLastIndex=jn,L.findLastKey=Ji,L.forEach=jr,L.forEachRight=Ir,L.forIn=Zi,L.forInRight=Qi,L.forOwn=eo,L.forOwnRight=to,L.get=io,L.gt=ri,L.gte=ii,L.has=oo,L.hasIn=ao,L.head=Ln,L.identity=Eo,L.includes=Vr,L.indexOf=Hn,L.invoke=wl,L.isArguments=oi,L.isArray=cl,L.isArrayBuffer=ai,L.isArrayLike=si,L.isArrayLikeObject=ui,L.isBoolean=li,L.isBuffer=fl,L.isDate=ci,L.isElement=fi,L.isEmpty=di,L.isEqual=pi,L.isEqualWith=hi,L.isError=gi,L.isFinite=mi,L.isFunction=$i,L.isInteger=vi,L.isLength=yi,L.isMap=xi,L.isMatch=Si,L.isMatchWith=Ci,L.isNaN=ki,L.isNative=_i,L.isNil=Ei,L.isNull=Ai,L.isNumber=Di,L.isObject=bi,L.isObjectLike=wi,L.isPlainObject=Ti,L.isRegExp=Mi,L.isSafeInteger=Oi,L.isSet=Ni,L.isString=Fi,L.isSymbol=Pi,L.isTypedArray=ji,L.isUndefined=Ii,L.isWeakMap=Vi,L.isWeakSet=Ri,L.join=qn,L.last=Bn,L.lastIndexOf=Wn,L.lt=Ui,L.lte=Li,L.noop=Mo,L.now=ll,L.reduce=Lr,L.reduceRight=Hr,L.result=ho,L.sample=qr,L.size=Yr,L.some=Xr,L.sortedIndex=Qn,L.sortedIndexBy=er,L.sortedIndexOf=tr,L.sortedLastIndex=nr,L.sortedLastIndexBy=rr,L.sortedLastIndexOf=ir,L.template=_o,L.toInteger=zi,L.toLength=qi,L.toNumber=Bi,L.toSafeInteger=Yi,L.toString=Xi,L.each=jr,L.eachRight=Ir,L.first=Ln,To(L,function(){var e={};return Ie(L,function(t,n){Ls.call(L.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),L.VERSION=Fo,o(["drop","take"],function(e,t){q.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new q(this);n=n===No?1:su(zi(n),0);var i=this.clone();return r?i.__takeCount__=uu(n,i.__takeCount__):i.__views__.push({size:uu(n,oa),type:e+(0>i.__dir__?"Right":"")}),i},q.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),o(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Zo||n==ea;q.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:en(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),o(["head","last"],function(e,t){var n="take"+(t?"Right":"");q.prototype[e]=function(){return this[n](1).value()[0]}}),o(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");q.prototype[e]=function(){return this.__filtered__?new q(this):this[n](1)}}),q.prototype.compact=function(){return this.filter(Eo)},q.prototype.find=function(e){return this.filter(e).head()},q.prototype.findLast=function(e){return this.reverse().find(e)},q.prototype.invokeMap=Kr(function(e,t){return"function"==typeof e?new q(this):this.map(function(n){return We(n,e,t)})}),q.prototype.reject=function(e){return e=en(e,3),this.filter(function(t){return!e(t)})},q.prototype.slice=function(e,t){e=zi(e);var n=this;return n.__filtered__&&(e>0||0>t)?new q(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==No&&(t=zi(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},q.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},q.prototype.toArray=function(){return this.take(oa)},Ie(q.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=L[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(L.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof q,u=a[0],l=s||cl(t),c=function(e){var t=i.apply(L,d([e],a));return r&&f?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(s=l=!1);var f=this.__chain__,p=!!this.__actions__.length,h=o&&!f,g=s&&!p;if(!o&&l){t=g?t:new q(this);var m=e.apply(t,a);return m.__actions__.push({func:wr,args:[c],thisArg:No}),new z(m,f)}return h&&g?e.apply(this,a):(m=this.thru(c),h?r?m.value()[0]:m.value():m)})}),o(["pop","push","shift","sort","splice","unshift"],function(e){var t=Vs[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);L.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(cl(i)?i:[],e)}return this[n](function(n){return t.apply(cl(n)?n:[],e)})}}),Ie(q.prototype,function(e,t){var n=L[t];if(n){var r=n.name+"",i=yu[r]||(yu[r]=[]);i.push({name:t,func:n})}}),yu[Bt(No,Uo).name]=[{name:"wrapper",func:No}],q.prototype.clone=B,q.prototype.reverse=W,q.prototype.value=Y,L.prototype.at=nl,L.prototype.chain=xr,L.prototype.commit=Sr,L.prototype.next=Cr,L.prototype.plant=_r,L.prototype.reverse=Ar,L.prototype.toJSON=L.prototype.valueOf=L.prototype.value=Er,Js&&(L.prototype[Js]=kr),(Ps||Fs||{})._=L,"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return L}):Ts&&Ms?(Os&&((Ms.exports=L)._=L),Ts._=L):Is._=L}.call(this);
@@ -0,0 +1,4 @@
1
+ .thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after,.aside .aside-dialog .aside-footer:before,.aside .aside-dialog .aside-footer:after{content:" ";display:table}.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after,.aside .aside-dialog .aside-footer:after{clear:both}.alert{outline:0}.alert.top,.alert.top-left,.alert.top-right,.alert.bottom,.alert.bottom-left,.alert.bottom-right{position:fixed;z-index:1050;margin:20px}.alert.top,.alert.top-left,.alert.top-right{top:50px}.alert.top{right:0;left:0}.alert.top-right{right:0}.alert.top-right .close{padding-left:10px}.alert.top-left{left:0}.alert.top-left .close{padding-right:10px}.alert.bottom,.alert.bottom-right,.alert.bottom-left{bottom:0}.alert.bottom{right:0;left:0}.alert.bottom-right{right:0}.alert.bottom-right .close{padding-left:10px}.alert.bottom-left{left:0}.alert.bottom-left .close{padding-right:10px}.aside{position:fixed;top:0;bottom:0;z-index:1049;overflow:auto;min-width:320px;background:white}.aside:focus{outline:0}@media(max-width:991px){.aside{min-width:240px}}.aside.left{right:auto;left:0}.aside.right{right:0;left:auto}.aside .aside-dialog .aside-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.42857143px;padding:6px 15px;background:#337ab7;color:white}.aside .aside-dialog .aside-header .close{margin-right:-8px;padding:4px 8px;color:white;font-size:25px;opacity:.8}.aside .aside-dialog .aside-body{position:relative;padding:15px}.aside .aside-dialog .aside-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.aside .aside-dialog .aside-footer .btn+.btn{margin-left:5px;margin-bottom:0}.aside .aside-dialog .aside-footer .btn-group .btn+.btn{margin-left:-1px}.aside .aside-dialog .aside-footer .btn-block+.btn-block{margin-left:0}.aside-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.aside-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.aside-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.callout{margin:20px 0;padding:20px;border-left:3px solid #eee}.callout h4{margin-top:0;margin-bottom:5px}.callout p:last-child{margin-bottom:0}.callout-danger{border-color:#eed3d7;background-color:#fdf7f7}.callout-danger h4{color:#b94a48}.callout-warning{border-color:#faebcc;background-color:#faf8f0}.callout-warning h4{color:#8a6d3b}.callout-info{border-color:#bce8f1;background-color:#f4f8fa}.callout-info h4{color:#34789a}.datepicker.dropdown-menu{width:250px;height:270px}.datepicker.dropdown-menu button{outline:0;border:0}.datepicker.dropdown-menu tbody{height:180px}.datepicker.dropdown-menu tbody button{padding:6px}.datepicker.dropdown-menu.datepicker-mode-1 tbody button,.datepicker.dropdown-menu.datepicker-mode-2 tbody button{height:65px}.modal.center .modal-dialog{position:fixed;top:40%;left:50%;min-width:320px;max-width:630px;width:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.popover.top-left{margin-top:-10px}.popover.top-left .arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);bottom:-11px;left:10%}.popover.top-left .arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.top-right{margin-top:-10px}.popover.top-right .arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);bottom:-11px;left:90%}.popover.top-right .arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.bottom-left{margin-top:10px}.popover.bottom-left .arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);top:-11px;left:10%}.popover.bottom-left .arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.bottom-right{margin-top:10px}.popover.bottom-right .arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);top:-11px;left:90%}.popover.bottom-right .arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.timepicker.dropdown-menu{padding:0 4px}.timepicker.dropdown-menu button{outline:0;border:0}.timepicker.dropdown-menu tbody button{padding:6px}.tooltip.tooltip-info.top .tooltip-arrow,.tooltip.tooltip-info.top-left .tooltip-arrow,.tooltip.tooltip-info.top-right .tooltip-arrow{border-top-color:#d9edf7}.tooltip.tooltip-info.right .tooltip-arrow{border-right-color:#d9edf7}.tooltip.tooltip-info.bottom .tooltip-arrow,.tooltip.tooltip-info.bottom-left .tooltip-arrow,.tooltip.tooltip-info.bottom-right .tooltip-arrow{border-bottom-color:#d9edf7}.tooltip.tooltip-info.left .tooltip-arrow{border-left-color:#d9edf7}.tooltip.tooltip-info .tooltip-inner{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.tooltip.tooltip-info .tooltip-inner hr{border-top-color:#a6e1ec}.tooltip.tooltip-info .tooltip-inner .alert-link{color:#245269}.tooltip.tooltip-success.top .tooltip-arrow,.tooltip.tooltip-success.top-left .tooltip-arrow,.tooltip.tooltip-success.top-right .tooltip-arrow{border-top-color:#dff0d8}.tooltip.tooltip-success.right .tooltip-arrow{border-right-color:#dff0d8}.tooltip.tooltip-success.bottom .tooltip-arrow,.tooltip.tooltip-success.bottom-left .tooltip-arrow,.tooltip.tooltip-success.bottom-right .tooltip-arrow{border-bottom-color:#dff0d8}.tooltip.tooltip-success.left .tooltip-arrow{border-left-color:#dff0d8}.tooltip.tooltip-success .tooltip-inner{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.tooltip.tooltip-success .tooltip-inner hr{border-top-color:#c9e2b3}.tooltip.tooltip-success .tooltip-inner .alert-link{color:#2b542c}.tooltip.tooltip-danger.top .tooltip-arrow,.tooltip.tooltip-danger.top-left .tooltip-arrow,.tooltip.tooltip-danger.top-right .tooltip-arrow{border-top-color:#f2dede}.tooltip.tooltip-danger.right .tooltip-arrow{border-right-color:#f2dede}.tooltip.tooltip-danger.bottom .tooltip-arrow,.tooltip.tooltip-danger.bottom-left .tooltip-arrow,.tooltip.tooltip-danger.bottom-right .tooltip-arrow{border-bottom-color:#f2dede}.tooltip.tooltip-danger.left .tooltip-arrow{border-left-color:#f2dede}.tooltip.tooltip-danger .tooltip-inner{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.tooltip.tooltip-danger .tooltip-inner hr{border-top-color:#e4b9c0}.tooltip.tooltip-danger .tooltip-inner .alert-link{color:#843534}.tooltip.top-left{margin-top:-3px;padding:5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000;left:10%}.tooltip.top-right{margin-top:-3px;padding:5px 0}.tooltip.top-right .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000;left:90%}.tooltip.bottom-left{margin-top:3px;padding:5px 0}.tooltip.bottom-left .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000;left:10%}.tooltip.bottom-right{margin-top:3px;padding:5px 0}.tooltip.bottom-right .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000;left:90%}.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.alert{outline:0}.alert.top,.alert.top-left,.alert.top-right,.alert.bottom,.alert.bottom-left,.alert.bottom-right{position:fixed;z-index:1050;margin:20px}.alert.top,.alert.top-left,.alert.top-right{top:50px}.alert.top{right:0;left:0}.alert.top-right{right:0}.alert.top-right .close{padding-left:10px}.alert.top-left{left:0}.alert.top-left .close{padding-right:10px}.alert.bottom,.alert.bottom-right,.alert.bottom-left{bottom:0}.alert.bottom{right:0;left:0}.alert.bottom-right{right:0}.alert.bottom-right .close{padding-left:10px}.alert.bottom-left{left:0}.alert.bottom-left .close{padding-right:10px}.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after,.aside .aside-dialog .aside-footer:before,.aside .aside-dialog .aside-footer:after{content:" ";display:table}.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after,.aside .aside-dialog .aside-footer:after{clear:both}.aside{position:fixed;top:0;bottom:0;z-index:1049;overflow:auto;min-width:320px;background:white}.aside:focus{outline:0}@media(max-width:991px){.aside{min-width:240px}}.aside.left{right:auto;left:0}.aside.right{right:0;left:auto}.aside .aside-dialog .aside-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.42857143px;padding:6px 15px;background:#337ab7;color:white}.aside .aside-dialog .aside-header .close{margin-right:-8px;padding:4px 8px;color:white;font-size:25px;opacity:.8}.aside .aside-dialog .aside-body{position:relative;padding:15px}.aside .aside-dialog .aside-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.aside .aside-dialog .aside-footer .btn+.btn{margin-left:5px;margin-bottom:0}.aside .aside-dialog .aside-footer .btn-group .btn+.btn{margin-left:-1px}.aside .aside-dialog .aside-footer .btn-block+.btn-block{margin-left:0}.aside-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.aside-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.aside-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.datepicker.dropdown-menu{width:250px;height:270px}.datepicker.dropdown-menu button{outline:0;border:0}.datepicker.dropdown-menu tbody{height:180px}.datepicker.dropdown-menu tbody button{padding:6px}.datepicker.dropdown-menu.datepicker-mode-1 tbody button,.datepicker.dropdown-menu.datepicker-mode-2 tbody button{height:65px}.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.callout{margin:20px 0;padding:20px;border-left:3px solid #eee}.callout h4{margin-top:0;margin-bottom:5px}.callout p:last-child{margin-bottom:0}.callout-danger{border-color:#eed3d7;background-color:#fdf7f7}.callout-danger h4{color:#b94a48}.callout-warning{border-color:#faebcc;background-color:#faf8f0}.callout-warning h4{color:#8a6d3b}.callout-info{border-color:#bce8f1;background-color:#f4f8fa}.callout-info h4{color:#34789a}.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.modal.center .modal-dialog{position:fixed;top:40%;left:50%;min-width:320px;max-width:630px;width:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.popover.top-left{margin-top:-10px}.popover.top-left .arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);bottom:-11px;left:10%}.popover.top-left .arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.top-right{margin-top:-10px}.popover.top-right .arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);bottom:-11px;left:90%}.popover.top-right .arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.bottom-left{margin-top:10px}.popover.bottom-left .arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);top:-11px;left:10%}.popover.bottom-left .arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.bottom-right{margin-top:10px}.popover.bottom-right .arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);top:-11px;left:90%}.popover.bottom-right .arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.timepicker.dropdown-menu{padding:0 4px}.timepicker.dropdown-menu button{outline:0;border:0}.timepicker.dropdown-menu tbody button{padding:6px}.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.tooltip.tooltip-info.top .tooltip-arrow,.tooltip.tooltip-info.top-left .tooltip-arrow,.tooltip.tooltip-info.top-right .tooltip-arrow{border-top-color:#d9edf7}.tooltip.tooltip-info.right .tooltip-arrow{border-right-color:#d9edf7}.tooltip.tooltip-info.bottom .tooltip-arrow,.tooltip.tooltip-info.bottom-left .tooltip-arrow,.tooltip.tooltip-info.bottom-right .tooltip-arrow{border-bottom-color:#d9edf7}.tooltip.tooltip-info.left .tooltip-arrow{border-left-color:#d9edf7}.tooltip.tooltip-info .tooltip-inner{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.tooltip.tooltip-info .tooltip-inner hr{border-top-color:#a6e1ec}.tooltip.tooltip-info .tooltip-inner .alert-link{color:#245269}.tooltip.tooltip-success.top .tooltip-arrow,.tooltip.tooltip-success.top-left .tooltip-arrow,.tooltip.tooltip-success.top-right .tooltip-arrow{border-top-color:#dff0d8}.tooltip.tooltip-success.right .tooltip-arrow{border-right-color:#dff0d8}.tooltip.tooltip-success.bottom .tooltip-arrow,.tooltip.tooltip-success.bottom-left .tooltip-arrow,.tooltip.tooltip-success.bottom-right .tooltip-arrow{border-bottom-color:#dff0d8}.tooltip.tooltip-success.left .tooltip-arrow{border-left-color:#dff0d8}.tooltip.tooltip-success .tooltip-inner{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.tooltip.tooltip-success .tooltip-inner hr{border-top-color:#c9e2b3}.tooltip.tooltip-success .tooltip-inner .alert-link{color:#2b542c}.tooltip.tooltip-danger.top .tooltip-arrow,.tooltip.tooltip-danger.top-left .tooltip-arrow,.tooltip.tooltip-danger.top-right .tooltip-arrow{border-top-color:#f2dede}.tooltip.tooltip-danger.right .tooltip-arrow{border-right-color:#f2dede}.tooltip.tooltip-danger.bottom .tooltip-arrow,.tooltip.tooltip-danger.bottom-left .tooltip-arrow,.tooltip.tooltip-danger.bottom-right .tooltip-arrow{border-bottom-color:#f2dede}.tooltip.tooltip-danger.left .tooltip-arrow{border-left-color:#f2dede}.tooltip.tooltip-danger .tooltip-inner{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.tooltip.tooltip-danger .tooltip-inner hr{border-top-color:#e4b9c0}.tooltip.tooltip-danger .tooltip-inner .alert-link{color:#843534}.tooltip.top-left{margin-top:-3px;padding:5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000;left:10%}.tooltip.top-right{margin-top:-3px;padding:5px 0}.tooltip.top-right .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000;left:90%}.tooltip.bottom-left{margin-top:3px;padding:5px 0}.tooltip.bottom-left .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000;left:10%}.tooltip.bottom-right{margin-top:3px;padding:5px 0}.tooltip.bottom-right .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000;left:90%}.am-collapse{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease;animation-timing-function:ease;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;overflow:hidden;opacity:1}.am-collapse.am-collapse-add,.am-collapse.ng-hide-remove,.am-collapse.ng-move{-webkit-animation-name:expand;animation-name:expand}.am-collapse.am-collapse-remove,.am-collapse.ng-hide{-webkit-animation-name:collapse;animation-name:collapse}.am-collapse.ng-enter{visibility:hidden;-webkit-animation-name:expand;animation-name:expand;-webkit-animation-play-state:paused;animation-play-state:paused}.am-collapse.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-collapse.ng-leave{-webkit-animation-name:collapse;animation-name:collapse;-webkit-animation-play-state:paused;animation-play-state:paused}.am-collapse.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes expand{from{max-height:0}to{max-height:500px}}@keyframes expand{from{max-height:0}to{max-height:500px}}@-webkit-keyframes collapse{from{max-height:500px}to{max-height:0}}@keyframes collapse{from{max-height:500px}to{max-height:0}}.panel-collapse.am-collapse.in-remove{-webkit-animation-name:collapse;animation-name:collapse;display:block}.panel-collapse.am-collapse.in-add{-webkit-animation-name:expand;animation-name:expand}.am-fade{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;opacity:1}.am-fade.am-fade-add,.am-fade.ng-hide-remove,.am-fade.ng-move{-webkit-animation-name:fadeIn;animation-name:fadeIn}.am-fade.am-fade-remove,.am-fade.ng-hide{-webkit-animation-name:fadeOut;animation-name:fadeOut}.am-fade.ng-enter{visibility:hidden;-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-fade.ng-leave{-webkit-animation-name:fadeOut;animation-name:fadeOut;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut{from{opacity:1}to{opacity:0}}@keyframes fadeOut{from{opacity:1}to{opacity:0}}.tab-pane.am-fade.active-remove{display:none !important}.tab-pane.am-fade.active-add{-webkit-animation-name:fadeIn;animation-name:fadeIn}.modal-backdrop.am-fade,.aside-backdrop.am-fade{background:rgba(0,0,0,0.5);-webkit-animation-duration:.15s;animation-duration:.15s}.am-fade-and-scale{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards}.am-fade-and-scale.ng-enter,.am-fade-and-scale.am-fade-and-scale-add,.am-fade-and-scale.ng-hide-remove,.am-fade-and-scale.ng-move{-webkit-animation-name:fadeAndScaleIn;animation-name:fadeAndScaleIn}.am-fade-and-scale.ng-leave,.am-fade-and-scale.am-fade-and-scale-remove,.am-fade-and-scale.ng-hide{-webkit-animation-name:fadeAndScaleOut;animation-name:fadeAndScaleOut}.am-fade-and-scale.ng-enter{visibility:hidden;-webkit-animation-name:fadeAndScaleIn;animation-name:fadeAndScaleIn;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade-and-scale.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-fade-and-scale.ng-leave{-webkit-animation-name:fadeAndScaleOut;animation-name:fadeAndScaleOut;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade-and-scale.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes fadeAndScaleIn{from{opacity:0;-webkit-transform:scale(0.7);transform:scale(0.7)}to{opacity:1}}@keyframes fadeAndScaleIn{from{opacity:0;-webkit-transform:scale(0.7);transform:scale(0.7)}to{opacity:1}}@-webkit-keyframes fadeAndScaleOut{from{opacity:1}to{opacity:0;-webkit-transform:scale(0.7);transform:scale(0.7)}}@keyframes fadeAndScaleOut{from{opacity:1}to{opacity:0;-webkit-transform:scale(0.7);transform:scale(0.7)}}.am-fade-and-slide-top{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards}.am-fade-and-slide-top.am-fade-and-slide-top-add,.am-fade-and-slide-top.ng-hide-remove,.am-fade-and-slide-top.ng-move{-webkit-animation-name:fadeAndSlideFromTop;animation-name:fadeAndSlideFromTop}.am-fade-and-slide-top.am-fade-and-slide-top-remove,.am-fade-and-slide-top.ng-hide{-webkit-animation-name:fadeAndSlideToTop;animation-name:fadeAndSlideToTop}.am-fade-and-slide-top.ng-enter{visibility:hidden;-webkit-animation-name:fadeAndSlideFromTop;animation-name:fadeAndSlideFromTop;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade-and-slide-top.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-fade-and-slide-top.ng-leave{-webkit-animation-name:fadeAndSlideToTop;animation-name:fadeAndSlideToTop;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade-and-slide-top.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}.am-fade-and-slide-right{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards}.am-fade-and-slide-right.am-fade-and-slide-right-add,.am-fade-and-slide-right.ng-hide-remove,.am-fade-and-slide-right.ng-move{-webkit-animation-name:fadeAndSlideFromRight;animation-name:fadeAndSlideFromRight}.am-fade-and-slide-right.am-fade-and-slide-right-remove,.am-fade-and-slide-right.ng-hide{-webkit-animation-name:fadeAndSlideToRight;animation-name:fadeAndSlideToRight}.am-fade-and-slide-right.ng-enter{visibility:hidden;-webkit-animation-name:fadeAndSlideFromRight;animation-name:fadeAndSlideFromRight;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade-and-slide-right.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-fade-and-slide-right.ng-leave{-webkit-animation-name:fadeAndSlideToRight;animation-name:fadeAndSlideToRight;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade-and-slide-right.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}.am-fade-and-slide-bottom{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards}.am-fade-and-slide-bottom.am-fade-and-slide-bottom-add,.am-fade-and-slide-bottom.ng-hide-remove,.am-fade-and-slide-bottom.ng-move{-webkit-animation-name:fadeAndSlideFromBottom;animation-name:fadeAndSlideFromBottom}.am-fade-and-slide-bottom.am-fade-and-slide-bottom-remove,.am-fade-and-slide-bottom.ng-hide{-webkit-animation-name:fadeAndSlideToBottom;animation-name:fadeAndSlideToBottom}.am-fade-and-slide-bottom.ng-enter{visibility:hidden;-webkit-animation-name:fadeAndSlideFromBottom;animation-name:fadeAndSlideFromBottom;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade-and-slide-bottom.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-fade-and-slide-bottom.ng-leave{-webkit-animation-name:fadeAndSlideToBottom;animation-name:fadeAndSlideToBottom;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade-and-slide-bottom.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}.am-fade-and-slide-left{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards}.am-fade-and-slide-left.am-fade-and-slide-left-add,.am-fade-and-slide-left.ng-hide-remove,.am-fade-and-slide-left.ng-move{-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;-webkit-animation-name:fadeAndSlideFromLeft;animation-name:fadeAndSlideFromLeft}.am-fade-and-slide-left.am-fade-and-slide-left-remove,.am-fade-and-slide-left.ng-hide{-webkit-animation-name:fadeAndSlideToLeft;animation-name:fadeAndSlideToLeft}.am-fade-and-slide-left.ng-enter{visibility:hidden;-webkit-animation-name:fadeAndSlideFromLeft;animation-name:fadeAndSlideFromLeft;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade-and-slide-left.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-fade-and-slide-left.ng-leave{-webkit-animation-name:fadeAndSlideToLeft;animation-name:fadeAndSlideToLeft;-webkit-animation-play-state:paused;animation-play-state:paused}.am-fade-and-slide-left.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes fadeAndSlideFromTop{from{opacity:0;-webkit-transform:translateY(-20%);transform:translateY(-20%)}to{opacity:1}}@keyframes fadeAndSlideFromTop{from{opacity:0;-webkit-transform:translateY(-20%);transform:translateY(-20%)}to{opacity:1}}@-webkit-keyframes fadeAndSlideToTop{from{opacity:1}to{opacity:0;-webkit-transform:translateY(-20%);transform:translateY(-20%)}}@keyframes fadeAndSlideToTop{from{opacity:1}to{opacity:0;-webkit-transform:translateY(-20%);transform:translateY(-20%)}}@-webkit-keyframes fadeAndSlideFromRight{from{opacity:0;-webkit-transform:translateX(20%);transform:translateX(20%)}to{opacity:1}}@keyframes fadeAndSlideFromRight{from{opacity:0;-webkit-transform:translateX(20%);transform:translateX(20%)}to{opacity:1}}@-webkit-keyframes fadeAndSlideToRight{from{opacity:1}to{opacity:0;-webkit-transform:translateX(20%);transform:translateX(20%)}}@keyframes fadeAndSlideToRight{from{opacity:1}to{opacity:0;-webkit-transform:translateX(20%);transform:translateX(20%)}}@-webkit-keyframes fadeAndSlideFromBottom{from{opacity:0;-webkit-transform:translateY(20%);transform:translateY(20%)}to{opacity:1}}@keyframes fadeAndSlideFromBottom{from{opacity:0;-webkit-transform:translateY(20%);transform:translateY(20%)}to{opacity:1}}@-webkit-keyframes fadeAndSlideToBottom{from{opacity:1}to{opacity:0;-webkit-transform:translateY(20%);transform:translateY(20%)}}@keyframes fadeAndSlideToBottom{from{opacity:1}to{opacity:0;-webkit-transform:translateY(20%);transform:translateY(20%)}}@-webkit-keyframes fadeAndSlideFromLeft{from{opacity:0;-webkit-transform:translateX(-20%);transform:translateX(-20%)}to{opacity:1}}@keyframes fadeAndSlideFromLeft{from{opacity:0;-webkit-transform:translateX(-20%);transform:translateX(-20%)}to{opacity:1}}@-webkit-keyframes fadeAndSlideToLeft{from{opacity:1}to{opacity:0;-webkit-transform:translateX(-20%);transform:translateX(-20%)}}@keyframes fadeAndSlideToLeft{from{opacity:1}to{opacity:0;-webkit-transform:translateX(-20%);transform:translateX(-20%)}}.am-flip-x{-webkit-animation-duration:.4s;animation-duration:.4s;-webkit-animation-timing-function:ease;animation-timing-function:ease;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards}.am-flip-x.am-flip-x-add,.am-flip-x.ng-hide-remove,.am-flip-x.ng-move{-webkit-animation-name:flipInXBounce;animation-name:flipInXBounce}.am-flip-x.am-flip-x-remove,.am-flip-x.ng-hide{-webkit-animation-name:flipOutX;animation-name:flipOutX}.am-flip-x.ng-enter{visibility:hidden;-webkit-animation-name:flipInXBounce;animation-name:flipInXBounce;-webkit-animation-play-state:paused;animation-play-state:paused}.am-flip-x.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-flip-x.ng-leave{-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-animation-play-state:paused;animation-play-state:paused}.am-flip-x.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}.am-flip-x-linear{-webkit-animation-duration:.4s;animation-duration:.4s;-webkit-animation-timing-function:ease;animation-timing-function:ease;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards}.am-flip-x-linear.am-flip-x-add,.am-flip-x-linear.ng-hide-remove,.am-flip-x-linear.ng-move{-webkit-animation-name:flipInX;animation-name:flipInX}.am-flip-x-linear.am-flip-x-remove,.am-flip-x-linear.ng-hide{-webkit-animation-name:flipOutX;animation-name:flipOutX}.am-flip-x-linear.ng-enter{visibility:hidden;-webkit-animation-name:flipInX;animation-name:flipInX;-webkit-animation-play-state:paused;animation-play-state:paused}.am-flip-x-linear.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-flip-x-linear.ng-leave{-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-animation-play-state:paused;animation-play-state:paused}.am-flip-x-linear.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes flipInX{from{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}to{opacity:1;-webkit-transform:perspective(400px) rotateX(0);transform:perspective(400px) rotateX(0)}}@keyframes flipInX{from{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}to{opacity:1;-webkit-transform:perspective(400px) rotateX(0);transform:perspective(400px) rotateX(0)}}@-webkit-keyframes flipInXBounce{from{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}40%{-webkit-transform:perspective(400px) rotateX(-10deg);transform:perspective(400px) rotateX(-10deg)}70%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}to{opacity:1;-webkit-transform:perspective(400px) rotateX(0);transform:perspective(400px) rotateX(0)}}@keyframes flipInXBounce{from{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}40%{-webkit-transform:perspective(400px) rotateX(-10deg);transform:perspective(400px) rotateX(-10deg)}70%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}to{opacity:1;-webkit-transform:perspective(400px) rotateX(0);transform:perspective(400px) rotateX(0)}}@-webkit-keyframes flipOutX{from{opacity:1;-webkit-transform:perspective(400px) rotateX(0);transform:perspective(400px) rotateX(0)}to{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}}@keyframes flipOutX{from{opacity:1;-webkit-transform:perspective(400px) rotateX(0);transform:perspective(400px) rotateX(0)}to{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}}.am-slide-top{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards}.am-slide-top.am-slide-top-add,.am-slide-top.ng-hide-remove,.am-slide-top.ng-move{-webkit-animation-name:slideFromTop;animation-name:slideFromTop}.am-slide-top.am-slide-top-remove,.am-slide-top.ng-hide{-webkit-animation-name:slideToTop;animation-name:slideToTop}.am-slide-top.ng-enter{visibility:hidden;-webkit-animation-name:slideFromTop;animation-name:slideFromTop;-webkit-animation-play-state:paused;animation-play-state:paused}.am-slide-top.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-slide-top.ng-leave{-webkit-animation-name:slideToTop;animation-name:slideToTop;-webkit-animation-play-state:paused;animation-play-state:paused}.am-slide-top.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}.am-slide-right{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards}.am-slide-right.am-slide-right-add,.am-slide-right.ng-hide-remove,.am-slide-right.ng-move{-webkit-animation-name:slideFromRight;animation-name:slideFromRight}.am-slide-right.am-slide-right-remove,.am-slide-right.ng-hide{-webkit-animation-name:slideToRight;animation-name:slideToRight}.am-slide-right.ng-enter{visibility:hidden;-webkit-animation-name:slideFromRight;animation-name:slideFromRight;-webkit-animation-play-state:paused;animation-play-state:paused}.am-slide-right.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-slide-right.ng-leave{-webkit-animation-name:slideToRight;animation-name:slideToRight;-webkit-animation-play-state:paused;animation-play-state:paused}.am-slide-right.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}.am-slide-bottom{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards}.am-slide-bottom.am-slide-bottom-add,.am-slide-bottom.ng-hide-remove,.am-slide-bottom.ng-move{-webkit-animation-name:slideFromBottom;animation-name:slideFromBottom}.am-slide-bottom.am-slide-bottom-remove,.am-slide-bottom.ng-hide{-webkit-animation-name:slideToBottom;animation-name:slideToBottom}.am-slide-bottom.ng-enter{visibility:hidden;-webkit-animation-name:slideFromBottom;animation-name:slideFromBottom;-webkit-animation-play-state:paused;animation-play-state:paused}.am-slide-bottom.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-slide-bottom.ng-leave{-webkit-animation-name:slideToBottom;animation-name:slideToBottom;-webkit-animation-play-state:paused;animation-play-state:paused}.am-slide-bottom.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}.am-slide-left{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards}.am-slide-left.am-slide-left-add,.am-slide-left.ng-hide-remove,.am-slide-left.ng-move{-webkit-animation-name:slideFromLeft;animation-name:slideFromLeft}.am-slide-left.am-slide-left-remove,.am-slide-left.ng-hide{-webkit-animation-name:slideToLeft;animation-name:slideToLeft}.am-slide-left.ng-enter{visibility:hidden;-webkit-animation-name:slideFromLeft;animation-name:slideFromLeft;-webkit-animation-play-state:paused;animation-play-state:paused}.am-slide-left.ng-enter.ng-enter-active{visibility:visible;-webkit-animation-play-state:running;animation-play-state:running}.am-slide-left.ng-leave{-webkit-animation-name:slideToLeft;animation-name:slideToLeft;-webkit-animation-play-state:paused;animation-play-state:paused}.am-slide-left.ng-leave.ng-leave-active{-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes slideFromTop{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes slideFromTop{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@-webkit-keyframes slideToTop{to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes slideToTop{to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@-webkit-keyframes slideFromRight{from{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes slideFromRight{from{-webkit-transform:translateX(100%);transform:translateX(100%)}}@-webkit-keyframes slideToRight{to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes slideToRight{to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@-webkit-keyframes slideFromBottom{from{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes slideFromBottom{from{-webkit-transform:translateY(100%);transform:translateY(100%)}}@-webkit-keyframes slideToBottom{to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes slideToBottom{to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@-webkit-keyframes slideFromLeft{from{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes slideFromLeft{from{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@-webkit-keyframes slideToLeft{to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes slideToLeft{to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.angular-ui-tree-empty{border:1px dashed #bbb;min-height:100px;background-color:#e5e5e5;background-image:-webkit-linear-gradient(45deg,#fff 25%,transparent 0,transparent 75%,#fff 0,#fff),-webkit-linear-gradient(45deg,#fff 25%,transparent 0,transparent 75%,#fff 0,#fff);background-image:linear-gradient(45deg,#fff 25%,transparent 0,transparent 75%,#fff 0,#fff),linear-gradient(45deg,#fff 25%,transparent 0,transparent 75%,#fff 0,#fff);background-size:60px 60px;background-position:0 0,30px 30px}.angular-ui-tree-nodes{position:relative;margin:0;padding:0;list-style:none}.angular-ui-tree-nodes .angular-ui-tree-nodes{padding-left:20px}.angular-ui-tree-node,.angular-ui-tree-placeholder{position:relative;margin:0;padding:0;min-height:20px;line-height:20px}.angular-ui-tree-hidden{display:none}.angular-ui-tree-placeholder{margin:5px 0;padding:0;min-height:30px}.angular-ui-tree-handle{cursor:move;text-decoration:none;font-weight:700;box-sizing:border-box;min-height:20px;line-height:20px}.angular-ui-tree-drag{position:absolute;pointer-events:none;z-index:999;opacity:.8}/*!
2
+ * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
3
+ * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4
+ */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.5.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0,mirror=1);-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2,mirror=1);-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}
@@ -0,0 +1,1022 @@
1
+ /**
2
+ * angular-motion
3
+ * @version v0.4.4 - 2016-03-31
4
+ * @link http://mgcrea.github.io/angular-motion
5
+ * @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
6
+ * @license MIT License, http://www.opensource.org/licenses/MIT
7
+ */
8
+ .am-collapse {
9
+ -webkit-animation-duration: 0.3s;
10
+ animation-duration: 0.3s;
11
+ -webkit-animation-timing-function: ease;
12
+ animation-timing-function: ease;
13
+ -webkit-animation-fill-mode: backwards;
14
+ animation-fill-mode: backwards;
15
+ overflow: hidden;
16
+ opacity: 1;
17
+ }
18
+ .am-collapse.am-collapse-add,
19
+ .am-collapse.ng-hide-remove,
20
+ .am-collapse.ng-move {
21
+ -webkit-animation-name: expand;
22
+ animation-name: expand;
23
+ }
24
+ .am-collapse.am-collapse-remove,
25
+ .am-collapse.ng-hide {
26
+ -webkit-animation-name: collapse;
27
+ animation-name: collapse;
28
+ }
29
+ .am-collapse.ng-enter {
30
+ visibility: hidden;
31
+ -webkit-animation-name: expand;
32
+ animation-name: expand;
33
+ -webkit-animation-play-state: paused;
34
+ animation-play-state: paused;
35
+ }
36
+ .am-collapse.ng-enter.ng-enter-active {
37
+ visibility: visible;
38
+ -webkit-animation-play-state: running;
39
+ animation-play-state: running;
40
+ }
41
+ .am-collapse.ng-leave {
42
+ -webkit-animation-name: collapse;
43
+ animation-name: collapse;
44
+ -webkit-animation-play-state: paused;
45
+ animation-play-state: paused;
46
+ }
47
+ .am-collapse.ng-leave.ng-leave-active {
48
+ -webkit-animation-play-state: running;
49
+ animation-play-state: running;
50
+ }
51
+ @-webkit-keyframes expand {
52
+ from {
53
+ max-height: 0px;
54
+ }
55
+ to {
56
+ max-height: 500px;
57
+ }
58
+ }
59
+ @keyframes expand {
60
+ from {
61
+ max-height: 0px;
62
+ }
63
+ to {
64
+ max-height: 500px;
65
+ }
66
+ }
67
+ @-webkit-keyframes collapse {
68
+ from {
69
+ max-height: 500px;
70
+ }
71
+ to {
72
+ max-height: 0px;
73
+ }
74
+ }
75
+ @keyframes collapse {
76
+ from {
77
+ max-height: 500px;
78
+ }
79
+ to {
80
+ max-height: 0px;
81
+ }
82
+ }
83
+ .panel-collapse.am-collapse.in-remove {
84
+ -webkit-animation-name: collapse;
85
+ animation-name: collapse;
86
+ display: block;
87
+ }
88
+ .panel-collapse.am-collapse.in-add {
89
+ -webkit-animation-name: expand;
90
+ animation-name: expand;
91
+ }
92
+
93
+ .am-fade {
94
+ -webkit-animation-duration: 0.3s;
95
+ animation-duration: 0.3s;
96
+ -webkit-animation-timing-function: linear;
97
+ animation-timing-function: linear;
98
+ -webkit-animation-fill-mode: backwards;
99
+ animation-fill-mode: backwards;
100
+ opacity: 1;
101
+ }
102
+ .am-fade.am-fade-add,
103
+ .am-fade.ng-hide-remove,
104
+ .am-fade.ng-move {
105
+ -webkit-animation-name: fadeIn;
106
+ animation-name: fadeIn;
107
+ }
108
+ .am-fade.am-fade-remove,
109
+ .am-fade.ng-hide {
110
+ -webkit-animation-name: fadeOut;
111
+ animation-name: fadeOut;
112
+ }
113
+ .am-fade.ng-enter {
114
+ visibility: hidden;
115
+ -webkit-animation-name: fadeIn;
116
+ animation-name: fadeIn;
117
+ -webkit-animation-play-state: paused;
118
+ animation-play-state: paused;
119
+ }
120
+ .am-fade.ng-enter.ng-enter-active {
121
+ visibility: visible;
122
+ -webkit-animation-play-state: running;
123
+ animation-play-state: running;
124
+ }
125
+ .am-fade.ng-leave {
126
+ -webkit-animation-name: fadeOut;
127
+ animation-name: fadeOut;
128
+ -webkit-animation-play-state: paused;
129
+ animation-play-state: paused;
130
+ }
131
+ .am-fade.ng-leave.ng-leave-active {
132
+ -webkit-animation-play-state: running;
133
+ animation-play-state: running;
134
+ }
135
+ @-webkit-keyframes fadeIn {
136
+ from {
137
+ opacity: 0;
138
+ }
139
+ to {
140
+ opacity: 1;
141
+ }
142
+ }
143
+ @keyframes fadeIn {
144
+ from {
145
+ opacity: 0;
146
+ }
147
+ to {
148
+ opacity: 1;
149
+ }
150
+ }
151
+ @-webkit-keyframes fadeOut {
152
+ from {
153
+ opacity: 1;
154
+ }
155
+ to {
156
+ opacity: 0;
157
+ }
158
+ }
159
+ @keyframes fadeOut {
160
+ from {
161
+ opacity: 1;
162
+ }
163
+ to {
164
+ opacity: 0;
165
+ }
166
+ }
167
+ .tab-pane.am-fade.active-remove {
168
+ display: none !important;
169
+ }
170
+ .tab-pane.am-fade.active-add {
171
+ -webkit-animation-name: fadeIn;
172
+ animation-name: fadeIn;
173
+ }
174
+ .modal-backdrop.am-fade,
175
+ .aside-backdrop.am-fade {
176
+ background: rgba(0, 0, 0, 0.5);
177
+ -webkit-animation-duration: 0.15s;
178
+ animation-duration: 0.15s;
179
+ }
180
+
181
+ .am-fade-and-scale {
182
+ -webkit-animation-duration: 0.3s;
183
+ animation-duration: 0.3s;
184
+ -webkit-animation-timing-function: ease-in-out;
185
+ animation-timing-function: ease-in-out;
186
+ -webkit-animation-fill-mode: backwards;
187
+ animation-fill-mode: backwards;
188
+ }
189
+ .am-fade-and-scale.ng-enter,
190
+ .am-fade-and-scale.am-fade-and-scale-add,
191
+ .am-fade-and-scale.ng-hide-remove,
192
+ .am-fade-and-scale.ng-move {
193
+ -webkit-animation-name: fadeAndScaleIn;
194
+ animation-name: fadeAndScaleIn;
195
+ }
196
+ .am-fade-and-scale.ng-leave,
197
+ .am-fade-and-scale.am-fade-and-scale-remove,
198
+ .am-fade-and-scale.ng-hide {
199
+ -webkit-animation-name: fadeAndScaleOut;
200
+ animation-name: fadeAndScaleOut;
201
+ }
202
+ .am-fade-and-scale.ng-enter {
203
+ visibility: hidden;
204
+ -webkit-animation-name: fadeAndScaleIn;
205
+ animation-name: fadeAndScaleIn;
206
+ -webkit-animation-play-state: paused;
207
+ animation-play-state: paused;
208
+ }
209
+ .am-fade-and-scale.ng-enter.ng-enter-active {
210
+ visibility: visible;
211
+ -webkit-animation-play-state: running;
212
+ animation-play-state: running;
213
+ }
214
+ .am-fade-and-scale.ng-leave {
215
+ -webkit-animation-name: fadeAndScaleOut;
216
+ animation-name: fadeAndScaleOut;
217
+ -webkit-animation-play-state: paused;
218
+ animation-play-state: paused;
219
+ }
220
+ .am-fade-and-scale.ng-leave.ng-leave-active {
221
+ -webkit-animation-play-state: running;
222
+ animation-play-state: running;
223
+ }
224
+ @-webkit-keyframes fadeAndScaleIn {
225
+ from {
226
+ opacity: 0;
227
+ -webkit-transform: scale(0.7);
228
+ transform: scale(0.7);
229
+ }
230
+ to {
231
+ opacity: 1;
232
+ }
233
+ }
234
+ @keyframes fadeAndScaleIn {
235
+ from {
236
+ opacity: 0;
237
+ -webkit-transform: scale(0.7);
238
+ transform: scale(0.7);
239
+ }
240
+ to {
241
+ opacity: 1;
242
+ }
243
+ }
244
+ @-webkit-keyframes fadeAndScaleOut {
245
+ from {
246
+ opacity: 1;
247
+ }
248
+ to {
249
+ opacity: 0;
250
+ -webkit-transform: scale(0.7);
251
+ transform: scale(0.7);
252
+ }
253
+ }
254
+ @keyframes fadeAndScaleOut {
255
+ from {
256
+ opacity: 1;
257
+ }
258
+ to {
259
+ opacity: 0;
260
+ -webkit-transform: scale(0.7);
261
+ transform: scale(0.7);
262
+ }
263
+ }
264
+
265
+ .am-fade-and-slide-top {
266
+ -webkit-animation-duration: 0.3s;
267
+ animation-duration: 0.3s;
268
+ -webkit-animation-timing-function: ease-in-out;
269
+ animation-timing-function: ease-in-out;
270
+ -webkit-animation-fill-mode: backwards;
271
+ animation-fill-mode: backwards;
272
+ }
273
+ .am-fade-and-slide-top.am-fade-and-slide-top-add,
274
+ .am-fade-and-slide-top.ng-hide-remove,
275
+ .am-fade-and-slide-top.ng-move {
276
+ -webkit-animation-name: fadeAndSlideFromTop;
277
+ animation-name: fadeAndSlideFromTop;
278
+ }
279
+ .am-fade-and-slide-top.am-fade-and-slide-top-remove,
280
+ .am-fade-and-slide-top.ng-hide {
281
+ -webkit-animation-name: fadeAndSlideToTop;
282
+ animation-name: fadeAndSlideToTop;
283
+ }
284
+ .am-fade-and-slide-top.ng-enter {
285
+ visibility: hidden;
286
+ -webkit-animation-name: fadeAndSlideFromTop;
287
+ animation-name: fadeAndSlideFromTop;
288
+ -webkit-animation-play-state: paused;
289
+ animation-play-state: paused;
290
+ }
291
+ .am-fade-and-slide-top.ng-enter.ng-enter-active {
292
+ visibility: visible;
293
+ -webkit-animation-play-state: running;
294
+ animation-play-state: running;
295
+ }
296
+ .am-fade-and-slide-top.ng-leave {
297
+ -webkit-animation-name: fadeAndSlideToTop;
298
+ animation-name: fadeAndSlideToTop;
299
+ -webkit-animation-play-state: paused;
300
+ animation-play-state: paused;
301
+ }
302
+ .am-fade-and-slide-top.ng-leave.ng-leave-active {
303
+ -webkit-animation-play-state: running;
304
+ animation-play-state: running;
305
+ }
306
+ .am-fade-and-slide-right {
307
+ -webkit-animation-duration: 0.3s;
308
+ animation-duration: 0.3s;
309
+ -webkit-animation-timing-function: ease-in-out;
310
+ animation-timing-function: ease-in-out;
311
+ -webkit-animation-fill-mode: backwards;
312
+ animation-fill-mode: backwards;
313
+ }
314
+ .am-fade-and-slide-right.am-fade-and-slide-right-add,
315
+ .am-fade-and-slide-right.ng-hide-remove,
316
+ .am-fade-and-slide-right.ng-move {
317
+ -webkit-animation-name: fadeAndSlideFromRight;
318
+ animation-name: fadeAndSlideFromRight;
319
+ }
320
+ .am-fade-and-slide-right.am-fade-and-slide-right-remove,
321
+ .am-fade-and-slide-right.ng-hide {
322
+ -webkit-animation-name: fadeAndSlideToRight;
323
+ animation-name: fadeAndSlideToRight;
324
+ }
325
+ .am-fade-and-slide-right.ng-enter {
326
+ visibility: hidden;
327
+ -webkit-animation-name: fadeAndSlideFromRight;
328
+ animation-name: fadeAndSlideFromRight;
329
+ -webkit-animation-play-state: paused;
330
+ animation-play-state: paused;
331
+ }
332
+ .am-fade-and-slide-right.ng-enter.ng-enter-active {
333
+ visibility: visible;
334
+ -webkit-animation-play-state: running;
335
+ animation-play-state: running;
336
+ }
337
+ .am-fade-and-slide-right.ng-leave {
338
+ -webkit-animation-name: fadeAndSlideToRight;
339
+ animation-name: fadeAndSlideToRight;
340
+ -webkit-animation-play-state: paused;
341
+ animation-play-state: paused;
342
+ }
343
+ .am-fade-and-slide-right.ng-leave.ng-leave-active {
344
+ -webkit-animation-play-state: running;
345
+ animation-play-state: running;
346
+ }
347
+ .am-fade-and-slide-bottom {
348
+ -webkit-animation-duration: 0.3s;
349
+ animation-duration: 0.3s;
350
+ -webkit-animation-timing-function: ease-in-out;
351
+ animation-timing-function: ease-in-out;
352
+ -webkit-animation-fill-mode: backwards;
353
+ animation-fill-mode: backwards;
354
+ }
355
+ .am-fade-and-slide-bottom.am-fade-and-slide-bottom-add,
356
+ .am-fade-and-slide-bottom.ng-hide-remove,
357
+ .am-fade-and-slide-bottom.ng-move {
358
+ -webkit-animation-name: fadeAndSlideFromBottom;
359
+ animation-name: fadeAndSlideFromBottom;
360
+ }
361
+ .am-fade-and-slide-bottom.am-fade-and-slide-bottom-remove,
362
+ .am-fade-and-slide-bottom.ng-hide {
363
+ -webkit-animation-name: fadeAndSlideToBottom;
364
+ animation-name: fadeAndSlideToBottom;
365
+ }
366
+ .am-fade-and-slide-bottom.ng-enter {
367
+ visibility: hidden;
368
+ -webkit-animation-name: fadeAndSlideFromBottom;
369
+ animation-name: fadeAndSlideFromBottom;
370
+ -webkit-animation-play-state: paused;
371
+ animation-play-state: paused;
372
+ }
373
+ .am-fade-and-slide-bottom.ng-enter.ng-enter-active {
374
+ visibility: visible;
375
+ -webkit-animation-play-state: running;
376
+ animation-play-state: running;
377
+ }
378
+ .am-fade-and-slide-bottom.ng-leave {
379
+ -webkit-animation-name: fadeAndSlideToBottom;
380
+ animation-name: fadeAndSlideToBottom;
381
+ -webkit-animation-play-state: paused;
382
+ animation-play-state: paused;
383
+ }
384
+ .am-fade-and-slide-bottom.ng-leave.ng-leave-active {
385
+ -webkit-animation-play-state: running;
386
+ animation-play-state: running;
387
+ }
388
+ .am-fade-and-slide-left {
389
+ -webkit-animation-duration: 0.3s;
390
+ animation-duration: 0.3s;
391
+ -webkit-animation-timing-function: ease-in-out;
392
+ animation-timing-function: ease-in-out;
393
+ -webkit-animation-fill-mode: backwards;
394
+ animation-fill-mode: backwards;
395
+ }
396
+ .am-fade-and-slide-left.am-fade-and-slide-left-add,
397
+ .am-fade-and-slide-left.ng-hide-remove,
398
+ .am-fade-and-slide-left.ng-move {
399
+ -webkit-animation-fill-mode: backwards;
400
+ animation-fill-mode: backwards;
401
+ -webkit-animation-name: fadeAndSlideFromLeft;
402
+ animation-name: fadeAndSlideFromLeft;
403
+ }
404
+ .am-fade-and-slide-left.am-fade-and-slide-left-remove,
405
+ .am-fade-and-slide-left.ng-hide {
406
+ -webkit-animation-name: fadeAndSlideToLeft;
407
+ animation-name: fadeAndSlideToLeft;
408
+ }
409
+ .am-fade-and-slide-left.ng-enter {
410
+ visibility: hidden;
411
+ -webkit-animation-name: fadeAndSlideFromLeft;
412
+ animation-name: fadeAndSlideFromLeft;
413
+ -webkit-animation-play-state: paused;
414
+ animation-play-state: paused;
415
+ }
416
+ .am-fade-and-slide-left.ng-enter.ng-enter-active {
417
+ visibility: visible;
418
+ -webkit-animation-play-state: running;
419
+ animation-play-state: running;
420
+ }
421
+ .am-fade-and-slide-left.ng-leave {
422
+ -webkit-animation-name: fadeAndSlideToLeft;
423
+ animation-name: fadeAndSlideToLeft;
424
+ -webkit-animation-play-state: paused;
425
+ animation-play-state: paused;
426
+ }
427
+ .am-fade-and-slide-left.ng-leave.ng-leave-active {
428
+ -webkit-animation-play-state: running;
429
+ animation-play-state: running;
430
+ }
431
+ @-webkit-keyframes fadeAndSlideFromTop {
432
+ from {
433
+ opacity: 0;
434
+ -webkit-transform: translateY(-20%);
435
+ transform: translateY(-20%);
436
+ }
437
+ to {
438
+ opacity: 1;
439
+ }
440
+ }
441
+ @keyframes fadeAndSlideFromTop {
442
+ from {
443
+ opacity: 0;
444
+ -webkit-transform: translateY(-20%);
445
+ transform: translateY(-20%);
446
+ }
447
+ to {
448
+ opacity: 1;
449
+ }
450
+ }
451
+ @-webkit-keyframes fadeAndSlideToTop {
452
+ from {
453
+ opacity: 1;
454
+ }
455
+ to {
456
+ opacity: 0;
457
+ -webkit-transform: translateY(-20%);
458
+ transform: translateY(-20%);
459
+ }
460
+ }
461
+ @keyframes fadeAndSlideToTop {
462
+ from {
463
+ opacity: 1;
464
+ }
465
+ to {
466
+ opacity: 0;
467
+ -webkit-transform: translateY(-20%);
468
+ transform: translateY(-20%);
469
+ }
470
+ }
471
+ @-webkit-keyframes fadeAndSlideFromRight {
472
+ from {
473
+ opacity: 0;
474
+ -webkit-transform: translateX(20%);
475
+ transform: translateX(20%);
476
+ }
477
+ to {
478
+ opacity: 1;
479
+ }
480
+ }
481
+ @keyframes fadeAndSlideFromRight {
482
+ from {
483
+ opacity: 0;
484
+ -webkit-transform: translateX(20%);
485
+ transform: translateX(20%);
486
+ }
487
+ to {
488
+ opacity: 1;
489
+ }
490
+ }
491
+ @-webkit-keyframes fadeAndSlideToRight {
492
+ from {
493
+ opacity: 1;
494
+ }
495
+ to {
496
+ opacity: 0;
497
+ -webkit-transform: translateX(20%);
498
+ transform: translateX(20%);
499
+ }
500
+ }
501
+ @keyframes fadeAndSlideToRight {
502
+ from {
503
+ opacity: 1;
504
+ }
505
+ to {
506
+ opacity: 0;
507
+ -webkit-transform: translateX(20%);
508
+ transform: translateX(20%);
509
+ }
510
+ }
511
+ @-webkit-keyframes fadeAndSlideFromBottom {
512
+ from {
513
+ opacity: 0;
514
+ -webkit-transform: translateY(20%);
515
+ transform: translateY(20%);
516
+ }
517
+ to {
518
+ opacity: 1;
519
+ }
520
+ }
521
+ @keyframes fadeAndSlideFromBottom {
522
+ from {
523
+ opacity: 0;
524
+ -webkit-transform: translateY(20%);
525
+ transform: translateY(20%);
526
+ }
527
+ to {
528
+ opacity: 1;
529
+ }
530
+ }
531
+ @-webkit-keyframes fadeAndSlideToBottom {
532
+ from {
533
+ opacity: 1;
534
+ }
535
+ to {
536
+ opacity: 0;
537
+ -webkit-transform: translateY(20%);
538
+ transform: translateY(20%);
539
+ }
540
+ }
541
+ @keyframes fadeAndSlideToBottom {
542
+ from {
543
+ opacity: 1;
544
+ }
545
+ to {
546
+ opacity: 0;
547
+ -webkit-transform: translateY(20%);
548
+ transform: translateY(20%);
549
+ }
550
+ }
551
+ @-webkit-keyframes fadeAndSlideFromLeft {
552
+ from {
553
+ opacity: 0;
554
+ -webkit-transform: translateX(-20%);
555
+ transform: translateX(-20%);
556
+ }
557
+ to {
558
+ opacity: 1;
559
+ }
560
+ }
561
+ @keyframes fadeAndSlideFromLeft {
562
+ from {
563
+ opacity: 0;
564
+ -webkit-transform: translateX(-20%);
565
+ transform: translateX(-20%);
566
+ }
567
+ to {
568
+ opacity: 1;
569
+ }
570
+ }
571
+ @-webkit-keyframes fadeAndSlideToLeft {
572
+ from {
573
+ opacity: 1;
574
+ }
575
+ to {
576
+ opacity: 0;
577
+ -webkit-transform: translateX(-20%);
578
+ transform: translateX(-20%);
579
+ }
580
+ }
581
+ @keyframes fadeAndSlideToLeft {
582
+ from {
583
+ opacity: 1;
584
+ }
585
+ to {
586
+ opacity: 0;
587
+ -webkit-transform: translateX(-20%);
588
+ transform: translateX(-20%);
589
+ }
590
+ }
591
+
592
+ .am-flip-x {
593
+ -webkit-animation-duration: 0.4s;
594
+ animation-duration: 0.4s;
595
+ -webkit-animation-timing-function: ease;
596
+ animation-timing-function: ease;
597
+ -webkit-animation-fill-mode: backwards;
598
+ animation-fill-mode: backwards;
599
+ }
600
+ .am-flip-x.am-flip-x-add,
601
+ .am-flip-x.ng-hide-remove,
602
+ .am-flip-x.ng-move {
603
+ -webkit-animation-name: flipInXBounce;
604
+ animation-name: flipInXBounce;
605
+ }
606
+ .am-flip-x.am-flip-x-remove,
607
+ .am-flip-x.ng-hide {
608
+ -webkit-animation-name: flipOutX;
609
+ animation-name: flipOutX;
610
+ }
611
+ .am-flip-x.ng-enter {
612
+ visibility: hidden;
613
+ -webkit-animation-name: flipInXBounce;
614
+ animation-name: flipInXBounce;
615
+ -webkit-animation-play-state: paused;
616
+ animation-play-state: paused;
617
+ }
618
+ .am-flip-x.ng-enter.ng-enter-active {
619
+ visibility: visible;
620
+ -webkit-animation-play-state: running;
621
+ animation-play-state: running;
622
+ }
623
+ .am-flip-x.ng-leave {
624
+ -webkit-animation-name: flipOutX;
625
+ animation-name: flipOutX;
626
+ -webkit-animation-play-state: paused;
627
+ animation-play-state: paused;
628
+ }
629
+ .am-flip-x.ng-leave.ng-leave-active {
630
+ -webkit-animation-play-state: running;
631
+ animation-play-state: running;
632
+ }
633
+ .am-flip-x-linear {
634
+ -webkit-animation-duration: 0.4s;
635
+ animation-duration: 0.4s;
636
+ -webkit-animation-timing-function: ease;
637
+ animation-timing-function: ease;
638
+ -webkit-animation-fill-mode: backwards;
639
+ animation-fill-mode: backwards;
640
+ }
641
+ .am-flip-x-linear.am-flip-x-add,
642
+ .am-flip-x-linear.ng-hide-remove,
643
+ .am-flip-x-linear.ng-move {
644
+ -webkit-animation-name: flipInX;
645
+ animation-name: flipInX;
646
+ }
647
+ .am-flip-x-linear.am-flip-x-remove,
648
+ .am-flip-x-linear.ng-hide {
649
+ -webkit-animation-name: flipOutX;
650
+ animation-name: flipOutX;
651
+ }
652
+ .am-flip-x-linear.ng-enter {
653
+ visibility: hidden;
654
+ -webkit-animation-name: flipInX;
655
+ animation-name: flipInX;
656
+ -webkit-animation-play-state: paused;
657
+ animation-play-state: paused;
658
+ }
659
+ .am-flip-x-linear.ng-enter.ng-enter-active {
660
+ visibility: visible;
661
+ -webkit-animation-play-state: running;
662
+ animation-play-state: running;
663
+ }
664
+ .am-flip-x-linear.ng-leave {
665
+ -webkit-animation-name: flipOutX;
666
+ animation-name: flipOutX;
667
+ -webkit-animation-play-state: paused;
668
+ animation-play-state: paused;
669
+ }
670
+ .am-flip-x-linear.ng-leave.ng-leave-active {
671
+ -webkit-animation-play-state: running;
672
+ animation-play-state: running;
673
+ }
674
+ @-webkit-keyframes flipInX {
675
+ from {
676
+ opacity: 0;
677
+ -webkit-transform: perspective(400px) rotateX(90deg);
678
+ transform: perspective(400px) rotateX(90deg);
679
+ }
680
+ to {
681
+ opacity: 1;
682
+ -webkit-transform: perspective(400px) rotateX(0deg);
683
+ transform: perspective(400px) rotateX(0deg);
684
+ }
685
+ }
686
+ @keyframes flipInX {
687
+ from {
688
+ opacity: 0;
689
+ -webkit-transform: perspective(400px) rotateX(90deg);
690
+ transform: perspective(400px) rotateX(90deg);
691
+ }
692
+ to {
693
+ opacity: 1;
694
+ -webkit-transform: perspective(400px) rotateX(0deg);
695
+ transform: perspective(400px) rotateX(0deg);
696
+ }
697
+ }
698
+ @-webkit-keyframes flipInXBounce {
699
+ from {
700
+ opacity: 0;
701
+ -webkit-transform: perspective(400px) rotateX(90deg);
702
+ transform: perspective(400px) rotateX(90deg);
703
+ }
704
+ 40% {
705
+ -webkit-transform: perspective(400px) rotateX(-10deg);
706
+ transform: perspective(400px) rotateX(-10deg);
707
+ }
708
+ 70% {
709
+ -webkit-transform: perspective(400px) rotateX(10deg);
710
+ transform: perspective(400px) rotateX(10deg);
711
+ }
712
+ to {
713
+ opacity: 1;
714
+ -webkit-transform: perspective(400px) rotateX(0deg);
715
+ transform: perspective(400px) rotateX(0deg);
716
+ }
717
+ }
718
+ @keyframes flipInXBounce {
719
+ from {
720
+ opacity: 0;
721
+ -webkit-transform: perspective(400px) rotateX(90deg);
722
+ transform: perspective(400px) rotateX(90deg);
723
+ }
724
+ 40% {
725
+ -webkit-transform: perspective(400px) rotateX(-10deg);
726
+ transform: perspective(400px) rotateX(-10deg);
727
+ }
728
+ 70% {
729
+ -webkit-transform: perspective(400px) rotateX(10deg);
730
+ transform: perspective(400px) rotateX(10deg);
731
+ }
732
+ to {
733
+ opacity: 1;
734
+ -webkit-transform: perspective(400px) rotateX(0deg);
735
+ transform: perspective(400px) rotateX(0deg);
736
+ }
737
+ }
738
+ @-webkit-keyframes flipOutX {
739
+ from {
740
+ opacity: 1;
741
+ -webkit-transform: perspective(400px) rotateX(0deg);
742
+ transform: perspective(400px) rotateX(0deg);
743
+ }
744
+ to {
745
+ opacity: 0;
746
+ -webkit-transform: perspective(400px) rotateX(90deg);
747
+ transform: perspective(400px) rotateX(90deg);
748
+ }
749
+ }
750
+ @keyframes flipOutX {
751
+ from {
752
+ opacity: 1;
753
+ -webkit-transform: perspective(400px) rotateX(0deg);
754
+ transform: perspective(400px) rotateX(0deg);
755
+ }
756
+ to {
757
+ opacity: 0;
758
+ -webkit-transform: perspective(400px) rotateX(90deg);
759
+ transform: perspective(400px) rotateX(90deg);
760
+ }
761
+ }
762
+
763
+ .am-slide-top {
764
+ -webkit-animation-duration: 0.3s;
765
+ animation-duration: 0.3s;
766
+ -webkit-animation-timing-function: ease-in-out;
767
+ animation-timing-function: ease-in-out;
768
+ -webkit-animation-fill-mode: backwards;
769
+ animation-fill-mode: backwards;
770
+ }
771
+ .am-slide-top.am-slide-top-add,
772
+ .am-slide-top.ng-hide-remove,
773
+ .am-slide-top.ng-move {
774
+ -webkit-animation-name: slideFromTop;
775
+ animation-name: slideFromTop;
776
+ }
777
+ .am-slide-top.am-slide-top-remove,
778
+ .am-slide-top.ng-hide {
779
+ -webkit-animation-name: slideToTop;
780
+ animation-name: slideToTop;
781
+ }
782
+ .am-slide-top.ng-enter {
783
+ visibility: hidden;
784
+ -webkit-animation-name: slideFromTop;
785
+ animation-name: slideFromTop;
786
+ -webkit-animation-play-state: paused;
787
+ animation-play-state: paused;
788
+ }
789
+ .am-slide-top.ng-enter.ng-enter-active {
790
+ visibility: visible;
791
+ -webkit-animation-play-state: running;
792
+ animation-play-state: running;
793
+ }
794
+ .am-slide-top.ng-leave {
795
+ -webkit-animation-name: slideToTop;
796
+ animation-name: slideToTop;
797
+ -webkit-animation-play-state: paused;
798
+ animation-play-state: paused;
799
+ }
800
+ .am-slide-top.ng-leave.ng-leave-active {
801
+ -webkit-animation-play-state: running;
802
+ animation-play-state: running;
803
+ }
804
+ .am-slide-right {
805
+ -webkit-animation-duration: 0.3s;
806
+ animation-duration: 0.3s;
807
+ -webkit-animation-timing-function: ease-in-out;
808
+ animation-timing-function: ease-in-out;
809
+ -webkit-animation-fill-mode: backwards;
810
+ animation-fill-mode: backwards;
811
+ }
812
+ .am-slide-right.am-slide-right-add,
813
+ .am-slide-right.ng-hide-remove,
814
+ .am-slide-right.ng-move {
815
+ -webkit-animation-name: slideFromRight;
816
+ animation-name: slideFromRight;
817
+ }
818
+ .am-slide-right.am-slide-right-remove,
819
+ .am-slide-right.ng-hide {
820
+ -webkit-animation-name: slideToRight;
821
+ animation-name: slideToRight;
822
+ }
823
+ .am-slide-right.ng-enter {
824
+ visibility: hidden;
825
+ -webkit-animation-name: slideFromRight;
826
+ animation-name: slideFromRight;
827
+ -webkit-animation-play-state: paused;
828
+ animation-play-state: paused;
829
+ }
830
+ .am-slide-right.ng-enter.ng-enter-active {
831
+ visibility: visible;
832
+ -webkit-animation-play-state: running;
833
+ animation-play-state: running;
834
+ }
835
+ .am-slide-right.ng-leave {
836
+ -webkit-animation-name: slideToRight;
837
+ animation-name: slideToRight;
838
+ -webkit-animation-play-state: paused;
839
+ animation-play-state: paused;
840
+ }
841
+ .am-slide-right.ng-leave.ng-leave-active {
842
+ -webkit-animation-play-state: running;
843
+ animation-play-state: running;
844
+ }
845
+ .am-slide-bottom {
846
+ -webkit-animation-duration: 0.3s;
847
+ animation-duration: 0.3s;
848
+ -webkit-animation-timing-function: ease-in-out;
849
+ animation-timing-function: ease-in-out;
850
+ -webkit-animation-fill-mode: backwards;
851
+ animation-fill-mode: backwards;
852
+ }
853
+ .am-slide-bottom.am-slide-bottom-add,
854
+ .am-slide-bottom.ng-hide-remove,
855
+ .am-slide-bottom.ng-move {
856
+ -webkit-animation-name: slideFromBottom;
857
+ animation-name: slideFromBottom;
858
+ }
859
+ .am-slide-bottom.am-slide-bottom-remove,
860
+ .am-slide-bottom.ng-hide {
861
+ -webkit-animation-name: slideToBottom;
862
+ animation-name: slideToBottom;
863
+ }
864
+ .am-slide-bottom.ng-enter {
865
+ visibility: hidden;
866
+ -webkit-animation-name: slideFromBottom;
867
+ animation-name: slideFromBottom;
868
+ -webkit-animation-play-state: paused;
869
+ animation-play-state: paused;
870
+ }
871
+ .am-slide-bottom.ng-enter.ng-enter-active {
872
+ visibility: visible;
873
+ -webkit-animation-play-state: running;
874
+ animation-play-state: running;
875
+ }
876
+ .am-slide-bottom.ng-leave {
877
+ -webkit-animation-name: slideToBottom;
878
+ animation-name: slideToBottom;
879
+ -webkit-animation-play-state: paused;
880
+ animation-play-state: paused;
881
+ }
882
+ .am-slide-bottom.ng-leave.ng-leave-active {
883
+ -webkit-animation-play-state: running;
884
+ animation-play-state: running;
885
+ }
886
+ .am-slide-left {
887
+ -webkit-animation-duration: 0.3s;
888
+ animation-duration: 0.3s;
889
+ -webkit-animation-timing-function: ease-in-out;
890
+ animation-timing-function: ease-in-out;
891
+ -webkit-animation-fill-mode: backwards;
892
+ animation-fill-mode: backwards;
893
+ }
894
+ .am-slide-left.am-slide-left-add,
895
+ .am-slide-left.ng-hide-remove,
896
+ .am-slide-left.ng-move {
897
+ -webkit-animation-name: slideFromLeft;
898
+ animation-name: slideFromLeft;
899
+ }
900
+ .am-slide-left.am-slide-left-remove,
901
+ .am-slide-left.ng-hide {
902
+ -webkit-animation-name: slideToLeft;
903
+ animation-name: slideToLeft;
904
+ }
905
+ .am-slide-left.ng-enter {
906
+ visibility: hidden;
907
+ -webkit-animation-name: slideFromLeft;
908
+ animation-name: slideFromLeft;
909
+ -webkit-animation-play-state: paused;
910
+ animation-play-state: paused;
911
+ }
912
+ .am-slide-left.ng-enter.ng-enter-active {
913
+ visibility: visible;
914
+ -webkit-animation-play-state: running;
915
+ animation-play-state: running;
916
+ }
917
+ .am-slide-left.ng-leave {
918
+ -webkit-animation-name: slideToLeft;
919
+ animation-name: slideToLeft;
920
+ -webkit-animation-play-state: paused;
921
+ animation-play-state: paused;
922
+ }
923
+ .am-slide-left.ng-leave.ng-leave-active {
924
+ -webkit-animation-play-state: running;
925
+ animation-play-state: running;
926
+ }
927
+ @-webkit-keyframes slideFromTop {
928
+ from {
929
+ -webkit-transform: translateY(-100%);
930
+ transform: translateY(-100%);
931
+ }
932
+ }
933
+ @keyframes slideFromTop {
934
+ from {
935
+ -webkit-transform: translateY(-100%);
936
+ transform: translateY(-100%);
937
+ }
938
+ }
939
+ @-webkit-keyframes slideToTop {
940
+ to {
941
+ -webkit-transform: translateY(-100%);
942
+ transform: translateY(-100%);
943
+ }
944
+ }
945
+ @keyframes slideToTop {
946
+ to {
947
+ -webkit-transform: translateY(-100%);
948
+ transform: translateY(-100%);
949
+ }
950
+ }
951
+ @-webkit-keyframes slideFromRight {
952
+ from {
953
+ -webkit-transform: translateX(100%);
954
+ transform: translateX(100%);
955
+ }
956
+ }
957
+ @keyframes slideFromRight {
958
+ from {
959
+ -webkit-transform: translateX(100%);
960
+ transform: translateX(100%);
961
+ }
962
+ }
963
+ @-webkit-keyframes slideToRight {
964
+ to {
965
+ -webkit-transform: translateX(100%);
966
+ transform: translateX(100%);
967
+ }
968
+ }
969
+ @keyframes slideToRight {
970
+ to {
971
+ -webkit-transform: translateX(100%);
972
+ transform: translateX(100%);
973
+ }
974
+ }
975
+ @-webkit-keyframes slideFromBottom {
976
+ from {
977
+ -webkit-transform: translateY(100%);
978
+ transform: translateY(100%);
979
+ }
980
+ }
981
+ @keyframes slideFromBottom {
982
+ from {
983
+ -webkit-transform: translateY(100%);
984
+ transform: translateY(100%);
985
+ }
986
+ }
987
+ @-webkit-keyframes slideToBottom {
988
+ to {
989
+ -webkit-transform: translateY(100%);
990
+ transform: translateY(100%);
991
+ }
992
+ }
993
+ @keyframes slideToBottom {
994
+ to {
995
+ -webkit-transform: translateY(100%);
996
+ transform: translateY(100%);
997
+ }
998
+ }
999
+ @-webkit-keyframes slideFromLeft {
1000
+ from {
1001
+ -webkit-transform: translateX(-100%);
1002
+ transform: translateX(-100%);
1003
+ }
1004
+ }
1005
+ @keyframes slideFromLeft {
1006
+ from {
1007
+ -webkit-transform: translateX(-100%);
1008
+ transform: translateX(-100%);
1009
+ }
1010
+ }
1011
+ @-webkit-keyframes slideToLeft {
1012
+ to {
1013
+ -webkit-transform: translateX(-100%);
1014
+ transform: translateX(-100%);
1015
+ }
1016
+ }
1017
+ @keyframes slideToLeft {
1018
+ to {
1019
+ -webkit-transform: translateX(-100%);
1020
+ transform: translateX(-100%);
1021
+ }
1022
+ }