@ionic/core 7.5.1-nightly.20231017 → 7.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.
Files changed (178) hide show
  1. package/dist/cjs/ionic.cjs.js +1 -1
  2. package/dist/collection/collection-manifest.json +1 -1
  3. package/dist/docs.json +2 -2
  4. package/dist/esm/ionic.js +1 -1
  5. package/dist/esm-es5/animation-92066c62.js +1 -1
  6. package/dist/esm-es5/button-active-d926d4f4.js +1 -1
  7. package/dist/esm-es5/config-96c9ace3.js +1 -1
  8. package/dist/esm-es5/cubic-bezier-66542bc5.js +1 -1
  9. package/dist/esm-es5/data-44d9e816.js +1 -1
  10. package/dist/esm-es5/dir-912e3e13.js +1 -1
  11. package/dist/esm-es5/focus-visible-85493433.js +1 -1
  12. package/dist/esm-es5/form-controller-ed77647a.js +1 -1
  13. package/dist/esm-es5/framework-delegate-aa433dea.js +1 -1
  14. package/dist/esm-es5/gesture-controller-0fa396c4.js +1 -1
  15. package/dist/esm-es5/haptic-1243b917.js +1 -1
  16. package/dist/esm-es5/hardware-back-button-39299f84.js +1 -1
  17. package/dist/esm-es5/helpers-3379ba19.js +1 -1
  18. package/dist/esm-es5/index-746a238e.js +1 -1
  19. package/dist/esm-es5/index-a09eac70.js +1 -1
  20. package/dist/esm-es5/index-b49b173c.js +2 -2
  21. package/dist/esm-es5/index-df55802d.js +1 -1
  22. package/dist/esm-es5/index-f0cc4e14.js +1 -1
  23. package/dist/esm-es5/index-ff313b19.js +1 -1
  24. package/dist/esm-es5/input-shims-d78a3c77.js +1 -1
  25. package/dist/esm-es5/input.utils-ec063df4.js +1 -1
  26. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  27. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  28. package/dist/esm-es5/ion-alert.entry.js +1 -1
  29. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  30. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  31. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  32. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  33. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  34. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  35. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  36. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  37. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  38. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  39. package/dist/esm-es5/ion-img.entry.js +1 -1
  40. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  41. package/dist/esm-es5/ion-input.entry.js +1 -1
  42. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  43. package/dist/esm-es5/ion-loading.entry.js +1 -1
  44. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  45. package/dist/esm-es5/ion-modal.entry.js +1 -1
  46. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  47. package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
  48. package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
  49. package/dist/esm-es5/ion-popover.entry.js +1 -1
  50. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  51. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  52. package/dist/esm-es5/ion-range.entry.js +1 -1
  53. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  54. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  55. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  56. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  57. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  58. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  59. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  60. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  61. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  62. package/dist/esm-es5/ion-text.entry.js +1 -1
  63. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  64. package/dist/esm-es5/ion-toast.entry.js +1 -1
  65. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  66. package/dist/esm-es5/ionic-global-246ca78f.js +1 -1
  67. package/dist/esm-es5/ios.transition-4d1322d6.js +1 -1
  68. package/dist/esm-es5/keyboard-b551279d.js +1 -1
  69. package/dist/esm-es5/keyboard-controller-0c2dce71.js +1 -1
  70. package/dist/esm-es5/md.transition-66b425d0.js +1 -1
  71. package/dist/esm-es5/notch-controller-8c9c0e54.js +1 -1
  72. package/dist/esm-es5/overlays-cec6bac8.js +1 -1
  73. package/dist/esm-es5/spinner-configs-d09fbbbb.js +1 -1
  74. package/dist/esm-es5/status-tap-9aeeaca5.js +1 -1
  75. package/dist/esm-es5/swipe-back-0f3bfc8e.js +1 -1
  76. package/dist/esm-es5/watch-options-355a920a.js +1 -1
  77. package/dist/ionic/ionic.js +1 -1
  78. package/dist/ionic/{p-ec57eade.system.entry.js → p-008331e9.system.entry.js} +2 -2
  79. package/dist/ionic/{p-cd2d17c3.system.entry.js → p-00853890.system.entry.js} +2 -2
  80. package/dist/ionic/p-015187e5.system.js +2 -2
  81. package/dist/ionic/p-06ac429a.js +1 -1
  82. package/dist/ionic/{p-8a2801f1.system.entry.js → p-08e3ebcc.system.entry.js} +1 -1
  83. package/dist/ionic/p-091c8792.system.js +1 -1
  84. package/dist/ionic/{p-cf0c93e3.system.entry.js → p-0f10b5f5.system.entry.js} +2 -2
  85. package/dist/ionic/{p-8c1805f4.system.entry.js → p-1551659d.system.entry.js} +1 -1
  86. package/dist/ionic/{p-c956e82c.system.entry.js → p-1d17ce29.system.entry.js} +2 -2
  87. package/dist/ionic/{p-c92f0a6d.system.entry.js → p-29b56db6.system.entry.js} +2 -2
  88. package/dist/ionic/p-2a8eeef7.system.js +1 -1
  89. package/dist/ionic/p-2b89ea1b.system.js +1 -1
  90. package/dist/ionic/p-32ff5348.system.entry.js +4 -0
  91. package/dist/ionic/p-3632220b.system.js +1 -1
  92. package/dist/ionic/p-3d726a67.system.js +1 -1
  93. package/dist/ionic/{p-81ef7437.system.entry.js → p-40a0dacf.system.entry.js} +2 -2
  94. package/dist/ionic/p-41477ad9.system.js +1 -1
  95. package/dist/ionic/p-44bc8b45.system.js +2 -2
  96. package/dist/ionic/p-45844e7a.system.entry.js +4 -0
  97. package/dist/ionic/{p-1a463b1e.system.entry.js → p-4643c356.system.entry.js} +2 -2
  98. package/dist/ionic/p-479cdbf8.system.js +2 -2
  99. package/dist/ionic/{p-a164e3ab.system.entry.js → p-508defac.system.entry.js} +2 -2
  100. package/dist/ionic/{p-1d8d5f9a.system.entry.js → p-5421f83c.system.entry.js} +2 -2
  101. package/dist/ionic/p-56dc022e.system.js +1 -1
  102. package/dist/ionic/{p-6129af0a.system.entry.js → p-588687d2.system.entry.js} +1 -1
  103. package/dist/ionic/{p-eab10949.system.entry.js → p-590250f4.system.entry.js} +1 -1
  104. package/dist/ionic/p-5a692624.system.entry.js +4 -0
  105. package/dist/ionic/{p-8d6728a1.system.entry.js → p-5ef80480.system.entry.js} +1 -1
  106. package/dist/ionic/{p-ce7d67a7.system.entry.js → p-5f2cd7d2.system.entry.js} +2 -2
  107. package/dist/ionic/p-613d4042.system.js +2 -2
  108. package/dist/ionic/p-629aa3fd.system.js +3 -3
  109. package/dist/ionic/p-64475ab5.system.js +2 -2
  110. package/dist/ionic/{p-6f6646bf.system.entry.js → p-74f892e9.system.entry.js} +1 -1
  111. package/dist/ionic/{p-5c3e72a8.system.js → p-755b2917.system.js} +1 -1
  112. package/dist/ionic/p-772f6c84.system.js +2 -2
  113. package/dist/ionic/{p-29073efe.system.entry.js → p-7980e02c.system.entry.js} +2 -2
  114. package/dist/ionic/p-7f8844bd.system.entry.js +4 -0
  115. package/dist/ionic/p-815c2fba.system.js +2 -2
  116. package/dist/ionic/p-819ff3b9.system.js +1 -1
  117. package/dist/ionic/{p-3a58e3a4.system.entry.js → p-82251950.system.entry.js} +2 -2
  118. package/dist/ionic/p-87411e39.system.js +1 -1
  119. package/dist/ionic/p-8c09ef6b.system.entry.js +4 -0
  120. package/dist/ionic/p-8c15eda7.system.js +2 -2
  121. package/dist/ionic/p-8dbdb163.system.js +1 -1
  122. package/dist/ionic/p-8f01a9a2.system.js +2 -2
  123. package/dist/ionic/p-939e0fa1.system.js +1 -1
  124. package/dist/ionic/{p-9dc85536.system.entry.js → p-965ae1f9.system.entry.js} +2 -2
  125. package/dist/ionic/{p-c8c9d699.system.entry.js → p-9825577f.system.entry.js} +2 -2
  126. package/dist/ionic/p-9ab6f3e6.system.js +1 -1
  127. package/dist/ionic/p-9c1dce7a.system.entry.js +4 -0
  128. package/dist/ionic/p-9e852ff1.system.js +1 -1
  129. package/dist/ionic/p-a107434d.system.entry.js +4 -0
  130. package/dist/ionic/p-a3980e51.system.entry.js +4 -0
  131. package/dist/ionic/{p-e1d5752d.system.entry.js → p-a6c5ccb5.system.entry.js} +2 -2
  132. package/dist/ionic/p-aa377971.system.js +1 -1
  133. package/dist/ionic/p-ab4cff27.system.js +1 -1
  134. package/dist/ionic/{p-572cce26.system.entry.js → p-ab5f4f93.system.entry.js} +2 -2
  135. package/dist/ionic/p-ad48dd13.system.js +2 -2
  136. package/dist/ionic/{p-c42c86c0.system.entry.js → p-ae1de8af.system.entry.js} +1 -1
  137. package/dist/ionic/{p-beb864e4.system.entry.js → p-af37e8de.system.entry.js} +1 -1
  138. package/dist/ionic/{p-1289b3b5.system.entry.js → p-b0f6ef25.system.entry.js} +2 -2
  139. package/dist/ionic/p-b132c2c0.system.js +2 -2
  140. package/dist/ionic/p-b3c68723.system.js +1 -1
  141. package/dist/ionic/p-b4b4bb29.system.js +1 -1
  142. package/dist/ionic/p-b8c3f071.system.js +1 -1
  143. package/dist/ionic/{p-f9fa802c.system.entry.js → p-b96e1915.system.entry.js} +2 -2
  144. package/dist/ionic/p-bb055450.system.entry.js +4 -0
  145. package/dist/ionic/p-bba2ce59.system.js +1 -1
  146. package/dist/ionic/{p-4215652f.system.entry.js → p-bdf1db6f.system.entry.js} +2 -2
  147. package/dist/ionic/p-c49672d8.system.js +2 -2
  148. package/dist/ionic/p-c4f2dce7.system.js +1 -1
  149. package/dist/ionic/p-c575a7b8.system.entry.js +4 -0
  150. package/dist/ionic/{p-38c5fe2b.system.entry.js → p-c627257b.system.entry.js} +1 -1
  151. package/dist/ionic/p-c87827ca.system.js +1 -1
  152. package/dist/ionic/{p-012952cd.system.entry.js → p-c8d705d1.system.entry.js} +2 -2
  153. package/dist/ionic/{p-b753ec0d.system.entry.js → p-ca86ce12.system.entry.js} +2 -2
  154. package/dist/ionic/p-ccdcb022.system.js +1 -1
  155. package/dist/ionic/{p-e0f52215.system.entry.js → p-cf1822ca.system.entry.js} +1 -1
  156. package/dist/ionic/{p-6f8a95a3.system.entry.js → p-dbdb0d8e.system.entry.js} +2 -2
  157. package/dist/ionic/{p-78030c1f.system.entry.js → p-de252f17.system.entry.js} +1 -1
  158. package/dist/ionic/p-e028178a.system.js +2 -2
  159. package/dist/ionic/p-e0f0d55f.system.js +1 -1
  160. package/dist/ionic/{p-0bbede6a.system.entry.js → p-e21ebd84.system.entry.js} +1 -1
  161. package/dist/ionic/p-ecb860e5.system.entry.js +4 -0
  162. package/dist/ionic/p-fa8d4788.system.js +1 -1
  163. package/dist/ionic/{p-303bf1e8.system.entry.js → p-fbf836a7.system.entry.js} +2 -2
  164. package/dist/ionic/p-ff5a10f9.system.js +2 -2
  165. package/dist/types/stencil-public-runtime.d.ts +19 -0
  166. package/hydrate/index.js +10 -2
  167. package/package.json +2 -2
  168. package/dist/ionic/p-0b7c25ee.system.entry.js +0 -4
  169. package/dist/ionic/p-0f1f59da.system.entry.js +0 -4
  170. package/dist/ionic/p-2592264d.system.entry.js +0 -4
  171. package/dist/ionic/p-33a8349a.system.entry.js +0 -4
  172. package/dist/ionic/p-3f3da911.system.entry.js +0 -4
  173. package/dist/ionic/p-54f6cd27.system.entry.js +0 -4
  174. package/dist/ionic/p-61ca6685.system.entry.js +0 -4
  175. package/dist/ionic/p-6ce0a709.system.entry.js +0 -4
  176. package/dist/ionic/p-a34fc12e.system.entry.js +0 -4
  177. package/dist/ionic/p-b2fb0dda.system.entry.js +0 -4
  178. package/dist/ionic/p-b61a2fa0.system.entry.js +0 -4
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,i,e,n){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,s){function u(t){try{a(n.next(t))}catch(t){s(t)}}function o(t){try{a(n["throw"](t))}catch(t){s(t)}}function a(t){t.done?e(t.value):r(t.value).then(u,o)}a((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(i){return a([t,i])}}function a(o){if(n)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(e=0)),e)try{if(n=1,r&&(s=o[0]&2?r["return"]:o[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;if(r=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;r=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){e.label=o[1];break}if(o[0]===6&&e.label<s[1]){e.label=s[1];s=o;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(o);break}if(s[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(t){o=[6,t];r=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * (C) Ionic http://ionicframework.com - MIT License
4
+ */System.register(["./p-629aa3fd.system.js","./p-c4f2dce7.system.js","./p-815c2fba.system.js","./p-e028178a.system.js","./p-939e0fa1.system.js","./p-613d4042.system.js"],(function(t,i){"use strict";var e,n,r,s,u,o,a,f,h,c,d,v,l,w,m,b,_;return{setters:[function(t){e=t.r;n=t.d;r=t.h;s=t.f;u=t.H},function(t){o=t.g},function(t){a=t.o;f=t.s},function(t){h=t.l;c=t.t;d=t.s;v=t.d;l=t.b;w=t.c},function(t){m=t.b;b=t.c},function(t){_=t.a}],execute:function(){var p=1;var g=2;var y=3;var k=function(){function t(t,i){this.component=t;this.params=i;this.state=p}t.prototype.init=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e;return __generator(this,(function(n){switch(n.label){case 0:this.state=g;if(!!this.element)return[3,2];i=this.component;e=this;return[4,_(this.delegate,t,i,["ion-page","ion-page-invisible"],this.params)];case 1:e.element=n.sent();n.label=2;case 2:return[2]}}))}))};t.prototype._destroy=function(){a(this.state!==y,"view state must be ATTACHED");var t=this.element;if(t){if(this.delegate){this.delegate.removeViewFromDom(t.parentElement,t)}else{t.remove()}}this.nav=undefined;this.state=y};return t}();var j=function(t,i,e){if(!t){return false}if(t.component!==i){return false}return f(t.params,e)};var C=function(t,i){if(!t){return null}if(t instanceof k){return t}return new k(t,i)};var B=function(t){return t.map((function(t){if(t instanceof k){return t}if("component"in t){return C(t.component,t.componentProps===null?undefined:t.componentProps)}return C(t,undefined)})).filter((function(t){return t!==null}))};var E=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";var O=t("ion_nav",function(){function t(t){e(this,t);this.ionNavWillLoad=n(this,"ionNavWillLoad",7);this.ionNavWillChange=n(this,"ionNavWillChange",3);this.ionNavDidChange=n(this,"ionNavDidChange",3);this.transInstr=[];this.gestureOrAnimationInProgress=false;this.useRouter=false;this.isTransitioning=false;this.destroyed=false;this.views=[];this.didLoad=false;this.delegate=undefined;this.swipeGesture=undefined;this.animated=true;this.animation=undefined;this.rootParams=undefined;this.root=undefined}t.prototype.swipeGestureChanged=function(){if(this.gesture){this.gesture.enable(this.swipeGesture===true)}};t.prototype.rootChanged=function(){if(this.root===undefined){return}if(this.didLoad===false){return}if(!this.useRouter){if(this.root!==undefined){this.setRoot(this.root,this.rootParams)}}};t.prototype.componentWillLoad=function(){this.useRouter=document.querySelector("ion-router")!==null&&this.el.closest("[no-router]")===null;if(this.swipeGesture===undefined){var t=m(this);this.swipeGesture=b.getBoolean("swipeBackEnabled",t==="ios")}this.ionNavWillLoad.emit()};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.didLoad=true;this.rootChanged();t=this;return[4,i.import("./p-8dbdb163.system.js")];case 1: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();return[2]}}))}))};t.prototype.connectedCallback=function(){this.destroyed=false};t.prototype.disconnectedCallback=function(){for(var t=0,i=this.views;t<i.length;t++){var e=i[t];h(e.element,v);e._destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.transInstr.length=0;this.views.length=0;this.destroyed=true};t.prototype.push=function(t,i,e,n){return this.insert(-1,t,i,e,n)};t.prototype.insert=function(t,i,e,n,r){return this.insertPages(t,[{component:i,componentProps:e}],n,r)};t.prototype.insertPages=function(t,i,e,n){return this.queueTrns({insertStart:t,insertViews:i,opts:e},n)};t.prototype.pop=function(t,i){return this.removeIndex(-1,1,t,i)};t.prototype.popTo=function(t,i,e){var n={removeStart:-1,removeCount:-1,opts:i};if(typeof t==="object"&&t.component){n.removeView=t;n.removeStart=1}else if(typeof t==="number"){n.removeStart=t+1}return this.queueTrns(n,e)};t.prototype.popToRoot=function(t,i){return this.removeIndex(1,-1,t,i)};t.prototype.removeIndex=function(t,i,e,n){if(i===void 0){i=1}return this.queueTrns({removeStart:t,removeCount:i,opts:e},n)};t.prototype.setRoot=function(t,i,e,n){return this.setPages([{component:t,componentProps:i}],e,n)};t.prototype.setPages=function(t,i,e){i!==null&&i!==void 0?i:i={};if(i.animated!==true){i.animated=false}return this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:i},e)};t.prototype.setRouteId=function(t,i,e,n){var r=this;var s=this.getActiveSync();if(j(s,t,i)){return Promise.resolve({changed:false,element:s.element})}var u;var o=new Promise((function(t){return u=t}));var a;var f={updateURL:false,viewIsReady:function(t){var i;var e=new Promise((function(t){return i=t}));u({changed:true,element:t,markVisible:function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:i();return[4,a];case 1:t.sent();return[2]}}))}))}});return e}};if(e==="root"){a=this.setRoot(t,i,f)}else{var h=this.views.find((function(e){return j(e,t,i)}));if(h){a=this.popTo(h,Object.assign(Object.assign({},f),{direction:"back",animationBuilder:n}))}else if(e==="forward"){a=this.push(t,i,Object.assign(Object.assign({},f),{animationBuilder:n}))}else if(e==="back"){a=this.setRoot(t,i,Object.assign(Object.assign({},f),{direction:"back",animated:true,animationBuilder:n}))}}return o};t.prototype.getRouteId=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){t=this.getActiveSync();if(t){return[2,{id:t.element.tagName,params:t.params,element:t.element}]}return[2,undefined]}))}))};t.prototype.getActive=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.getActiveSync()]}))}))};t.prototype.getByIndex=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.views[t]]}))}))};t.prototype.canGoBack=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.canGoBackSync(t)]}))}))};t.prototype.getPrevious=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){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){if(t===void 0){t=this.getActiveSync()}return!!(t&&this.getPreviousSync(t))};t.prototype.getPreviousSync=function(t){if(t===void 0){t=this.getActiveSync()}if(!t){return undefined}var i=this.views;var e=i.indexOf(t);return e>0?i[e-1]:undefined};t.prototype.queueTrns=function(t,i){return __awaiter(this,void 0,void 0,(function(){var e,n,r,s,u;return __generator(this,(function(o){switch(o.label){case 0:if(this.isTransitioning&&((e=t.opts)===null||e===void 0?void 0:e.skipIfBusy)){return[2,false]}r=new Promise((function(i,e){t.resolve=i;t.reject=e}));t.done=i;if(!(t.opts&&t.opts.updateURL!==false&&this.useRouter))return[3,2];s=document.querySelector("ion-router");if(!s)return[3,2];return[4,s.canTransition()];case 1:u=o.sent();if(u===false){return[2,false]}if(typeof u==="string"){s.push(u,t.opts.direction||"back");return[2,false]}o.label=2;case 2:if(((n=t.insertViews)===null||n===void 0?void 0:n.length)===0){t.insertViews=undefined}this.transInstr.push(t);this.nextTrns();return[2,r]}}))}))};t.prototype.success=function(t,i){if(this.destroyed){this.fireError("nav controller was destroyed",i);return}if(i.done){i.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction)}i.resolve(t.hasCompleted);if(i.opts.updateURL!==false&&this.useRouter){var e=document.querySelector("ion-router");if(e){var n=t.direction==="back"?"back":"forward";e.navChanged(n)}}};t.prototype.failed=function(t,i){if(this.destroyed){this.fireError("nav controller was destroyed",i);return}this.transInstr.length=0;this.fireError(t,i)};t.prototype.fireError=function(t,i){if(i.done){i.done(false,false,t)}if(i.reject&&!this.destroyed){i.reject(t)}else{i.resolve(false)}};t.prototype.nextTrns=function(){if(this.isTransitioning){return false}var t=this.transInstr.shift();if(!t){return false}this.runTransition(t);return true};t.prototype.runTransition=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e,n,r,s,u;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,6,,7]);this.ionNavWillChange.emit();this.isTransitioning=true;this.prepareTI(t);i=this.getActiveSync();e=this.getEnteringView(t,i);if(!i&&!e){throw new Error("no views in the stack to be removed")}if(!(e&&e.state===p))return[3,2];return[4,e.init(this.el)];case 1:o.sent();o.label=2;case 2:this.postViewInit(e,i,t);n=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&e!==i;if(n&&t.opts&&i){r=t.opts.direction==="back";if(r){t.opts.animationBuilder=t.opts.animationBuilder||(e===null||e===void 0?void 0:e.animationBuilder)}i.animationBuilder=t.opts.animationBuilder}s=void 0;if(!n)return[3,4];return[4,this.transition(e,i,t)];case 3:s=o.sent();return[3,5];case 4:s={hasCompleted:true,requiresTransition:false};o.label=5;case 5:this.success(s,t);this.ionNavDidChange.emit();return[3,7];case 6:u=o.sent();this.failed(u,t);return[3,7];case 7:this.isTransitioning=false;this.nextTrns();return[2]}}))}))};t.prototype.prepareTI=function(t){var i,e;var n;var r=this.views.length;(i=t.opts)!==null&&i!==void 0?i:t.opts={};(e=(n=t.opts).delegate)!==null&&e!==void 0?e:n.delegate=this.delegate;if(t.removeView!==undefined){a(t.removeStart!==undefined,"removeView needs removeStart");a(t.removeCount!==undefined,"removeView needs removeCount");var s=this.views.indexOf(t.removeView);if(s<0){throw new Error("removeView was not found")}t.removeStart+=s}if(t.removeStart!==undefined){if(t.removeStart<0){t.removeStart=r-1}if(t.removeCount<0){t.removeCount=r-t.removeStart}t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===r}if(t.insertViews){if(t.insertStart<0||t.insertStart>r){t.insertStart=r}t.enteringRequiresTransition=t.insertStart===r}var u=t.insertViews;if(!u){return}a(u.length>0,"length can not be zero");var o=B(u);if(o.length===0){throw new Error("invalid views to insert")}for(var f=0,h=o;f<h.length;f++){var c=h[f];c.delegate=t.opts.delegate;var d=c.nav;if(d&&d!==this){throw new Error("inserted view was already inserted")}if(c.state===y){throw new Error("inserted view was already destroyed")}}t.insertViews=o};t.prototype.getEnteringView=function(t,i){var e=t.insertViews;if(e!==undefined){return e[e.length-1]}var n=t.removeStart;if(n!==undefined){var r=this.views;var s=n+t.removeCount;for(var u=r.length-1;u>=0;u--){var o=r[u];if((u<n||u>=s)&&o!==i){return o}}}return undefined};t.prototype.postViewInit=function(t,i,e){var n,r,s;a(i||t,"Both leavingView and enteringView are null");a(e.resolve,"resolve must be valid");a(e.reject,"reject must be valid");var u=e.opts;var o=e.insertViews,f=e.removeStart,c=e.removeCount;var d;if(f!==undefined&&c!==undefined){a(f>=0,"removeStart can not be negative");a(c>=0,"removeCount can not be negative");d=[];for(var m=f;m<f+c;m++){var b=this.views[m];if(b!==undefined&&b!==t&&b!==i){d.push(b)}}(n=u.direction)!==null&&n!==void 0?n:u.direction="back"}var _=this.views.length+((r=o===null||o===void 0?void 0:o.length)!==null&&r!==void 0?r:0)-(c!==null&&c!==void 0?c:0);a(_>=0,"final balance can not be negative");if(_===0){console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el);throw new Error("navigation stack needs at least one root page")}if(o){var p=e.insertStart;for(var g=0,y=o;g<y.length;g++){var b=y[g];this.insertViewAt(b,p);p++}if(e.enteringRequiresTransition){(s=u.direction)!==null&&s!==void 0?s:u.direction="forward"}}if(d&&d.length>0){for(var k=0,j=d;k<j.length;k++){var b=j[k];h(b.element,l);h(b.element,w);h(b.element,v)}for(var C=0,B=d;C<B.length;C++){var b=B[C];this.destroyView(b)}}};t.prototype.transition=function(t,i,e){return __awaiter(this,void 0,void 0,(function(){var n,r,s,u,o,a,f;var h=this;return __generator(this,(function(d){switch(d.label){case 0:n=e.opts;r=n.progressAnimation?function(t){if(t!==undefined&&!h.gestureOrAnimationInProgress){h.gestureOrAnimationInProgress=true;t.onFinish((function(){h.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});t.progressEnd(0,0,0)}else{h.sbAni=t}}:undefined;s=m(this);u=t.element;o=i&&i.element;a=Object.assign(Object.assign({mode:s,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:r,animated:this.animated&&b.getBoolean("animated",true),enteringEl:u,leavingEl:o},n),{animationBuilder:n.animationBuilder||this.animation||b.get("navAnimation")});return[4,c(a)];case 1:f=d.sent().hasCompleted;return[2,this.transitionFinish(f,t,i,n)]}}))}))};t.prototype.transitionFinish=function(t,i,e,n){var r=t?i:e;if(r){this.unmountInactiveViews(r)}return{hasCompleted:t,requiresTransition:true,enteringView:i,leavingView:e,direction:n.direction}};t.prototype.insertViewAt=function(t,i){var e=this.views;var n=e.indexOf(t);if(n>-1){a(t.nav===this,"view is not part of the nav");e.splice(n,1);e.splice(i,0,t)}else{a(!t.nav,"nav is used");t.nav=this;e.splice(i,0,t)}};t.prototype.removeView=function(t){a(t.state===g||t.state===y,"view state should be loaded or destroyed");var i=this.views;var e=i.indexOf(t);a(e>-1,"view must be part of the stack");if(e>=0){i.splice(e,1)}};t.prototype.destroyView=function(t){t._destroy();this.removeView(t)};t.prototype.unmountInactiveViews=function(t){if(this.destroyed){return}var i=this.views;var e=i.indexOf(t);for(var n=i.length-1;n>=0;n--){var r=i[n];var s=r.element;if(s){if(n>e){h(s,v);this.destroyView(r)}else if(n<e){d(s,true)}}}};t.prototype.canStart=function(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&this.transInstr.length===0&&this.canGoBackSync()};t.prototype.onStart=function(){this.gestureOrAnimationInProgress=true;this.pop({direction:"back",progressAnimation:true})};t.prototype.onMove=function(t){if(this.sbAni){this.sbAni.progressStep(t)}};t.prototype.onEnd=function(t,i,e){var n=this;if(this.sbAni){this.sbAni.onFinish((function(){n.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});var r=t?-.001:.001;if(!t){this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)");r+=o([0,0],[1,0],[.68,.28],[1,1],i)[0]}else{r+=o([0,0],[.32,.72],[0,1],[1,1],i)[0]}this.sbAni.progressEnd(t?1:0,r,e)}else{this.gestureOrAnimationInProgress=false}};t.prototype.render=function(){return r("slot",null)};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}},enumerable:false,configurable:true});return t}());O.style=E;var S=function(t,i,e,n,r){var s=t.closest("ion-nav");if(s){if(i==="forward"){if(e!==undefined){return s.push(e,n,{skipIfBusy:true,animationBuilder:r})}}else if(i==="root"){if(e!==undefined){return s.setRoot(e,n,{skipIfBusy:true,animationBuilder:r})}}else if(i==="back"){return s.pop({skipIfBusy:true,animationBuilder:r})}}return Promise.resolve(false)};var V=t("ion_nav_link",function(){function t(t){var i=this;e(this,t);this.onClick=function(){return S(i.el,i.routerDirection,i.component,i.componentProps,i.routerAnimation)};this.component=undefined;this.componentProps=undefined;this.routerDirection="forward";this.routerAnimation=undefined}t.prototype.render=function(){return r(u,{onClick:this.onClick})};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});return t}())}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- System.register(["./p-9e852ff1.system.js"],(function(e){"use strict";var r;return{setters:[function(t){r=t.G;e("GESTURE_CONTROLLER",t.G)}],execute:function(){var t=function(e,r,t,a){var i=n(e)?{capture:!!a.capture,passive:!!a.passive}:!!a.capture;var u;var f;if(e["__zone_symbol__addEventListener"]){u="__zone_symbol__addEventListener";f="__zone_symbol__removeEventListener"}else{u="addEventListener";f="removeEventListener"}e[u](r,t,i);return function(){e[f](r,t,i)}};var n=function(e){if(a===undefined){try{var r=Object.defineProperty({},"passive",{get:function(){a=true}});e.addEventListener("optsTest",(function(){return}),r)}catch(e){a=false}}return!!a};var a;var i=2e3;var u=function(e,r,n,a,u){var v;var s;var o;var c;var l;var d;var m;var p=0;var y=function(a){p=Date.now()+i;if(!r(a)){return}if(!s&&n){s=t(e,"touchmove",n,u)}if(!o){o=t(a.target,"touchend",Y,u)}if(!c){c=t(a.target,"touchcancel",Y,u)}};var X=function(a){if(p>Date.now()){return}if(!r(a)){return}if(!d&&n){d=t(f(e),"mousemove",n,u)}if(!m){m=t(f(e),"mouseup",h,u)}};var Y=function(e){g();if(a){a(e)}};var h=function(e){_();if(a){a(e)}};var g=function(){if(s){s()}if(o){o()}if(c){c()}s=o=c=undefined};var _=function(){if(d){d()}if(m){m()}d=m=undefined};var b=function(){g();_()};var T=function(r){if(r===void 0){r=true}if(!r){if(v){v()}if(l){l()}v=l=undefined;b()}else{if(!v){v=t(e,"touchstart",y,u)}if(!l){l=t(e,"mousedown",X,u)}}};var E=function(){T(false);a=n=r=undefined};return{enable:T,stop:b,destroy:E}};var f=function(e){return e instanceof Document?e:e.ownerDocument};var v=function(e,r,t){var n=t*(Math.PI/180);var a=e==="x";var i=Math.cos(n);var u=r*r;var f=0;var v=0;var s=false;var o=0;return{start:function(e,r){f=e;v=r;o=0;s=true},detect:function(e,r){if(!s){return false}var t=e-f;var n=r-v;var c=t*t+n*n;if(c<u){return false}var l=Math.sqrt(c);var d=(a?t:n)/l;if(d>i){o=1}else if(d<-i){o=-1}else{o=0}s=false;return true},isGesture:function(){return o!==0},getDirection:function(){return o}}};var s=e("createGesture",(function(e){var t=false;var n=false;var a=true;var i=false;var f=Object.assign({disableScroll:false,direction:"x",gesturePriority:0,passive:true,maxAngle:40,threshold:10},e);var s=f.canStart;var d=f.onWillStart;var m=f.onStart;var p=f.onEnd;var y=f.notCaptured;var X=f.onMove;var Y=f.threshold;var h=f.passive;var g=f.blurOnStart;var _={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:undefined,data:undefined};var b=v(f.direction,f.threshold,f.maxAngle);var T=r.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll});var E=function(e){var r=l(e);if(n||!a){return false}c(e,_);_.startX=_.currentX;_.startY=_.currentY;_.startTime=_.currentTime=r;_.velocityX=_.velocityY=_.deltaX=_.deltaY=0;_.event=e;if(s&&s(_)===false){return false}T.release();if(!T.start()){return false}n=true;if(Y===0){return G()}b.start(_.startX,_.startY);return true};var S=function(e){if(t){if(!i&&a){i=true;o(_,e);requestAnimationFrame(L)}return}o(_,e);if(b.detect(_.currentX,_.currentY)){if(!b.isGesture()||!G()){P()}}};var L=function(){if(!t){return}i=false;if(X){X(_)}};var G=function(){if(!T.capture()){return false}t=true;a=false;_.startX=_.currentX;_.startY=_.currentY;_.startTime=_.currentTime;if(d){d(_).then(w)}else{w()}return true};var D=function(){if(typeof document!=="undefined"){var e=document.activeElement;if(e===null||e===void 0?void 0:e.blur){e.blur()}}};var w=function(){if(g){D()}if(m){m(_)}a=true};var x=function(){t=false;n=false;i=false;a=true;T.release()};var O=function(e){var r=t;var n=a;x();if(!n){return}o(_,e);if(r){if(p){p(_)}return}if(y){y(_)}};var M=u(f.el,E,S,O,{capture:false,passive:h});var P=function(){x();M.stop();if(y){y(_)}};return{enable:function(e){if(e===void 0){e=true}if(!e){if(t){O(undefined)}x()}M.enable(e)},destroy:function(){T.destroy();M.destroy()}}}));var o=function(e,r){if(!r){return}var t=e.currentX;var n=e.currentY;var a=e.currentTime;c(r,e);var i=e.currentX;var u=e.currentY;var f=e.currentTime=l(r);var v=f-a;if(v>0&&v<100){var s=(i-t)/v;var o=(u-n)/v;e.velocityX=s*.7+e.velocityX*.3;e.velocityY=o*.7+e.velocityY*.3}e.deltaX=i-e.startX;e.deltaY=u-e.startY;e.event=r};var c=function(e,r){var t=0;var n=0;if(e){var a=e.changedTouches;if(a&&a.length>0){var i=a[0];t=i.clientX;n=i.clientY}else if(e.pageX!==undefined){t=e.pageX;n=e.pageY}}r.currentX=t;r.currentY=n};var l=function(e){return e.timeStamp||Date.now()}}}}));
4
+ System.register(["./p-9e852ff1.system.js"],(function(r){"use strict";var e;return{setters:[function(n){e=n.G;r("GESTURE_CONTROLLER",n.G)}],execute:function(){var n=function(r,e,n,a){var i=t(r)?{capture:!!a.capture,passive:!!a.passive}:!!a.capture;var f;var u;if(r["__zone_symbol__addEventListener"]){f="__zone_symbol__addEventListener";u="__zone_symbol__removeEventListener"}else{f="addEventListener";u="removeEventListener"}r[f](e,n,i);return function(){r[u](e,n,i)}};var t=function(r){if(a===undefined){try{var e=Object.defineProperty({},"passive",{get:function(){a=true}});r.addEventListener("optsTest",(function(){return}),e)}catch(r){a=false}}return!!a};var a;var i=2e3;var f=function(r,e,t,a,f){var v;var o;var s;var c;var l;var d;var m;var p=0;var y=function(a){p=Date.now()+i;if(!e(a)){return}if(!o&&t){o=n(r,"touchmove",t,f)}if(!s){s=n(a.target,"touchend",h,f)}if(!c){c=n(a.target,"touchcancel",h,f)}};var _=function(a){if(p>Date.now()){return}if(!e(a)){return}if(!d&&t){d=n(u(r),"mousemove",t,f)}if(!m){m=n(u(r),"mouseup",b,f)}};var h=function(r){E();if(a){a(r)}};var b=function(r){L();if(a){a(r)}};var E=function(){if(o){o()}if(s){s()}if(c){c()}o=s=c=undefined};var L=function(){if(d){d()}if(m){m()}d=m=undefined};var D=function(){E();L()};var T=function(e){if(e===void 0){e=true}if(!e){if(v){v()}if(l){l()}v=l=undefined;D()}else{if(!v){v=n(r,"touchstart",y,f)}if(!l){l=n(r,"mousedown",_,f)}}};var g=function(){T(false);a=t=e=undefined};return{enable:T,stop:D,destroy:g}};var u=function(r){return r instanceof Document?r:r.ownerDocument};var v=function(r,e,n){var t=n*(Math.PI/180);var a=r==="x";var i=Math.cos(t);var f=e*e;var u=0;var v=0;var o=false;var s=0;return{start:function(r,e){u=r;v=e;s=0;o=true},detect:function(r,e){if(!o){return false}var n=r-u;var t=e-v;var c=n*n+t*t;if(c<f){return false}var l=Math.sqrt(c);var d=(a?n:t)/l;if(d>i){s=1}else if(d<-i){s=-1}else{s=0}o=false;return true},isGesture:function(){return s!==0},getDirection:function(){return s}}};var o=r("createGesture",(function(r){var n=false;var t=false;var a=true;var i=false;var u=Object.assign({disableScroll:false,direction:"x",gesturePriority:0,passive:true,maxAngle:40,threshold:10},r);var o=u.canStart;var d=u.onWillStart;var m=u.onStart;var p=u.onEnd;var y=u.notCaptured;var _=u.onMove;var h=u.threshold;var b=u.passive;var E=u.blurOnStart;var L={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:undefined,data:undefined};var D=v(u.direction,u.threshold,u.maxAngle);var T=e.createGesture({name:r.gestureName,priority:r.gesturePriority,disableScroll:r.disableScroll});var g=function(r){var e=l(r);if(t||!a){return false}c(r,L);L.startX=L.currentX;L.startY=L.currentY;L.startTime=L.currentTime=e;L.velocityX=L.velocityY=L.deltaX=L.deltaY=0;L.event=r;if(o&&o(L)===false){return false}T.release();if(!T.start()){return false}t=true;if(h===0){return S()}D.start(L.startX,L.startY);return true};var x=function(r){if(n){if(!i&&a){i=true;s(L,r);requestAnimationFrame(O)}return}s(L,r);if(D.detect(L.currentX,L.currentY)){if(!D.isGesture()||!S()){R()}}};var O=function(){if(!n){return}i=false;if(_){_(L)}};var S=function(){if(!T.capture()){return false}n=true;a=false;L.startX=L.currentX;L.startY=L.currentY;L.startTime=L.currentTime;if(d){d(L).then(Y)}else{Y()}return true};var X=function(){if(typeof document!=="undefined"){var r=document.activeElement;if(r===null||r===void 0?void 0:r.blur){r.blur()}}};var Y=function(){if(E){X()}if(m){m(L)}a=true};var j=function(){n=false;t=false;i=false;a=true;T.release()};var G=function(r){var e=n;var t=a;j();if(!t){return}s(L,r);if(e){if(p){p(L)}return}if(y){y(L)}};var M=f(u.el,g,x,G,{capture:false,passive:b});var R=function(){j();M.stop();if(y){y(L)}};return{enable:function(r){if(r===void 0){r=true}if(!r){if(n){G(undefined)}j()}M.enable(r)},destroy:function(){T.destroy();M.destroy()}}}));var s=function(r,e){if(!e){return}var n=r.currentX;var t=r.currentY;var a=r.currentTime;c(e,r);var i=r.currentX;var f=r.currentY;var u=r.currentTime=l(e);var v=u-a;if(v>0&&v<100){var o=(i-n)/v;var s=(f-t)/v;r.velocityX=o*.7+r.velocityX*.3;r.velocityY=s*.7+r.velocityY*.3}r.deltaX=i-r.startX;r.deltaY=f-r.startY;r.event=e};var c=function(r,e){var n=0;var t=0;if(r){var a=r.changedTouches;if(a&&a.length>0){var i=a[0];n=i.clientX;t=i.clientY}else if(r.pageX!==undefined){n=r.pageX;t=r.pageY}}e.currentX=n;e.currentY=t};var l=function(r){return r.timeStamp||Date.now()}}}}));
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,i){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function n(e){try{s(i.next(e))}catch(e){o(e)}}function l(e){try{s(i["throw"](e))}catch(e){o(e)}}function s(e){e.done?r(e.value):a(e.value).then(n,l)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,n;return n={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function l(e){return function(t){return s([e,t])}}function s(l){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,l[0]&&(r=0)),r)try{if(i=1,a&&(o=l[0]&2?a["return"]:l[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,l[1])).done)return o;if(a=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;a=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1];o=l;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(l);break}if(o[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];a=0}finally{i=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,r){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function o(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r["throw"](e))}catch(e){n(e)}}function l(e){e.done?i(e.value):a(e.value).then(o,s)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,a,n,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(r=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(s[0]===6&&i.label<n[1]){i.label=n[1];n=s;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(s);break}if(n[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];a=0}finally{r=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-629aa3fd.system.js","./p-3d726a67.system.js","./p-815c2fba.system.js","./p-479cdbf8.system.js","./p-44bc8b45.system.js","./p-939e0fa1.system.js"],(function(e){"use strict";var t,r,i,a,o,n,l,s,d,c,p,h,u,m;return{setters:[function(e){t=e.r;r=e.d;i=e.h;a=e.H;o=e.f},function(e){n=e.c},function(e){l=e.a;s=e.b;d=e.e;c=e.d},function(e){p=e.p},function(e){h=e.h;u=e.c},function(e){m=e.b}],execute:function(){var b=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #3880ff)}:host(.legacy-radio){width:0.9375rem;height:1.5rem}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}@supports (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}}@supports not (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{left:-9px}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}@supports selector(:dir(rtl)){:host(.ion-focused) .radio-icon::after:dir(rtl){left:unset;right:unset;right:-9px}}}:host(.in-item.legacy-radio){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:11px;margin-inline-end:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px;margin-top:8px;margin-bottom:8px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}';var g=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.legacy-radio){width:1.25rem;height:1.25rem}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.legacy-radio.radio-disabled),:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused.legacy-radio) .radio-icon::after{top:-12px}@supports (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{inset-inline-start:-12px}}@supports not (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{left:-12px}:host-context([dir=rtl]):host(.ion-focused.legacy-radio) .radio-icon::after,:host-context([dir=rtl]).ion-focused.legacy-radio .radio-icon::after{left:unset;right:unset;right:-12px}@supports selector(:dir(rtl)){:host(.ion-focused.legacy-radio) .radio-icon::after:dir(rtl){left:unset;right:unset;right:-12px}}}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host(.in-item.legacy-radio){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:11px;margin-bottom:10px}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}';var f=e("ion_radio",function(){function e(e){var i=this;t(this,e);this.ionStyle=r(this,"ionStyle",7);this.ionFocus=r(this,"ionFocus",7);this.ionBlur=r(this,"ionBlur",7);this.inputId="ion-rb-".concat(x++);this.radioGroup=null;this.hasLoggedDeprecationWarning=false;this.updateState=function(){if(i.radioGroup){i.checked=i.radioGroup.value===i.value}};this.onClick=function(){var e=i,t=e.radioGroup,r=e.checked,a=e.disabled;if(a){return}if(i.legacyFormController.hasLegacyControl()){i.checked=i.nativeInput.checked;return}if(r&&(t===null||t===void 0?void 0:t.allowEmptySelection)){i.checked=false}else{i.checked=true}};this.onFocus=function(){i.ionFocus.emit()};this.onBlur=function(){i.ionBlur.emit()};this.checked=false;this.buttonTabindex=-1;this.color=undefined;this.name=this.inputId;this.disabled=false;this.value=undefined;this.labelPlacement="start";this.legacy=undefined;this.justify="space-between";this.alignment="center"}e.prototype.valueChanged=function(){this.updateState()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){e.stopPropagation();e.preventDefault();this.el.focus();return[2]}))}))};e.prototype.setButtonTabindex=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.buttonTabindex=e;return[2]}))}))};e.prototype.connectedCallback=function(){this.legacyFormController=n(this.el);if(this.value===undefined){this.value=this.inputId}var e=this.radioGroup=this.el.closest("ion-radio-group");if(e){this.updateState();l(e,"ionValueChange",this.updateState)}};e.prototype.disconnectedCallback=function(){var e=this.radioGroup;if(e){s(e,"ionValueChange",this.updateState);this.radioGroup=null}};e.prototype.componentWillLoad=function(){this.emitStyle()};e.prototype.styleChanged=function(){this.emitStyle()};e.prototype.emitStyle=function(){var e={"interactive-disabled":this.disabled};if(this.legacyFormController.hasLegacyControl()){e["radio-checked"]=this.checked}this.ionStyle.emit(e)};Object.defineProperty(e.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});e.prototype.renderRadioControl=function(){return i("div",{class:"radio-icon",part:"container"},i("div",{class:"radio-inner",part:"mark"}),i("div",{class:"radio-ripple"}))};e.prototype.render=function(){var e=this.legacyFormController;return e.hasLegacyControl()?this.renderLegacyRadio():this.renderRadio()};e.prototype.renderRadio=function(){var e;var t=this,r=t.checked,o=t.disabled,n=t.color,l=t.el,s=t.justify,d=t.labelPlacement,c=t.hasLabel,p=t.buttonTabindex,b=t.alignment;var g=m(this);var f=h("ion-item",l);return i(a,{onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:u(n,(e={},e[g]=true,e["in-item"]=f,e["radio-checked"]=r,e["radio-disabled"]=o,e["radio-justify-".concat(s)]=true,e["radio-alignment-".concat(b)]=true,e["radio-label-placement-".concat(d)]=true,e["ion-activatable"]=!f,e["ion-focusable"]=!f,e)),role:"radio","aria-checked":r?"true":"false","aria-disabled":o?"true":null,tabindex:p},i("label",{class:"radio-wrapper"},i("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!c}},i("slot",null)),i("div",{class:"native-wrapper"},this.renderRadioControl())))};e.prototype.renderLegacyRadio=function(){var e;var t=this;if(!this.hasLoggedDeprecationWarning){p('ion-radio now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-radio>Option Label</ion-radio>\nExample with aria-label: <ion-radio aria-label="Option Label"></ion-radio>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){p('ion-radio is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new radio syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var r=this,o=r.inputId,n=r.disabled,l=r.checked,s=r.color,c=r.el,b=r.buttonTabindex;var g=m(this);var f=d(c,o),x=f.label,w=f.labelId,y=f.labelText;return i(a,{"aria-checked":"".concat(l),"aria-hidden":n?"true":null,"aria-labelledby":x?w:null,role:"radio",tabindex:b,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:u(s,(e={},e[g]=true,e["in-item"]=h("ion-item",c),e.interactive=true,e["radio-checked"]=l,e["radio-disabled"]=n,e["legacy-radio"]=true,e))},this.renderRadioControl(),i("label",{htmlFor:o},y),i("input",{type:"radio",checked:l,disabled:n,tabindex:"-1",id:o,ref:function(e){return t.nativeInput=e}}))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}},enumerable:false,configurable:true});return e}());var x=0;f.style={ios:b,md:g};var w=e("ion_radio_group",function(){function e(e){var i=this;t(this,e);this.ionChange=r(this,"ionChange",7);this.ionValueChange=r(this,"ionValueChange",7);this.inputId="ion-rg-".concat(y++);this.labelId="".concat(this.inputId,"-lbl");this.setRadioTabindex=function(e){var t=i.getRadios();var r=t.find((function(e){return!e.disabled}));var a=t.find((function(t){return t.value===e&&!t.disabled}));if(!r&&!a){return}var o=a||r;for(var n=0,l=t;n<l.length;n++){var s=l[n];var d=s===o?0:-1;s.setButtonTabindex(d)}};this.onClick=function(e){e.preventDefault();var t=e.target&&e.target.closest("ion-radio");if(t&&t.disabled===false){var r=i.value;var a=t.value;if(a!==r){i.value=a;i.emitValueChange(e)}else if(i.allowEmptySelection){i.value=undefined;i.emitValueChange(e)}}};this.allowEmptySelection=false;this.name=this.inputId;this.value=undefined}e.prototype.valueChanged=function(e){this.setRadioTabindex(e);this.ionValueChange.emit({value:e})};e.prototype.componentDidLoad=function(){this.setRadioTabindex(this.value)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){e=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(e){t=this.label=e.querySelector("ion-label");if(t){this.labelId=t.id=this.name+"-lbl"}}return[2]}))}))};e.prototype.getRadios=function(){return Array.from(this.el.querySelectorAll("ion-radio"))};e.prototype.emitValueChange=function(e){var t=this.value;this.ionChange.emit({value:t,event:e})};e.prototype.onKeydown=function(e){var t=!!this.el.closest("ion-select-popover");if(e.target&&!this.el.contains(e.target)){return}var r=this.getRadios().filter((function(e){return!e.disabled}));if(e.target&&r.includes(e.target)){var i=r.findIndex((function(t){return t===e.target}));var a=r[i];var o=void 0;if(["ArrowDown","ArrowRight"].includes(e.key)){o=i===r.length-1?r[0]:r[i+1]}if(["ArrowUp","ArrowLeft"].includes(e.key)){o=i===0?r[r.length-1]:r[i-1]}if(o&&r.includes(o)){o.setFocus(e);if(!t){this.value=o.value;this.emitValueChange(e)}}if([" "].includes(e.key)){var n=this.value;this.value=this.allowEmptySelection&&this.value!==undefined?undefined:a.value;if(n!==this.value||this.allowEmptySelection){this.emitValueChange(e)}e.preventDefault()}}};e.prototype.render=function(){var e=this,t=e.label,r=e.labelId,o=e.el,n=e.name,l=e.value;var s=m(this);c(true,o,n,l,false);return i(a,{role:"radiogroup","aria-labelledby":t?r:null,onClick:this.onClick,class:s})};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}());var y=0}}}));
4
+ */System.register(["./p-629aa3fd.system.js","./p-3d726a67.system.js","./p-815c2fba.system.js","./p-479cdbf8.system.js","./p-44bc8b45.system.js","./p-939e0fa1.system.js"],(function(e){"use strict";var t,i,r,a,n,o,s,l,d,c,p,h,m,f;return{setters:[function(e){t=e.r;i=e.d;r=e.h;a=e.H;n=e.f},function(e){o=e.c},function(e){s=e.a;l=e.b;d=e.e;c=e.d},function(e){p=e.p},function(e){h=e.h;m=e.c},function(e){f=e.b}],execute:function(){var b=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #3880ff)}:host(.legacy-radio){width:0.9375rem;height:1.5rem}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}@supports (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}}@supports not (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{left:-9px}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}@supports selector(:dir(rtl)){:host(.ion-focused) .radio-icon::after:dir(rtl){left:unset;right:unset;right:-9px}}}:host(.in-item.legacy-radio){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:11px;margin-inline-end:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px;margin-top:8px;margin-bottom:8px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}';var u=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.legacy-radio){width:1.25rem;height:1.25rem}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.legacy-radio.radio-disabled),:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused.legacy-radio) .radio-icon::after{top:-12px}@supports (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{inset-inline-start:-12px}}@supports not (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{left:-12px}:host-context([dir=rtl]):host(.ion-focused.legacy-radio) .radio-icon::after,:host-context([dir=rtl]).ion-focused.legacy-radio .radio-icon::after{left:unset;right:unset;right:-12px}@supports selector(:dir(rtl)){:host(.ion-focused.legacy-radio) .radio-icon::after:dir(rtl){left:unset;right:unset;right:-12px}}}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host(.in-item.legacy-radio){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:11px;margin-bottom:10px}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}';var g=e("ion_radio",function(){function e(e){var r=this;t(this,e);this.ionStyle=i(this,"ionStyle",7);this.ionFocus=i(this,"ionFocus",7);this.ionBlur=i(this,"ionBlur",7);this.inputId="ion-rb-".concat(x++);this.radioGroup=null;this.hasLoggedDeprecationWarning=false;this.updateState=function(){if(r.radioGroup){r.checked=r.radioGroup.value===r.value}};this.onClick=function(){var e=r,t=e.radioGroup,i=e.checked,a=e.disabled;if(a){return}if(r.legacyFormController.hasLegacyControl()){r.checked=r.nativeInput.checked;return}if(i&&(t===null||t===void 0?void 0:t.allowEmptySelection)){r.checked=false}else{r.checked=true}};this.onFocus=function(){r.ionFocus.emit()};this.onBlur=function(){r.ionBlur.emit()};this.checked=false;this.buttonTabindex=-1;this.color=undefined;this.name=this.inputId;this.disabled=false;this.value=undefined;this.labelPlacement="start";this.legacy=undefined;this.justify="space-between";this.alignment="center"}e.prototype.valueChanged=function(){this.updateState()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){e.stopPropagation();e.preventDefault();this.el.focus();return[2]}))}))};e.prototype.setButtonTabindex=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.buttonTabindex=e;return[2]}))}))};e.prototype.connectedCallback=function(){this.legacyFormController=o(this.el);if(this.value===undefined){this.value=this.inputId}var e=this.radioGroup=this.el.closest("ion-radio-group");if(e){this.updateState();s(e,"ionValueChange",this.updateState)}};e.prototype.disconnectedCallback=function(){var e=this.radioGroup;if(e){l(e,"ionValueChange",this.updateState);this.radioGroup=null}};e.prototype.componentWillLoad=function(){this.emitStyle()};e.prototype.styleChanged=function(){this.emitStyle()};e.prototype.emitStyle=function(){var e={"interactive-disabled":this.disabled};if(this.legacyFormController.hasLegacyControl()){e["radio-checked"]=this.checked}this.ionStyle.emit(e)};Object.defineProperty(e.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});e.prototype.renderRadioControl=function(){return r("div",{class:"radio-icon",part:"container"},r("div",{class:"radio-inner",part:"mark"}),r("div",{class:"radio-ripple"}))};e.prototype.render=function(){var e=this.legacyFormController;return e.hasLegacyControl()?this.renderLegacyRadio():this.renderRadio()};e.prototype.renderRadio=function(){var e;var t=this,i=t.checked,n=t.disabled,o=t.color,s=t.el,l=t.justify,d=t.labelPlacement,c=t.hasLabel,p=t.buttonTabindex,b=t.alignment;var u=f(this);var g=h("ion-item",s);return r(a,{onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:m(o,(e={},e[u]=true,e["in-item"]=g,e["radio-checked"]=i,e["radio-disabled"]=n,e["radio-justify-".concat(l)]=true,e["radio-alignment-".concat(b)]=true,e["radio-label-placement-".concat(d)]=true,e["ion-activatable"]=!g,e["ion-focusable"]=!g,e)),role:"radio","aria-checked":i?"true":"false","aria-disabled":n?"true":null,tabindex:p},r("label",{class:"radio-wrapper"},r("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!c}},r("slot",null)),r("div",{class:"native-wrapper"},this.renderRadioControl())))};e.prototype.renderLegacyRadio=function(){var e;var t=this;if(!this.hasLoggedDeprecationWarning){p('ion-radio now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-radio>Option Label</ion-radio>\nExample with aria-label: <ion-radio aria-label="Option Label"></ion-radio>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){p('ion-radio is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new radio syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var i=this,n=i.inputId,o=i.disabled,s=i.checked,l=i.color,c=i.el,b=i.buttonTabindex;var u=f(this);var g=d(c,n),x=g.label,w=g.labelId,y=g.labelText;return r(a,{"aria-checked":"".concat(s),"aria-hidden":o?"true":null,"aria-labelledby":x?w:null,role:"radio",tabindex:b,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:m(l,(e={},e[u]=true,e["in-item"]=h("ion-item",c),e.interactive=true,e["radio-checked"]=s,e["radio-disabled"]=o,e["legacy-radio"]=true,e))},this.renderRadioControl(),r("label",{htmlFor:n},y),r("input",{type:"radio",checked:s,disabled:o,tabindex:"-1",id:n,ref:function(e){return t.nativeInput=e}}))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}},enumerable:false,configurable:true});return e}());var x=0;g.style={ios:b,md:u};var w=e("ion_radio_group",function(){function e(e){var r=this;t(this,e);this.ionChange=i(this,"ionChange",7);this.ionValueChange=i(this,"ionValueChange",7);this.inputId="ion-rg-".concat(y++);this.labelId="".concat(this.inputId,"-lbl");this.setRadioTabindex=function(e){var t=r.getRadios();var i=t.find((function(e){return!e.disabled}));var a=t.find((function(t){return t.value===e&&!t.disabled}));if(!i&&!a){return}var n=a||i;for(var o=0,s=t;o<s.length;o++){var l=s[o];var d=l===n?0:-1;l.setButtonTabindex(d)}};this.onClick=function(e){e.preventDefault();var t=e.target&&e.target.closest("ion-radio");if(t&&t.disabled===false){var i=r.value;var a=t.value;if(a!==i){r.value=a;r.emitValueChange(e)}else if(r.allowEmptySelection){r.value=undefined;r.emitValueChange(e)}}};this.allowEmptySelection=false;this.name=this.inputId;this.value=undefined}e.prototype.valueChanged=function(e){this.setRadioTabindex(e);this.ionValueChange.emit({value:e})};e.prototype.componentDidLoad=function(){this.setRadioTabindex(this.value)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){e=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(e){t=this.label=e.querySelector("ion-label");if(t){this.labelId=t.id=this.name+"-lbl"}}return[2]}))}))};e.prototype.getRadios=function(){return Array.from(this.el.querySelectorAll("ion-radio"))};e.prototype.emitValueChange=function(e){var t=this.value;this.ionChange.emit({value:t,event:e})};e.prototype.onKeydown=function(e){var t=!!this.el.closest("ion-select-popover");if(e.target&&!this.el.contains(e.target)){return}var i=this.getRadios().filter((function(e){return!e.disabled}));if(e.target&&i.includes(e.target)){var r=i.findIndex((function(t){return t===e.target}));var a=i[r];var n=void 0;if(["ArrowDown","ArrowRight"].includes(e.key)){n=r===i.length-1?i[0]:i[r+1]}if(["ArrowUp","ArrowLeft"].includes(e.key)){n=r===0?i[i.length-1]:i[r-1]}if(n&&i.includes(n)){n.setFocus(e);if(!t){this.value=n.value;this.emitValueChange(e)}}if([" "].includes(e.key)){var o=this.value;this.value=this.allowEmptySelection&&this.value!==undefined?undefined:a.value;if(o!==this.value||this.allowEmptySelection){this.emitValueChange(e)}e.preventDefault()}}};e.prototype.render=function(){var e=this,t=e.label,i=e.labelId,n=e.el,o=e.name,s=e.value;var l=f(this);c(true,n,o,s,false);return r(a,{role:"radiogroup","aria-labelledby":t?i:null,onClick:this.onClick,class:l})};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}());var y=0}}}));
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,n,t,r){function i(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,o){function u(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?t(e.value):i(e.value).then(u,a)}l((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(e){return function(n){return l([e,n])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(t=0)),t)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;i=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1];o=a;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(a);break}if(o[2])t.ops.pop();t.trys.pop();continue}a=n.call(e,t)}catch(e){a=[6,e];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(n,e,t,r){function i(n){return n instanceof t?n:new t((function(e){e(n)}))}return new(t||(t=Promise))((function(t,u){function o(n){try{f(r.next(n))}catch(n){u(n)}}function c(n){try{f(r["throw"](n))}catch(n){u(n)}}function f(n){n.done?t(n.value):i(n.value).then(o,c)}f((r=r.apply(n,e||[])).next())}))};var __generator=this&&this.__generator||function(n,e){var t={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r,i,u,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(n){return function(e){return f([n,e])}}function f(c){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,c[0]&&(t=0)),t)try{if(r=1,i&&(u=c[0]&2?i["return"]:c[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;if(i=0,u)c=[c[0]&2,u.value];switch(c[0]){case 0:case 1:u=c;break;case 4:t.label++;return{value:c[1],done:false};case 5:t.label++;i=c[1];c=[0];continue;case 7:c=t.ops.pop();t.trys.pop();continue;default:if(!(u=t.trys,u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){t.label=c[1];break}if(c[0]===6&&t.label<u[1]){t.label=u[1];u=c;break}if(u&&t.label<u[2]){t.label=u[2];t.ops.push(c);break}if(u[2])t.ops.pop();t.trys.pop();continue}c=e.call(n,t)}catch(n){c=[6,n];i=0}finally{r=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-0e94957a.system.js","./p-bba2ce59.system.js"],(function(e){"use strict";var n,t,r,i;return{setters:[function(e){n=e.w;t=e.d},function(e){r=e.K;i=e.a}],execute:function(){var o=this;var u=function(e){if(t===undefined||e===i.None||e===undefined){return null}var n=t.querySelector("ion-app");return n!==null&&n!==void 0?n:t.body};var a=function(e){var n=u(e);return n===null?0:n.clientHeight};var l=e("c",(function(e){return __awaiter(o,void 0,void 0,(function(){var t,i,o,l,c,s,f,d,v;var h=this;return __generator(this,(function(b){switch(b.label){case 0:c=function(){return __awaiter(h,void 0,void 0,(function(){var e,u;return __generator(this,(function(c){switch(c.label){case 0:return[4,r.getResizeMode()];case 1:e=c.sent();u=e===undefined?undefined:e.mode;t=function(){if(l===undefined){l=a(u)}o=true;s(o,u)};i=function(){o=false;s(o,u)};n===null||n===void 0?void 0:n.addEventListener("keyboardWillShow",t);n===null||n===void 0?void 0:n.addEventListener("keyboardWillHide",i);return[2]}}))}))};s=function(n,t){if(e){e(n,f(t))}};f=function(e){if(l===0||l===a(e)){return}var n=u(e);if(n===null){return}return new Promise((function(e){var t=function(){if(n.clientHeight===l){r.disconnect();e()}};var r=new ResizeObserver(t);r.observe(n)}))};d=function(){n===null||n===void 0?void 0:n.removeEventListener("keyboardWillShow",t);n===null||n===void 0?void 0:n.removeEventListener("keyboardWillHide",i);t=i=undefined};v=function(){return o};return[4,c()];case 1:b.sent();return[2,{init:c,destroy:d,isKeyboardVisible:v}]}}))}))}))}}}));
4
+ */System.register(["./p-0e94957a.system.js","./p-bba2ce59.system.js"],(function(n){"use strict";var e,t,r,i;return{setters:[function(n){e=n.w;t=n.d},function(n){r=n.K;i=n.a}],execute:function(){var u=this;var o=function(n){if(t===undefined||n===i.None||n===undefined){return null}var e=t.querySelector("ion-app");return e!==null&&e!==void 0?e:t.body};var c=function(n){var e=o(n);return e===null?0:e.clientHeight};var f=n("c",(function(n){return __awaiter(u,void 0,void 0,(function(){var t,i,u,f,a,s,d,l,v;var h=this;return __generator(this,(function(y){switch(y.label){case 0:a=function(){return __awaiter(h,void 0,void 0,(function(){var n,o;return __generator(this,(function(a){switch(a.label){case 0:return[4,r.getResizeMode()];case 1:n=a.sent();o=n===undefined?undefined:n.mode;t=function(){if(f===undefined){f=c(o)}u=true;s(u,o)};i=function(){u=false;s(u,o)};e===null||e===void 0?void 0:e.addEventListener("keyboardWillShow",t);e===null||e===void 0?void 0:e.addEventListener("keyboardWillHide",i);return[2]}}))}))};s=function(e,t){if(n){n(e,d(t))}};d=function(n){if(f===0||f===c(n)){return}var e=o(n);if(e===null){return}return new Promise((function(n){var t=function(){if(e.clientHeight===f){r.disconnect();n()}};var r=new ResizeObserver(t);r.observe(e)}))};l=function(){e===null||e===void 0?void 0:e.removeEventListener("keyboardWillShow",t);e===null||e===void 0?void 0:e.removeEventListener("keyboardWillHide",i);t=i=undefined};v=function(){return u};return[4,a()];case 1:y.sent();return[2,{init:a,destroy:l,isKeyboardVisible:v}]}}))}))}))}}}));
@@ -3,6 +3,16 @@ export interface ComponentDecorator {
3
3
  (opts?: ComponentOptions): ClassDecorator;
4
4
  }
5
5
  export interface ComponentOptions {
6
+ /**
7
+ * When set to `true` this component will be form-associated. See
8
+ * https://stenciljs.com/docs/next/form-associated documentation on how to
9
+ * build form-associated Stencil components that integrate into forms like
10
+ * native browser elements such as `<input>` and `<textarea>`.
11
+ *
12
+ * The {@link AttachInternals} decorator allows for access to the
13
+ * `ElementInternals` object to modify the associated form.
14
+ */
15
+ formAssociated?: boolean;
6
16
  /**
7
17
  * Tag name of the web component. Ideally, the tag name must be globally unique,
8
18
  * so it's recommended to choose an unique prefix for all your components within the same collection.
@@ -107,6 +117,9 @@ export interface EventOptions {
107
117
  */
108
118
  composed?: boolean;
109
119
  }
120
+ export interface AttachInternalsDecorator {
121
+ (): PropertyDecorator;
122
+ }
110
123
  export interface ListenDecorator {
111
124
  (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
112
125
  }
@@ -175,6 +188,12 @@ export declare const Element: ElementDecorator;
175
188
  * https://stenciljs.com/docs/events
176
189
  */
177
190
  export declare const Event: EventDecorator;
191
+ /**
192
+ * If the `formAssociated` option is set in options passed to the
193
+ * `@Component()` decorator then this decorator may be used to get access to the
194
+ * `ElementInternals` instance associated with the component.
195
+ */
196
+ export declare const AttachInternals: AttachInternalsDecorator;
178
197
  /**
179
198
  * The `Listen()` decorator is for listening DOM events, including the ones
180
199
  * dispatched from `@Events()`.
package/hydrate/index.js CHANGED
@@ -6,7 +6,7 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  /*!
9
- Stencil Mock Doc v4.4.1 | MIT Licensed | https://stenciljs.com
9
+ Stencil Mock Doc v4.5.0 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  const CONTENT_REF_ID = 'r';
12
12
  const ORG_LOCATION_ID = 'o';
@@ -1626,6 +1626,14 @@ class MockNodeList {
1626
1626
  }
1627
1627
  }
1628
1628
  class MockElement extends MockNode {
1629
+ attachInternals() {
1630
+ return new Proxy({}, {
1631
+ get: function (_target, prop, _receiver) {
1632
+ console.error(`NOTE: Property ${String(prop)} was accessed on ElementInternals, but this property is not implemented.
1633
+ Testing components with ElementInternals is fully supported in e2e tests.`);
1634
+ },
1635
+ });
1636
+ }
1629
1637
  constructor(ownerDocument, nodeName) {
1630
1638
  super(ownerDocument, 1 /* NODE_TYPES.ELEMENT_NODE */, typeof nodeName === 'string' ? nodeName : null, null);
1631
1639
  this.namespaceURI = null;
@@ -4953,7 +4961,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
4953
4961
 
4954
4962
 
4955
4963
  const NAMESPACE = 'ionic';
4956
- const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, patchPseudoShadowDom: false, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
4964
+ const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, patchPseudoShadowDom: false, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
4957
4965
 
4958
4966
  // TODO(FW-2832): types
4959
4967
  class Config {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/core",
3
- "version": "7.5.1-nightly.20231017",
3
+ "version": "7.5.1",
4
4
  "description": "Base components for Ionic",
5
5
  "keywords": [
6
6
  "ionic",
@@ -31,7 +31,7 @@
31
31
  "loader/"
32
32
  ],
33
33
  "dependencies": {
34
- "@stencil/core": "^4.4.1",
34
+ "@stencil/core": "^4.5.0",
35
35
  "ionicons": "^7.2.1",
36
36
  "tslib": "^2.1.0"
37
37
  },
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function a(e){try{s(n.next(e))}catch(e){o(e)}}function l(e){try{s(n["throw"](e))}catch(e){o(e)}}function s(e){e.done?i(e.value):r(e.value).then(a,l)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,a;return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(e){return function(t){return s([e,t])}}function s(l){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,l[0]&&(i=0)),i)try{if(n=1,r&&(o=l[0]&2?r["return"]:l[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;if(r=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;r=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(l[0]===6&&i.label<o[1]){i.label=o[1];o=l;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(l);break}if(o[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e];r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-629aa3fd.system.js","./p-815c2fba.system.js","./p-b4b4bb29.system.js","./p-939e0fa1.system.js","./p-44bc8b45.system.js","./p-ccdcb022.system.js","./p-0e94957a.system.js"],(function(e){"use strict";var t,i,n,r,o,a,l,s,c,u,p,d,f;return{setters:[function(e){t=e.r;i=e.d;n=e.h;r=e.H;o=e.f},function(e){a=e.r;l=e.g},function(e){s=e.a;c=e.b;u=e.h},function(e){p=e.a;d=e.b},function(e){f=e.c},function(){},function(){}],execute:function(){var h=":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item.picker-item-disabled{scroll-snap-align:none;cursor:default}:host .picker-item.picker-item-disabled{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";var m=":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item.picker-item-disabled{scroll-snap-align:none;cursor:default}:host .picker-item.picker-item-disabled{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}:host .picker-item-active{color:var(--ion-color-base)}";var v=e("ion_picker_column_internal",function(){function e(e){var n=this;t(this,e);this.ionChange=i(this,"ionChange",7);this.isScrolling=false;this.isColumnVisible=false;this.canExitInputMode=true;this.centerPickerItemInView=function(e,t,i){if(t===void 0){t=true}if(i===void 0){i=true}var r=n,o=r.el,a=r.isColumnVisible;if(a){var l=e.offsetTop-3*e.clientHeight+e.clientHeight/2;if(o.scrollTop!==l){n.canExitInputMode=i;o.scroll({top:l,left:0,behavior:t?"smooth":undefined})}}};this.setPickerItemActiveState=function(e,t){if(t){e.classList.add(b);e.part.add(y)}else{e.classList.remove(b);e.part.remove(y)}};this.inputModeChange=function(e){if(!n.numericInput){return}var t=e.detail,i=t.useInputMode,r=t.inputModeColumn;var o=r===undefined||r===n.el;if(!i||!o){n.setInputModeActive(false);return}n.setInputModeActive(true)};this.setInputModeActive=function(e){if(n.isScrolling){n.scrollEndCallback=function(){n.isActive=e};return}n.isActive=e};this.initializeScrollListener=function(){var e=p("ios");var t=n.el;var i;var r=n.activeItem;var o=function(){a((function(){if(i){clearTimeout(i);i=undefined}if(!n.isScrolling){e&&s();n.isScrolling=true}var o=t.getBoundingClientRect();var a=o.x+o.width/2;var l=o.y+o.height/2;var p=t.shadowRoot.elementFromPoint(a,l);if(r!==null){n.setPickerItemActiveState(r,false)}if(p===null||p.disabled){return}if(p!==r){e&&c();if(n.canExitInputMode){n.exitInputMode()}}r=p;n.setPickerItemActiveState(p,true);i=setTimeout((function(){n.isScrolling=false;e&&u();var t=n.scrollEndCallback;if(t){t();n.scrollEndCallback=undefined}n.canExitInputMode=true;var i=p.getAttribute("data-index");if(i===null){return}var r=parseInt(i,10);var o=n.items[r];if(o.value!==n.value){n.setValue(o.value)}}),250)}))};a((function(){t.addEventListener("scroll",o);n.destroyScrollListener=function(){t.removeEventListener("scroll",o)}}))};this.exitInputMode=function(){var e=n.parentEl;if(e==null)return;e.exitInputMode();n.el.classList.remove("picker-column-active")};this.isActive=false;this.items=[];this.value=undefined;this.color="primary";this.numericInput=false}e.prototype.valueChange=function(){if(this.isColumnVisible){this.scrollActiveItemIntoView()}};e.prototype.componentWillLoad=function(){var e=this;var t=function(t){var i=t[0];if(i.isIntersecting){var n=e,r=n.activeItem,o=n.el;e.isColumnVisible=true;var a=l(o).querySelector(".".concat(b));if(a){e.setPickerItemActiveState(a,false)}e.scrollActiveItemIntoView();if(r){e.setPickerItemActiveState(r,true)}e.initializeScrollListener()}else{e.isColumnVisible=false;if(e.destroyScrollListener){e.destroyScrollListener();e.destroyScrollListener=undefined}}};new IntersectionObserver(t,{threshold:.001}).observe(this.el);var i=this.parentEl=this.el.closest("ion-picker-internal");if(i!==null){i.addEventListener("ionInputModeChange",(function(t){return e.inputModeChange(t)}))}};e.prototype.componentDidRender=function(){var e;var t=this,i=t.activeItem,n=t.items,r=t.isColumnVisible,o=t.value;if(r){if(i){this.scrollActiveItemIntoView()}else if(((e=n[0])===null||e===void 0?void 0:e.value)!==o){this.setValue(n[0].value)}}};e.prototype.scrollActiveItemIntoView=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.activeItem;if(e){this.centerPickerItemInView(e,false,false)}return[2]}))}))};e.prototype.setValue=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(n){t=this.items;this.value=e;i=t.find((function(t){return t.value===e&&t.disabled!==true}));if(i){this.ionChange.emit(i)}return[2]}))}))};Object.defineProperty(e.prototype,"activeItem",{get:function(){return l(this.el).querySelector('.picker-item[data-value="'.concat(this.value,'"]:not([disabled])'))},enumerable:false,configurable:true});e.prototype.render=function(){var e;var t=this;var i=this,o=i.items,a=i.color,l=i.isActive,s=i.numericInput;var c=d(this);return n(r,{exportparts:"".concat(g,", ").concat(y),tabindex:0,class:f(a,(e={},e[c]=true,e["picker-column-active"]=l,e["picker-column-numeric-input"]=s,e))},n("div",{class:"picker-item picker-item-empty","aria-hidden":"true"}," "),n("div",{class:"picker-item picker-item-empty","aria-hidden":"true"}," "),n("div",{class:"picker-item picker-item-empty","aria-hidden":"true"}," "),o.map((function(e,i){return n("button",{tabindex:"-1",class:{"picker-item":true,"picker-item-disabled":e.disabled||false},"data-value":e.value,"data-index":i,onClick:function(e){t.centerPickerItemInView(e.target,true)},disabled:e.disabled,part:g},e.text)})),n("div",{class:"picker-item picker-item-empty","aria-hidden":"true"}," "),n("div",{class:"picker-item picker-item-empty","aria-hidden":"true"}," "),n("div",{class:"picker-item picker-item-empty","aria-hidden":"true"}," "))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChange"]}},enumerable:false,configurable:true});return e}());var b="picker-item-active";var g="wheel-item";var y="active";v.style={ios:h,md:m}}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{c(o.next(e))}catch(e){i(e)}}function s(e){try{c(o["throw"](e))}catch(e){i(e)}}function c(e){e.done?n(e.value):r(e.value).then(a,s)}c((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return c([e,t])}}function c(s){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(o=1,r&&(i=s[0]&2?r["return"]:s[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;if(r=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{o=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,i;o<r;o++){if(i||!(o in t)){if(!i)i=Array.prototype.slice.call(t,0,o);i[o]=t[o]}}return e.concat(i||Array.prototype.slice.call(t))};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-629aa3fd.system.js","./p-815c2fba.system.js","./p-8050b9b9.system.js","./p-939e0fa1.system.js","./p-479cdbf8.system.js"],(function(e){"use strict";var t,n,o,r,i,a,s,c,d,u,l,h,p,f;return{setters:[function(e){t=e.r;n=e.h;o=e.H;r=e.f;i=e.d},function(e){a=e.r;s=e.t;c=e.a;d=e.b;u=e.g},function(e){l=e.l},function(e){h=e.c;p=e.b},function(e){f=e.p}],execute:function(){var g=":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";var v=":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}";var b=e("ion_accordion",function(){function e(e){var n=this;t(this,e);this.updateListener=function(){return n.updateState(false)};this.setItemDefaults=function(){var e=n.getSlottedHeaderIonItem();if(!e){return}e.button=true;e.detail=false;if(e.lines===undefined){e.lines="full"}};this.getSlottedHeaderIonItem=function(){var e=n.headerEl;if(!e){return}var t=e.querySelector("slot");if(!t){return}if(t.assignedElements===undefined)return;return t.assignedElements().find((function(e){return e.tagName==="ION-ITEM"}))};this.setAria=function(e){if(e===void 0){e=false}var t=n.getSlottedHeaderIonItem();if(!t){return}var o=u(t);var r=o.querySelector("button");if(!r){return}r.setAttribute("aria-expanded","".concat(e))};this.slotToggleIcon=function(){var e=n.getSlottedHeaderIonItem();if(!e){return}var t=n,o=t.toggleIconSlot,r=t.toggleIcon;var i=e.querySelector(".ion-accordion-toggle-icon");if(i){return}var a=document.createElement("ion-icon");a.slot=o;a.lazy=false;a.classList.add("ion-accordion-toggle-icon");a.icon=r;a.setAttribute("aria-hidden","true");e.appendChild(a)};this.expandAccordion=function(e){if(e===void 0){e=false}var t=n,o=t.contentEl,r=t.contentElWrapper;if(e||o===undefined||r===undefined){n.state=4;return}if(n.state===4){return}if(n.currentRaf!==undefined){cancelAnimationFrame(n.currentRaf)}if(n.shouldAnimate()){a((function(){n.state=8;n.currentRaf=a((function(){return __awaiter(n,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){switch(n.label){case 0:e=r.offsetHeight;t=s(o,2e3);o.style.setProperty("max-height","".concat(e,"px"));return[4,t];case 1:n.sent();this.state=4;o.style.removeProperty("max-height");return[2]}}))}))}))}))}else{n.state=4}};this.collapseAccordion=function(e){if(e===void 0){e=false}var t=n.contentEl;if(e||t===undefined){n.state=1;return}if(n.state===1){return}if(n.currentRaf!==undefined){cancelAnimationFrame(n.currentRaf)}if(n.shouldAnimate()){n.currentRaf=a((function(){return __awaiter(n,void 0,void 0,(function(){var e;var n=this;return __generator(this,(function(o){e=t.offsetHeight;t.style.setProperty("max-height","".concat(e,"px"));a((function(){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:e=s(t,2e3);this.state=2;return[4,e];case 1:n.sent();this.state=1;t.style.removeProperty("max-height");return[2]}}))}))}));return[2]}))}))}))}else{n.state=1}};this.shouldAnimate=function(){if(typeof window==="undefined"){return false}var e=matchMedia("(prefers-reduced-motion: reduce)").matches;if(e){return false}var t=h.get("animated",true);if(!t){return false}if(n.accordionGroupEl&&!n.accordionGroupEl.animated){return false}return true};this.updateState=function(e){if(e===void 0){e=false}return __awaiter(n,void 0,void 0,(function(){var t,n,o,r,i,a,s,c;return __generator(this,(function(d){t=this.accordionGroupEl;n=this.value;if(!t){return[2]}o=t.value;r=Array.isArray(o)?o.includes(n):o===n;if(r){this.expandAccordion(e);this.isNext=this.isPrevious=false}else{this.collapseAccordion(e);i=this.getNextSibling();a=i===null||i===void 0?void 0:i.value;if(a!==undefined){this.isPrevious=Array.isArray(o)?o.includes(a):o===a}s=this.getPreviousSibling();c=s===null||s===void 0?void 0:s.value;if(c!==undefined){this.isNext=Array.isArray(o)?o.includes(c):o===c}}return[2]}))}))};this.getNextSibling=function(){if(!n.el){return}var e=n.el.nextElementSibling;if((e===null||e===void 0?void 0:e.tagName)!=="ION-ACCORDION"){return}return e};this.getPreviousSibling=function(){if(!n.el){return}var e=n.el.previousElementSibling;if((e===null||e===void 0?void 0:e.tagName)!=="ION-ACCORDION"){return}return e};this.state=1;this.isNext=false;this.isPrevious=false;this.value="ion-accordion-".concat(x++);this.disabled=false;this.readonly=false;this.toggleIcon=l;this.toggleIconSlot="end"}e.prototype.valueChanged=function(){this.updateState()};e.prototype.connectedCallback=function(){var e;var t=this.accordionGroupEl=(e=this.el)===null||e===void 0?void 0:e.closest("ion-accordion-group");if(t){this.updateState(true);c(t,"ionValueChange",this.updateListener)}};e.prototype.disconnectedCallback=function(){var e=this.accordionGroupEl;if(e){d(e,"ionValueChange",this.updateListener)}};e.prototype.componentDidLoad=function(){var e=this;this.setItemDefaults();this.slotToggleIcon();a((function(){var t=e.state===4||e.state===8;e.setAria(t)}))};e.prototype.toggleExpanded=function(){var e=this,t=e.accordionGroupEl,n=e.value,o=e.state;if(t){var r=o===1||o===2;t.requestAccordionToggle(n,r)}};e.prototype.render=function(){var e;var t=this;var r=this,i=r.disabled,a=r.readonly;var s=p(this);var c=this.state===4||this.state===8;var d=c?"header expanded":"header";var u=c?"content expanded":"content";this.setAria(c);return n(o,{class:(e={},e[s]=true,e["accordion-expanding"]=this.state===8,e["accordion-expanded"]=this.state===4,e["accordion-collapsing"]=this.state===2,e["accordion-collapsed"]=this.state===1,e["accordion-next"]=this.isNext,e["accordion-previous"]=this.isPrevious,e["accordion-disabled"]=i,e["accordion-readonly"]=a,e["accordion-animated"]=this.shouldAnimate(),e)},n("div",{onClick:function(){return t.toggleExpanded()},id:"header",part:d,"aria-controls":"content",ref:function(e){return t.headerEl=e}},n("slot",{name:"header"})),n("div",{id:"content",part:u,role:"region","aria-labelledby":"header",ref:function(e){return t.contentEl=e}},n("div",{id:"content-wrapper",ref:function(e){return t.contentElWrapper=e}},n("slot",{name:"content"}))))};Object.defineProperty(e,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}());var x=0;b.style={ios:g,md:v};var m=":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}";var y=":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous):dir(rtl){border-bottom-right-radius:6px;border-bottom-left-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next):dir(rtl){border-top-left-radius:6px;border-top-right-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";var w=e("ion_accordion_group",function(){function e(e){t(this,e);this.ionChange=i(this,"ionChange",7);this.ionValueChange=i(this,"ionValueChange",7);this.animated=true;this.multiple=undefined;this.value=undefined;this.disabled=false;this.readonly=false;this.expand="compact"}e.prototype.valueChanged=function(){var e=this,t=e.value,n=e.multiple;if(!n&&Array.isArray(t)){f('ion-accordion-group was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: ['.concat(t.map((function(e){return"'".concat(e,"'")})).join(", "),"]\n"),this.el)}this.ionValueChange.emit({value:this.value})};e.prototype.disabledChanged=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,o,r;return __generator(this,(function(i){switch(i.label){case 0:e=this.disabled;return[4,this.getAccordions()];case 1:t=i.sent();for(n=0,o=t;n<o.length;n++){r=o[n];r.disabled=e}return[2]}}))}))};e.prototype.readonlyChanged=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,o,r;return __generator(this,(function(i){switch(i.label){case 0:e=this.readonly;return[4,this.getAccordions()];case 1:t=i.sent();for(n=0,o=t;n<o.length;n++){r=o[n];r.readonly=e}return[2]}}))}))};e.prototype.onKeydown=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,o,r,i,a,s;return __generator(this,(function(c){switch(c.label){case 0:t=document.activeElement;if(!t){return[2]}n=t.closest('ion-accordion [slot="header"]');if(!n){return[2]}o=t.tagName==="ION-ACCORDION"?t:t.closest("ion-accordion");if(!o){return[2]}r=o.closest("ion-accordion-group");if(r!==this.el){return[2]}return[4,this.getAccordions()];case 1:i=c.sent();a=i.findIndex((function(e){return e===o}));if(a===-1){return[2]}if(e.key==="ArrowDown"){s=this.findNextAccordion(i,a)}else if(e.key==="ArrowUp"){s=this.findPreviousAccordion(i,a)}else if(e.key==="Home"){s=i[0]}else if(e.key==="End"){s=i[i.length-1]}if(s!==undefined&&s!==t){s.focus()}return[2]}}))}))};e.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.disabled){this.disabledChanged()}if(this.readonly){this.readonlyChanged()}return[2]}))}))};e.prototype.setValue=function(e){var t=this.value=e;this.ionChange.emit({value:t})};e.prototype.requestAccordionToggle=function(e,t){return __awaiter(this,void 0,void 0,(function(){var n,o,r,i,a,s,c,d,s,c;return __generator(this,(function(u){n=this,o=n.multiple,r=n.value,i=n.readonly,a=n.disabled;if(i||a){return[2]}if(t){if(o){s=r!==null&&r!==void 0?r:[];c=Array.isArray(s)?s:[s];d=c.find((function(t){return t===e}));if(d===undefined&&e!==undefined){this.setValue(__spreadArray(__spreadArray([],c,true),[e],false))}}else{this.setValue(e)}}else{if(o){s=r!==null&&r!==void 0?r:[];c=Array.isArray(s)?s:[s];this.setValue(c.filter((function(t){return t!==e})))}else{this.setValue(undefined)}}return[2]}))}))};e.prototype.findNextAccordion=function(e,t){var n=e[t+1];if(n===undefined){return e[0]}return n};e.prototype.findPreviousAccordion=function(e,t){var n=e[t-1];if(n===undefined){return e[e.length-1]}return n};e.prototype.getAccordions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,Array.from(this.el.querySelectorAll(":scope > ion-accordion"))]}))}))};e.prototype.render=function(){var e;var t=this,r=t.disabled,i=t.readonly,a=t.expand;var s=p(this);return n(o,{class:(e={},e[s]=true,e["accordion-group-disabled"]=r,e["accordion-group-readonly"]=i,e["accordion-group-expand-".concat(a)]=true,e),role:"presentation"},n("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}},enumerable:false,configurable:true});return e}());w.style={ios:m,md:y}}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{u(i.next(e))}catch(e){o(e)}}function a(e){try{u(i["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):r(e.value).then(s,a)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return u([e,t])}}function u(a){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(n=0)),n)try{if(i=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];r=0}finally{i=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-629aa3fd.system.js","./p-c4f2dce7.system.js","./p-815c2fba.system.js","./p-e028178a.system.js","./p-939e0fa1.system.js","./p-613d4042.system.js"],(function(e,t){"use strict";var n,i,r,o,s,a,u,f,c,l,h,d,v,p,m,g,w;return{setters:[function(e){n=e.r;i=e.d;r=e.h;o=e.f;s=e.H},function(e){a=e.g},function(e){u=e.o;f=e.s},function(e){c=e.l;l=e.t;h=e.s;d=e.d;v=e.b;p=e.c},function(e){m=e.b;g=e.c},function(e){w=e.a}],execute:function(){var y=1;var b=2;var _=3;var S=function(){function e(e,t){this.component=e;this.params=t;this.state=y}e.prototype.init=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:this.state=b;if(!!this.element)return[3,2];t=this.component;n=this;return[4,w(this.delegate,e,t,["ion-page","ion-page-invisible"],this.params)];case 1:n.element=i.sent();i.label=2;case 2:return[2]}}))}))};e.prototype._destroy=function(){u(this.state!==_,"view state must be ATTACHED");var e=this.element;if(e){if(this.delegate){this.delegate.removeViewFromDom(e.parentElement,e)}else{e.remove()}}this.nav=undefined;this.state=_};return e}();var k=function(e,t,n){if(!e){return false}if(e.component!==t){return false}return f(e.params,n)};var C=function(e,t){if(!e){return null}if(e instanceof S){return e}return new S(e,t)};var V=function(e){return e.map((function(e){if(e instanceof S){return e}if("component"in e){return C(e.component,e.componentProps===null?undefined:e.componentProps)}return C(e,undefined)})).filter((function(e){return e!==null}))};var T=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";var P=e("ion_nav",function(){function e(e){n(this,e);this.ionNavWillLoad=i(this,"ionNavWillLoad",7);this.ionNavWillChange=i(this,"ionNavWillChange",3);this.ionNavDidChange=i(this,"ionNavDidChange",3);this.transInstr=[];this.gestureOrAnimationInProgress=false;this.useRouter=false;this.isTransitioning=false;this.destroyed=false;this.views=[];this.didLoad=false;this.delegate=undefined;this.swipeGesture=undefined;this.animated=true;this.animation=undefined;this.rootParams=undefined;this.root=undefined}e.prototype.swipeGestureChanged=function(){if(this.gesture){this.gesture.enable(this.swipeGesture===true)}};e.prototype.rootChanged=function(){if(this.root===undefined){return}if(this.didLoad===false){return}if(!this.useRouter){if(this.root!==undefined){this.setRoot(this.root,this.rootParams)}}};e.prototype.componentWillLoad=function(){this.useRouter=document.querySelector("ion-router")!==null&&this.el.closest("[no-router]")===null;if(this.swipeGesture===undefined){var e=m(this);this.swipeGesture=g.getBoolean("swipeBackEnabled",e==="ios")}this.ionNavWillLoad.emit()};e.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:this.didLoad=true;this.rootChanged();e=this;return[4,t.import("./p-8dbdb163.system.js")];case 1:e.gesture=n.sent().createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this));this.swipeGestureChanged();return[2]}}))}))};e.prototype.connectedCallback=function(){this.destroyed=false};e.prototype.disconnectedCallback=function(){for(var e=0,t=this.views;e<t.length;e++){var n=t[e];c(n.element,d);n._destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.transInstr.length=0;this.views.length=0;this.destroyed=true};e.prototype.push=function(e,t,n,i){return this.insert(-1,e,t,n,i)};e.prototype.insert=function(e,t,n,i,r){return this.insertPages(e,[{component:t,componentProps:n}],i,r)};e.prototype.insertPages=function(e,t,n,i){return this.queueTrns({insertStart:e,insertViews:t,opts:n},i)};e.prototype.pop=function(e,t){return this.removeIndex(-1,1,e,t)};e.prototype.popTo=function(e,t,n){var i={removeStart:-1,removeCount:-1,opts:t};if(typeof e==="object"&&e.component){i.removeView=e;i.removeStart=1}else if(typeof e==="number"){i.removeStart=e+1}return this.queueTrns(i,n)};e.prototype.popToRoot=function(e,t){return this.removeIndex(1,-1,e,t)};e.prototype.removeIndex=function(e,t,n,i){if(t===void 0){t=1}return this.queueTrns({removeStart:e,removeCount:t,opts:n},i)};e.prototype.setRoot=function(e,t,n,i){return this.setPages([{component:e,componentProps:t}],n,i)};e.prototype.setPages=function(e,t,n){t!==null&&t!==void 0?t:t={};if(t.animated!==true){t.animated=false}return this.queueTrns({insertStart:0,insertViews:e,removeStart:0,removeCount:-1,opts:t},n)};e.prototype.setRouteId=function(e,t,n,i){var r=this;var o=this.getActiveSync();if(k(o,e,t)){return Promise.resolve({changed:false,element:o.element})}var s;var a=new Promise((function(e){return s=e}));var u;var f={updateURL:false,viewIsReady:function(e){var t;var n=new Promise((function(e){return t=e}));s({changed:true,element:e,markVisible:function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:t();return[4,u];case 1:e.sent();return[2]}}))}))}});return n}};if(n==="root"){u=this.setRoot(e,t,f)}else{var c=this.views.find((function(n){return k(n,e,t)}));if(c){u=this.popTo(c,Object.assign(Object.assign({},f),{direction:"back",animationBuilder:i}))}else if(n==="forward"){u=this.push(e,t,Object.assign(Object.assign({},f),{animationBuilder:i}))}else if(n==="back"){u=this.setRoot(e,t,Object.assign(Object.assign({},f),{direction:"back",animated:true,animationBuilder:i}))}}return a};e.prototype.getRouteId=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getActiveSync();if(e){return[2,{id:e.element.tagName,params:e.params,element:e.element}]}return[2,undefined]}))}))};e.prototype.getActive=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.getActiveSync()]}))}))};e.prototype.getByIndex=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.views[e]]}))}))};e.prototype.canGoBack=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.canGoBackSync(e)]}))}))};e.prototype.getPrevious=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.getPreviousSync(e)]}))}))};e.prototype.getLength=function(){return this.views.length};e.prototype.getActiveSync=function(){return this.views[this.views.length-1]};e.prototype.canGoBackSync=function(e){if(e===void 0){e=this.getActiveSync()}return!!(e&&this.getPreviousSync(e))};e.prototype.getPreviousSync=function(e){if(e===void 0){e=this.getActiveSync()}if(!e){return undefined}var t=this.views;var n=t.indexOf(e);return n>0?t[n-1]:undefined};e.prototype.queueTrns=function(e,t){return __awaiter(this,void 0,void 0,(function(){var n,i,r,o,s;return __generator(this,(function(a){switch(a.label){case 0:if(this.isTransitioning&&((n=e.opts)===null||n===void 0?void 0:n.skipIfBusy)){return[2,false]}r=new Promise((function(t,n){e.resolve=t;e.reject=n}));e.done=t;if(!(e.opts&&e.opts.updateURL!==false&&this.useRouter))return[3,2];o=document.querySelector("ion-router");if(!o)return[3,2];return[4,o.canTransition()];case 1:s=a.sent();if(s===false){return[2,false]}if(typeof s==="string"){o.push(s,e.opts.direction||"back");return[2,false]}a.label=2;case 2:if(((i=e.insertViews)===null||i===void 0?void 0:i.length)===0){e.insertViews=undefined}this.transInstr.push(e);this.nextTrns();return[2,r]}}))}))};e.prototype.success=function(e,t){if(this.destroyed){this.fireError("nav controller was destroyed",t);return}if(t.done){t.done(e.hasCompleted,e.requiresTransition,e.enteringView,e.leavingView,e.direction)}t.resolve(e.hasCompleted);if(t.opts.updateURL!==false&&this.useRouter){var n=document.querySelector("ion-router");if(n){var i=e.direction==="back"?"back":"forward";n.navChanged(i)}}};e.prototype.failed=function(e,t){if(this.destroyed){this.fireError("nav controller was destroyed",t);return}this.transInstr.length=0;this.fireError(e,t)};e.prototype.fireError=function(e,t){if(t.done){t.done(false,false,e)}if(t.reject&&!this.destroyed){t.reject(e)}else{t.resolve(false)}};e.prototype.nextTrns=function(){if(this.isTransitioning){return false}var e=this.transInstr.shift();if(!e){return false}this.runTransition(e);return true};e.prototype.runTransition=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,r,o,s;return __generator(this,(function(a){switch(a.label){case 0:a.trys.push([0,6,,7]);this.ionNavWillChange.emit();this.isTransitioning=true;this.prepareTI(e);t=this.getActiveSync();n=this.getEnteringView(e,t);if(!t&&!n){throw new Error("no views in the stack to be removed")}if(!(n&&n.state===y))return[3,2];return[4,n.init(this.el)];case 1:a.sent();a.label=2;case 2:this.postViewInit(n,t,e);i=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&n!==t;if(i&&e.opts&&t){r=e.opts.direction==="back";if(r){e.opts.animationBuilder=e.opts.animationBuilder||(n===null||n===void 0?void 0:n.animationBuilder)}t.animationBuilder=e.opts.animationBuilder}o=void 0;if(!i)return[3,4];return[4,this.transition(n,t,e)];case 3:o=a.sent();return[3,5];case 4:o={hasCompleted:true,requiresTransition:false};a.label=5;case 5:this.success(o,e);this.ionNavDidChange.emit();return[3,7];case 6:s=a.sent();this.failed(s,e);return[3,7];case 7:this.isTransitioning=false;this.nextTrns();return[2]}}))}))};e.prototype.prepareTI=function(e){var t,n;var i;var r=this.views.length;(t=e.opts)!==null&&t!==void 0?t:e.opts={};(n=(i=e.opts).delegate)!==null&&n!==void 0?n:i.delegate=this.delegate;if(e.removeView!==undefined){u(e.removeStart!==undefined,"removeView needs removeStart");u(e.removeCount!==undefined,"removeView needs removeCount");var o=this.views.indexOf(e.removeView);if(o<0){throw new Error("removeView was not found")}e.removeStart+=o}if(e.removeStart!==undefined){if(e.removeStart<0){e.removeStart=r-1}if(e.removeCount<0){e.removeCount=r-e.removeStart}e.leavingRequiresTransition=e.removeCount>0&&e.removeStart+e.removeCount===r}if(e.insertViews){if(e.insertStart<0||e.insertStart>r){e.insertStart=r}e.enteringRequiresTransition=e.insertStart===r}var s=e.insertViews;if(!s){return}u(s.length>0,"length can not be zero");var a=V(s);if(a.length===0){throw new Error("invalid views to insert")}for(var f=0,c=a;f<c.length;f++){var l=c[f];l.delegate=e.opts.delegate;var h=l.nav;if(h&&h!==this){throw new Error("inserted view was already inserted")}if(l.state===_){throw new Error("inserted view was already destroyed")}}e.insertViews=a};e.prototype.getEnteringView=function(e,t){var n=e.insertViews;if(n!==undefined){return n[n.length-1]}var i=e.removeStart;if(i!==undefined){var r=this.views;var o=i+e.removeCount;for(var s=r.length-1;s>=0;s--){var a=r[s];if((s<i||s>=o)&&a!==t){return a}}}return undefined};e.prototype.postViewInit=function(e,t,n){var i,r,o;u(t||e,"Both leavingView and enteringView are null");u(n.resolve,"resolve must be valid");u(n.reject,"reject must be valid");var s=n.opts;var a=n.insertViews,f=n.removeStart,l=n.removeCount;var h;if(f!==undefined&&l!==undefined){u(f>=0,"removeStart can not be negative");u(l>=0,"removeCount can not be negative");h=[];for(var m=f;m<f+l;m++){var g=this.views[m];if(g!==undefined&&g!==e&&g!==t){h.push(g)}}(i=s.direction)!==null&&i!==void 0?i:s.direction="back"}var w=this.views.length+((r=a===null||a===void 0?void 0:a.length)!==null&&r!==void 0?r:0)-(l!==null&&l!==void 0?l:0);u(w>=0,"final balance can not be negative");if(w===0){console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el);throw new Error("navigation stack needs at least one root page")}if(a){var y=n.insertStart;for(var b=0,_=a;b<_.length;b++){var g=_[b];this.insertViewAt(g,y);y++}if(n.enteringRequiresTransition){(o=s.direction)!==null&&o!==void 0?o:s.direction="forward"}}if(h&&h.length>0){for(var S=0,k=h;S<k.length;S++){var g=k[S];c(g.element,v);c(g.element,p);c(g.element,d)}for(var C=0,V=h;C<V.length;C++){var g=V[C];this.destroyView(g)}}};e.prototype.transition=function(e,t,n){return __awaiter(this,void 0,void 0,(function(){var i,r,o,s,a,u,f;var c=this;return __generator(this,(function(h){switch(h.label){case 0:i=n.opts;r=i.progressAnimation?function(e){if(e!==undefined&&!c.gestureOrAnimationInProgress){c.gestureOrAnimationInProgress=true;e.onFinish((function(){c.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});e.progressEnd(0,0,0)}else{c.sbAni=e}}:undefined;o=m(this);s=e.element;a=t&&t.element;u=Object.assign(Object.assign({mode:o,showGoBack:this.canGoBackSync(e),baseEl:this.el,progressCallback:r,animated:this.animated&&g.getBoolean("animated",true),enteringEl:s,leavingEl:a},i),{animationBuilder:i.animationBuilder||this.animation||g.get("navAnimation")});return[4,l(u)];case 1:f=h.sent().hasCompleted;return[2,this.transitionFinish(f,e,t,i)]}}))}))};e.prototype.transitionFinish=function(e,t,n,i){var r=e?t:n;if(r){this.unmountInactiveViews(r)}return{hasCompleted:e,requiresTransition:true,enteringView:t,leavingView:n,direction:i.direction}};e.prototype.insertViewAt=function(e,t){var n=this.views;var i=n.indexOf(e);if(i>-1){u(e.nav===this,"view is not part of the nav");n.splice(i,1);n.splice(t,0,e)}else{u(!e.nav,"nav is used");e.nav=this;n.splice(t,0,e)}};e.prototype.removeView=function(e){u(e.state===b||e.state===_,"view state should be loaded or destroyed");var t=this.views;var n=t.indexOf(e);u(n>-1,"view must be part of the stack");if(n>=0){t.splice(n,1)}};e.prototype.destroyView=function(e){e._destroy();this.removeView(e)};e.prototype.unmountInactiveViews=function(e){if(this.destroyed){return}var t=this.views;var n=t.indexOf(e);for(var i=t.length-1;i>=0;i--){var r=t[i];var o=r.element;if(o){if(i>n){c(o,d);this.destroyView(r)}else if(i<n){h(o,true)}}}};e.prototype.canStart=function(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&this.transInstr.length===0&&this.canGoBackSync()};e.prototype.onStart=function(){this.gestureOrAnimationInProgress=true;this.pop({direction:"back",progressAnimation:true})};e.prototype.onMove=function(e){if(this.sbAni){this.sbAni.progressStep(e)}};e.prototype.onEnd=function(e,t,n){var i=this;if(this.sbAni){this.sbAni.onFinish((function(){i.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});var r=e?-.001:.001;if(!e){this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)");r+=a([0,0],[1,0],[.68,.28],[1,1],t)[0]}else{r+=a([0,0],[.32,.72],[0,1],[1,1],t)[0]}this.sbAni.progressEnd(e?1:0,r,n)}else{this.gestureOrAnimationInProgress=false}};e.prototype.render=function(){return r("slot",null)};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}},enumerable:false,configurable:true});return e}());P.style=T;var A=function(e,t,n,i,r){var o=e.closest("ion-nav");if(o){if(t==="forward"){if(n!==undefined){return o.push(n,i,{skipIfBusy:true,animationBuilder:r})}}else if(t==="root"){if(n!==undefined){return o.setRoot(n,i,{skipIfBusy:true,animationBuilder:r})}}else if(t==="back"){return o.pop({skipIfBusy:true,animationBuilder:r})}}return Promise.resolve(false)};var I=e("ion_nav_link",function(){function e(e){var t=this;n(this,e);this.onClick=function(){return A(t.el,t.routerDirection,t.component,t.componentProps,t.routerAnimation)};this.component=undefined;this.componentProps=undefined;this.routerDirection="forward";this.routerAnimation=undefined}e.prototype.render=function(){return r(s,{onClick:this.onClick})};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}())}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function a(t){try{u(i.next(t))}catch(t){o(t)}}function s(t){try{u(i["throw"](t))}catch(t){o(t)}}function u(t){t.done?n(t.value):r(t.value).then(a,s)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return u([t,e])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(i=1,r&&(o=s[0]&2?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;if(r=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];r=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-629aa3fd.system.js","./p-613d4042.system.js","./p-815c2fba.system.js"],(function(t){"use strict";var e,n,i,r,o,a;return{setters:[function(t){e=t.r;n=t.h;i=t.H;r=t.f;o=t.d},function(t){a=t.a},function(){}],execute:function(){var s=":host(.tab-hidden){display:none !important}";var u=t("ion_tab",function(){function t(t){e(this,t);this.loaded=false;this.active=false;this.delegate=undefined;this.tab=undefined;this.component=undefined}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!this.active)return[3,2];return[4,this.setActive()];case 1:t.sent();t.label=2;case 2:return[2]}}))}))};t.prototype.setActive=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.prepareLazyLoaded()];case 1:t.sent();this.active=true;return[2]}}))}))};t.prototype.changeActive=function(t){if(t){this.prepareLazyLoaded()}};t.prototype.prepareLazyLoaded=function(){if(!this.loaded&&this.component!=null){this.loaded=true;try{return a(this.delegate,this.el,this.component,["ion-page"])}catch(t){console.error(t)}}return Promise.resolve(undefined)};t.prototype.render=function(){var t=this,e=t.tab,r=t.active,o=t.component;return n(i,{role:"tabpanel","aria-hidden":!r?"true":null,"aria-labelledby":"tab-button-".concat(e),class:{"ion-page":o===undefined,"tab-hidden":!r}},n("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["changeActive"]}},enumerable:false,configurable:true});return t}());u.style=s;var l=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}";var c=t("ion_tabs",function(){function t(t){var n=this;e(this,t);this.ionNavWillLoad=o(this,"ionNavWillLoad",7);this.ionTabsWillChange=o(this,"ionTabsWillChange",3);this.ionTabsDidChange=o(this,"ionTabsDidChange",3);this.transitioning=false;this.onTabClicked=function(t){var e=t.detail,i=e.href,r=e.tab;if(n.useRouter&&i!==undefined){var o=document.querySelector("ion-router");if(o){o.push(i)}}else{n.select(r)}};this.selectedTab=undefined;this.useRouter=false}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(!this.useRouter){this.useRouter=!!document.querySelector("ion-router")&&!this.el.closest("[no-router]")}if(!!this.useRouter)return[3,2];t=this.tabs;if(!(t.length>0))return[3,2];return[4,this.select(t[0])];case 1:e.sent();e.label=2;case 2:this.ionNavWillLoad.emit();return[2]}}))}))};t.prototype.componentWillRender=function(){var t=this.el.querySelector("ion-tab-bar");if(t){var e=this.selectedTab?this.selectedTab.tab:undefined;t.selectedTab=e}};t.prototype.select=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:e=h(this.tabs,t);if(!this.shouldSwitch(e)){return[2,false]}return[4,this.setActive(e)];case 1:n.sent();return[4,this.notifyRouter()];case 2:n.sent();this.tabSwitch();return[2,true]}}))}))};t.prototype.getTab=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,h(this.tabs,t)]}))}))};t.prototype.getSelected=function(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:undefined)};t.prototype.setRouteId=function(t){return __awaiter(this,void 0,void 0,(function(){var e;var n=this;return __generator(this,(function(i){switch(i.label){case 0:e=h(this.tabs,t);if(!this.shouldSwitch(e)){return[2,{changed:false,element:this.selectedTab}]}return[4,this.setActive(e)];case 1:i.sent();return[2,{changed:true,element:this.selectedTab,markVisible:function(){return n.tabSwitch()}}]}}))}))};t.prototype.getRouteId=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(n){e=(t=this.selectedTab)===null||t===void 0?void 0:t.tab;return[2,e!==undefined?{id:e,element:this.selectedTab}:undefined]}))}))};t.prototype.setActive=function(t){if(this.transitioning){return Promise.reject("transitioning already happening")}this.transitioning=true;this.leavingTab=this.selectedTab;this.selectedTab=t;this.ionTabsWillChange.emit({tab:t.tab});t.active=true;return Promise.resolve()};t.prototype.tabSwitch=function(){var t=this.selectedTab;var e=this.leavingTab;this.leavingTab=undefined;this.transitioning=false;if(!t){return}if(e!==t){if(e){e.active=false}this.ionTabsDidChange.emit({tab:t.tab})}};t.prototype.notifyRouter=function(){if(this.useRouter){var t=document.querySelector("ion-router");if(t){return t.navChanged("forward")}}return Promise.resolve(false)};t.prototype.shouldSwitch=function(t){var e=this.selectedTab;return t!==undefined&&t!==e&&!this.transitioning};Object.defineProperty(t.prototype,"tabs",{get:function(){return Array.from(this.el.querySelectorAll("ion-tab"))},enumerable:false,configurable:true});t.prototype.render=function(){return n(i,{onIonTabButtonClick:this.onTabClicked},n("slot",{name:"top"}),n("div",{class:"tabs-inner"},n("slot",null)),n("slot",{name:"bottom"}))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());var h=function(t,e){var n=typeof e==="string"?t.find((function(t){return t.tab===e})):e;if(!n){console.error('tab with id: "'.concat(n,'" does not exist'))}return n};c.style=l}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,e,a){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,r){function o(t){try{c(a.next(t))}catch(t){r(t)}}function s(t){try{c(a["throw"](t))}catch(t){r(t)}}function c(t){t.done?e(t.value):i(t.value).then(o,s)}c((a=a.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(n){return c([t,n])}}function c(s){if(a)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(e=0)),e)try{if(a=1,i&&(r=s[0]&2?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;if(i=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;i=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){e.label=s[1];break}if(s[0]===6&&e.label<r[1]){e.label=r[1];r=s;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(s);break}if(r[2])e.ops.pop();e.trys.pop();continue}s=n.call(t,e)}catch(t){s=[6,t];i=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-629aa3fd.system.js","./p-939e0fa1.system.js"],(function(t){"use strict";var n,e,a,i,r,o,s;return{setters:[function(t){n=t.r;e=t.e;a=t.w;i=t.h;r=t.f;o=t.H},function(t){s=t.b}],execute:function(){var c=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}";var f=t("ion_ripple_effect",function(){function t(t){n(this,t);this.type="bounded"}t.prototype.addRipple=function(t,n){return __awaiter(this,void 0,void 0,(function(){var i=this;return __generator(this,(function(r){return[2,new Promise((function(r){e((function(){var e=i.el.getBoundingClientRect();var o=e.width;var s=e.height;var c=Math.sqrt(o*o+s*s);var f=Math.max(s,o);var p=i.unbounded?f:c+u;var d=Math.floor(f*m);var b=p/d;var v=t-e.left;var y=n-e.top;if(i.unbounded){v=o*.5;y=s*.5}var h=v-d*.5;var w=y-d*.5;var g=o*.5-v;var k=s*.5-y;a((function(){var t=document.createElement("div");t.classList.add("ripple-effect");var n=t.style;n.top=w+"px";n.left=h+"px";n.width=n.height=d+"px";n.setProperty("--final-scale","".concat(b));n.setProperty("--translate-end","".concat(g,"px, ").concat(k,"px"));var e=i.el.shadowRoot||i.el;e.appendChild(t);setTimeout((function(){r((function(){l(t)}))}),225+100)}))}))}))]}))}))};Object.defineProperty(t.prototype,"unbounded",{get:function(){return this.type==="unbounded"},enumerable:false,configurable:true});t.prototype.render=function(){var t;var n=s(this);return i(o,{role:"presentation",class:(t={},t[n]=true,t.unbounded=this.unbounded,t)})};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());var l=function(t){t.classList.add("fade-out");setTimeout((function(){t.remove()}),200)};var u=10;var m=.5;f.style=c}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n["throw"](e))}catch(e){o(e)}}function u(e){e.done?r(e.value):i(e.value).then(a,s)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(n=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];i=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++){if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return e.concat(o||Array.prototype.slice.call(t))};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-629aa3fd.system.js","./p-815c2fba.system.js","./p-44bc8b45.system.js","./p-939e0fa1.system.js"],(function(e){"use strict";var t,r,n,i,o,a,s,u,f,c;return{setters:[function(e){t=e.r;r=e.d;n=e.f;i=e.h;o=e.H},function(e){a=e.c;s=e.q},function(e){u=e.o;f=e.c},function(e){c=e.b}],execute:function(){var l=this;var h=e("ion_route",function(){function e(e){t(this,e);this.ionRouteDataChanged=r(this,"ionRouteDataChanged",7);this.url="";this.component=undefined;this.componentProps=undefined;this.beforeLeave=undefined;this.beforeEnter=undefined}e.prototype.onUpdate=function(e){this.ionRouteDataChanged.emit(e)};e.prototype.onComponentProps=function(e,t){if(e===t){return}var r=e?Object.keys(e):[];var n=t?Object.keys(t):[];if(r.length!==n.length){this.onUpdate(e);return}for(var i=0,o=r;i<o.length;i++){var a=o[i];if(e[a]!==t[a]){this.onUpdate(e);return}}};e.prototype.connectedCallback=function(){this.ionRouteDataChanged.emit()};Object.defineProperty(e,"watchers",{get:function(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}},enumerable:false,configurable:true});return e}());var v=e("ion_route_redirect",function(){function e(e){t(this,e);this.ionRouteRedirectChanged=r(this,"ionRouteRedirectChanged",7);this.from=undefined;this.to=undefined}e.prototype.propDidChange=function(){this.ionRouteRedirectChanged.emit()};e.prototype.connectedCallback=function(){this.ionRouteRedirectChanged.emit()};Object.defineProperty(e,"watchers",{get:function(){return{from:["propDidChange"],to:["propDidChange"]}},enumerable:false,configurable:true});return e}());var d="root";var g="forward";var p="back";var m=function(e){var t=e.filter((function(e){return e.length>0})).join("/");return"/"+t};var b=function(e,t,r){var n=m(e);if(t){n="#"+n}if(r!==undefined){n+="?"+r}return n};var y=function(e,t,r,n,i,o,a){var s=b(__spreadArray(__spreadArray([],C(t).segments,true),n,true),r,a);if(i===g){e.pushState(o,"",s)}else{e.replaceState(o,"",s)}};var w=function(e){var t=[];for(var r=0,n=e;r<n.length;r++){var i=n[r];for(var o=0,a=i.segments;o<a.length;o++){var s=a[o];if(s[0]===":"){var u=i.params&&i.params[s.slice(1)];if(!u){return null}t.push(u)}else if(s!==""){t.push(s)}}}return t};var _=function(e,t){if(e.length>t.length){return null}if(e.length<=1&&e[0]===""){return t}for(var r=0;r<e.length;r++){if(e[r]!==t[r]){return null}}if(t.length===e.length){return[""]}return t.slice(e.length)};var R=function(e,t,r){var n=C(t).segments;var i=r?e.hash.slice(1):e.pathname;var o=C(i).segments;return _(n,o)};var C=function(e){var t=[""];var r;if(e!=null){var n=e.indexOf("?");if(n>-1){r=e.substring(n+1);e=e.substring(0,n)}t=e.split("/").map((function(e){return e.trim()})).filter((function(e){return e.length>0}));if(t.length===0){t=[""]}}return{segments:t,queryString:r}};var S=function(e){console.group("[ion-core] ROUTES[".concat(e.length,"]"));var t=function(e){var t=[];e.forEach((function(e){return t.push.apply(t,e.segments)}));var r=e.map((function(e){return e.id}));console.debug("%c ".concat(m(t)),"font-weight: bold; padding-left: 20px","=>\t","(".concat(r.join(", "),")"))};for(var r=0,n=e;r<n.length;r++){var i=n[r];t(i)}console.groupEnd()};var k=function(e){console.group("[ion-core] REDIRECTS[".concat(e.length,"]"));for(var t=0,r=e;t<r.length;t++){var n=r[t];if(n.to){console.debug("FROM: ","$c ".concat(m(n.from)),"font-weight: bold"," TO: ","$c ".concat(m(n.to.segments)),"font-weight: bold")}}console.groupEnd()};var E=function(e,t,r,n,i,o){if(i===void 0){i=false}return __awaiter(l,void 0,void 0,(function(){var s,u,f,c;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,6,,7]);s=D(e);if(n>=t.length||!s){return[2,i]}return[4,new Promise((function(e){return a(s,e)}))];case 1:l.sent();u=t[n];return[4,s.setRouteId(u.id,u.params,r,o)];case 2:f=l.sent();if(f.changed){r=d;i=true}return[4,E(f.element,t,r,n+1,i,o)];case 3:i=l.sent();if(!f.markVisible)return[3,5];return[4,f.markVisible()];case 4:l.sent();l.label=5;case 5:return[2,i];case 6:c=l.sent();console.error(c);return[2,false];case 7:return[2]}}))}))};var P=function(e){return __awaiter(l,void 0,void 0,(function(){var t,r,n,i;return __generator(this,(function(o){switch(o.label){case 0:t=[];n=e;o.label=1;case 1:if(!(r=D(n)))return[3,3];return[4,r.getRouteId()];case 2:i=o.sent();if(i){n=i.element;i.element=undefined;t.push(i)}else{return[3,3]}return[3,1];case 3:return[2,{ids:t,outlet:r}]}}))}))};var j=function(){if(D(document.body)){return Promise.resolve()}return new Promise((function(e){window.addEventListener("ionNavWillLoad",(function(){return e()}),{once:true})}))};var L=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet";var D=function(e){if(!e){return undefined}if(e.matches(L)){return e}var t=e.querySelector(L);return t!==null&&t!==void 0?t:undefined};var O=function(e,t){var r=t.from,n=t.to;if(n===undefined){return false}if(r.length>e.length){return false}for(var i=0;i<r.length;i++){var o=r[i];if(o==="*"){return true}if(o!==e[i]){return false}}return r.length===e.length};var x=function(e,t){return t.find((function(t){return O(e,t)}))};var N=function(e,t){var r=Math.min(e.length,t.length);var n=0;for(var i=0;i<r;i++){var o=e[i];var a=t[i];if(o.id.toLowerCase()!==a.id){break}if(o.params){var s=Object.keys(o.params);if(s.length===a.segments.length){var u=s.map((function(e){return":".concat(e)}));for(var f=0;f<u.length;f++){if(u[f].toLowerCase()!==a.segments[f]){break}n++}}}n++}return n};var A=function(e,t){var r=new G(e);var n=false;var i;for(var o=0;o<t.length;o++){var a=t[o].segments;if(a[0]===""){n=true}else{for(var s=0,u=a;s<u.length;s++){var f=u[s];var c=r.next();if(f[0]===":"){if(c===""){return null}i=i||[];var l=i[o]||(i[o]={});l[f.slice(1)]=c}else if(c!==f){return null}}n=false}}var h=n?n===(r.next()===""):true;if(!h){return null}if(i){return t.map((function(e,t){return{id:e.id,segments:e.segments,params:U(e.params,i[t]),beforeEnter:e.beforeEnter,beforeLeave:e.beforeLeave}}))}return t};var U=function(e,t){return e||t?Object.assign(Object.assign({},e),t):undefined};var W=function(e,t){var r=null;var n=0;for(var i=0,o=t;i<o.length;i++){var a=o[i];var s=N(e,a);if(s>n){r=a;n=s}}if(r){return r.map((function(t,r){var n;return{id:t.id,segments:t.segments,params:U(t.params,(n=e[r])===null||n===void 0?void 0:n.params)}}))}return null};var T=function(e,t){var r=null;var n=0;for(var i=0,o=t;i<o.length;i++){var a=o[i];var s=A(e,a);if(s!==null){var u=q(s);if(u>n){n=u;r=s}}}return r};var q=function(e){var t=1;var r=1;for(var n=0,i=e;n<i.length;n++){var o=i[n];for(var a=0,s=o.segments;a<s.length;a++){var u=s[a];if(u[0]===":"){t+=Math.pow(1,r)}else if(u!==""){t+=Math.pow(2,r)}r++}}return t};var G=function(){function e(e){this.segments=e.slice()}e.prototype.next=function(){if(this.segments.length>0){return this.segments.shift()}return""};return e}();var I=function(e,t){if(t in e){return e[t]}if(e.hasAttribute(t)){return e.getAttribute(t)}return null};var H=function(e){return Array.from(e.children).filter((function(e){return e.tagName==="ION-ROUTE-REDIRECT"})).map((function(e){var t=I(e,"to");return{from:C(I(e,"from")).segments,to:t==null?undefined:C(t)}}))};var M=function(e){return F(B(e))};var B=function(e){return Array.from(e.children).filter((function(e){return e.tagName==="ION-ROUTE"&&e.component})).map((function(e){var t=I(e,"component");return{segments:C(I(e,"url")).segments,id:t.toLowerCase(),params:e.componentProps,beforeLeave:e.beforeLeave,beforeEnter:e.beforeEnter,children:B(e)}}))};var F=function(e){var t=[];for(var r=0,n=e;r<n.length;r++){var i=n[r];V([],t,i)}return t};var V=function(e,t,r){e=__spreadArray(__spreadArray([],e,true),[{id:r.id,segments:r.segments,params:r.params,beforeLeave:r.beforeLeave,beforeEnter:r.beforeEnter}],false);if(r.children.length===0){t.push(e);return}for(var n=0,i=r.children;n<i.length;n++){var o=i[n];V(e,t,o)}};var $=e("ion_router",function(){function e(e){t(this,e);this.ionRouteWillChange=r(this,"ionRouteWillChange",7);this.ionRouteDidChange=r(this,"ionRouteDidChange",7);this.previousPath=null;this.busy=false;this.state=0;this.lastState=0;this.root="/";this.useHash=true}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(n){switch(n.label){case 0:return[4,j()];case 1:n.sent();return[4,this.runGuards(this.getSegments())];case 2:e=n.sent();if(!(e!==true))return[3,5];if(!(typeof e==="object"))return[3,4];t=e.redirect;r=C(t);this.setSegments(r.segments,d,r.queryString);return[4,this.writeNavStateRoot(r.segments,d)];case 3:n.sent();n.label=4;case 4:return[3,7];case 5:return[4,this.onRoutesChanged()];case 6:n.sent();n.label=7;case 7:return[2]}}))}))};e.prototype.componentDidLoad=function(){window.addEventListener("ionRouteRedirectChanged",s(this.onRedirectChanged.bind(this),10));window.addEventListener("ionRouteDataChanged",s(this.onRoutesChanged.bind(this),100))};e.prototype.onPopState=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(n){switch(n.label){case 0:e=this.historyDirection();t=this.getSegments();return[4,this.runGuards(t)];case 1:r=n.sent();if(r!==true){if(typeof r==="object"){t=C(r.redirect).segments}else{return[2,false]}}return[2,this.writeNavStateRoot(t,e)]}}))}))};e.prototype.onBackButton=function(e){var t=this;e.detail.register(0,(function(e){t.back();e()}))};e.prototype.canTransition=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,this.runGuards()];case 1:e=t.sent();if(e!==true){if(typeof e==="object"){return[2,e.redirect]}else{return[2,false]}}return[2,true]}}))}))};e.prototype.push=function(e,t,r){if(t===void 0){t="forward"}return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s;return __generator(this,(function(u){switch(u.label){case 0:if(e.startsWith(".")){i=(n=this.previousPath)!==null&&n!==void 0?n:"/";o=new URL(e,"https://host/".concat(i));e=o.pathname+o.search}a=C(e);return[4,this.runGuards(a.segments)];case 1:s=u.sent();if(s!==true){if(typeof s==="object"){a=C(s.redirect)}else{return[2,false]}}this.setSegments(a.segments,t,a.queryString);return[2,this.writeNavStateRoot(a.segments,t,r)]}}))}))};e.prototype.back=function(){window.history.back();return Promise.resolve(this.waitPromise)};e.prototype.printDebug=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){S(M(this.el));k(H(this.el));return[2]}))}))};e.prototype.navChanged=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,i,o,a;return __generator(this,(function(s){switch(s.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, navChanged was cancelled");return[2,false]}return[4,P(window.document.body)];case 1:t=s.sent(),r=t.ids,n=t.outlet;i=M(this.el);o=W(r,i);if(!o){console.warn("[ion-router] no matching URL for ",r.map((function(e){return e.id})));return[2,false]}a=w(o);if(!a){console.warn("[ion-router] router could not match path because some required param is missing");return[2,false]}this.setSegments(a,e);return[4,this.safeWriteNavState(n,o,d,a,null,r.length)];case 2:s.sent();return[2,true]}}))}))};e.prototype.onRedirectChanged=function(){var e=this.getSegments();if(e&&x(e,H(this.el))){this.writeNavStateRoot(e,d)}};e.prototype.onRoutesChanged=function(){return this.writeNavStateRoot(this.getSegments(),d)};e.prototype.historyDirection=function(){var e;var t=window;if(t.history.state===null){this.state++;t.history.replaceState(this.state,t.document.title,(e=t.document.location)===null||e===void 0?void 0:e.href)}var r=t.history.state;var n=this.lastState;this.lastState=r;if(r>n||r>=n&&n>0){return g}if(r<n){return p}return d};e.prototype.writeNavStateRoot=function(e,t,r){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,u,f,c;return __generator(this,(function(l){if(!e){console.error("[ion-router] URL is not part of the routing set");return[2,false]}n=H(this.el);i=x(e,n);o=null;if(i){a=i.to,s=a.segments,u=a.queryString;this.setSegments(s,t,u);o=i.from;e=s}f=M(this.el);c=T(e,f);if(!c){console.error("[ion-router] the path does not match any route");return[2,false]}return[2,this.safeWriteNavState(document.body,c,t,e,o,0,r)]}))}))};e.prototype.safeWriteNavState=function(e,t,r,n,i,o,a){if(o===void 0){o=0}return __awaiter(this,void 0,void 0,(function(){var s,u,f;return __generator(this,(function(c){switch(c.label){case 0:return[4,this.lock()];case 1:s=c.sent();u=false;c.label=2;case 2:c.trys.push([2,4,,5]);return[4,this.writeNavState(e,t,r,n,i,o,a)];case 3:u=c.sent();return[3,5];case 4:f=c.sent();console.error(f);return[3,5];case 5:s();return[2,u]}}))}))};e.prototype.lock=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){switch(r.label){case 0:e=this.waitPromise;this.waitPromise=new Promise((function(e){return t=e}));if(!(e!==undefined))return[3,2];return[4,e];case 1:r.sent();r.label=2;case 2:return[2,t]}}))}))};e.prototype.runGuards=function(e,t){if(e===void 0){e=this.getSegments()}return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,a,s,u;return __generator(this,(function(f){switch(f.label){case 0:if(t===undefined){t=C(this.previousPath).segments}if(!e||!t){return[2,true]}r=M(this.el);n=T(t,r);i=n&&n[n.length-1].beforeLeave;if(!i)return[3,2];return[4,i()];case 1:a=f.sent();return[3,3];case 2:a=true;f.label=3;case 3:o=a;if(o===false||typeof o==="object"){return[2,o]}s=T(e,r);u=s&&s[s.length-1].beforeEnter;return[2,u?u():true]}}))}))};e.prototype.writeNavState=function(e,t,r,n,i,o,a){if(o===void 0){o=0}return __awaiter(this,void 0,void 0,(function(){var s,u;return __generator(this,(function(f){switch(f.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, transition was cancelled");return[2,false]}this.busy=true;s=this.routeChangeEvent(n,i);if(s){this.ionRouteWillChange.emit(s)}return[4,E(e,t,r,o,false,a)];case 1:u=f.sent();this.busy=false;if(s){this.ionRouteDidChange.emit(s)}return[2,u]}}))}))};e.prototype.setSegments=function(e,t,r){this.state++;y(window.history,this.root,this.useHash,e,t,this.state,r)};e.prototype.getSegments=function(){return R(window.location,this.root,this.useHash)};e.prototype.routeChangeEvent=function(e,t){var r=this.previousPath;var n=m(e);this.previousPath=n;if(n===r){return null}var i=t?m(t):null;return{from:r,redirectedFrom:i,to:n}};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());var z=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";var J=e("ion_router_link",function(){function e(e){var r=this;t(this,e);this.onClick=function(e){u(r.href,e,r.routerDirection,r.routerAnimation)};this.color=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}e.prototype.render=function(){var e;var t=c(this);var r={href:this.href,rel:this.rel,target:this.target};return i(o,{onClick:this.onClick,class:f(this.color,(e={},e[t]=true,e["ion-activatable"]=true,e))},i("a",Object.assign({},r),i("slot",null)))};return e}());J.style=z}}}));