1"use strict";(self.webpackChunkbeunity=self.webpackChunkbeunity||[]).push([[4319],{84319:(t,e,i)=>{i.r(e),i.d(e,{ion_nav:()=>l,ion_nav_link:()=>p});var n=i(31635),o=i(84610),r=i(81388),s=i(99267),a=i(52858),u=i(37812),c=i(85185),h=function(){function t(t,e){this.component=t,this.params=e,this.state=1}return t.prototype.init=function(t){return(0,n.sH)(this,void 0,void 0,function(){var e,i;return(0,n.YH)(this,function(n){switch(n.label){case 0:return this.state=2,this.element?[3,2]:(e=this.component,i=this,[4,(0,c.a)(this.delegate,t,e,["ion-page","ion-page-invisible"],this.params)]);case 1:i.element=n.sent(),n.label=2;case 2:return[2]}})})},t.prototype._destroy=function(){(0,s.o)(3!==this.state,"view state must be ATTACHED");var t=this.element;t&&(this.delegate?this.delegate.removeViewFromDom(t.parentElement,t):t.remove()),this.nav=void 0,this.state=3},t}(),d=function(t,e,i){return!!t&&(t.component===e&&(0,s.s)(t.params,i))},v=function(t,e){return t?t instanceof h?t:new h(t,e):null},l=function(){function t(t){(0,o.r)(this,t),this.ionNavWillLoad=(0,o.d)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,o.d)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,o.d)(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.delegate=void 0,this.swipeGesture=void 0,this.animated=!0,this.animation=void 0,this.rootParams=void 0,this.root=void 0}return t.prototype.swipeGestureChanged=function(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)},t.prototype.rootChanged=function(){void 0!==this.root&&!1!==this.didLoad&&(this.useRouter||void 0!==this.root&&this.setRoot(this.root,this.rootParams))},t.prototype.componentWillLoad=function(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){var t=(0,u.b)(this);this.swipeGesture=u.c.getBoolean("swipeBackEnabled","ios"===t)}this.ionNavWillLoad.emit()},t.prototype.componentDidLoad=function(){return(0,n.sH)(this,void 0,void 0,function(){var t;return(0,n.YH)(this,function(e){switch(e.label){case 0:return this.didLoad=!0,this.rootChanged(),t=this,[4,i.e(6428).then(i.bind(i,4047))];case 1:return t.gesture=e.sent().createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged(),[2]}})})},t.prototype.connectedCallback=function(){this.destroyed=!1},t.prototype.disconnectedCallback=function(){for(var t=0,e=this.views;t<e.length;t++){var i=e[t];(0,a.l)(i.element,a.d),i._destroy()}this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0},t.prototype.push=function(t,e,i,n){return this.insert(-1,t,e,i,n)},t.prototype.insert=function(t,e,i,n,o){return this.insertPages(t,[{component:e,componentProps:i}],n,o)},t.prototype.insertPages=function(t,e,i,n){return this.queueTrns({insertStart:t,insertViews:e,opts:i},n)},t.prototype.pop=function(t,e){return this.removeIndex(-1,1,t,e)},t.prototype.popTo=function(t,e,i){var n={removeStart:-1,removeCount:-1,opts:e};return"object"===typeof t&&t.component?(n.removeView=t,n.removeStart=1):"number"===typeof t&&(n.removeStart=t+1),this.queueTrns(n,i)},t.prototype.popToRoot=function(t,e){return this.removeIndex(1,-1,t,e)},t.prototype.removeIndex=function(t,e,i,n){return void 0===e&&(e=1),this.queueTrns({removeStart:t,removeCount:e,opts:i},n)},t.prototype.setRoot=function(t,e,i,n){return this.setPages([{component:t,componentProps:e}],i,n)},t.prototype.setPages=function(t,e,i){return null!==e&&void 0!==e||(e={}),!0!==e.animated&&(e.animated=!1),this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:e},i)},t.prototype.setRouteId=function(t,e,i,o){var r,s=this,a=this.getActiveSync();if(d(a,t,e))return Promise.resolve({changed:!1,element:a.element});var u,c=new Promise(function(t){return r=t}),h={updateURL:!1,viewIsReady:function(t){var e,i=new Promise(function(t){return e=t});return r({changed:!0,element:t,markVisible:function(){return(0,n.sH)(s,void 0,void 0,function(){return(0,n.YH)(this,function(t){switch(t.label){case 0:return e(),[4,u];case 1:return t.sent(),[2]}})})}}),i}};if("root"===i)u=this.setRoot(t,e,h);else{var v=this.views.find(function(i){return d(i,t,e)});v?u=this.popTo(v,Object.assign(Object.assign({},h),{direction:"back",animationBuilder:o})):"forward"===i?u=this.push(t,e,Object.assign(Object.assign({},h),{animationBuilder:o})):"back"===i&&(u=this.setRoot(t,e,Object.assign(Object.assign({},h),{direction:"back",animated:!0,animationBuilder:o})))}return c},t.prototype.getRouteId=function(){return(0,n.sH)(this,void 0,void 0,function(){var t;return(0,n.YH)(this,function(e){return(t=this.getActiveSync())?[2,{id:t.element.tagName,params:t.params,element:t.element}]:[2,void 0]})})},t.prototype.getActive=function(){return(0,n.sH)(this,void 0,void 0,function(){return(0,n.YH)(this,function(t){return[2,this.getActiveSync()]})})},t.prototype.getByIndex=function(t){return(0,n.sH)(this,void 0,void 0,function(){return(0,n.YH)(this,function(e){return[2,this.views[t]]})})},t.prototype.canGoBack=function(t){return(0,n.sH)(this,void 0,void 0,function(){return(0,n.YH)(this,function(e){return[2,this.canGoBackSync(t)]})})},t.prototype.getPrevious=function(t){return(0,n.sH)(this,void 0,void 0,function(){return(0,n.YH)(this,function(e){return[2,this.getPreviousSync(t)]})})},t.prototype.getLength=function(){return this.views.length},t.prototype.getActiveSync=function(){return this.views[this.views.length-1]},t.prototype.canGoBackSync=function(t){return void 0===t&&(t=this.getActiveSync()),!(!t||!this.getPreviousSync(t))},t.prototype.getPreviousSync=function(t){if(void 0===t&&(t=this.getActiveSync()),t){var e=this.views,i=e.indexOf(t);return i>0?e[i-1]:void 0}},t.prototype.queueTrns=function(t,e){return(0,n.sH)(this,void 0,void 0,function(){var i,o,r,s,a;return(0,n.YH)(this,function(n){switch(n.label){case 0:return this.isTransitioning&&(null===(i=t.opts)||void 0===i?void 0:i.skipIfBusy)?[2,!1]:(r=new Promise(function(e,i){t.resolve=e,t.reject=i}),t.done=e,t.opts&&!1!==t.opts.updateURL&&this.useRouter&&(s=document.querySelector("ion-router"))?[4,s.canTransition()]:[3,2]);case 1:if(!1===(a=n.sent()))return[2,!1];if("string"===typeof a)return s.push(a,t.opts.direction||"back"),[2,!1];n.label=2;case 2:return 0===(null===(o=t.insertViews)||void 0===o?void 0:o.length)&&(t.insertViews=void 0),this.transInstr.push(t),this.nextTrns(),[2,r]}})})},t.prototype.success=function(t,e){if(this.destroyed)this.fireError("nav controller was destroyed",e);else if(e.done&&e.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction),e.resolve(t.hasCompleted),!1!==e.opts.updateURL&&this.useRouter){var i=document.querySelector("ion-router");if(i){var n="back"===t.direction?"back":"forward";i.navChanged(n)}}},t.prototype.failed=function(t,e){this.destroyed?this.fireError("nav controller was destroyed",e):(this.transInstr.length=0,this.fireError(t,e))},t.prototype.fireError=function(t,e){e.done&&e.done(!1,!1,t),e.reject&&!this.destroyed?e.reject(t):e.resolve(!1)},t.prototype.nextTrns=function(){if(this.isTransitioning)return!1;var t=this.transInstr.shift();return!!t&&(this.runTransition(t),!0)},t.prototype.runTransition=function(t){return(0,n.sH)(this,void 0,void 0,function(){var e,i,o,r,s;return(0,n.YH)(this,function(n){switch(n.label){case 0:if(n.trys.push([0,6,,7]),this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(t),e=this.getActiveSync(),i=this.getEnteringView(t,e),!e&&!i)throw new Error("no views in the stack to be removed");return i&&1===i.state?[4,i.init(this.el)]:[3,2];case 1:n.sent(),n.label=2;case 2:return this.postViewInit(i,e,t),(o=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&i!==e)&&t.opts&&e&&("back"===t.opts.direction&&(t.opts.animationBuilder=t.opts.animationBuilder||(null===i||void 0===i?void 0:i.animationBuilder)),e.animationBuilder=t.opts.animationBuilder),r=void 0,o?[4,this.transition(i,e,t)]:[3,4];case 3:return r=n.sent(),[3,5];case 4:r={hasCompleted:!0,requiresTransition:!1},n.label=5;case 5:return this.success(r,t),this.ionNavDidChange.emit(),[3,7];case 6:return s=n.sent(),this.failed(s,t),[3,7];case 7:return this.isTransitioning=!1,this.nextTrns(),[2]}})})},t.prototype.prepareTI=function(t){var e,i,n,o=this.views.length;if(null!==(e=t.opts)&&void 0!==e||(t.opts={}),null!==(i=(n=t.opts).delegate)&&void 0!==i||(n.delegate=this.delegate),void 0!==t.removeView){(0,s.o)(void 0!==t.removeStart,"removeView needs removeStart"),(0,s.o)(void 0!==t.removeCount,"removeView needs removeCount");var r=this.views.indexOf(t.removeView);if(r<0)throw new Error("removeView was not found");t.removeStart+=r}void 0!==t.removeStart&&(t.removeStart<0&&(t.removeStart=o-1),t.removeCount<0&&(t.removeCount=o-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===o),t.insertViews&&((t.insertStart<0||t.insertStart>o)&&(t.insertStart=o),t.enteringRequiresTransition=t.insertStart===o);var a=t.insertViews;if(a){(0,s.o)(a.length>0,"length can not be zero");var u=function(t){return t.map(function(t){return t instanceof h?t:"component"in t?v(t.component,null===t.componentProps?void 0:t.componentProps):v(t,void 0)}).filter(function(t){return null!==t})}(a);if(0===u.length)throw new Error("invalid views to insert");for(var c=0,d=u;c<d.length;c++){var l=d[c];l.delegate=t.opts.delegate;var p=l.nav;if(p&&p!==this)throw new Error("inserted view was already inserted");if(3===l.state)throw new Error("inserted view was already destroyed")}t.insertViews=u}},t.prototype.getEnteringView=function(t,e){var i=t.insertViews;if(void 0!==i)return i[i.length-1];var n=t.removeStart;if(void 0!==n)for(var o=this.views,r=n+t.removeCount,s=o.length-1;s>=0;s--){var a=o[s];if((s<n||s>=r)&&a!==e)return a}}
1,t.prototype.postViewInit=function(t,e,i){var n,o,r;(0,s.o)(e||t,"Both leavingView and enteringView are null"),(0,s.o)(i.resolve,"resolve must be valid"),(0,s.o)(i.reject,"reject must be valid");var u,c=i.opts,h=i.insertViews,d=i.removeStart,v=i.removeCount;if(void 0!==d&&void 0!==v){(0,s.o)(d>=0,"removeStart can not be negative"),(0,s.o)(v>=0,"removeCount can not be negative"),u=[];for(var l=d;l<d+v;l++){void 0!==(w=this.views[l])&&w!==t&&w!==e&&u.push(w)}null!==(n=c.direction)&&void 0!==n||(c.direction="back")}var p=this.views.length+(null!==(o=null===h||void 0===h?void 0:h.length)&&void 0!==o?o:0)-(null!==v&&void 0!==v?v:0);if((0,s.o)(p>=0,"final balance can not be negative"),0===p)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(h){for(var f=i.insertStart,m=0,g=h;m<g.length;m++){var w=g[m];this.insertViewAt(w,f),f++}i.enteringRequiresTransition&&(null!==(r=c.direction)&&void 0!==r||(c.direction="forward"))}if(u&&u.length>0){for(var y=0,b=u;y<b.length;y++){w=b[y];(0,a.l)(w.element,a.b),(0,a.l)(w.element,a.c),(0,a.l)(w.element,a.d)}for(var S=0,k=u;S<k.length;S++){w=k[S];this.destroyView(w)}}},t.prototype.transition=function(t,e,i){return(0,n.sH)(this,void 0,void 0,function(){var o,r,s,c,h,d,v,l=this;return(0,n.YH)(this,function(n){switch(n.label){case 0:return o=i.opts,r=o.progressAnimation?function(t){void 0===t||l.gestureOrAnimationInProgress?l.sbAni=t:(l.gestureOrAnimationInProgress=!0,t.onFinish(function(){l.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0}),t.progressEnd(0,0,0))}:void 0,s=(0,u.b)(this),c=t.element,h=e&&e.element,d=Object.assign(Object.assign({mode:s,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:r,animated:this.animated&&u.c.getBoolean("animated",!0),enteringEl:c,leavingEl:h},o),{animationBuilder:o.animationBuilder||this.animation||u.c.get("navAnimation")}),[4,(0,a.t)(d)];case 1:return v=n.sent().hasCompleted,[2,this.transitionFinish(v,t,e,o)]}})})},t.prototype.transitionFinish=function(t,e,i,n){var o=t?e:i;return o&&this.unmountInactiveViews(o),{hasCompleted:t,requiresTransition:!0,enteringView:e,leavingView:i,direction:n.direction}},t.prototype.insertViewAt=function(t,e){var i=this.views,n=i.indexOf(t);n>-1?((0,s.o)(t.nav===this,"view is not part of the nav"),i.splice(n,1),i.splice(e,0,t)):((0,s.o)(!t.nav,"nav is used"),t.nav=this,i.splice(e,0,t))},t.prototype.removeView=function(t){(0,s.o)(2===t.state||3===t.state,"view state should be loaded or destroyed");var e=this.views,i=e.indexOf(t);(0,s.o)(i>-1,"view must be part of the stack"),i>=0&&e.splice(i,1)},t.prototype.destroyView=function(t){t._destroy(),this.removeView(t)},t.prototype.unmountInactiveViews=function(t){if(!this.destroyed)for(var e=this.views,i=e.indexOf(t),n=e.length-1;n>=0;n--){var o=e[n],r=o.element;r&&(n>i?((0,a.l)(r,a.d),this.destroyView(o)):n<i&&(0,a.s)(r,!0))}},t.prototype.canStart=function(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&0===this.transInstr.length&&this.canGoBackSync()},t.prototype.onStart=function(){this.gestureOrAnimationInProgress=!0,this.pop({direction:"back",progressAnimation:!0})},t.prototype.onMove=function(t){this.sbAni&&this.sbAni.progressStep(t)},t.prototype.onEnd=function(t,e,i){var n=this;if(this.sbAni){this.sbAni.onFinish(function(){n.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0});var o=t?-.001:.001;t?o+=(0,r.g)([0,0],[.32,.72],[0,1],[1,1],e)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),o+=(0,r.g)([0,0],[1,0],[.68,.28],[1,1],e)[0]),this.sbAni.progressEnd(t?1:0,o,i)}else this.gestureOrAnimationInProgress=!1},t.prototype.render=function(){return(0,o.h)("slot",{key:"6894eccc60e446294b01261477691ea1e88348ab"})},Object.defineProperty(t.prototype,"el",{get:function(){return(0,o.f)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"watchers",{get:function(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}},enumerable:!1,configurable:!0}),t}();l.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";var p=function(){function t(t){var e=this;
1(0,o.r)(this,t),this.onClick=function(){return function(t,e,i,n,o){var r=t.closest("ion-nav");if(r)if("forward"===e){if(void 0!==i)return r.push(i,n,{skipIfBusy:!0,animationBuilder:o})}else if("root"===e){if(void 0!==i)return r.setRoot(i,n,{skipIfBusy:!0,animationBuilder:o})}else if("back"===e)return r.pop({skipIfBusy:!0,animationBuilder:o});return Promise.resolve(!1)}(e.el,e.routerDirection,e.component,e.componentProps,e.routerAnimation)},this.component=void 0,this.componentProps=void 0,this.routerDirection="forward",this.routerAnimation=void 0}return t.prototype.render=function(){return(0,o.h)(o.H,{key:"dab6e8a908395d99c87452c5e5aa4e61d9e72435",onClick:this.onClick})},Object.defineProperty(t.prototype,"el",{get:function(){return(0,o.f)(this)},enumerable:!1,configurable:!0}),t}()}}]); 2//# sourceMappingURL=4319-0a70774afb1b68d4fe1e.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.