From ec067d376205cd648a47ab86a69c505fc5f5b6d8 Mon Sep 17 00:00:00 2001 From: kategengler Date: Mon, 23 Sep 2024 13:48:20 +0000 Subject: [PATCH] deploy: 857638d49b3e89f595770256a075ce2ac91ad7dd --- ...d1eedb82a1.js => chunk.524.eaaff00610c534cc8f67.js} | 10 +++++----- ...2a27d5f30e.js => chunk.582.02606c2df0a70a7c5236.js} | 6 +++--- index.html | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) rename assets/{chunk.524.da792663c3d1eedb82a1.js => chunk.524.eaaff00610c534cc8f67.js} (94%) rename assets/{chunk.582.50ca2a77d02a27d5f30e.js => chunk.582.02606c2df0a70a7c5236.js} (89%) diff --git a/assets/chunk.524.da792663c3d1eedb82a1.js b/assets/chunk.524.eaaff00610c534cc8f67.js similarity index 94% rename from assets/chunk.524.da792663c3d1eedb82a1.js rename to assets/chunk.524.eaaff00610c534cc8f67.js index 976cf769..6bbe4d4c 100644 --- a/assets/chunk.524.da792663c3d1eedb82a1.js +++ b/assets/chunk.524.eaaff00610c534cc8f67.js @@ -14,7 +14,7 @@ const d=require("@ember/component") var c,f,h,p,g,b,m,y=(0,require("@ember/template-factory").createTemplateFactory)({id:"0E3vante",block:'[[[41,[30,0,["shouldShow"]],[[[1," "],[11,0],[16,0,[29,[[30,0,["loaderClassNames"]],[52,[30,0,["viewportEntered"]]," in-viewport"],[52,[30,0,["isDoneLoading"]]," reached-infinity"]]]],[24,"data-test-infinity-loader",""],[4,[38,2],[[30,0,["didInsertLoader"]],[30,0]],null],[4,[38,3],[[30,0,["_initialInfinityModelSetup"]],[30,1]],null],[4,[38,3],[[30,0,["_loadStatusDidChange"]],[30,2]],null],[4,[38,3],[[30,0,["_loadStatusDidChange"]],[30,3]],null],[12],[1,"\\n"],[41,[48,[30,4]],[[[1," "],[18,4,[[30,0,["infinityModelContent"]]]],[1,"\\n"]],[]],[[[41,[30,0,["isDoneLoading"]],[[[1," "],[10,1],[12],[1,[30,0,["loadedText"]]],[13],[1,"\\n"]],[]],[[[1," "],[10,1],[12],[1,[30,0,["loadingText"]]],[13],[1,"\\n"]],[]]]],[]]],[1," "],[13],[1,"\\n"]],[]],null]],["@infinityModel","@hideOnInfinity","@reachedInfinity","&default"],false,["if","div","did-insert","did-update","has-block","yield","span"]]',moduleName:"/home/runner/work/ember-infinity/ember-infinity/ember-infinity/dist/components/infinity-loader.js",isStrictMode:!1}) let _=(c=class extends(o()){get eventDebounce(){return this.args.eventDebounce??50}get loadingText(){return this._loadingText||(this.args.loadingText??"Loading Infinity Model...")}set loadingText(e){this._loadingText=e}get loadedText(){return this._loadedText||(this.args.loadedText??"Infinity Model Entirely Loaded.")}set loadedText(e){this._loadedText=e}get hideOnInfinity(){return this.args.hideOnInfinity??!1}get isDoneLoading(){return this._isDoneLoading??this.args.isDoneLoading??!1}set isDoneLoading(e){this._isDoneLoading=e}get developmentMode(){return this.args.developmentMode??!1}get loadPrevious(){return this.args.loadPrevious??!1}get scrollable(){return this.args.scrollable??null}get triggerOffset(){return this.args.triggerOffset??0}get shouldShow(){return this._shouldShow??this.args.shouldShow??!0}set shouldShow(e){this._shouldShow=e}get loaderClassNames(){return"infinity-loader ".concat(this.args.classNames||"").trim()}get infinityModelContent(){return Promise.resolve(this.args.infinityModel)}constructor(){super(...arguments),(0,r.a)(this,"infinity",f,this),(0,r.a)(this,"inViewport",h,this),(0,r.a)(this,"_loadingText",p,this),(0,r.a)(this,"_loadedText",g,this),(0,r.a)(this,"_isDoneLoading",b,this),(0,r.a)(this,"_shouldShow",m,this),this._initialInfinityModelSetup()}didInsertLoader(e,[t]){t.loadingText=t.loadingText||"Loading Infinity Model...",t.loadedText=t.loadedText||"Infinity Model Entirely Loaded.",t.elem=e const i={viewportSpy:!0,viewportTolerance:{top:0,right:0,bottom:t.triggerOffset,left:0},scrollableArea:t.scrollable},{onEnter:r,onExit:n}=t.inViewport.watchElement(e,i) -r(t.didEnterViewport.bind(t)),n(t.didExitViewport.bind(t))}willDestroy(){super.willDestroy(...arguments),this._cancelTimers(),this.infinityModelContent.then((e=>{this.isDestroyed||e.off("infinityModelLoaded",this,this._loadStatusDidChange.bind(this))}))}didEnterViewport(){return!(this.developmentMode||"undefined"!=typeof FastBoot||this.isDestroying||this.isDestroyed)&&(this.loadPrevious?this._debounceScrolledToTop():this._debounceScrolledToBottom())}didExitViewport(){this._cancelTimers()}_initialInfinityModelSetup(){this.infinityModelContent.then((e=>{this.isDestroyed||this.isDestroying||(e.on("infinityModelLoaded",this._loadStatusDidChange.bind(this)),(0,l.set)(e,"_scrollable",this.scrollable),this.isDoneLoading=!1,this.hideOnInfinity||(this.shouldShow=!0),this._loadStatusDidChange())}))}_loadStatusDidChange(){this.infinityModelContent.then((e=>{this.isDestroyed||this.isDestroying||(e.reachedInfinity?(this.isDoneLoading=!0,this.hideOnInfinity&&(this.shouldShow=!1)):this.shouldShow=!0)}))}_debounceScrolledToTop(){function e(e){if("function"==typeof this.infinityLoad)return this.infinityLoad(e,-1) +r(t.didEnterViewport.bind(t)),n(t.didExitViewport.bind(t))}willDestroy(){super.willDestroy(...arguments),this._cancelTimers(),this.infinityModelContent.then((e=>{this.isDestroyed||this.isDestroying||e.off("infinityModelLoaded",this,this._loadStatusDidChange.bind(this))}))}didEnterViewport(){return!(this.developmentMode||"undefined"!=typeof FastBoot||this.isDestroying||this.isDestroyed)&&(this.loadPrevious?this._debounceScrolledToTop():this._debounceScrolledToBottom())}didExitViewport(){this._cancelTimers()}_initialInfinityModelSetup(){this.infinityModelContent.then((e=>{this.isDestroyed||this.isDestroying||(e.on("infinityModelLoaded",this._loadStatusDidChange.bind(this)),(0,l.set)(e,"_scrollable",this.scrollable),this.isDoneLoading=!1,this.hideOnInfinity||(this.shouldShow=!0),this._loadStatusDidChange())}))}_loadStatusDidChange(){this.infinityModelContent.then((e=>{this.isDestroyed||this.isDestroying||(e.reachedInfinity?(this.isDoneLoading=!0,this.hideOnInfinity&&(this.shouldShow=!1)):this.shouldShow=!0)}))}_debounceScrolledToTop(){function e(e){if("function"==typeof this.infinityLoad)return this.infinityLoad(e,-1) this.infinity.infinityLoad(e,-1)}this.infinityModelContent.then((t=>{t.firstPage>1&&t.currentPage>0&&(this._debounceTimer=(0,s.debounce)(this,e,t,this.eventDebounce))}))}_debounceScrolledToBottom(){this._debounceTimer=(0,s.debounce)(this,(function(){this.infinityModelContent.then((e=>{if("function"==typeof this.infinityLoad)return this.infinityLoad(e) this.infinity.infinityLoad(e,1).then((()=>{e.canLoadMore&&this._checkScrollableHeight()}))}))}),this.eventDebounce)}_checkScrollableHeight(){if(this.isDestroying||this.isDestroyed)return!1 this._viewportBottom()>this.elem.getBoundingClientRect().top&&this._debounceScrolledToBottom()}_cancelTimers(){(0,s.cancel)(this._debounceTimer)}_viewportBottom(){if("undefined"==typeof FastBoot){const e=!!this.scrollable,t=e?document.querySelector(this.scrollable):window @@ -93,8 +93,8 @@ e.exports=require("@ember/object")},71223:e=>{"use strict" e.exports=require("@ember/runloop")},82735:e=>{"use strict" e.exports=require("@ember/service")},90473:e=>{"use strict" e.exports=require("@glimmer/tracking")},64421:e=>{"use strict" -e.exports=require("rsvp")},19614:(e,t,i)=>{e.exports=function(){var e=_eai_d,t=_eai_r -function r(e){return e&&e.__esModule?e:Object.assign({default:e},e)}window.emberAutoImportDynamic=function(e){return 1===arguments.length?t("_eai_dyn_"+e):t("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return t("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},e("@faker-js/faker",[],(function(){return r(i(73725))})),e("ember-infinity/components/infinity-loader",["@glimmer/tracking","@ember/runloop","@ember/object","@ember/service"],(function(){return r(i(36816))})),e("ember-infinity/lib/infinity-model",["@ember/array/proxy","@glimmer/tracking","@ember/object","rsvp"],(function(){return r(i(25178))})),e("ember-infinity/services/infinity",["@ember/service","@ember/array/proxy","@glimmer/tracking","@ember/object","rsvp","@ember/application","@ember/runloop"],(function(){return r(i(93869))})),e("ember-modifier",["@ember/application","@ember/modifier","@ember/destroyable"],(function(){return r(i(71699))})),e("fast-deep-equal",[],(function(){return r(i(92575))})),e("intersection-observer-admin",[],(function(){return r(i(43404))})),e("miragejs",[],(function(){return r(i(96757))})),e("pretender",[],(function(){return r(i(62503))})),e("raf-pool",[],(function(){return r(i(98841))}))}()},52875:function(e,t){window._eai_r=require,window._eai_d=define}},i={} +e.exports=require("rsvp")},47555:(e,t,i)=>{e.exports=function(){var e=_eai_d,t=_eai_r +function r(e){return e&&e.__esModule?e:Object.assign({default:e},e)}window.emberAutoImportDynamic=function(e){return 1===arguments.length?t("_eai_dyn_"+e):t("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return t("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},e("@faker-js/faker",[],(function(){return r(i(73725))})),e("ember-infinity/components/infinity-loader",["@glimmer/tracking","@ember/runloop","@ember/object","@ember/service"],(function(){return r(i(36816))})),e("ember-infinity/lib/infinity-model",["@ember/array/proxy","@glimmer/tracking","@ember/object","rsvp"],(function(){return r(i(25178))})),e("ember-infinity/services/infinity",["@ember/service","@ember/array/proxy","@glimmer/tracking","@ember/object","rsvp","@ember/application","@ember/runloop"],(function(){return r(i(93869))})),e("ember-modifier",["@ember/application","@ember/modifier","@ember/destroyable"],(function(){return r(i(71699))})),e("fast-deep-equal",[],(function(){return r(i(92575))})),e("intersection-observer-admin",[],(function(){return r(i(43404))})),e("miragejs",[],(function(){return r(i(96757))})),e("pretender",[],(function(){return r(i(62503))})),e("raf-pool",[],(function(){return r(i(98841))}))}()},12110:function(e,t){window._eai_r=require,window._eai_d=define}},i={} function r(e){var n=i[e] if(void 0!==n)return n.exports var o=i[e]={id:e,loaded:!1,exports:{}} @@ -111,6 +111,6 @@ var t=(t,i)=>{var n,o,[a,s,l]=i,u=0 if(a.some((t=>0!==e[t]))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]) if(l)var d=l(r)}for(t&&t(i);ur(52875))) -var n=r.O(void 0,[972],(()=>r(19614))) +i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})(),r.O(void 0,[972],(()=>r(12110))) +var n=r.O(void 0,[972],(()=>r(47555))) n=r.O(n),__ember_auto_import__=n})() diff --git a/assets/chunk.582.50ca2a77d02a27d5f30e.js b/assets/chunk.582.02606c2df0a70a7c5236.js similarity index 89% rename from assets/chunk.582.50ca2a77d02a27d5f30e.js rename to assets/chunk.582.02606c2df0a70a7c5236.js index 6d1849ee..0509b1b4 100644 --- a/assets/chunk.582.50ca2a77d02a27d5f30e.js +++ b/assets/chunk.582.02606c2df0a70a7c5236.js @@ -1,4 +1,4 @@ -var __ember_auto_import__;(()=>{var e={52875:function(e,r){window._eai_r=require,window._eai_d=define},38592:(e,r,t)=>{var n,o +var __ember_auto_import__;(()=>{var e={12110:function(e,r){window._eai_r=require,window._eai_d=define},57921:(e,r,t)=>{var n,o e.exports=(n=_eai_d,o=_eai_r,window.emberAutoImportDynamic=function(e){return 1===arguments.length?o("_eai_dyn_"+e):o("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return o("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},void n("dom-element-descriptors",[],(function(){return(e=t(15582))&&e.__esModule?e:Object.assign({default:e},e) var e})))},15582:(e,r,t)=>{"use strict" t.r(r),t.d(r,{IS_DESCRIPTOR:()=>n,createDescriptor:()=>a,isDescriptor:()=>o,lookupDescriptorData:()=>s,registerDescriptorData:()=>l,resolveDOMElement:()=>u,resolveDOMElements:()=>c,resolveDescription:()=>_}) @@ -18,6 +18,6 @@ return l(r,e),r}}},r={} function t(n){var o=r[n] if(void 0!==o)return o.exports var i=r[n]={exports:{}} -return e[n].call(i.exports,i,i.exports,t),i.exports}t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t(52875) -var n=t(38592) +return e[n].call(i.exports,i,i.exports,t),i.exports}t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t(12110) +var n=t(57921) __ember_auto_import__=n})() diff --git a/index.html b/index.html index f60e95f2..9d44f148 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@ - +