ember-source 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/build-metadata.json +4 -4
- package/dist/ember-template-compiler.js +6 -41
- package/dist/ember-template-compiler.map +1 -1
- package/dist/ember-testing.js +1 -2
- package/dist/ember-testing.map +1 -1
- package/dist/ember.debug.js +91 -43
- package/dist/ember.debug.map +1 -1
- package/dist/ember.min.js +145 -129
- package/dist/ember.min.map +1 -1
- package/dist/ember.prod.js +104 -51
- package/dist/ember.prod.map +1 -1
- package/docs/data.json +2 -2
- package/package.json +3 -3
package/dist/ember.min.js
CHANGED
|
@@ -2221,7 +2221,7 @@ t.didUpdateLayout(n,r)
|
|
|
2221
2221
|
e.env.didUpdate(n,t)}
|
|
2222
2222
|
return n}(a)
|
|
2223
2223
|
function q(e,t){console.info("Use `context`, and `get(<path>)` to debug this template.")
|
|
2224
|
-
t("this")}var
|
|
2224
|
+
t("this")}var G=q,W=function(){function e(e,t,r){var i,o,s,a
|
|
2225
2225
|
this.scope=e
|
|
2226
2226
|
this.locals=(0,n.dict)()
|
|
2227
2227
|
for(i=0;i<r.length;i++){s=t[(o=r[i])-1]
|
|
@@ -2233,8 +2233,8 @@ else if(0===o.indexOf("@")&&a[o])u=a[o]
|
|
|
2233
2233
|
else{u=this.scope.getSelf()
|
|
2234
2234
|
s=r}return s.reduce(function(e,t){return e.get(t)},u)}
|
|
2235
2235
|
return e}()
|
|
2236
|
-
s.add(97,function(e,t){var n=t.op1,r=t.op2,i=e.constants.getStringArray(n),o=e.constants.getArray(r),s=new
|
|
2237
|
-
|
|
2236
|
+
s.add(97,function(e,t){var n=t.op1,r=t.op2,i=e.constants.getStringArray(n),o=e.constants.getArray(r),s=new W(e.scope(),i,o)
|
|
2237
|
+
G(e.getSelf().value(),function(e){return s.get(e).value()})})
|
|
2238
2238
|
s.add(95,function(e,t){var n,r,i,o,s,a,u,l,c,p,h,f,d,m=t.op1,g=t.op2,y=t.op3,v=e.constants,b=e.constants.resolver,_=e.stack.pop().value(),E=v.getSerializable(m),w=v.getStringArray(g),R=v.getArray(y),C=b.lookupPartial(_,E),O=b.resolve(C).getPartial(),T=O.symbolTable,A=O.handle
|
|
2239
2239
|
n=T.symbols
|
|
2240
2240
|
r=e.scope()
|
|
@@ -2538,7 +2538,7 @@ e.prototype.expectConstructing=function(){return this.constructing}
|
|
|
2538
2538
|
e.prototype.block=function(){return this.blockStack.current}
|
|
2539
2539
|
e.prototype.popElement=function(){this.cursorStack.pop()
|
|
2540
2540
|
this.cursorStack.current}
|
|
2541
|
-
e.prototype.pushSimpleBlock=function(){return this.pushBlockTracker(new
|
|
2541
|
+
e.prototype.pushSimpleBlock=function(){return this.pushBlockTracker(new Ge(this.element))}
|
|
2542
2542
|
e.prototype.pushUpdatableBlock=function(){return this.pushBlockTracker(new Ye(this.element))}
|
|
2543
2543
|
e.prototype.pushBlockList=function(e){return this.pushBlockTracker(new Qe(this.element,e))}
|
|
2544
2544
|
e.prototype.pushBlockTracker=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.blockStack.current
|
|
@@ -2567,7 +2567,7 @@ this.popElement()}
|
|
|
2567
2567
|
e.prototype.pushRemoteElement=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null
|
|
2568
2568
|
this.__pushRemoteElement(e,t,n)}
|
|
2569
2569
|
e.prototype.__pushRemoteElement=function(e,t,n){this.pushElement(e,n)
|
|
2570
|
-
var r=new
|
|
2570
|
+
var r=new We(e)
|
|
2571
2571
|
this.pushBlockTracker(r,!0)}
|
|
2572
2572
|
e.prototype.popRemoteElement=function(){this.popBlock()
|
|
2573
2573
|
this.popElement()}
|
|
@@ -2612,7 +2612,7 @@ e.prototype.setStaticAttribute=function(e,t,n){this.__setAttribute(e,t,n)}
|
|
|
2612
2612
|
e.prototype.setDynamicAttribute=function(e,t,n,r){var i=this.constructing,o=this.env.attributeFor(i,e,n,r)
|
|
2613
2613
|
o.set(this,t,this.env)
|
|
2614
2614
|
return o};(0,t.createClass)(e,[{key:"element",get:function(){return this.cursorStack.current.element}},{key:"nextSibling",get:function(){return this.cursorStack.current.nextSibling}}])
|
|
2615
|
-
return e}(),
|
|
2615
|
+
return e}(),Ge=function(){function e(e){this.parent=e
|
|
2616
2616
|
this.first=null
|
|
2617
2617
|
this.last=null
|
|
2618
2618
|
this.destroyables=null
|
|
@@ -2631,10 +2631,10 @@ this.last=e}}
|
|
|
2631
2631
|
e.prototype.newDestroyable=function(e){this.destroyables=this.destroyables||[]
|
|
2632
2632
|
this.destroyables.push(e)}
|
|
2633
2633
|
e.prototype.finalize=function(e){null===this.first&&e.appendComment("")}
|
|
2634
|
-
return e}(),
|
|
2634
|
+
return e}(),We=function(e){(0,t.inherits)(n,e)
|
|
2635
2635
|
function n(){return(0,t.possibleConstructorReturn)(this,e.apply(this,arguments))}n.prototype.destroy=function(){e.prototype.destroy.call(this)
|
|
2636
2636
|
ee(this)}
|
|
2637
|
-
return n}(
|
|
2637
|
+
return n}(Ge),Ye=function(e){(0,t.inherits)(n,e)
|
|
2638
2638
|
function n(){return(0,t.possibleConstructorReturn)(this,e.apply(this,arguments))}n.prototype.reset=function(e){var t,n=this.destroyables
|
|
2639
2639
|
if(n&&n.length)for(t=0;t<n.length;t++)e.didDestroy(n[t])
|
|
2640
2640
|
var r=ee(this)
|
|
@@ -2643,7 +2643,7 @@ this.last=null
|
|
|
2643
2643
|
this.destroyables=null
|
|
2644
2644
|
this.nesting=0
|
|
2645
2645
|
return r}
|
|
2646
|
-
return n}(
|
|
2646
|
+
return n}(Ge),Qe=function(){function e(e,t){this.parent=e
|
|
2647
2647
|
this.boundList=t
|
|
2648
2648
|
this.parent=e
|
|
2649
2649
|
this.boundList=t}e.prototype.destroy=function(){this.boundList.forEachNode(function(e){return e.destroy()})}
|
|
@@ -3180,7 +3180,7 @@ if(s.parentNode===e){r=(n=this.currentCursor).candidate
|
|
|
3180
3180
|
this.pushElement(e,o)
|
|
3181
3181
|
n.candidate=r
|
|
3182
3182
|
this.candidate=this.remove(s)
|
|
3183
|
-
i=new
|
|
3183
|
+
i=new We(e)
|
|
3184
3184
|
this.pushBlockTracker(i,!0)}}
|
|
3185
3185
|
r.prototype.didAppendBounds=function(t){var n
|
|
3186
3186
|
e.prototype.didAppendBounds.call(this,t)
|
|
@@ -3195,8 +3195,8 @@ e.NULL_REFERENCE=h
|
|
|
3195
3195
|
e.UNDEFINED_REFERENCE=p
|
|
3196
3196
|
e.PrimitiveReference=u
|
|
3197
3197
|
e.ConditionalReference=m
|
|
3198
|
-
e.setDebuggerCallback=function(e){
|
|
3199
|
-
e.resetDebuggerCallback=function(){
|
|
3198
|
+
e.setDebuggerCallback=function(e){G=e}
|
|
3199
|
+
e.resetDebuggerCallback=function(){G=q}
|
|
3200
3200
|
e.getDynamicVar=function(e,t){var n=e.dynamicScope(),r=t.positional.at(0)
|
|
3201
3201
|
return new vt(n,r)}
|
|
3202
3202
|
e.LowLevelVM=gt
|
|
@@ -3368,13 +3368,16 @@ a=function(){t=++t%2
|
|
|
3368
3368
|
o.data=""+t
|
|
3369
3369
|
return t}}else if("function"==typeof Promise){s=Promise.resolve()
|
|
3370
3370
|
a=function(){return s.then(e)}}else a=function(){return n(e,0)}
|
|
3371
|
-
return{setTimeout:function(e,t){return
|
|
3372
|
-
function
|
|
3373
|
-
return"number"===t&&e==e||"string"===t&&o.test(e)}function
|
|
3371
|
+
return{setTimeout:function(e,t){return setTimeout(e,t)},clearTimeout:function(e){return clearTimeout(e)},now:function(){return Date.now()},next:a,clearNext:r}}var o=/\d+/,s=6
|
|
3372
|
+
function a(e){var t=typeof e
|
|
3373
|
+
return"number"===t&&e==e||"string"===t&&o.test(e)}function u(e){return e.onError||e.onErrorTarget&&e.onErrorTarget[e.onErrorMethod]}function l(e,t,n){var r,i,o=-1
|
|
3374
3374
|
for(r=0,i=n.length;r<i;r+=4)if(n[r]===e&&n[r+1]===t){o=r
|
|
3375
|
-
break}return o}function
|
|
3375
|
+
break}return o}function c(e,t,n){var r,i,o=-1
|
|
3376
3376
|
for(r=2,i=n.length;r<i;r+=6)if(n[r]===e&&n[r+1]===t){o=r-2
|
|
3377
|
-
break}return o}
|
|
3377
|
+
break}return o}function p(e,t){var n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=[]
|
|
3378
|
+
for(n=0;n<e.length;n+=t){r=e[n+3+o]
|
|
3379
|
+
i={target:e[n+0+o],method:e[n+1+o],args:e[n+2+o],stack:void 0!==r&&"stack"in r?r.stack:""}
|
|
3380
|
+
s.push(i)}return s}var h=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
|
|
3378
3381
|
this._queueBeingFlushed=[]
|
|
3379
3382
|
this.targetQueues=new Map
|
|
3380
3383
|
this.index=0
|
|
@@ -3387,10 +3390,10 @@ e.prototype.flush=function(e){var t,n,r=this.options,i=r.before,o=r.after,s=void
|
|
|
3387
3390
|
this.targetQueues.clear()
|
|
3388
3391
|
if(0===this._queueBeingFlushed.length){this._queueBeingFlushed=this._queue
|
|
3389
3392
|
this._queue=[]}void 0!==i&&i()
|
|
3390
|
-
var
|
|
3391
|
-
if(l.length>0){
|
|
3393
|
+
var a=void 0,l=this._queueBeingFlushed
|
|
3394
|
+
if(l.length>0){a=(t=u(this.globalOptions))?this.invokeWithOnError:this.invoke
|
|
3392
3395
|
for(n=this.index;n<l.length;n+=4){this.index+=4
|
|
3393
|
-
null!==(s=l[n+1])&&
|
|
3396
|
+
null!==(s=l[n+1])&&a(l[n],s,l[n+2],t,l[n+3])
|
|
3394
3397
|
if(this.index!==this._queueBeingFlushed.length&&this.globalOptions.mustYield&&this.globalOptions.mustYield())return 1}}void 0!==o&&o()
|
|
3395
3398
|
this._queueBeingFlushed.length=0
|
|
3396
3399
|
this.index=0
|
|
@@ -3398,9 +3401,9 @@ this.index=0
|
|
|
3398
3401
|
e.prototype.hasWork=function(){return this._queueBeingFlushed.length>0||this._queue.length>0}
|
|
3399
3402
|
e.prototype.cancel=function(e){var t=e.target,n=e.method,r=this._queue,i=this.targetQueues.get(t)
|
|
3400
3403
|
void 0!==i&&i.delete(n)
|
|
3401
|
-
var o=
|
|
3404
|
+
var o=l(t,n,r)
|
|
3402
3405
|
if(o>-1){r.splice(o,4)
|
|
3403
|
-
return!0}if((o=
|
|
3406
|
+
return!0}if((o=l(t,n,r=this._queueBeingFlushed))>-1){r[o+1]=null
|
|
3404
3407
|
return!0}return!1}
|
|
3405
3408
|
e.prototype.push=function(e,t,n,r){this._queue.push(e,t,n,r)
|
|
3406
3409
|
return{queue:this,target:e,method:t}}
|
|
@@ -3410,13 +3413,14 @@ this.targetQueues.set(e,s)}var a=s.get(t)
|
|
|
3410
3413
|
if(void 0===a){i=this._queue.push(e,t,n,r)-4
|
|
3411
3414
|
s.set(t,i)}else{(o=this._queue)[a+2]=n
|
|
3412
3415
|
o[a+3]=r}return{queue:this,target:e,method:t}}
|
|
3416
|
+
e.prototype._getDebugInfo=function(e){if(e)return p(this._queue,4)}
|
|
3413
3417
|
e.prototype.invoke=function(e,t,n){void 0===n?t.call(e):t.apply(e,n)}
|
|
3414
3418
|
e.prototype.invokeWithOnError=function(e,t,n,r,i){try{void 0===n?t.call(e):t.apply(e,n)}catch(e){r(e,i)}}
|
|
3415
|
-
return e}(),
|
|
3419
|
+
return e}(),f=function(){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1]
|
|
3416
3420
|
this.queues={}
|
|
3417
3421
|
this.queueNameIndex=0
|
|
3418
3422
|
this.queueNames=e
|
|
3419
|
-
e.reduce(function(e,n){e[n]=new
|
|
3423
|
+
e.reduce(function(e,n){e[n]=new h(n,t[n],t)
|
|
3420
3424
|
return e},this.queues)}e.prototype.schedule=function(e,t,n,r,i,o){var s=this.queues[e]
|
|
3421
3425
|
if(void 0===s)throw new Error("You attempted to schedule an action in a queue ("+e+") that doesn't exist")
|
|
3422
3426
|
if(void 0===n||null===n)throw new Error("You attempted to schedule an action in a queue ("+e+") for a method that doesn't exist")
|
|
@@ -3425,10 +3429,20 @@ return i?s.pushUnique(t,n,r,o):s.push(t,n,r,o)}
|
|
|
3425
3429
|
e.prototype.flush=function(){for(var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=void 0,n=void 0,r=this.queueNames.length;this.queueNameIndex<r;){n=this.queueNames[this.queueNameIndex]
|
|
3426
3430
|
if(!1===(t=this.queues[n]).hasWork()){this.queueNameIndex++
|
|
3427
3431
|
if(e&&this.queueNameIndex<r)return 1}else if(1===t.flush(!1))return 1}}
|
|
3432
|
+
e.prototype._getDebugInfo=function(e){var t,n,r,i,o
|
|
3433
|
+
if(e){t={}
|
|
3434
|
+
n=void 0
|
|
3435
|
+
r=void 0
|
|
3436
|
+
i=this.queueNames.length
|
|
3437
|
+
o=0
|
|
3438
|
+
for(;o<i;){r=this.queueNames[o]
|
|
3439
|
+
n=this.queues[r]
|
|
3440
|
+
t[r]=n._getDebugInfo(e)
|
|
3441
|
+
o++}return t}}
|
|
3428
3442
|
return e}()
|
|
3429
|
-
function
|
|
3430
|
-
n=t.next()}}var
|
|
3431
|
-
function
|
|
3443
|
+
function d(e){for(var t=e(),n=t.next();!1===n.done;){n.value()
|
|
3444
|
+
n=t.next()}}var m=function(){},g=Object.freeze([])
|
|
3445
|
+
function y(){var e,t,n,r,i,o,s=arguments.length,a=void 0,u=void 0,l=void 0
|
|
3432
3446
|
if(0===s);else if(1===s){l=null
|
|
3433
3447
|
u=arguments[0]}else{e=2
|
|
3434
3448
|
t=arguments[0]
|
|
@@ -3438,14 +3452,14 @@ else if("function"==typeof t){e=1
|
|
|
3438
3452
|
l=null
|
|
3439
3453
|
u=t}if(s>e){i=s-e
|
|
3440
3454
|
a=new Array(i)
|
|
3441
|
-
for(o=0;o<i;o++)a[o]=arguments[o+e]}}return[l,u,a]}function
|
|
3455
|
+
for(o=0;o<i;o++)a[o]=arguments[o+e]}}return[l,u,a]}function v(){var e,t=void 0,n=void 0,r=void 0,i=void 0,o=void 0
|
|
3442
3456
|
if(2===arguments.length){n=arguments[0]
|
|
3443
3457
|
o=arguments[1]
|
|
3444
|
-
t=null}else{t=(e=
|
|
3458
|
+
t=null}else{t=(e=y.apply(void 0,arguments))[0]
|
|
3445
3459
|
n=e[1]
|
|
3446
3460
|
if(void 0===(i=e[2]))o=0
|
|
3447
|
-
else if(!
|
|
3448
|
-
o=i.pop()}}return[t,n,i,o=parseInt(o,10),r]}var
|
|
3461
|
+
else if(!a(o=i.pop())){r=!0===o
|
|
3462
|
+
o=i.pop()}}return[t,n,i,o=parseInt(o,10),r]}var b=0,_=0,E=0,w=0,R=0,C=0,O=0,T=0,A=0,S=0,k=0,P=0,N=0,x=0,M=0,I=0,L=0,D=0,j=0,B=0,F=0,U=function(){function e(e,t){var n=this
|
|
3449
3463
|
this.DEBUG=!1
|
|
3450
3464
|
this.currentInstance=null
|
|
3451
3465
|
this.instanceStack=[]
|
|
@@ -3456,23 +3470,23 @@ this._autorun=null
|
|
|
3456
3470
|
this.queueNames=e
|
|
3457
3471
|
this.options=t||{}
|
|
3458
3472
|
"string"==typeof this.options.defaultQueue?this._defaultQueue=this.options.defaultQueue:this._defaultQueue=this.queueNames[0]
|
|
3459
|
-
this._onBegin=this.options.onBegin||
|
|
3460
|
-
this._onEnd=this.options.onEnd||
|
|
3473
|
+
this._onBegin=this.options.onBegin||m
|
|
3474
|
+
this._onEnd=this.options.onEnd||m
|
|
3461
3475
|
this._boundRunExpiredTimers=this._runExpiredTimers.bind(this)
|
|
3462
|
-
this._boundAutorunEnd=function(){
|
|
3476
|
+
this._boundAutorunEnd=function(){j++
|
|
3463
3477
|
if(null!==n._autorun){n._autorun=null
|
|
3464
3478
|
n._end(!0)}}
|
|
3465
3479
|
var r=this.options._buildPlatform||i
|
|
3466
|
-
this._platform=r(this._boundAutorunEnd)}e.prototype.begin=function(){
|
|
3480
|
+
this._platform=r(this._boundAutorunEnd)}e.prototype.begin=function(){_++
|
|
3467
3481
|
var e=this.options,t=this.currentInstance,n=void 0
|
|
3468
3482
|
if(null!==this._autorun){n=t
|
|
3469
|
-
this._cancelAutorun()}else{if(null!==t){
|
|
3470
|
-
this.instanceStack.push(t)}
|
|
3471
|
-
n=this.currentInstance=new
|
|
3472
|
-
|
|
3483
|
+
this._cancelAutorun()}else{if(null!==t){F++
|
|
3484
|
+
this.instanceStack.push(t)}B++
|
|
3485
|
+
n=this.currentInstance=new f(this.queueNames,e)
|
|
3486
|
+
w++
|
|
3473
3487
|
this._trigger("begin",n,t)}this._onBegin(n,t)
|
|
3474
3488
|
return n}
|
|
3475
|
-
e.prototype.end=function(){
|
|
3489
|
+
e.prototype.end=function(){E++
|
|
3476
3490
|
this._end(!1)}
|
|
3477
3491
|
e.prototype.on=function(e,t){if("function"!=typeof t)throw new TypeError("Callback must be a function")
|
|
3478
3492
|
var n=this._eventCallbacks[e]
|
|
@@ -3484,63 +3498,65 @@ var i=!1
|
|
|
3484
3498
|
if(t)for(n=0;n<r.length;n++)if(r[n]===t){i=!0
|
|
3485
3499
|
r.splice(n,1)
|
|
3486
3500
|
n--}if(!i)throw new TypeError("Cannot off() callback that does not exist")}
|
|
3487
|
-
e.prototype.run=function(){
|
|
3488
|
-
var e=
|
|
3501
|
+
e.prototype.run=function(){R++
|
|
3502
|
+
var e=y.apply(void 0,arguments),t=e[0],n=e[1],r=e[2]
|
|
3489
3503
|
return this._run(t,n,r)}
|
|
3490
|
-
e.prototype.join=function(){
|
|
3491
|
-
var e=
|
|
3504
|
+
e.prototype.join=function(){C++
|
|
3505
|
+
var e=y.apply(void 0,arguments),t=e[0],n=e[1],r=e[2]
|
|
3492
3506
|
return this._join(t,n,r)}
|
|
3493
3507
|
e.prototype.defer=function(e,t,n){var r,i,o
|
|
3494
|
-
|
|
3508
|
+
O++
|
|
3495
3509
|
for(r=arguments.length,i=Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o]
|
|
3496
3510
|
return this.schedule.apply(this,[e,t,n].concat(i))}
|
|
3497
|
-
e.prototype.schedule=function(e){
|
|
3511
|
+
e.prototype.schedule=function(e){T++
|
|
3498
3512
|
for(t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r]
|
|
3499
|
-
var t,n,r,i=
|
|
3513
|
+
var t,n,r,i=y.apply(void 0,n),o=i[0],s=i[1],a=i[2],u=this.DEBUG?new Error:void 0
|
|
3500
3514
|
return this._ensureInstance().schedule(e,o,s,a,!1,u)}
|
|
3501
|
-
e.prototype.scheduleIterable=function(e,t){
|
|
3515
|
+
e.prototype.scheduleIterable=function(e,t){A++
|
|
3502
3516
|
var n=this.DEBUG?new Error:void 0
|
|
3503
|
-
return this._ensureInstance().schedule(e,null,
|
|
3517
|
+
return this._ensureInstance().schedule(e,null,d,[t],!1,n)}
|
|
3504
3518
|
e.prototype.deferOnce=function(e,t,n){var r,i,o
|
|
3505
|
-
|
|
3519
|
+
S++
|
|
3506
3520
|
for(r=arguments.length,i=Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o]
|
|
3507
3521
|
return this.scheduleOnce.apply(this,[e,t,n].concat(i))}
|
|
3508
|
-
e.prototype.scheduleOnce=function(e){
|
|
3522
|
+
e.prototype.scheduleOnce=function(e){k++
|
|
3509
3523
|
for(t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r]
|
|
3510
|
-
var t,n,r,i=
|
|
3524
|
+
var t,n,r,i=y.apply(void 0,n),o=i[0],s=i[1],a=i[2],u=this.DEBUG?new Error:void 0
|
|
3511
3525
|
return this._ensureInstance().schedule(e,o,s,a,!0,u)}
|
|
3512
|
-
e.prototype.setTimeout=function(){
|
|
3526
|
+
e.prototype.setTimeout=function(){P++
|
|
3513
3527
|
return this.later.apply(this,arguments)}
|
|
3514
|
-
e.prototype.later=function(){
|
|
3515
|
-
var e=function(){var e=
|
|
3516
|
-
o>0&&
|
|
3528
|
+
e.prototype.later=function(){N++
|
|
3529
|
+
var e=function(){var e=y.apply(void 0,arguments),t=e[0],n=e[1],r=e[2],i=0,o=void 0!==r?r.length:0
|
|
3530
|
+
o>0&&a(r[o-1])&&(i=parseInt(r.pop(),10))
|
|
3517
3531
|
return[t,n,r,i]}.apply(void 0,arguments),t=e[0],n=e[1],r=e[2],i=e[3]
|
|
3518
3532
|
return this._later(t,n,r,i)}
|
|
3519
|
-
e.prototype.throttle=function(){
|
|
3520
|
-
var e,t=
|
|
3521
|
-
if(-1===u){
|
|
3522
|
-
a&&this._join(n,r,i)}else{
|
|
3533
|
+
e.prototype.throttle=function(){x++
|
|
3534
|
+
var e,t=v.apply(void 0,arguments),n=t[0],r=t[1],i=t[2],o=t[3],s=t[4],a=void 0===s||s,u=c(n,r,this._timers),l=void 0
|
|
3535
|
+
if(-1===u){l=this._later(n,r,a?g:i,o)
|
|
3536
|
+
a&&this._join(n,r,i)}else{l=this._timers[u+1]
|
|
3523
3537
|
e=u+4
|
|
3524
|
-
this._timers[e]!==
|
|
3525
|
-
e.prototype.debounce=function(){
|
|
3526
|
-
var e,t,n=
|
|
3527
|
-
if(-1===
|
|
3528
|
-
u&&this._join(r,i,o)}else{e=this._platform.now()+s||this._timers[
|
|
3529
|
-
this._timers[
|
|
3530
|
-
t=
|
|
3531
|
-
this._timers[t]!==
|
|
3532
|
-
p=this._timers[
|
|
3533
|
-
0===
|
|
3534
|
-
e.prototype.cancelTimers=function(){
|
|
3538
|
+
this._timers[e]!==g&&(this._timers[e]=i)}return l}
|
|
3539
|
+
e.prototype.debounce=function(){M++
|
|
3540
|
+
var e,t,n=v.apply(void 0,arguments),r=n[0],i=n[1],o=n[2],s=n[3],a=n[4],u=void 0!==a&&a,l=c(r,i,this._timers),p=void 0
|
|
3541
|
+
if(-1===l){p=this._later(r,i,u?g:o,s)
|
|
3542
|
+
u&&this._join(r,i,o)}else{e=this._platform.now()+s||this._timers[l]
|
|
3543
|
+
this._timers[l]=e
|
|
3544
|
+
t=l+4
|
|
3545
|
+
this._timers[t]!==g&&(this._timers[t]=o)
|
|
3546
|
+
p=this._timers[l+1]
|
|
3547
|
+
0===l&&this._reinstallTimerTimeout()}return p}
|
|
3548
|
+
e.prototype.cancelTimers=function(){I++
|
|
3535
3549
|
this._clearTimerTimeout()
|
|
3536
3550
|
this._timers=[]
|
|
3537
3551
|
this._cancelAutorun()}
|
|
3538
3552
|
e.prototype.hasTimers=function(){return this._timers.length>0||null!==this._autorun}
|
|
3539
|
-
e.prototype.cancel=function(e){
|
|
3553
|
+
e.prototype.cancel=function(e){L++
|
|
3540
3554
|
if(null===e||void 0===e)return!1
|
|
3541
3555
|
var t=typeof e
|
|
3542
3556
|
return"number"===t?this._cancelLaterTimer(e):!("object"!==t||!e.queue||!e.method)&&e.queue.cancel(e)}
|
|
3543
3557
|
e.prototype.ensureInstance=function(){this._ensureInstance()}
|
|
3558
|
+
e.prototype.getDebugInfo=function(){var e=this
|
|
3559
|
+
if(this.DEBUG)return{counters:this.counters,timers:p(this._timers,s,2),instanceStack:[this.currentInstance].concat(this.instanceStack).map(function(t){return t&&t._getDebugInfo(e.DEBUG)})}}
|
|
3544
3560
|
e.prototype._end=function(e){var t=this.currentInstance,n=null
|
|
3545
3561
|
if(null===t)throw new Error("end called without begin")
|
|
3546
3562
|
var r=!1,i=void 0
|
|
@@ -3551,19 +3567,19 @@ if(this.instanceStack.length>0){n=this.instanceStack.pop()
|
|
|
3551
3567
|
this.currentInstance=n}this._trigger("end",t,n)
|
|
3552
3568
|
this._onEnd(t,n)}}}}
|
|
3553
3569
|
e.prototype._join=function(e,t,n){return null===this.currentInstance?this._run(e,t,n):void 0===e&&void 0===n?t():t.apply(e,n)}
|
|
3554
|
-
e.prototype._run=function(e,t,n){var r=
|
|
3570
|
+
e.prototype._run=function(e,t,n){var r=u(this.options)
|
|
3555
3571
|
this.begin()
|
|
3556
3572
|
if(r)try{return t.apply(e,n)}catch(e){r(e)}finally{this.end()}else try{return t.apply(e,n)}finally{this.end()}}
|
|
3557
3573
|
e.prototype._cancelAutorun=function(){if(null!==this._autorun){this._platform.clearNext(this._autorun)
|
|
3558
3574
|
this._autorun=null}}
|
|
3559
|
-
e.prototype._later=function(e,t,n,r){var i,o=this.DEBUG?new Error:void 0,
|
|
3560
|
-
if(0===this._timers.length){this._timers.push(
|
|
3561
|
-
this._installTimerTimeout()}else{i=function(e,t){for(var n=0,r=t.length-
|
|
3562
|
-
return e>=t[n]?n+
|
|
3563
|
-
this._timers.splice(i,0,
|
|
3564
|
-
|
|
3575
|
+
e.prototype._later=function(e,t,n,r){var i,o=this.DEBUG?new Error:void 0,a=this._platform.now()+r,u=b++
|
|
3576
|
+
if(0===this._timers.length){this._timers.push(a,u,e,t,n,o)
|
|
3577
|
+
this._installTimerTimeout()}else{i=function(e,t){for(var n=0,r=t.length-s,i=void 0,o=void 0;n<r;)e>=t[i=n+(o=(r-n)/s)-o%s]?n=i+s:r=i
|
|
3578
|
+
return e>=t[n]?n+s:n}(a,this._timers)
|
|
3579
|
+
this._timers.splice(i,0,a,u,e,t,n,o)
|
|
3580
|
+
this._reinstallTimerTimeout()}return u}
|
|
3565
3581
|
e.prototype._cancelLaterTimer=function(e){var t
|
|
3566
|
-
for(t=1;t<this._timers.length;t+=
|
|
3582
|
+
for(t=1;t<this._timers.length;t+=s)if(this._timers[t]===e){this._timers.splice(t-1,s)
|
|
3567
3583
|
0===t&&this._reinstallTimerTimeout()
|
|
3568
3584
|
return!0}return!1}
|
|
3569
3585
|
e.prototype._trigger=function(e,t,n){var r,i=this._eventCallbacks[e]
|
|
@@ -3572,10 +3588,10 @@ e.prototype._runExpiredTimers=function(){this._timerTimeoutId=null
|
|
|
3572
3588
|
if(this._timers.length>0){this.begin()
|
|
3573
3589
|
this._scheduleExpiredTimers()
|
|
3574
3590
|
this.end()}}
|
|
3575
|
-
e.prototype._scheduleExpiredTimers=function(){for(var e,t,n,r,i=this._timers,o=0,
|
|
3591
|
+
e.prototype._scheduleExpiredTimers=function(){for(var e,t,n,r,i=this._timers,o=0,a=i.length,u=this._defaultQueue,l=this._platform.now();o<a&&!(i[o]>l);o+=s)if((e=i[o+4])!==g){t=i[o+2]
|
|
3576
3592
|
n=i[o+3]
|
|
3577
3593
|
r=i[o+5]
|
|
3578
|
-
this.currentInstance.schedule(
|
|
3594
|
+
this.currentInstance.schedule(u,t,n,e,!1,r)}i.splice(0,o)
|
|
3579
3595
|
this._installTimerTimeout()}
|
|
3580
3596
|
e.prototype._reinstallTimerTimeout=function(){this._clearTimerTimeout()
|
|
3581
3597
|
this._installTimerTimeout()}
|
|
@@ -3586,12 +3602,12 @@ this._timerTimeoutId=this._platform.setTimeout(this._boundRunExpiredTimers,n)}}
|
|
|
3586
3602
|
e.prototype._ensureInstance=function(){var e=this.currentInstance
|
|
3587
3603
|
if(null===e){e=this.begin()
|
|
3588
3604
|
this._scheduleAutorun()}return e}
|
|
3589
|
-
e.prototype._scheduleAutorun=function(){
|
|
3605
|
+
e.prototype._scheduleAutorun=function(){D++
|
|
3590
3606
|
var e=this._platform.next
|
|
3591
|
-
this._autorun=e()};(0,t.createClass)(e,[{key:"counters",get:function(){return{begin:
|
|
3607
|
+
this._autorun=e()};(0,t.createClass)(e,[{key:"counters",get:function(){return{begin:_,end:E,events:{begin:w,end:0},autoruns:{created:D,completed:j},run:R,join:C,defer:O,schedule:T,scheduleIterable:A,deferOnce:S,scheduleOnce:k,setTimeout:P,later:N,throttle:x,debounce:M,cancelTimers:I,cancel:L,loops:{total:B,nested:F}}}},{key:"defaultQueue",get:function(){return this._defaultQueue}}])
|
|
3592
3608
|
return e}()
|
|
3593
|
-
|
|
3594
|
-
e.default=
|
|
3609
|
+
U.Queue=h
|
|
3610
|
+
e.default=U
|
|
3595
3611
|
e.buildPlatform=i})
|
|
3596
3612
|
e("container",["exports","@ember/debug","@ember/polyfills","ember-owner","ember-utils","@ember/deprecated-features","ember-environment"],function(e,t,n,r,i,o,s){"use strict"
|
|
3597
3613
|
e.FACTORY_FOR=e.Container=e.privatize=e.Registry=void 0
|
|
@@ -3936,7 +3952,7 @@ U.isHelperFactory=!0
|
|
|
3936
3952
|
var z=function(){function e(e){this.compute=e
|
|
3937
3953
|
this.isHelperFactory=!0}e.prototype.create=function(){return{compute:this.compute}}
|
|
3938
3954
|
return e}()
|
|
3939
|
-
function H(e){return new z(e)}function V(e){return(0,u.isArray)(e)?0!==e.length:!!e}var q=(0,l.symbol)("UPDATE"),
|
|
3955
|
+
function H(e){return new z(e)}function V(e){return(0,u.isArray)(e)?0!==e.length:!!e}var q=(0,l.symbol)("UPDATE"),G=(0,l.symbol)("INVOKE"),W=(0,l.symbol)("ACTION"),Y=function(){function e(){}e.prototype.get=function(e){return $.create(this,e)}
|
|
3940
3956
|
return e}(),Q=function(e){(0,i.inherits)(t,e)
|
|
3941
3957
|
function t(){var t=(0,i.possibleConstructorReturn)(this,e.call(this))
|
|
3942
3958
|
t._lastRevision=null
|
|
@@ -4020,7 +4036,7 @@ return t}(a.ConstReference),oe=function(e){(0,i.inherits)(t,e)
|
|
|
4020
4036
|
function t(t){var n=(0,i.possibleConstructorReturn)(this,e.call(this))
|
|
4021
4037
|
n.inner=t
|
|
4022
4038
|
return n}t.prototype.compute=function(){return this.inner.value()}
|
|
4023
|
-
t.prototype.get=function(e){return this.inner.get(e)};(0,i.createClass)(t,[{key:"tag",get:function(){return this.inner.tag}},{key:
|
|
4039
|
+
t.prototype.get=function(e){return this.inner.get(e)};(0,i.createClass)(t,[{key:"tag",get:function(){return this.inner.tag}},{key:G,get:function(){return this.inner[G]}}])
|
|
4024
4040
|
return t}(Q)
|
|
4025
4041
|
function se(e,t){var n,r=e
|
|
4026
4042
|
for(n=0;n<t.length;n++)r=r.get(t[n])
|
|
@@ -4194,7 +4210,7 @@ if(void 0===s){t[o]=0
|
|
|
4194
4210
|
return o}t[o]=++s
|
|
4195
4211
|
return o+"be277757-bbbe-4620-9fcb-213ef433cca2"+s}}var Ve=function(){function e(e){this.string=e}e.prototype.toString=function(){return""+this.string}
|
|
4196
4212
|
e.prototype.toHTML=function(){return this.toString()}
|
|
4197
|
-
return e}(),qe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},
|
|
4213
|
+
return e}(),qe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},Ge=/[&<>"'`=]/,We=/[&<>"'`=]/g
|
|
4198
4214
|
function Ye(e){return qe[e]}function Qe(e){null===e||void 0===e?e="":"string"!=typeof e&&(e=""+e)
|
|
4199
4215
|
return new Ve(e)}function Ke(e){return null!==e&&"object"==typeof e&&"function"==typeof e.toHTML}var $e=void 0,Xe=void 0
|
|
4200
4216
|
function Je(e){Xe||(Xe=document.createElement("a"))
|
|
@@ -4315,7 +4331,7 @@ function bt(e){var t,n,r,i,o=e.names,s=e.value(),a=Object.create(null),u=Object.
|
|
|
4315
4331
|
a[le]=u
|
|
4316
4332
|
for(t=0;t<o.length;t++){n=o[t]
|
|
4317
4333
|
r=e.get(n)
|
|
4318
|
-
"function"==typeof(i=s[n])&&i[
|
|
4334
|
+
"function"==typeof(i=s[n])&&i[W]?s[n]=i:r[q]&&(s[n]=new Et(r,i))
|
|
4319
4335
|
u[n]=r
|
|
4320
4336
|
a[n]=i}a.attrs=s
|
|
4321
4337
|
return a}var _t=(0,l.symbol)("REF"),Et=function(){function e(e,t){this[h.MUTABLE_CELL]=!0
|
|
@@ -4542,20 +4558,20 @@ e.prototype.lookupModifier=function(e,t){return this.resolver.lookupModifier(e,t
|
|
|
4542
4558
|
e.prototype.lookupComponentDefinition=function(e,t){return this.resolver.lookupComponentHandle(e,t)}
|
|
4543
4559
|
e.prototype.lookupPartial=function(e,t){return this.resolver.lookupPartial(e,t)}
|
|
4544
4560
|
return e}(),qt={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!0,attributeHook:!1,elementHook:!1,createCaller:!1,dynamicScope:!0,updateHook:!0,createInstance:!0}
|
|
4545
|
-
function
|
|
4561
|
+
function Gt(e){return e.capabilities.asyncLifeCycleCallbacks}function Wt(e){return e.capabilities.destructor}function Yt(e){return{named:e.named.value(),positional:e.positional.value()}}var Qt=new(function(e){(0,i.inherits)(t,e)
|
|
4546
4562
|
function t(){return(0,i.possibleConstructorReturn)(this,e.apply(this,arguments))}t.prototype.create=function(e,t,n){var r=t.delegate,i=n.capture(),o=Yt(i),s=r.createComponent(t.ComponentClass.class,o)
|
|
4547
4563
|
return new Kt(r,s,i)}
|
|
4548
4564
|
t.prototype.update=function(e){var t=e.delegate,n=e.component,r=e.args
|
|
4549
4565
|
t.updateComponent(n,Yt(r))}
|
|
4550
4566
|
t.prototype.didCreate=function(e){var t=e.delegate,n=e.component
|
|
4551
|
-
|
|
4567
|
+
Gt(t)&&t.didCreateComponent(n)}
|
|
4552
4568
|
t.prototype.didUpdate=function(e){var t=e.delegate,n=e.component
|
|
4553
|
-
|
|
4569
|
+
Gt(t)&&t.didUpdateComponent(n)}
|
|
4554
4570
|
t.prototype.getContext=function(e){var t=e.delegate,n=e.component
|
|
4555
4571
|
t.getContext(n)}
|
|
4556
4572
|
t.prototype.getSelf=function(e){var t=e.delegate,n=e.component,r=t.getContext(n)
|
|
4557
4573
|
return new K(r)}
|
|
4558
|
-
t.prototype.getDestructor=function(e){return
|
|
4574
|
+
t.prototype.getDestructor=function(e){return Wt(e.delegate)?e:null}
|
|
4559
4575
|
t.prototype.getCapabilities=function(){return qt}
|
|
4560
4576
|
t.prototype.getTag=function(e){return e.args.tag}
|
|
4561
4577
|
t.prototype.didRenderLayout=function(){}
|
|
@@ -4563,7 +4579,7 @@ t.prototype.getLayout=function(e){return{handle:e.template.asLayout().compile(),
|
|
|
4563
4579
|
return t}(tt)),Kt=function(){function e(e,t,n){this.delegate=e
|
|
4564
4580
|
this.component=t
|
|
4565
4581
|
this.args=n}e.prototype.destroy=function(){var e=this.delegate,t=this.component
|
|
4566
|
-
|
|
4582
|
+
Wt(e)&&e.destroyComponent(t)}
|
|
4567
4583
|
return e}(),$t={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!1,attributeHook:!1,elementHook:!1,createCaller:!0,dynamicScope:!0,updateHook:!0,createInstance:!0},Xt=new(function(e){(0,i.inherits)(n,e)
|
|
4568
4584
|
function n(){return(0,i.possibleConstructorReturn)(this,e.apply(this,arguments))}n.prototype.getLayout=function(e){var t=e.asLayout()
|
|
4569
4585
|
return{handle:t.compile(),symbolTable:t.symbolTable}}
|
|
@@ -4577,8 +4593,8 @@ function Jt(e){var t=e.positional,n=t.at(0),r=t.length,i=n.value()
|
|
|
4577
4593
|
return!0===i?r>1?(0,b.dasherize)(t.at(1).value()):null:!1===i?r>2?(0,b.dasherize)(t.at(2).value()):null:i}function Zt(e){var t=e.positional.at(0)
|
|
4578
4594
|
return new Ve(t.value())}function en(e){return"checkbox"===e.positional.at(0).value()?"-checkbox":"-text-field"}function tn(e){var t=e.positional,n=t.at(0).value().split("."),r=n[n.length-1],i=t.at(1).value()
|
|
4579
4595
|
return!0===i?(0,b.dasherize)(r):i||0===i?String(i):""}function nn(e){return e}function rn(e,t,n,r,i){var o,s=void 0,a=void 0
|
|
4580
|
-
if("function"==typeof n[
|
|
4581
|
-
a=n[
|
|
4596
|
+
if("function"==typeof n[G]){s=n
|
|
4597
|
+
a=n[G]}else if("string"===(o=typeof n)){s=t
|
|
4582
4598
|
a=t.actions&&t.actions[n]}else if("function"===o){s=e
|
|
4583
4599
|
a=n}return function(){for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
|
4584
4600
|
var e,t,n,i={target:s,args:t,label:"@glimmer/closure-action"}
|
|
@@ -4642,14 +4658,14 @@ for(n=0;n<dn.length;n++)if(e[dn[n]+"Key"]&&-1===t.indexOf(dn[n]))return!1
|
|
|
4642
4658
|
return!0}(e,s.value()))return!0
|
|
4643
4659
|
!1!==o.value()&&e.preventDefault()
|
|
4644
4660
|
u||e.stopPropagation();(0,R.join)(function(){var e=t.getActionArgs(),r={args:e,target:a,name:null}
|
|
4645
|
-
if("function"!=typeof n[
|
|
4661
|
+
if("function"!=typeof n[G])if("function"!=typeof n){r.name=n
|
|
4646
4662
|
a.send?(0,d.flaggedInstrument)("interaction.ember-action",r,function(){a.send.apply(a,[n].concat(e))}):(0,d.flaggedInstrument)("interaction.ember-action",r,function(){a[n].apply(a,e)})}else(0,d.flaggedInstrument)("interaction.ember-action",r,function(){n.apply(a,e)})
|
|
4647
|
-
else(0,d.flaggedInstrument)("interaction.ember-action",r,function(){n[
|
|
4663
|
+
else(0,d.flaggedInstrument)("interaction.ember-action",r,function(){n[G].apply(n,e)})})
|
|
4648
4664
|
return u}
|
|
4649
4665
|
e.prototype.destroy=function(){yn(this)}
|
|
4650
4666
|
return e}(),bn=function(){function e(){}e.prototype.create=function(e,t,n,r){var i,o=t.capture(),s=o.named,a=o.positional,u=o.tag,c=void 0,p=void 0,h=void 0
|
|
4651
4667
|
if(a.length>1){c=a.at(0)
|
|
4652
|
-
if((h=a.at(1))[
|
|
4668
|
+
if((h=a.at(1))[G])p=h
|
|
4653
4669
|
else{h._propertyKey
|
|
4654
4670
|
p=h.value()}}var f=[]
|
|
4655
4671
|
for(i=2;i<a.length;i++)f.push(a.at(i))
|
|
@@ -4660,7 +4676,7 @@ gn(e)
|
|
|
4660
4676
|
t.setAttribute(n,"data-ember-action","")
|
|
4661
4677
|
t.setAttribute(n,"data-ember-action-"+r,r)}
|
|
4662
4678
|
e.prototype.update=function(e){var t=e.positional.at(1)
|
|
4663
|
-
t[
|
|
4679
|
+
t[G]||(e.actionName=t.value())
|
|
4664
4680
|
e.eventName=e.getEventName()}
|
|
4665
4681
|
e.prototype.getTag=function(e){return e.tag}
|
|
4666
4682
|
e.prototype.getDestructor=function(e){return e}
|
|
@@ -4813,20 +4829,20 @@ if(null!==s){pt(n)
|
|
|
4813
4829
|
o.component.static(s,[t,_n(n),r,i])
|
|
4814
4830
|
return!0}return!1}var Hn=[]
|
|
4815
4831
|
var Vn=Object.getPrototypeOf,qn=new WeakMap
|
|
4816
|
-
function
|
|
4817
|
-
t=Vn(t)}}function
|
|
4832
|
+
function Gn(e){for(var t=e;void 0!==t&&null!==t;){if(qn.has(t))return qn.get(t)
|
|
4833
|
+
t=Vn(t)}}function Wn(e){return{object:"component:"+e}}function Yn(e,t){return{source:void 0!==e?"template:"+e:void 0,namespace:t}}var Qn={if:function(e,t){var n=t.positional
|
|
4818
4834
|
return ln.create(n.at(0),n.at(1),n.at(2))},action:function(e,t){var n=t.named,r=t.positional.capture().references,i=r[0],o=r[1],s=r.slice(2),u=(o._propertyKey,n.has("target")?n.get("target"):i),l=function(e,t){var n=void 0
|
|
4819
4835
|
t.length>0&&(n=function(e){return t.map(function(e){return e.value()}).concat(e)})
|
|
4820
4836
|
var r=void 0
|
|
4821
4837
|
e&&(r=function(t){var n=e.value()
|
|
4822
4838
|
n&&t.length>0&&(t[0]=(0,c.get)(t[0],n))
|
|
4823
4839
|
return t})
|
|
4824
|
-
return n&&r?function(e){return r(n(e))}:n||r||nn}(n.has("value")&&n.get("value"),s),p=void 0;(p="function"==typeof o[
|
|
4840
|
+
return n&&r?function(e){return r(n(e))}:n||r||nn}(n.has("value")&&n.get("value"),s),p=void 0;(p="function"==typeof o[G]?rn(o,o,o[G],l):(0,a.isConst)(u)&&(0,a.isConst)(o)?rn(i.value(),u.value(),o.value(),l):function(e,t,n,r,i){return function(){return rn(e,t.value(),n.value(),r).apply(void 0,arguments)}}(i.value(),u,o,l))[W]=!0
|
|
4825
4841
|
return new ie(p)},concat:function(e,t){return new re(sn,t.capture())},get:function(e,t){return un.create(t.positional.at(0),t.positional.at(1))},hash:function(e,t){return t.named.capture()},log:function(e,t){return new re(cn,t.capture())},mut:function(e,t){var n,r=t.positional.at(0)
|
|
4826
4842
|
if((n=r)&&n[pn])return r
|
|
4827
4843
|
var i=Object.create(r)
|
|
4828
4844
|
i[hn]=r
|
|
4829
|
-
i[
|
|
4845
|
+
i[G]=r[q]
|
|
4830
4846
|
i[pn]=!0
|
|
4831
4847
|
return i},"query-params":function(e,t){return new re(fn,t.capture())},readonly:function(e,t){var n=function(e){return e[hn]||e}(t.positional.at(0))
|
|
4832
4848
|
return new oe(n)},unbound:function(e,t){return ie.create(t.positional.at(0).value())},unless:function(e,t){var n=t.positional
|
|
@@ -4898,12 +4914,12 @@ e.prototype._lookupComponentDefinition=function(e,t){var n,r,i,o=e,s=(0,h.lookup
|
|
|
4898
4914
|
if(void 0===l)return null
|
|
4899
4915
|
var c=this.componentDefinitionCache.get(l)
|
|
4900
4916
|
if(void 0!==c)return c
|
|
4901
|
-
var p=(0,d._instrumentStart)("render.getComponentDefinition",
|
|
4917
|
+
var p=(0,d._instrumentStart)("render.getComponentDefinition",Wn,o)
|
|
4902
4918
|
if(a&&!u&&v.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS){n=new function(e){this.state=e
|
|
4903
4919
|
this.manager=Xt}(a)
|
|
4904
4920
|
p()
|
|
4905
4921
|
this.componentDefinitionCache.set(l,n)
|
|
4906
|
-
return n}if(u&&u.class&&(r=
|
|
4922
|
+
return n}if(u&&u.class&&(r=Gn(u.class))){i=new function(e,t,n,r){this.name=e
|
|
4907
4923
|
this.ComponentClass=t
|
|
4908
4924
|
this.delegate=n
|
|
4909
4925
|
this.template=r
|
|
@@ -4961,7 +4977,7 @@ e.SafeString=Ve
|
|
|
4961
4977
|
e.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML()
|
|
4962
4978
|
if(null===e||void 0===e)return""
|
|
4963
4979
|
if(!e)return e+""
|
|
4964
|
-
e=""+e}return
|
|
4980
|
+
e=""+e}return Ge.test(e)?e.replace(We,Ye):e}
|
|
4965
4981
|
e.htmlSafe=Qe
|
|
4966
4982
|
e.isHTMLSafe=Ke
|
|
4967
4983
|
e.Renderer=Bt
|
|
@@ -5010,7 +5026,7 @@ e._registerMacros=function(e){Hn.push(e)}
|
|
|
5010
5026
|
e._experimentalMacros=Hn
|
|
5011
5027
|
e.AbstractComponentManager=tt
|
|
5012
5028
|
e.UpdatableReference=Z
|
|
5013
|
-
e.INVOKE=
|
|
5029
|
+
e.INVOKE=G
|
|
5014
5030
|
e.iterableFor=Ce
|
|
5015
5031
|
e.DebugStack=void 0
|
|
5016
5032
|
e.OutletView=nr
|
|
@@ -5018,7 +5034,7 @@ e.capabilities=function(e){var t=arguments.length>1&&void 0!==arguments[1]?argum
|
|
|
5018
5034
|
return{asyncLifeCycleCallbacks:!!t.asyncLifecycleCallbacks,destructor:!!t.destructor}}
|
|
5019
5035
|
e.setComponentManager=function(e,t){qn.set(t,e)
|
|
5020
5036
|
return t}
|
|
5021
|
-
e.getComponentManager=
|
|
5037
|
+
e.getComponentManager=Gn})
|
|
5022
5038
|
e("ember-meta/index",["exports","ember-meta/lib/meta"],function(e,t){"use strict"
|
|
5023
5039
|
Object.defineProperty(e,"counters",{enumerable:!0,get:function(){return t.counters}})
|
|
5024
5040
|
Object.defineProperty(e,"deleteMeta",{enumerable:!0,get:function(){return t.deleteMeta}})
|
|
@@ -5222,10 +5238,10 @@ i.writeDescriptors(t,h)
|
|
|
5222
5238
|
n.setup(e,t)}else if(void 0===n||null===n){h=r
|
|
5223
5239
|
u||!1===l?Object.defineProperty(e,t,{configurable:!0,enumerable:l,writable:!0,value:h}):e[t]=r}else{h=n
|
|
5224
5240
|
Object.defineProperty(e,t,n)}o&&F(0,t,i)
|
|
5225
|
-
"function"==typeof e.didDefineProperty&&e.didDefineProperty(e,t,h)}function
|
|
5241
|
+
"function"==typeof e.didDefineProperty&&e.didDefineProperty(e,t,h)}function G(e,t,n){var r,i=void 0===n?(0,a.meta)(e):n,o=i.peekWatching(t)
|
|
5226
5242
|
i.writeWatching(t,o+1)
|
|
5227
5243
|
if(0===o){void 0!==(r=(0,a.descriptorFor)(e,t,i))&&void 0!==r.willWatch&&r.willWatch(e,t,i)
|
|
5228
|
-
"function"==typeof e.willWatchProperty&&e.willWatchProperty(t)}}function
|
|
5244
|
+
"function"==typeof e.willWatchProperty&&e.willWatchProperty(t)}}function W(e,t,n){var r,i=void 0===n?(0,a.peekMeta)(e):n
|
|
5229
5245
|
if(void 0!==i&&!i.isSourceDestroyed()){var o=i.peekWatching(t)
|
|
5230
5246
|
if(1===o){i.writeWatching(t,0)
|
|
5231
5247
|
void 0!==(r=(0,a.descriptorFor)(e,t,i))&&void 0!==r.didUnwatch&&r.didUnwatch(e,t,i)
|
|
@@ -5319,9 +5335,9 @@ if(void 0!==n)for(i=0;i<s.length;i+=2)n(s[i],s[i+1])}}
|
|
|
5319
5335
|
return e}()
|
|
5320
5336
|
function ye(){return new ge}function ve(e){return new Ce(null,null,e)}function be(e,t,n){var r=(0,a.meta)(e)
|
|
5321
5337
|
r.writableChainWatchers(ye).add(t,n)
|
|
5322
|
-
|
|
5338
|
+
G(e,t,r)}function _e(e,t,n,r){if(me(e)){var i=void 0===r?(0,a.peekMeta)(e):r
|
|
5323
5339
|
if(void 0!==i&&!i.isSourceDestroying()&&!i.isMetaDestroyed()&&void 0!==i.readableChainWatchers()){(i=(0,a.meta)(e)).readableChainWatchers().remove(t,n)
|
|
5324
|
-
|
|
5340
|
+
W(e,t,i)}}}var Ee=[]
|
|
5325
5341
|
function we(e){if(e.isWatching){_e(e.object,e.key,e)
|
|
5326
5342
|
e.isWatching=!1}}function Re(e){var t=e.chains
|
|
5327
5343
|
if(void 0!==t)for(var n in t)void 0!==t[n]&&Ee.push(t[n])}var Ce=function(){function e(e,t,n){this.paths=void 0
|
|
@@ -5380,8 +5396,8 @@ r.writeWatching(t,i+1)
|
|
|
5380
5396
|
0===i&&r.writableChains(ve).add(t)}function Te(e,t,n){var r=void 0===n?(0,a.peekMeta)(e):n
|
|
5381
5397
|
if(void 0!==r){var i=r.peekWatching(t)
|
|
5382
5398
|
if(i>0){r.writeWatching(t,i-1)
|
|
5383
|
-
1===i&&r.writableChains(ve).remove(t)}}}function Ae(e,t,n){v(t)?Oe(e,t,n):
|
|
5384
|
-
return void 0!==n&&n.peekWatching(t)||0}function ke(e,t,n){v(t)?Te(e,t,n):
|
|
5399
|
+
1===i&&r.writableChains(ve).remove(t)}}}function Ae(e,t,n){v(t)?Oe(e,t,n):G(e,t,n)}function Se(e,t){var n=(0,a.peekMeta)(e)
|
|
5400
|
+
return void 0!==n&&n.peekWatching(t)||0}function ke(e,t,n){v(t)?Te(e,t,n):W(e,t,n)}function Pe(e,t,n,r){var i,o,s=e._dependentKeys
|
|
5385
5401
|
if(null!==s&&void 0!==s)for(i=0;i<s.length;i++){o=s[i]
|
|
5386
5402
|
r.writeDeps(o,n,r.peekDeps(o,n)+1)
|
|
5387
5403
|
Ae(t,o,r)}}function Ne(e,t,n,r){var i,o,s=e._dependentKeys
|
|
@@ -5496,7 +5512,7 @@ function Ve(e){var t,n,r=null===e||void 0===e
|
|
|
5496
5512
|
if(r)return r
|
|
5497
5513
|
if("number"==typeof e.size)return!e.size
|
|
5498
5514
|
var i=typeof e
|
|
5499
|
-
return"object"===i&&"number"==typeof(t=ne(e,"size"))?!t:"number"==typeof e.length&&"function"!==i?!e.length:"object"===i&&"number"==typeof(n=ne(e,"length"))&&!n}function qe(e){return Ve(e)||"string"==typeof e&&!1===/\S/.test(e)}var
|
|
5515
|
+
return"object"===i&&"number"==typeof(t=ne(e,"size"))?!t:"number"==typeof e.length&&"function"!==i?!e.length:"object"===i&&"number"==typeof(n=ne(e,"length"))&&!n}function qe(e){return Ve(e)||"string"==typeof e&&!1===/\S/.test(e)}var Ge=function(){function e(){this._registry=[]
|
|
5500
5516
|
this._coreLibIndex=0}e.prototype._getLibraryByName=function(e){var t,n=this._registry,r=n.length
|
|
5501
5517
|
for(t=0;t<r;t++)if(n[t].name===e)return n[t]}
|
|
5502
5518
|
e.prototype.register=function(e,t,n){var r=this._registry.length
|
|
@@ -5506,8 +5522,8 @@ e.prototype.registerCoreLibrary=function(e,t){this.register(e,t,!0)}
|
|
|
5506
5522
|
e.prototype.deRegister=function(e){var t=this._getLibraryByName(e),n=void 0
|
|
5507
5523
|
if(t){n=this._registry.indexOf(t)
|
|
5508
5524
|
this._registry.splice(n,1)}}
|
|
5509
|
-
return e}(),
|
|
5510
|
-
|
|
5525
|
+
return e}(),We=new Ge
|
|
5526
|
+
We.registerCoreLibrary("Ember",p.default)
|
|
5511
5527
|
var Ye=Object.prototype.hasOwnProperty,Qe=!1,Ke={_set:0,_unprocessedNamespaces:!1,get unprocessedNamespaces(){return this._unprocessedNamespaces},set unprocessedNamespaces(e){this._set++
|
|
5512
5528
|
this._unprocessedNamespaces=e}},$e=!1,Xe=[],Je=Object.create(null)
|
|
5513
5529
|
function Ze(){if(Ke.unprocessedNamespaces){var e,t,n,i,o=s.context.lookup,a=Object.keys(o)
|
|
@@ -5699,8 +5715,8 @@ e.propertyWillChange=I
|
|
|
5699
5715
|
e.PROPERTY_DID_CHANGE=N
|
|
5700
5716
|
e.defineProperty=q
|
|
5701
5717
|
e.Descriptor=V
|
|
5702
|
-
e.watchKey=
|
|
5703
|
-
e.unwatchKey=
|
|
5718
|
+
e.watchKey=G
|
|
5719
|
+
e.unwatchKey=W
|
|
5704
5720
|
e.ChainNode=Ce
|
|
5705
5721
|
e.finishChains=function(e){var t=e.readableChainWatchers()
|
|
5706
5722
|
void 0!==t&&t.revalidateAll()
|
|
@@ -5712,8 +5728,8 @@ e.isWatching=function(e,t){return Se(e,t)>0}
|
|
|
5712
5728
|
e.unwatch=ke
|
|
5713
5729
|
e.watch=Ae
|
|
5714
5730
|
e.watcherCount=Se
|
|
5715
|
-
e.libraries=
|
|
5716
|
-
e.Libraries=
|
|
5731
|
+
e.libraries=We
|
|
5732
|
+
e.Libraries=Ge
|
|
5717
5733
|
e.getProperties=function(e){var t={},n=arguments,r=1
|
|
5718
5734
|
if(2===arguments.length&&Array.isArray(arguments[1])){r=0
|
|
5719
5735
|
n=arguments[1]}for(;r<n.length;r++)t[n[r]]=ne(e,n[r])
|
|
@@ -6948,7 +6964,7 @@ s("insert-newline",this,e)},cancel:function(e){s("escape-press",this,e)},focusIn
|
|
|
6948
6964
|
s("focus-out",this,e)},keyPress:function(e){s("key-press",this,e)},keyUp:function(e){this.interpretKeyEvents(e)
|
|
6949
6965
|
s("key-up",this,e)},keyDown:function(e){s("key-down",this,e)}})
|
|
6950
6966
|
function s(e,n,r){var o=(0,t.get)(n,"attrs."+e)||(0,t.get)(n,e),s=(0,t.get)(n,"value")
|
|
6951
|
-
i.SEND_ACTION&&"string"==typeof o?n.triggerAction({action:o,actionContext:[s]}):"function"==typeof o&&o(s)
|
|
6967
|
+
i.SEND_ACTION&&"string"==typeof o?n.triggerAction({action:o,actionContext:[s,r]}):"function"==typeof o&&o(s,r)
|
|
6952
6968
|
o&&!(0,t.get)(n,"bubbles")&&r.stopPropagation()}})
|
|
6953
6969
|
e("ember-views/lib/mixins/view_state_support",["exports","ember-metal"],function(e,t){"use strict"
|
|
6954
6970
|
e.default=t.Mixin.create({_transitionTo:function(e){var t=this._currentState,n=this._currentState=this._states[e]
|
|
@@ -7331,7 +7347,7 @@ F.setupForTesting=B.setupForTesting}(0,S.runLoadHooks)("Ember")
|
|
|
7331
7347
|
e.default=F
|
|
7332
7348
|
r.IS_NODE?r.module.exports=F:n.context.exports.Ember=n.context.exports.Em=F})
|
|
7333
7349
|
e("ember/version",["exports"],function(e){"use strict"
|
|
7334
|
-
e.default="3.5.
|
|
7350
|
+
e.default="3.5.1"})
|
|
7335
7351
|
e("node-module",["exports"],function(e){var t="object"==typeof module&&"function"==typeof module.require
|
|
7336
7352
|
if(t){e.require=module.require
|
|
7337
7353
|
e.module=module
|
|
@@ -8111,7 +8127,7 @@ return n}(k)
|
|
|
8111
8127
|
function V(e,t){return null===e||"object"!=typeof e?M.reject(new TypeError("Promise.hash must be called with an object"),t):new H(M,e,t).promise}var q=function(e){(0,t.inherits)(n,e)
|
|
8112
8128
|
function n(n,r,i){return(0,t.possibleConstructorReturn)(this,e.call(this,n,r,!1,i))}return n}(H)
|
|
8113
8129
|
q.prototype._setResultAt=P
|
|
8114
|
-
function
|
|
8130
|
+
function G(e,t){return null===e||"object"!=typeof e?M.reject(new TypeError("RSVP.hashSettled must be called with an object"),t):new q(M,e,!1,t).promise}function W(e){setTimeout(function(){throw e})
|
|
8115
8131
|
throw e}function Y(e){var t={resolve:void 0,reject:void 0}
|
|
8116
8132
|
t.promise=new M(function(e,n){t.resolve=e
|
|
8117
8133
|
t.reject=n},e)
|
|
@@ -8160,7 +8176,7 @@ s.after=function(e){return setTimeout(e,0)}
|
|
|
8160
8176
|
var fe=$,de=function(e,t){return s.async(e,t)}
|
|
8161
8177
|
function me(){s.on.apply(s,arguments)}function ge(){s.off.apply(s,arguments)}if("undefined"!=typeof window&&"object"==typeof window.__PROMISE_INSTRUMENTATION__){i=window.__PROMISE_INSTRUMENTATION__
|
|
8162
8178
|
a("instrument",!0)
|
|
8163
|
-
for(var ye in i)i.hasOwnProperty(ye)&&me(ye,i[ye])}e.default={asap:re,cast:fe,Promise:M,EventTarget:o,all:B,allSettled:U,race:z,hash:V,hashSettled:
|
|
8179
|
+
for(var ye in i)i.hasOwnProperty(ye)&&me(ye,i[ye])}e.default={asap:re,cast:fe,Promise:M,EventTarget:o,all:B,allSettled:U,race:z,hash:V,hashSettled:G,rethrow:W,defer:Y,denodeify:L,configure:a,on:me,off:ge,resolve:$,reject:X,map:K,async:de,filter:ee}
|
|
8164
8180
|
e.asap=re
|
|
8165
8181
|
e.cast=fe
|
|
8166
8182
|
e.Promise=M
|
|
@@ -8169,8 +8185,8 @@ e.all=B
|
|
|
8169
8185
|
e.allSettled=U
|
|
8170
8186
|
e.race=z
|
|
8171
8187
|
e.hash=V
|
|
8172
|
-
e.hashSettled=
|
|
8173
|
-
e.rethrow=
|
|
8188
|
+
e.hashSettled=G
|
|
8189
|
+
e.rethrow=W
|
|
8174
8190
|
e.defer=Y
|
|
8175
8191
|
e.denodeify=L
|
|
8176
8192
|
e.configure=a
|