q2-tecton-elements 1.3.1 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/click-elsewhere.cjs.entry.js +1 -1
- package/dist/cjs/{index-4faae504.js → index-88eda03b.js} +0 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{patch-914a750e.js → patch-e20a85b4.js} +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-btn.cjs.entry.js +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js +1 -1
- package/dist/cjs/q2-input_2.cjs.entry.js +1 -1
- package/dist/cjs/q2-loading-element.cjs.entry.js +2 -2
- package/dist/cjs/q2-loading.cjs.entry.js +2 -2
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +1 -1
- package/dist/cjs/q2-select.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +2 -2
- package/dist/cjs/{shapes-6672cf49.js → shapes-00766dc3.js} +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +1 -5
- package/dist/collection/components/tecton-tab-pane/index.js +0 -4
- package/dist/esm/click-elsewhere.entry.js +1 -1
- package/dist/esm/{index-34b1f583.js → index-b70f7228.js} +0 -3
- package/dist/esm/loader.mjs +2 -2
- package/dist/esm/{patch-6cd50c08.js → patch-187aa2d6.js} +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-btn.entry.js +1 -1
- package/dist/esm/q2-calendar.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +1 -1
- package/dist/esm/q2-carousel.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js +1 -1
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js +1 -1
- package/dist/esm/q2-input_2.entry.js +1 -1
- package/dist/esm/q2-loading-element.entry.js +2 -2
- package/dist/esm/q2-loading.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +1 -1
- package/dist/esm/q2-select.entry.js +1 -1
- package/dist/esm/q2-tab-container.entry.js +1 -1
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.mjs +2 -2
- package/dist/esm/{shapes-c290d265.js → shapes-1a12324b.js} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +1 -5
- package/dist/esm-es5/click-elsewhere.entry.js +1 -1
- package/dist/esm-es5/{index-34b1f583.js → index-b70f7228.js} +0 -3
- package/dist/esm-es5/loader.mjs +2 -2
- package/dist/esm-es5/{patch-6cd50c08.js → patch-187aa2d6.js} +1 -1
- package/dist/esm-es5/q2-avatar.entry.js +1 -1
- package/dist/esm-es5/q2-btn.entry.js +1 -1
- package/dist/esm-es5/q2-calendar.entry.js +1 -1
- package/dist/esm-es5/q2-carousel-pane.entry.js +1 -1
- package/dist/esm-es5/q2-carousel.entry.js +1 -1
- package/dist/esm-es5/q2-checkbox-group.entry.js +1 -1
- package/dist/esm-es5/q2-checkbox.entry.js +1 -1
- package/dist/esm-es5/q2-dropdown-item.entry.js +1 -1
- package/dist/esm-es5/q2-dropdown.entry.js +1 -1
- package/dist/esm-es5/q2-editable-field.entry.js +1 -1
- package/dist/esm-es5/q2-icon.entry.js +1 -1
- package/dist/esm-es5/q2-input_2.entry.js +1 -1
- package/dist/esm-es5/q2-loading-element.entry.js +2 -2
- package/dist/esm-es5/q2-loading.entry.js +2 -2
- package/dist/esm-es5/q2-loc.entry.js +1 -1
- package/dist/esm-es5/q2-optgroup.entry.js +1 -1
- package/dist/esm-es5/q2-option.entry.js +1 -1
- package/dist/esm-es5/q2-radio-group.entry.js +1 -1
- package/dist/esm-es5/q2-radio.entry.js +1 -1
- package/dist/esm-es5/q2-section.entry.js +1 -1
- package/dist/esm-es5/q2-select.entry.js +1 -1
- package/dist/esm-es5/q2-tab-container.entry.js +1 -1
- package/dist/esm-es5/q2-tab-pane.entry.js +1 -1
- package/dist/esm-es5/q2-tecton-elements.mjs +2 -2
- package/dist/esm-es5/{shapes-c290d265.js → shapes-1a12324b.js} +1 -1
- package/dist/esm-es5/tecton-tab-pane.entry.js +1 -5
- package/dist/q2-tecton-elements/{p-a568efed.system.js → p-00067d0a.system.js} +1 -1
- package/dist/q2-tecton-elements/{p-a713c5fc.system.js → p-06e01d71.system.js} +1 -1
- package/dist/q2-tecton-elements/{p-42d82321.entry.js → p-07203a0e.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-59a02c0a.entry.js → p-1048dd48.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-211d3858.entry.js → p-12cf6e8b.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-1a8e579d.js +1 -0
- package/dist/q2-tecton-elements/{p-04a9e20b.system.entry.js → p-1f8ea8da.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-a53cd78f.system.entry.js → p-208d0c6e.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-19398668.entry.js → p-30c73ea9.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-67de0ec8.system.entry.js → p-37035bba.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-ee20ba95.system.entry.js → p-3d8e5455.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-4007abdd.system.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-209592ce.system.entry.js → p-4433a232.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-79f337d9.entry.js → p-46204d10.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-1dc36e58.system.entry.js → p-49ec33ae.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-72742d91.system.entry.js → p-4fd89735.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-40b3ba17.system.entry.js → p-561628df.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-4ff290be.system.entry.js → p-5adaa91d.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-df6d17da.system.entry.js → p-5b054e1e.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-a56bc5bf.system.entry.js → p-5c88a649.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-633aeeb4.entry.js → p-5e0021ec.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-3082637e.system.entry.js → p-5f0adaa9.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-9b266886.system.js → p-5f52c28d.system.js} +1 -1
- package/dist/q2-tecton-elements/{p-b08c40a0.entry.js → p-5fc58e19.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-e6313cd6.entry.js → p-5ff595f3.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-0a951e47.system.entry.js → p-647199c8.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-e93bfe23.entry.js → p-6cb61d0e.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-fd1b52e9.entry.js → p-70a87905.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-87bb9ff8.system.entry.js → p-70ffd0bb.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-5299effa.entry.js → p-75be017a.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-3c0b64bb.entry.js → p-7b10d18b.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-59121cc0.entry.js → p-7cdd18f7.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-7f5118a6.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-7659c3c2.entry.js → p-819126ca.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-3ef9bb34.entry.js → p-83ac78cd.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-10502b27.system.entry.js → p-8dfd0e89.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-9df42353.entry.js → p-9a298ef4.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-e00e02a3.entry.js → p-9df82ade.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-e1bd7e6a.js → p-9fc24628.js} +1 -1
- package/dist/q2-tecton-elements/{p-df1a0921.entry.js → p-a26673f1.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-c81dc9f0.system.entry.js → p-a53e34ff.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-e50a5546.entry.js → p-a942cc7c.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-a9ab9f95.entry.js → p-aa0e3b90.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-fb316fec.entry.js → p-b1fb02bf.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-c78e1b7c.system.entry.js → p-b88eabe8.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-64526ee4.entry.js → p-b96a2e11.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-38b9534b.entry.js → p-ba0baa43.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-8bda3fe4.system.entry.js → p-bf8db157.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-78e5e68c.js → p-ce2eb03c.js} +1 -1
- package/dist/q2-tecton-elements/{p-ce0ad5f8.system.entry.js → p-daf25558.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-4126f9eb.system.entry.js → p-dbf210b9.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-5539639f.system.entry.js → p-e02615e5.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-b3933511.system.entry.js → p-ea606976.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-6df877cb.system.entry.js → p-f01bebc8.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-2d49c74e.system.js → p-f08aea0c.system.js} +1 -1
- package/dist/q2-tecton-elements/{p-43dc7121.entry.js → p-f6023957.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-c58b223f.system.entry.js → p-f6f4572b.system.entry.js} +1 -1
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-tecton-elements.js +1 -1
- package/dist/types/components/tecton-tab-pane/index.d.ts +0 -1
- package/package.json +2 -2
- package/dist/q2-tecton-elements/p-7ff881d1.js +0 -1
- package/dist/q2-tecton-elements/p-9f5539f3.entry.js +0 -1
- package/dist/q2-tecton-elements/p-a0a72bf3.system.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-f08aea0c.system.js"],(function(o){"use strict";var n,t;return{setters:[function(o){n=o.r;t=o.h}],execute:function(){var e="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:inline}";var i=o("q2_loc",function(){function o(o){n(this,o)}o.prototype.loc=function(o,n){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(o,n):o};o.prototype.render=function(){return t("span",null,this.value&&this.loc(this.value,this.substitutions)||"")};return o}());i.style=e}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-f08aea0c.system.js"],(function(e){"use strict";var t,i,n;return{setters:[function(e){t=e.r;i=e.h;n=e.g}],execute:function(){var o="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.tab-pane[aria-hidden='true']{display:none}.loading-wrapper{height:44px;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.loading-wrapper:not([hidden]){display:-ms-flexbox;display:flex}iframe{width:100%;height:auto;overflow-y:hidden;border:none}iframe:not([hidden]){display:inline-block}";var r=e("tecton_tab_pane",function(){function e(e){var i=this;t(this,e);this.onIFrameLoad=function(e){var t=e.target;t.contentWindow&&t.contentWindow.postMessage("[iFrameSizer]"+i.moduleId+":0:false:false:32:true:true:null:documentElementOffset","*")}}Object.defineProperty(e.prototype,"iframeTitle",{get:function(){return this.moduleId.split(".").slice(-2).join("-")},enumerable:false,configurable:true});e.prototype.componentDidRender=function(){var e=this.hostElement.shadowRoot.querySelector("form");if(!!e&&!!e.parentElement){e.submit();this._showForm=false}};e.prototype.selectedObserver=function(){this._showForm=this.showForm};e.prototype.render=function(){return i("div",{id:"tab-pane-"+this.guid+"-"+this.index,class:"tab-pane"+(this.selected?"":" hidden"),role:"tabpanel",tabindex:"-1","aria-expanded":""+!!this.selected,"aria-hidden":""+!this.selected,"aria-labelledby":"tab-"+this.guid+"-"+this.index},this.selected&&this.provided!==undefined&&!this.provided&&i("div",null,i("slot",{name:"loading-wrapper"}),i("iframe",{hidden:true,name:this.moduleId,scrolling:"no",src:this.showForm&&this.authPayload.length?"":this.url||"","data-module-id":this.moduleId,style:this.minHeight?{minHeight:this.minHeight}:null,onLoad:this.onIFrameLoad,title:this.iframeTitle,allow:"geolocation; camera"}),this._showForm&&this.authPayload?i("form",{hidden:true,method:"post",action:this.url,target:this.moduleId,encType:"multipart/form-data"},this.authPayload.map((function(e){return i("input",{type:"hidden",value:e.value,name:e.key})}))):""),i("div",{class:"slot-wrapper",hidden:this.selected&&this.provided!==undefined&&!this.provided},i("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["selectedObserver"]}},enumerable:false,configurable:true});return e}());r.style=o}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(e.hasOwnProperty(r))t[r]=e[r]};return t(e,r)};return function(e,r){t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();System.register(["./p-2d49c74e.system.js","./p-4576db15.system.js"],(function(t){"use strict";var e,r,n,i,o;return{setters:[function(t){e=t.r;r=t.c;n=t.h;i=t.g},function(t){o=t.c}],execute:function(){function s(t){return typeof t==="function"}var a=false;var c={Promise:undefined,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else if(a){console.log("RxJS: Back to a better error behavior. Thank you. <3")}a=t},get useDeprecatedSynchronousErrorHandling(){return a}};function u(t){setTimeout((function(){throw t}),0)}var l={closed:true,next:function(t){},error:function(t){if(c.useDeprecatedSynchronousErrorHandling){throw t}else{u(t)}},complete:function(){}};var f=function(){return Array.isArray||function(t){return t&&typeof t.length==="number"}}();function h(t){return t!==null&&typeof t==="object"}var p=function(){function t(t){Error.call(this);this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"";this.name="UnsubscriptionError";this.errors=t;return this}t.prototype=Object.create(Error.prototype);return t}();var d=p;var b=function(){function t(t){this.closed=false;this._parentOrParents=null;this._subscriptions=null;if(t){this._ctorUnsubscribe=true;this._unsubscribe=t}}t.prototype.unsubscribe=function(){var e;if(this.closed){return}var r=this,n=r._parentOrParents,i=r._ctorUnsubscribe,o=r._unsubscribe,a=r._subscriptions;this.closed=true;this._parentOrParents=null;this._subscriptions=null;if(n instanceof t){n.remove(this)}else if(n!==null){for(var c=0;c<n.length;++c){var u=n[c];u.remove(this)}}if(s(o)){if(i){this._unsubscribe=undefined}try{o.call(this)}catch(b){e=b instanceof d?v(b.errors):[b]}}if(f(a)){var c=-1;var l=a.length;while(++c<l){var p=a[c];if(h(p)){try{p.unsubscribe()}catch(b){e=e||[];if(b instanceof d){e=e.concat(v(b.errors))}else{e.push(b)}}}}}if(e){throw new d(e)}};t.prototype.add=function(e){var r=e;if(!e){return t.EMPTY}switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||typeof r.unsubscribe!=="function"){return r}else if(this.closed){r.unsubscribe();return r}else if(!(r instanceof t)){var n=r;r=new t;r._subscriptions=[n]}break;default:{throw new Error("unrecognized teardown "+e+" added to Subscription.")}}var i=r._parentOrParents;if(i===null){r._parentOrParents=this}else if(i instanceof t){if(i===this){return r}r._parentOrParents=[i,this]}else if(i.indexOf(this)===-1){i.push(this)}else{return r}var o=this._subscriptions;if(o===null){this._subscriptions=[r]}else{o.push(r)}return r};t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);if(r!==-1){e.splice(r,1)}}};return t}();b.EMPTY=function(t){t.closed=true;return t}(new b);function v(t){return t.reduce((function(t,e){return t.concat(e instanceof d?e.errors:e)}),[])}var y=function(){return typeof Symbol==="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}();var w=function(t){__extends(e,t);function e(r,n,i){var o=t.call(this)||this;o.syncErrorValue=null;o.syncErrorThrown=false;o.syncErrorThrowable=false;o.isStopped=false;switch(arguments.length){case 0:o.destination=l;break;case 1:if(!r){o.destination=l;break}if(typeof r==="object"){if(r instanceof e){o.syncErrorThrowable=r.syncErrorThrowable;o.destination=r;r.add(o)}else{o.syncErrorThrowable=true;o.destination=new g(o,r)}break}default:o.syncErrorThrowable=true;o.destination=new g(o,r,n,i);break}return o}e.prototype[y]=function(){return this};e.create=function(t,r,n){var i=new e(t,r,n);i.syncErrorThrowable=false;return i};e.prototype.next=function(t){if(!this.isStopped){this._next(t)}};e.prototype.error=function(t){if(!this.isStopped){this.isStopped=true;this._error(t)}};e.prototype.complete=function(){if(!this.isStopped){this.isStopped=true;this._complete()}};e.prototype.unsubscribe=function(){if(this.closed){return}this.isStopped=true;t.prototype.unsubscribe.call(this)};e.prototype._next=function(t){this.destination.next(t)};e.prototype._error=function(t){this.destination.error(t);this.unsubscribe()};e.prototype._complete=function(){this.destination.complete();this.unsubscribe()};e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;this._parentOrParents=null;this.unsubscribe();this.closed=false;this.isStopped=false;this._parentOrParents=t;return this};return e}(b);var g=function(t){__extends(e,t);function e(e,r,n,i){var o=t.call(this)||this;o._parentSubscriber=e;var a;var c=o;if(s(r)){a=r}else if(r){a=r.next;n=r.error;i=r.complete;if(r!==l){c=Object.create(r);if(s(c.unsubscribe)){o.add(c.unsubscribe.bind(c))}c.unsubscribe=o.unsubscribe.bind(o)}}o._context=c;o._next=a;o._error=n;o._complete=i;return o}e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;if(!c.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable){this.__tryOrUnsub(this._next,t)}else if(this.__tryOrSetError(e,this._next,t)){this.unsubscribe()}}};e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;var r=c.useDeprecatedSynchronousErrorHandling;if(this._error){if(!r||!e.syncErrorThrowable){this.__tryOrUnsub(this._error,t);this.unsubscribe()}else{this.__tryOrSetError(e,this._error,t);this.unsubscribe()}}else if(!e.syncErrorThrowable){this.unsubscribe();if(r){throw t}u(t)}else{if(r){e.syncErrorValue=t;e.syncErrorThrown=true}else{u(t)}this.unsubscribe()}}};e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};if(!c.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable){this.__tryOrUnsub(r);this.unsubscribe()}else{this.__tryOrSetError(e,r);this.unsubscribe()}}else{this.unsubscribe()}}};e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(r){this.unsubscribe();if(c.useDeprecatedSynchronousErrorHandling){throw r}else{u(r)}}};e.prototype.__tryOrSetError=function(t,e,r){if(!c.useDeprecatedSynchronousErrorHandling){throw new Error("bad call")}try{e.call(this._context,r)}catch(n){if(c.useDeprecatedSynchronousErrorHandling){t.syncErrorValue=n;t.syncErrorThrown=true;return true}else{u(n);return true}}return false};e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null;this._parentSubscriber=null;t.unsubscribe()};return e}(w);function m(t){while(t){var e=t.closed,r=t.destination,n=t.isStopped;if(e||n){return false}else if(r&&r instanceof w){t=r}else{t=null}}return true}function _(t,e,r){if(t){if(t instanceof w){return t}if(t[y]){return t[y]()}}if(!t&&!e&&!r){return new w(l)}return new w(t,e,r)}var x=function(){return typeof Symbol==="function"&&Symbol.observable||"@@observable"}();function E(t){return t}function S(t){if(t.length===0){return E}if(t.length===1){return t[0]}return function e(r){return t.reduce((function(t,e){return e(t)}),r)}}var T=function(){function t(t){this._isScalar=false;if(t){this._subscribe=t}}t.prototype.lift=function(e){var r=new t;r.source=this;r.operator=e;return r};t.prototype.subscribe=function(t,e,r){var n=this.operator;var i=_(t,e,r);if(n){i.add(n.call(i,this.source))}else{i.add(this.source||c.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i))}if(c.useDeprecatedSynchronousErrorHandling){if(i.syncErrorThrowable){i.syncErrorThrowable=false;if(i.syncErrorThrown){throw i.syncErrorValue}}}return i};t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){if(c.useDeprecatedSynchronousErrorHandling){t.syncErrorThrown=true;t.syncErrorValue=e}if(m(t)){t.error(e)}else{console.warn(e)}}};t.prototype.forEach=function(t,e){var r=this;e=k(e);return new e((function(e,n){var i;i=r.subscribe((function(e){try{t(e)}catch(r){n(r);if(i){i.unsubscribe()}}}),n,e)}))};t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)};t.prototype[x]=function(){return this};t.prototype.pipe=function(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}if(t.length===0){return this}return S(t)(this)};t.prototype.toPromise=function(t){var e=this;t=k(t);return new t((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))};return t}();T.create=function(t){return new T(t)};function k(t){if(!t){t=Promise}if(!t){throw new Error("no Promise impl found")}return t}var O=function(t){__extends(e,t);function e(e,r){return t.call(this)||this}e.prototype.schedule=function(t,e){if(e===void 0){e=0}return this};return e}(b);var P=function(t){__extends(e,t);function e(e,r){var n=t.call(this,e,r)||this;n.scheduler=e;n.work=r;n.pending=false;return n}e.prototype.schedule=function(t,e){if(e===void 0){e=0}if(this.closed){return this}this.state=t;var r=this.id;var n=this.scheduler;if(r!=null){this.id=this.recycleAsyncId(n,r,e)}this.pending=true;this.delay=e;this.id=this.id||this.requestAsyncId(n,this.id,e);return this};e.prototype.requestAsyncId=function(t,e,r){if(r===void 0){r=0}return setInterval(t.flush.bind(t,this),r)};e.prototype.recycleAsyncId=function(t,e,r){if(r===void 0){r=0}if(r!==null&&this.delay===r&&this.pending===false){return e}clearInterval(e);return undefined};e.prototype.execute=function(t,e){if(this.closed){return new Error("executing a cancelled action")}this.pending=false;var r=this._execute(t,e);if(r){return r}else if(this.pending===false&&this.id!=null){this.id=this.recycleAsyncId(this.scheduler,this.id,null)}};e.prototype._execute=function(t,e){var r=false;var n=undefined;try{this.work(t)}catch(i){r=true;n=!!i&&i||new Error(i)}if(r){this.unsubscribe();return n}};e.prototype._unsubscribe=function(){var t=this.id;var e=this.scheduler;var r=e.actions;var n=r.indexOf(this);this.work=null;this.state=null;this.pending=false;this.scheduler=null;if(n!==-1){r.splice(n,1)}if(t!=null){this.id=this.recycleAsyncId(e,t,null)}this.delay=null};return e}(O);var A=function(){function t(e,r){if(r===void 0){r=t.now}this.SchedulerAction=e;this.now=r}t.prototype.schedule=function(t,e,r){if(e===void 0){e=0}return new this.SchedulerAction(this,t).schedule(r,e)};return t}();A.now=function(){return Date.now()};var j=function(t){__extends(e,t);function e(r,n){if(n===void 0){n=A.now}var i=t.call(this,r,(function(){if(e.delegate&&e.delegate!==i){return e.delegate.now()}else{return n()}}))||this;i.actions=[];i.active=false;i.scheduled=undefined;return i}e.prototype.schedule=function(r,n,i){if(n===void 0){n=0}if(e.delegate&&e.delegate!==this){return e.delegate.schedule(r,n,i)}else{return t.prototype.schedule.call(this,r,n,i)}};e.prototype.flush=function(t){var e=this.actions;if(this.active){e.push(t);return}var r;this.active=true;do{if(r=t.execute(t.state,t.delay)){break}}while(t=e.shift());this.active=false;if(r){while(t=e.shift()){t.unsubscribe()}throw r}};return e}(A);var L=function(t){return function(e){for(var r=0,n=t.length;r<n&&!e.closed;r++){e.next(t[r])}e.complete()}};var D=new j(P);var R=D;function z(t,e){return function r(n){if(typeof t!=="function"){throw new TypeError("argument is not a function. Are you looking for `mapTo()`?")}return n.lift(new V(t,e))}}var V=function(){function t(t,e){this.project=t;this.thisArg=e}t.prototype.call=function(t,e){return e.subscribe(new I(t,this.project,this.thisArg))};return t}();var I=function(t){__extends(e,t);function e(e,r,n){var i=t.call(this,e)||this;i.project=r;i.count=0;i.thisArg=n||i;return i}e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(r){this.destination.error(r);return}this.destination.next(e)};return e}(w);var H=function(t){return function(e){t.then((function(t){if(!e.closed){e.next(t);e.complete()}}),(function(t){return e.error(t)})).then(null,u);return e}};function C(){if(typeof Symbol!=="function"||!Symbol.iterator){return"@@iterator"}return Symbol.iterator}var q=C();var W=function(t){return function(e){var r=t[q]();do{var n=void 0;try{n=r.next()}catch(i){e.error(i);return e}if(n.done){e.complete();break}e.next(n.value);if(e.closed){break}}while(true);if(typeof r.return==="function"){e.add((function(){if(r.return){r.return()}}))}return e}};var U=function(t){return function(e){var r=t[x]();if(typeof r.subscribe!=="function"){throw new TypeError("Provided object does not correctly implement Symbol.observable")}else{return r.subscribe(e)}}};var M=function(t){return t&&typeof t.length==="number"&&typeof t!=="function"};function N(t){return!!t&&typeof t.subscribe!=="function"&&typeof t.then==="function"}var Y=function(t){if(!!t&&typeof t[x]==="function"){return U(t)}else if(M(t)){return L(t)}else if(N(t)){return H(t)}else if(!!t&&typeof t[q]==="function"){return W(t)}else{var e=h(t)?"an invalid object":"'"+t+"'";var r="You provided "+e+" where a stream was expected."+" You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(r)}};var K=function(t){__extends(e,t);function e(e){var r=t.call(this)||this;r.parent=e;return r}e.prototype._next=function(t){this.parent.notifyNext(t)};e.prototype._error=function(t){this.parent.notifyError(t);this.unsubscribe()};e.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};return e}(w);var J=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.notifyNext=function(t){this.destination.next(t)};e.prototype.notifyError=function(t){this.destination.error(t)};e.prototype.notifyComplete=function(){this.destination.complete()};return e}(w);function B(t,e){if(e.closed){return undefined}if(t instanceof T){return t.subscribe(e)}return Y(t)(e)}function F(t,e,r,n){if(s(r)){n=r;r=undefined}if(n){return F(t,e,r).pipe(z((function(t){return f(t)?n.apply(void 0,t):n(t)})))}return new T((function(n){function i(t){if(arguments.length>1){n.next(Array.prototype.slice.call(arguments))}else{n.next(t)}}G(t,e,i,n,r)}))}function G(t,e,r,n,i){var o;if(Z(t)){var s=t;t.addEventListener(e,r,i);o=function(){return s.removeEventListener(e,r,i)}}else if(X(t)){var a=t;t.on(e,r);o=function(){return a.off(e,r)}}else if(Q(t)){var c=t;t.addListener(e,r);o=function(){return c.removeListener(e,r)}}else if(t&&t.length){for(var u=0,l=t.length;u<l;u++){G(t[u],e,r,n,i)}}else{throw new TypeError("Invalid event target")}n.add(o)}function Q(t){return t&&typeof t.addListener==="function"&&typeof t.removeListener==="function"}function X(t){return t&&typeof t.on==="function"&&typeof t.off==="function"}function Z(t){return t&&typeof t.addEventListener==="function"&&typeof t.removeEventListener==="function"}function $(t){return!f(t)&&t-parseFloat(t)+1>=0}function tt(t,e){if(t===void 0){t=0}if(e===void 0){e=R}if(!$(t)||t<0){t=0}if(!e||typeof e.schedule!=="function"){e=R}return new T((function(r){r.add(e.schedule(et,t,{subscriber:r,counter:0,period:t}));return r}))}function et(t){var e=t.subscriber,r=t.counter,n=t.period;e.next(r);this.schedule({subscriber:e,counter:r+1,period:n},n)}function rt(t){return function(e){return e.lift(new nt(t))}}var nt=function(){function t(t){this.durationSelector=t}t.prototype.call=function(t,e){return e.subscribe(new it(t,this.durationSelector))};return t}();var it=function(t){__extends(e,t);function e(e,r){var n=t.call(this,e)||this;n.durationSelector=r;n.hasValue=false;return n}e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);if(e){this._tryNext(t,e)}}catch(r){this.destination.error(r)}};e.prototype._complete=function(){this.emitValue();this.destination.complete()};e.prototype._tryNext=function(t,e){var r=this.durationSubscription;this.value=t;this.hasValue=true;if(r){r.unsubscribe();this.remove(r)}r=B(e,new K(this));if(r&&!r.closed){this.add(this.durationSubscription=r)}};e.prototype.notifyNext=function(){this.emitValue()};e.prototype.notifyComplete=function(){this.emitValue()};e.prototype.emitValue=function(){if(this.hasValue){var e=this.value;var r=this.durationSubscription;if(r){this.durationSubscription=undefined;r.unsubscribe();this.remove(r)}this.value=undefined;this.hasValue=false;t.prototype._next.call(this,e)}};return e}(J);var ot="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.tab-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.tab-list{padding:0;display:-ms-flexbox;display:flex;margin:0;list-style:none;border-bottom:1px solid\n var(--tct-tab-container-border-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)));white-space:nowrap;overflow-x:hidden;-ms-flex-align:center;align-items:center}.tab-list li.nav{position:absolute;height:44px;width:46px}.tab-list li.nav-left{left:-15px;background:-webkit-gradient(linear, left top, right top, color-stop(60%, var(--tct-section-bg, var(--t-section-bg, #ffffff))), to(transparent));background:linear-gradient(to right, var(--tct-section-bg, var(--t-section-bg, #ffffff)) 60%, transparent)}.tab-list li.nav-right{right:-15px;background:-webkit-gradient(linear, right top, left top, color-stop(60%, var(--tct-section-bg, var(--t-section-bg, #ffffff))), to(transparent));background:linear-gradient(to left, var(--tct-section-bg, var(--t-section-bg, #ffffff)) 60%, transparent)}.tab-list li.nav .arrow-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:inherit;width:inherit;cursor:pointer}.tab-list li.nav .arrow-container a{padding:0;margin:0;height:inherit;width:inherit;border-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.tab-list a{text-decoration:none;padding:var(--tct-scale-2, var(--app-scale-2, 10px));margin:var(--tct-scale-1, var(--app-scale-1, 5px)) var(--tct-scale-1, var(--app-scale-1, 5px))\n 0;color:var(--tct-tab-inactive-color, var(--t-tab-inactive, inherit));font-size:var(--tct-tab-font-size, var(--t-tab-font-size, 17px));border-bottom:3px solid transparent;display:block;-webkit-transition:color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease))}:host([type='section']) .tab-list a{font-size:inherit;padding:var(--tct-scale-2, var(--app-scale-2, 10px))\n var(--tct-scale-1, var(--app-scale-1, 5px))}@media screen and (max-width: 767px){.tab-list a{font-size:inherit;padding:var(--tct-scale-2, var(--app-scale-2, 10px))\n var(--tct-scale-1, var(--app-scale-1, 5px))}}.tab-list a:hover{color:var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));background-color:var(--tct-tab-hover-bg-color, var(--t-tab-hover-bg-color, inherit));width:var(--tct-tab-hover-width, var(--t-tab-hover-width, 100%))}.tab-list a[aria-selected='true']{color:var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));border-color:currentColor;width:var(--tct-tab-active-width, var(--t-tab-active-width, 100%));background-color:var(--tct-tab-active-bg-color, var(--t-tab-active-bg-color, inherit))}:host([color='alt']) .tab-list a{color:var(--tct-tab-alt-inactive-color, var(--t-tab-alt-inactive, inherit))}:host([color='alt']) .tab-list a:hover,:host([color='alt']) .tab-list a[aria-selected='true']{color:var(--tct-tab-alt-active-color, var(--t-tab-alt-active, inherit))}.tab-content{padding:var(--tct-scale-2, var(--app-scale-2, 10px)) 0}";var st=t("q2_tab_container",function(){function t(t){var n=this;e(this,t);this.change=r(this,"change",7);this.settled=r(this,"settled",7);this.guid=o();this.scheduledAfterRender=[];this.hasLeft=false;this.hasRight=false;this.initTabScroll=function(){var t=n.hostElement.shadowRoot.querySelector(".tab-list");if(t){var e=t.scrollWidth,r=t.clientWidth,i=t.scrollLeft;n.hasLeft=i>0;n.hasRight=e>r}};this.updateTabData=function(){n.updateTabPaneProps();n.setTabs()};this.updateTabPaneProps=function(){n.tabPanes.forEach((function(t,e){t.selected=t.value===n.selectedTabValue;t.guid=n.guid;t.index=e}))};this.setTabs=function(){n.tabs=n.tabPanes.map((function(t){var e=t.label,r=t.value;return{label:e&&n.loc(e)||"",value:r}}))};this.onTabClick=function(t){n.change.emit({value:t.target.dataset.value})};this.onTabKeyDown=function(t){var e=t.target.dataset.value;if(t.key==="ArrowRight"||t.key==="Right"){n.moveToAdjacentTab(e,"next");return}if(t.key==="ArrowLeft"||t.key==="Left"){n.moveToAdjacentTab(e,"prev");return}};this.moveToAdjacentTab=function(t,e){var r=n.tabs.map((function(t){var e=t.value;return e})).indexOf(t);var i=false;if(e==="next"&&r!==n.tabs.length-1){r=r+1;i=true}if(e==="prev"&&r!==0){r=r-1;i=true}if(i){var o=n.tabs[r].value;n.hostElement.shadowRoot.querySelector('.tab-list a[data-value="'+o+'"]').focus();n.change.emit({value:o})}};this.calculateTabScroll=function(t){var e=t.direction,r=t.scrollWidth,n=t.clientWidth,i=t.scrollLeft;var o=.5;var s=e==="left"?-1:1;var a=Math.round(n*o);var c=i+s*a;var u=n+c;var l=c>0;var f=r>=u;return{newScrollLeft:c,hasLeft:l,hasRight:f}};this.onTabScroll=function(t){var e=n.hostElement.shadowRoot.querySelector(".tab-list");var r=e.scrollWidth,i=e.clientWidth,o=e.scrollLeft;var s=n.calculateTabScroll({direction:t,scrollWidth:r,clientWidth:i,scrollLeft:o}),a=s.newScrollLeft,c=s.hasLeft,u=s.hasRight;n.hasLeft=c;n.hasRight=u;e.scroll({left:a,behavior:"smooth"})}}t.prototype.loc=function(t,e){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(t,e):t};t.prototype.resizeIframe=function(){return window.TectonElements&&window.TectonElements.resizeIframe&&window.TectonElements.resizeIframe()};Object.defineProperty(t.prototype,"tabPanes",{get:function(){var t=this;var e=this.hostElement.querySelectorAll("q2-tab-pane, tecton-tab-pane");if(e.length===0){return[]}return Array.from(e).filter((function(e){return e.name===t.name}))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"selectedTabValue",{get:function(){return this.value||this.tabPanes[0].value||""},enumerable:false,configurable:true});t.prototype.defaultChangeHandler=function(t){if(t.target===this.hostElement&&!this.hostElement.onchange){this.value=t.detail.value}};t.prototype.componentWillLoad=function(){var t=new MutationObserver(this.updateTabData);t.observe(this.hostElement,{childList:true,attributes:true});this.mutationObserver=t;this.updateTabData()};t.prototype.componentDidRender=function(){this.scheduledAfterRender.forEach((function(t){return t()}));this.scheduledAfterRender=[];this.settled.emit();if(!this.resizeSubscription){this.initTabScroll();this.resizeSubscription=F(window,"resize").pipe(rt((function(){return tt(200)}))).subscribe(this.initTabScroll)}};t.prototype.disconnectedCallback=function(){this.mutationObserver.disconnect();this.mutationObserver=null;this.resizeSubscription.unsubscribe();this.resizeSubscription=null};t.prototype.valueObserver=function(){this.updateTabData();this.scheduledAfterRender.push(this.resizeIframe)};t.prototype.nameObserver=function(){this.updateTabData()};t.prototype.render=function(){var t=this;return n("div",{class:"tab-container"},n("ul",{class:"tab-list",role:"tablist"},this.hasLeft&&n("li",{role:"presentation",class:"nav nav-left",onClick:function(){return t.onTabScroll("left")}},n("div",{class:"arrow-container"},n("a",null,n("q2-icon",{type:"chevron-left"})))),this.tabs.map((function(e,r){return t.generateTab(e,r)})),this.hasRight&&n("li",{role:"presentation",class:"nav nav-right",onClick:function(){return t.onTabScroll("right")}},n("div",{class:"arrow-container"},n("a",null,n("q2-icon",{type:"chevron-right"}))))),n("div",{class:"tab-content"},n("slot",null)))};t.prototype.generateTab=function(t,e){var r=t.label,i=t.value;var o=this.selectedTabValue===i;return n("li",{role:"presentation"},n("a",{id:"tab-"+this.guid+"-"+e,href:"javascript://","data-value":i,"test-id":"tabLink",tabIndex:o?0:-1,role:"tab","aria-selected":""+o,"aria-controls":"tab-pane-"+this.guid+"-"+e,onClick:this.onTabClick,onKeyDown:this.onTabKeyDown},r))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueObserver"],name:["nameObserver"]}},enumerable:false,configurable:true});return t}());st.style=ot}}}));
|
|
1
|
+
var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(e.hasOwnProperty(r))t[r]=e[r]};return t(e,r)};return function(e,r){t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();System.register(["./p-f08aea0c.system.js","./p-4576db15.system.js"],(function(t){"use strict";var e,r,n,i,o;return{setters:[function(t){e=t.r;r=t.c;n=t.h;i=t.g},function(t){o=t.c}],execute:function(){function s(t){return typeof t==="function"}var a=false;var c={Promise:undefined,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else if(a){console.log("RxJS: Back to a better error behavior. Thank you. <3")}a=t},get useDeprecatedSynchronousErrorHandling(){return a}};function u(t){setTimeout((function(){throw t}),0)}var l={closed:true,next:function(t){},error:function(t){if(c.useDeprecatedSynchronousErrorHandling){throw t}else{u(t)}},complete:function(){}};var f=function(){return Array.isArray||function(t){return t&&typeof t.length==="number"}}();function h(t){return t!==null&&typeof t==="object"}var p=function(){function t(t){Error.call(this);this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"";this.name="UnsubscriptionError";this.errors=t;return this}t.prototype=Object.create(Error.prototype);return t}();var d=p;var b=function(){function t(t){this.closed=false;this._parentOrParents=null;this._subscriptions=null;if(t){this._ctorUnsubscribe=true;this._unsubscribe=t}}t.prototype.unsubscribe=function(){var e;if(this.closed){return}var r=this,n=r._parentOrParents,i=r._ctorUnsubscribe,o=r._unsubscribe,a=r._subscriptions;this.closed=true;this._parentOrParents=null;this._subscriptions=null;if(n instanceof t){n.remove(this)}else if(n!==null){for(var c=0;c<n.length;++c){var u=n[c];u.remove(this)}}if(s(o)){if(i){this._unsubscribe=undefined}try{o.call(this)}catch(b){e=b instanceof d?v(b.errors):[b]}}if(f(a)){var c=-1;var l=a.length;while(++c<l){var p=a[c];if(h(p)){try{p.unsubscribe()}catch(b){e=e||[];if(b instanceof d){e=e.concat(v(b.errors))}else{e.push(b)}}}}}if(e){throw new d(e)}};t.prototype.add=function(e){var r=e;if(!e){return t.EMPTY}switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||typeof r.unsubscribe!=="function"){return r}else if(this.closed){r.unsubscribe();return r}else if(!(r instanceof t)){var n=r;r=new t;r._subscriptions=[n]}break;default:{throw new Error("unrecognized teardown "+e+" added to Subscription.")}}var i=r._parentOrParents;if(i===null){r._parentOrParents=this}else if(i instanceof t){if(i===this){return r}r._parentOrParents=[i,this]}else if(i.indexOf(this)===-1){i.push(this)}else{return r}var o=this._subscriptions;if(o===null){this._subscriptions=[r]}else{o.push(r)}return r};t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);if(r!==-1){e.splice(r,1)}}};return t}();b.EMPTY=function(t){t.closed=true;return t}(new b);function v(t){return t.reduce((function(t,e){return t.concat(e instanceof d?e.errors:e)}),[])}var y=function(){return typeof Symbol==="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}();var w=function(t){__extends(e,t);function e(r,n,i){var o=t.call(this)||this;o.syncErrorValue=null;o.syncErrorThrown=false;o.syncErrorThrowable=false;o.isStopped=false;switch(arguments.length){case 0:o.destination=l;break;case 1:if(!r){o.destination=l;break}if(typeof r==="object"){if(r instanceof e){o.syncErrorThrowable=r.syncErrorThrowable;o.destination=r;r.add(o)}else{o.syncErrorThrowable=true;o.destination=new g(o,r)}break}default:o.syncErrorThrowable=true;o.destination=new g(o,r,n,i);break}return o}e.prototype[y]=function(){return this};e.create=function(t,r,n){var i=new e(t,r,n);i.syncErrorThrowable=false;return i};e.prototype.next=function(t){if(!this.isStopped){this._next(t)}};e.prototype.error=function(t){if(!this.isStopped){this.isStopped=true;this._error(t)}};e.prototype.complete=function(){if(!this.isStopped){this.isStopped=true;this._complete()}};e.prototype.unsubscribe=function(){if(this.closed){return}this.isStopped=true;t.prototype.unsubscribe.call(this)};e.prototype._next=function(t){this.destination.next(t)};e.prototype._error=function(t){this.destination.error(t);this.unsubscribe()};e.prototype._complete=function(){this.destination.complete();this.unsubscribe()};e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;this._parentOrParents=null;this.unsubscribe();this.closed=false;this.isStopped=false;this._parentOrParents=t;return this};return e}(b);var g=function(t){__extends(e,t);function e(e,r,n,i){var o=t.call(this)||this;o._parentSubscriber=e;var a;var c=o;if(s(r)){a=r}else if(r){a=r.next;n=r.error;i=r.complete;if(r!==l){c=Object.create(r);if(s(c.unsubscribe)){o.add(c.unsubscribe.bind(c))}c.unsubscribe=o.unsubscribe.bind(o)}}o._context=c;o._next=a;o._error=n;o._complete=i;return o}e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;if(!c.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable){this.__tryOrUnsub(this._next,t)}else if(this.__tryOrSetError(e,this._next,t)){this.unsubscribe()}}};e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;var r=c.useDeprecatedSynchronousErrorHandling;if(this._error){if(!r||!e.syncErrorThrowable){this.__tryOrUnsub(this._error,t);this.unsubscribe()}else{this.__tryOrSetError(e,this._error,t);this.unsubscribe()}}else if(!e.syncErrorThrowable){this.unsubscribe();if(r){throw t}u(t)}else{if(r){e.syncErrorValue=t;e.syncErrorThrown=true}else{u(t)}this.unsubscribe()}}};e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};if(!c.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable){this.__tryOrUnsub(r);this.unsubscribe()}else{this.__tryOrSetError(e,r);this.unsubscribe()}}else{this.unsubscribe()}}};e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(r){this.unsubscribe();if(c.useDeprecatedSynchronousErrorHandling){throw r}else{u(r)}}};e.prototype.__tryOrSetError=function(t,e,r){if(!c.useDeprecatedSynchronousErrorHandling){throw new Error("bad call")}try{e.call(this._context,r)}catch(n){if(c.useDeprecatedSynchronousErrorHandling){t.syncErrorValue=n;t.syncErrorThrown=true;return true}else{u(n);return true}}return false};e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null;this._parentSubscriber=null;t.unsubscribe()};return e}(w);function m(t){while(t){var e=t.closed,r=t.destination,n=t.isStopped;if(e||n){return false}else if(r&&r instanceof w){t=r}else{t=null}}return true}function _(t,e,r){if(t){if(t instanceof w){return t}if(t[y]){return t[y]()}}if(!t&&!e&&!r){return new w(l)}return new w(t,e,r)}var x=function(){return typeof Symbol==="function"&&Symbol.observable||"@@observable"}();function E(t){return t}function S(t){if(t.length===0){return E}if(t.length===1){return t[0]}return function e(r){return t.reduce((function(t,e){return e(t)}),r)}}var T=function(){function t(t){this._isScalar=false;if(t){this._subscribe=t}}t.prototype.lift=function(e){var r=new t;r.source=this;r.operator=e;return r};t.prototype.subscribe=function(t,e,r){var n=this.operator;var i=_(t,e,r);if(n){i.add(n.call(i,this.source))}else{i.add(this.source||c.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i))}if(c.useDeprecatedSynchronousErrorHandling){if(i.syncErrorThrowable){i.syncErrorThrowable=false;if(i.syncErrorThrown){throw i.syncErrorValue}}}return i};t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){if(c.useDeprecatedSynchronousErrorHandling){t.syncErrorThrown=true;t.syncErrorValue=e}if(m(t)){t.error(e)}else{console.warn(e)}}};t.prototype.forEach=function(t,e){var r=this;e=k(e);return new e((function(e,n){var i;i=r.subscribe((function(e){try{t(e)}catch(r){n(r);if(i){i.unsubscribe()}}}),n,e)}))};t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)};t.prototype[x]=function(){return this};t.prototype.pipe=function(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}if(t.length===0){return this}return S(t)(this)};t.prototype.toPromise=function(t){var e=this;t=k(t);return new t((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))};return t}();T.create=function(t){return new T(t)};function k(t){if(!t){t=Promise}if(!t){throw new Error("no Promise impl found")}return t}var O=function(t){__extends(e,t);function e(e,r){return t.call(this)||this}e.prototype.schedule=function(t,e){if(e===void 0){e=0}return this};return e}(b);var P=function(t){__extends(e,t);function e(e,r){var n=t.call(this,e,r)||this;n.scheduler=e;n.work=r;n.pending=false;return n}e.prototype.schedule=function(t,e){if(e===void 0){e=0}if(this.closed){return this}this.state=t;var r=this.id;var n=this.scheduler;if(r!=null){this.id=this.recycleAsyncId(n,r,e)}this.pending=true;this.delay=e;this.id=this.id||this.requestAsyncId(n,this.id,e);return this};e.prototype.requestAsyncId=function(t,e,r){if(r===void 0){r=0}return setInterval(t.flush.bind(t,this),r)};e.prototype.recycleAsyncId=function(t,e,r){if(r===void 0){r=0}if(r!==null&&this.delay===r&&this.pending===false){return e}clearInterval(e);return undefined};e.prototype.execute=function(t,e){if(this.closed){return new Error("executing a cancelled action")}this.pending=false;var r=this._execute(t,e);if(r){return r}else if(this.pending===false&&this.id!=null){this.id=this.recycleAsyncId(this.scheduler,this.id,null)}};e.prototype._execute=function(t,e){var r=false;var n=undefined;try{this.work(t)}catch(i){r=true;n=!!i&&i||new Error(i)}if(r){this.unsubscribe();return n}};e.prototype._unsubscribe=function(){var t=this.id;var e=this.scheduler;var r=e.actions;var n=r.indexOf(this);this.work=null;this.state=null;this.pending=false;this.scheduler=null;if(n!==-1){r.splice(n,1)}if(t!=null){this.id=this.recycleAsyncId(e,t,null)}this.delay=null};return e}(O);var A=function(){function t(e,r){if(r===void 0){r=t.now}this.SchedulerAction=e;this.now=r}t.prototype.schedule=function(t,e,r){if(e===void 0){e=0}return new this.SchedulerAction(this,t).schedule(r,e)};return t}();A.now=function(){return Date.now()};var j=function(t){__extends(e,t);function e(r,n){if(n===void 0){n=A.now}var i=t.call(this,r,(function(){if(e.delegate&&e.delegate!==i){return e.delegate.now()}else{return n()}}))||this;i.actions=[];i.active=false;i.scheduled=undefined;return i}e.prototype.schedule=function(r,n,i){if(n===void 0){n=0}if(e.delegate&&e.delegate!==this){return e.delegate.schedule(r,n,i)}else{return t.prototype.schedule.call(this,r,n,i)}};e.prototype.flush=function(t){var e=this.actions;if(this.active){e.push(t);return}var r;this.active=true;do{if(r=t.execute(t.state,t.delay)){break}}while(t=e.shift());this.active=false;if(r){while(t=e.shift()){t.unsubscribe()}throw r}};return e}(A);var L=function(t){return function(e){for(var r=0,n=t.length;r<n&&!e.closed;r++){e.next(t[r])}e.complete()}};var D=new j(P);var R=D;function z(t,e){return function r(n){if(typeof t!=="function"){throw new TypeError("argument is not a function. Are you looking for `mapTo()`?")}return n.lift(new V(t,e))}}var V=function(){function t(t,e){this.project=t;this.thisArg=e}t.prototype.call=function(t,e){return e.subscribe(new I(t,this.project,this.thisArg))};return t}();var I=function(t){__extends(e,t);function e(e,r,n){var i=t.call(this,e)||this;i.project=r;i.count=0;i.thisArg=n||i;return i}e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(r){this.destination.error(r);return}this.destination.next(e)};return e}(w);var H=function(t){return function(e){t.then((function(t){if(!e.closed){e.next(t);e.complete()}}),(function(t){return e.error(t)})).then(null,u);return e}};function C(){if(typeof Symbol!=="function"||!Symbol.iterator){return"@@iterator"}return Symbol.iterator}var q=C();var W=function(t){return function(e){var r=t[q]();do{var n=void 0;try{n=r.next()}catch(i){e.error(i);return e}if(n.done){e.complete();break}e.next(n.value);if(e.closed){break}}while(true);if(typeof r.return==="function"){e.add((function(){if(r.return){r.return()}}))}return e}};var U=function(t){return function(e){var r=t[x]();if(typeof r.subscribe!=="function"){throw new TypeError("Provided object does not correctly implement Symbol.observable")}else{return r.subscribe(e)}}};var M=function(t){return t&&typeof t.length==="number"&&typeof t!=="function"};function N(t){return!!t&&typeof t.subscribe!=="function"&&typeof t.then==="function"}var Y=function(t){if(!!t&&typeof t[x]==="function"){return U(t)}else if(M(t)){return L(t)}else if(N(t)){return H(t)}else if(!!t&&typeof t[q]==="function"){return W(t)}else{var e=h(t)?"an invalid object":"'"+t+"'";var r="You provided "+e+" where a stream was expected."+" You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(r)}};var K=function(t){__extends(e,t);function e(e){var r=t.call(this)||this;r.parent=e;return r}e.prototype._next=function(t){this.parent.notifyNext(t)};e.prototype._error=function(t){this.parent.notifyError(t);this.unsubscribe()};e.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};return e}(w);var J=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.notifyNext=function(t){this.destination.next(t)};e.prototype.notifyError=function(t){this.destination.error(t)};e.prototype.notifyComplete=function(){this.destination.complete()};return e}(w);function B(t,e){if(e.closed){return undefined}if(t instanceof T){return t.subscribe(e)}return Y(t)(e)}function F(t,e,r,n){if(s(r)){n=r;r=undefined}if(n){return F(t,e,r).pipe(z((function(t){return f(t)?n.apply(void 0,t):n(t)})))}return new T((function(n){function i(t){if(arguments.length>1){n.next(Array.prototype.slice.call(arguments))}else{n.next(t)}}G(t,e,i,n,r)}))}function G(t,e,r,n,i){var o;if(Z(t)){var s=t;t.addEventListener(e,r,i);o=function(){return s.removeEventListener(e,r,i)}}else if(X(t)){var a=t;t.on(e,r);o=function(){return a.off(e,r)}}else if(Q(t)){var c=t;t.addListener(e,r);o=function(){return c.removeListener(e,r)}}else if(t&&t.length){for(var u=0,l=t.length;u<l;u++){G(t[u],e,r,n,i)}}else{throw new TypeError("Invalid event target")}n.add(o)}function Q(t){return t&&typeof t.addListener==="function"&&typeof t.removeListener==="function"}function X(t){return t&&typeof t.on==="function"&&typeof t.off==="function"}function Z(t){return t&&typeof t.addEventListener==="function"&&typeof t.removeEventListener==="function"}function $(t){return!f(t)&&t-parseFloat(t)+1>=0}function tt(t,e){if(t===void 0){t=0}if(e===void 0){e=R}if(!$(t)||t<0){t=0}if(!e||typeof e.schedule!=="function"){e=R}return new T((function(r){r.add(e.schedule(et,t,{subscriber:r,counter:0,period:t}));return r}))}function et(t){var e=t.subscriber,r=t.counter,n=t.period;e.next(r);this.schedule({subscriber:e,counter:r+1,period:n},n)}function rt(t){return function(e){return e.lift(new nt(t))}}var nt=function(){function t(t){this.durationSelector=t}t.prototype.call=function(t,e){return e.subscribe(new it(t,this.durationSelector))};return t}();var it=function(t){__extends(e,t);function e(e,r){var n=t.call(this,e)||this;n.durationSelector=r;n.hasValue=false;return n}e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);if(e){this._tryNext(t,e)}}catch(r){this.destination.error(r)}};e.prototype._complete=function(){this.emitValue();this.destination.complete()};e.prototype._tryNext=function(t,e){var r=this.durationSubscription;this.value=t;this.hasValue=true;if(r){r.unsubscribe();this.remove(r)}r=B(e,new K(this));if(r&&!r.closed){this.add(this.durationSubscription=r)}};e.prototype.notifyNext=function(){this.emitValue()};e.prototype.notifyComplete=function(){this.emitValue()};e.prototype.emitValue=function(){if(this.hasValue){var e=this.value;var r=this.durationSubscription;if(r){this.durationSubscription=undefined;r.unsubscribe();this.remove(r)}this.value=undefined;this.hasValue=false;t.prototype._next.call(this,e)}};return e}(J);var ot="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.tab-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.tab-list{padding:0;display:-ms-flexbox;display:flex;margin:0;list-style:none;border-bottom:1px solid\n var(--tct-tab-container-border-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)));white-space:nowrap;overflow-x:hidden;-ms-flex-align:center;align-items:center}.tab-list li.nav{position:absolute;height:44px;width:46px}.tab-list li.nav-left{left:-15px;background:-webkit-gradient(linear, left top, right top, color-stop(60%, var(--tct-section-bg, var(--t-section-bg, #ffffff))), to(transparent));background:linear-gradient(to right, var(--tct-section-bg, var(--t-section-bg, #ffffff)) 60%, transparent)}.tab-list li.nav-right{right:-15px;background:-webkit-gradient(linear, right top, left top, color-stop(60%, var(--tct-section-bg, var(--t-section-bg, #ffffff))), to(transparent));background:linear-gradient(to left, var(--tct-section-bg, var(--t-section-bg, #ffffff)) 60%, transparent)}.tab-list li.nav .arrow-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:inherit;width:inherit;cursor:pointer}.tab-list li.nav .arrow-container a{padding:0;margin:0;height:inherit;width:inherit;border-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.tab-list a{text-decoration:none;padding:var(--tct-scale-2, var(--app-scale-2, 10px));margin:var(--tct-scale-1, var(--app-scale-1, 5px)) var(--tct-scale-1, var(--app-scale-1, 5px))\n 0;color:var(--tct-tab-inactive-color, var(--t-tab-inactive, inherit));font-size:var(--tct-tab-font-size, var(--t-tab-font-size, 17px));border-bottom:3px solid transparent;display:block;-webkit-transition:color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease))}:host([type='section']) .tab-list a{font-size:inherit;padding:var(--tct-scale-2, var(--app-scale-2, 10px))\n var(--tct-scale-1, var(--app-scale-1, 5px))}@media screen and (max-width: 767px){.tab-list a{font-size:inherit;padding:var(--tct-scale-2, var(--app-scale-2, 10px))\n var(--tct-scale-1, var(--app-scale-1, 5px))}}.tab-list a:hover{color:var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));background-color:var(--tct-tab-hover-bg-color, var(--t-tab-hover-bg-color, inherit));width:var(--tct-tab-hover-width, var(--t-tab-hover-width, 100%))}.tab-list a[aria-selected='true']{color:var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));border-color:currentColor;width:var(--tct-tab-active-width, var(--t-tab-active-width, 100%));background-color:var(--tct-tab-active-bg-color, var(--t-tab-active-bg-color, inherit))}:host([color='alt']) .tab-list a{color:var(--tct-tab-alt-inactive-color, var(--t-tab-alt-inactive, inherit))}:host([color='alt']) .tab-list a:hover,:host([color='alt']) .tab-list a[aria-selected='true']{color:var(--tct-tab-alt-active-color, var(--t-tab-alt-active, inherit))}.tab-content{padding:var(--tct-scale-2, var(--app-scale-2, 10px)) 0}";var st=t("q2_tab_container",function(){function t(t){var n=this;e(this,t);this.change=r(this,"change",7);this.settled=r(this,"settled",7);this.guid=o();this.scheduledAfterRender=[];this.hasLeft=false;this.hasRight=false;this.initTabScroll=function(){var t=n.hostElement.shadowRoot.querySelector(".tab-list");if(t){var e=t.scrollWidth,r=t.clientWidth,i=t.scrollLeft;n.hasLeft=i>0;n.hasRight=e>r}};this.updateTabData=function(){n.updateTabPaneProps();n.setTabs()};this.updateTabPaneProps=function(){n.tabPanes.forEach((function(t,e){t.selected=t.value===n.selectedTabValue;t.guid=n.guid;t.index=e}))};this.setTabs=function(){n.tabs=n.tabPanes.map((function(t){var e=t.label,r=t.value;return{label:e&&n.loc(e)||"",value:r}}))};this.onTabClick=function(t){n.change.emit({value:t.target.dataset.value})};this.onTabKeyDown=function(t){var e=t.target.dataset.value;if(t.key==="ArrowRight"||t.key==="Right"){n.moveToAdjacentTab(e,"next");return}if(t.key==="ArrowLeft"||t.key==="Left"){n.moveToAdjacentTab(e,"prev");return}};this.moveToAdjacentTab=function(t,e){var r=n.tabs.map((function(t){var e=t.value;return e})).indexOf(t);var i=false;if(e==="next"&&r!==n.tabs.length-1){r=r+1;i=true}if(e==="prev"&&r!==0){r=r-1;i=true}if(i){var o=n.tabs[r].value;n.hostElement.shadowRoot.querySelector('.tab-list a[data-value="'+o+'"]').focus();n.change.emit({value:o})}};this.calculateTabScroll=function(t){var e=t.direction,r=t.scrollWidth,n=t.clientWidth,i=t.scrollLeft;var o=.5;var s=e==="left"?-1:1;var a=Math.round(n*o);var c=i+s*a;var u=n+c;var l=c>0;var f=r>=u;return{newScrollLeft:c,hasLeft:l,hasRight:f}};this.onTabScroll=function(t){var e=n.hostElement.shadowRoot.querySelector(".tab-list");var r=e.scrollWidth,i=e.clientWidth,o=e.scrollLeft;var s=n.calculateTabScroll({direction:t,scrollWidth:r,clientWidth:i,scrollLeft:o}),a=s.newScrollLeft,c=s.hasLeft,u=s.hasRight;n.hasLeft=c;n.hasRight=u;e.scroll({left:a,behavior:"smooth"})}}t.prototype.loc=function(t,e){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(t,e):t};t.prototype.resizeIframe=function(){return window.TectonElements&&window.TectonElements.resizeIframe&&window.TectonElements.resizeIframe()};Object.defineProperty(t.prototype,"tabPanes",{get:function(){var t=this;var e=this.hostElement.querySelectorAll("q2-tab-pane, tecton-tab-pane");if(e.length===0){return[]}return Array.from(e).filter((function(e){return e.name===t.name}))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"selectedTabValue",{get:function(){return this.value||this.tabPanes[0].value||""},enumerable:false,configurable:true});t.prototype.defaultChangeHandler=function(t){if(t.target===this.hostElement&&!this.hostElement.onchange){this.value=t.detail.value}};t.prototype.componentWillLoad=function(){var t=new MutationObserver(this.updateTabData);t.observe(this.hostElement,{childList:true,attributes:true});this.mutationObserver=t;this.updateTabData()};t.prototype.componentDidRender=function(){this.scheduledAfterRender.forEach((function(t){return t()}));this.scheduledAfterRender=[];this.settled.emit();if(!this.resizeSubscription){this.initTabScroll();this.resizeSubscription=F(window,"resize").pipe(rt((function(){return tt(200)}))).subscribe(this.initTabScroll)}};t.prototype.disconnectedCallback=function(){this.mutationObserver.disconnect();this.mutationObserver=null;this.resizeSubscription.unsubscribe();this.resizeSubscription=null};t.prototype.valueObserver=function(){this.updateTabData();this.scheduledAfterRender.push(this.resizeIframe)};t.prototype.nameObserver=function(){this.updateTabData()};t.prototype.render=function(){var t=this;return n("div",{class:"tab-container"},n("ul",{class:"tab-list",role:"tablist"},this.hasLeft&&n("li",{role:"presentation",class:"nav nav-left",onClick:function(){return t.onTabScroll("left")}},n("div",{class:"arrow-container"},n("a",null,n("q2-icon",{type:"chevron-left"})))),this.tabs.map((function(e,r){return t.generateTab(e,r)})),this.hasRight&&n("li",{role:"presentation",class:"nav nav-right",onClick:function(){return t.onTabScroll("right")}},n("div",{class:"arrow-container"},n("a",null,n("q2-icon",{type:"chevron-right"}))))),n("div",{class:"tab-content"},n("slot",null)))};t.prototype.generateTab=function(t,e){var r=t.label,i=t.value;var o=this.selectedTabValue===i;return n("li",{role:"presentation"},n("a",{id:"tab-"+this.guid+"-"+e,href:"javascript://","data-value":i,"test-id":"tabLink",tabIndex:o?0:-1,role:"tab","aria-selected":""+o,"aria-controls":"tab-pane-"+this.guid+"-"+e,onClick:this.onTabClick,onKeyDown:this.onTabKeyDown},r))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueObserver"],name:["nameObserver"]}},enumerable:false,configurable:true});return t}());st.style=ot}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as i}from"./p-
|
|
1
|
+
import{r as e,h as i}from"./p-1a8e579d.js";import{s as t}from"./p-9fc24628.js";const r=class{constructor(t){e(this,t),this.halfCircleSpinner=()=>i("div",{class:"q2-loading-animation half-circle-spinner","aria-label":this.localizedAriaLabel},i("div",{class:"circle circle-1"}),i("div",{class:"circle circle-2"})),this.spinner=()=>this.halfCircleSpinner(),this.skeletonLoader=()=>i("div",{class:"q2-loading-skeleton","aria-label":this.localizedAriaLabel},"custom"===this.shape?i("slot",null):this.skeletonShape,i("div",{class:"q2-loading-skeleton-shimmer"}))}get loader(){const e={default:this.spinner,spinner:this.spinner,skeleton:this.skeletonLoader};return e[this.type]||e.default}get modifiersSet(){if("skeleton"===this.type&&this.modifiers)return new Set(this.modifiers.split("-"))}get countsArray(){if("skeleton"===this.type&&this.counts)return this.counts.split("x").map(Number)}get skeletonShape(){var e,i;return null!==(i=null===(e=t[this.shape])||void 0===e?void 0:e.call(t,this.countsArray,this.modifiersSet))&&void 0!==i?i:""}get spinnerShape(){const e={default:this.halfCircleSpinner,"half-circle":this.halfCircleSpinner};return e[this.type]||e.default}get localizedAriaLabel(){return this.loc(this.ariaLabel||"tecton.element.loading.ariaLabel")}loc(e,i){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(e,i):e}render(){return this.loader()}};r.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.flex{display:-ms-flexbox;display:flex}.flex-center{-ms-flex-pack:center;justify-content:center}.flex-left{-ms-flex-pack:start;justify-content:flex-start}.flex-right{-ms-flex-pack:end;justify-content:flex-end}.flex-v-center{-ms-flex-align:center;align-items:center}.no-margin{margin:0}:host{display:block}:host([inline]),:host([modifiers*='inline']){display:inline-block}:host([hidden]){display:none}:host(:not([inline]):not([modifiers*='inline'])){font-size:var(--tct-loading-spinner-size, var(--tct-scale-5, var(--app-scale-5, 60px)))}.q2-loading-animation{height:1em;width:1em}.half-circle-spinner,.half-circle-spinner *{-webkit-box-sizing:border-box;box-sizing:border-box}.half-circle-spinner{border-radius:100%;position:relative}.half-circle-spinner .circle{position:absolute;width:100%;height:100%;border-radius:100%;border:calc(1em / 12) solid transparent}.half-circle-spinner .circle.circle-1{border-top-color:var(--tct-loading-primary-color, var(--t-loading-primary-color, #2e2e2e));-webkit-animation:half-circle-spinner-animation 1s infinite;animation:half-circle-spinner-animation 1s infinite}.half-circle-spinner .circle.circle-2{border-bottom-color:var(\n --tct-loading-secondary-color,\n var(--t-loading-secondary-color, #cccccc)\n );-webkit-animation:half-circle-spinner-animation 1s infinite alternate;animation:half-circle-spinner-animation 1s infinite alternate}@-webkit-keyframes half-circle-spinner-animation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes half-circle-spinner-animation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.q2-loading-skeleton{position:relative;width:100%;height:100%;overflow:hidden;--q2-loading-skeleton-shimmer-color:var(--tct-loading-skeleton-shimmer-color, rgba(255, 255, 255, 0.5));--q2-loading-skeleton-vertical-gap:var(--tct-loading-skeleton-vertical-gap, var(--tct-scale-2, 10px));--q2-loading-skeleton-horizontal-gap:var(--tct-loading-skeleton-horizontal-gap, var(--tct-scale-2, 10px))}.q2-loading-skeleton-shimmer{position:absolute;width:1rem;height:100%;top:0;left:-100px;-webkit-animation:skeletonShimmer 3s ease-in-out infinite;animation:skeletonShimmer 3s ease-in-out infinite;background-color:var(--q2-loading-skeleton-shimmer-color);-webkit-box-shadow:0 0 25px 20px var(--q2-loading-skeleton-shimmer-color);box-shadow:0 0 25px 20px var(--q2-loading-skeleton-shimmer-color);-webkit-transform:rotate(10deg);transform:rotate(10deg)}.skeleton-shape:not(.no-margin){margin:var(--tct-loading-skeleton-vertical-gap, var(--tct-scale-2, 10px))\n var(--tct-loading-skeleton-horizontal-gap, var(--tct-scale-2, 10px))}.skeleton-shape.circle,.skeleton-shape.rectangle{background-color:var(--tct-loading-skeleton-element-bg, var(--tct-gray-l3, #f2f2f2))}.skeleton-shape.circle{border-radius:50%}.flex .rectangle{-ms-flex-positive:1;flex-grow:1}.skeleton-table-row .rectangle{margin:var(--q2-loading-skeleton-vertical-gap) var(--q2-loading-skeleton-horizontal-gap)}.skeleton-table-row .rectangle:not(:first-child):not(:last-child){-ms-flex-positive:2;flex-grow:2}.skeleton-table-row-border .skeleton-shape{margin:0 var(--q2-loading-skeleton-horizontal-gap)}.form{-ms-flex-wrap:wrap;flex-wrap:wrap}.form .field{margin:var(--q2-loading-skeleton-vertical-gap) 0}.form.columns-1 .field{-ms-flex-preferred-size:100%;flex-basis:100%}.form.columns-2 .field{-ms-flex-preferred-size:50%;flex-basis:50%}.form.columns-3 .field{-ms-flex-preferred-size:33.3333%;flex-basis:33.3333%}.form.columns-4 .field{-ms-flex-preferred-size:25%;flex-basis:25%}.form.columns-5 .field{-ms-flex-preferred-size:20%;flex-basis:20%}.text .rectangle{margin-bottom:0}.text .header.center{margin:0 auto}.text .header.right{margin-left:auto}.text .header{height:1.5rem}.text .header.smaller{height:1rem}.detailed-item{-ms-flex-wrap:wrap;flex-wrap:wrap}.detailed-item.right{-ms-flex-flow:row-reverse;flex-flow:row-reverse}.detailed-item-image{-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-inline-flexbox;display:inline-flex}.center .detailed-item-image{-ms-flex-preferred-size:100%;flex-basis:100%;display:-ms-flexbox;display:flex}.detailed-item-image .rectangle{-ms-flex-positive:0;flex-grow:0}.detailed-item-text>div{width:100%}.detailed-item-text{-ms-flex:1 1 auto;flex:1 1 auto}.detailed-item-text .text{margin-top:0;margin-bottom:0}.label-value{-ms-flex-wrap:wrap;flex-wrap:wrap}.label-value .rectangle{-ms-flex-preferred-size:calc(50% - 2 * var(--q2-loading-skeleton-horizontal-gap));flex-basis:calc(50% - 2 * var(--q2-loading-skeleton-horizontal-gap))}@-webkit-keyframes skeletonShimmer{0%{left:-100px;opacity:1}70%{opacity:1}100%{left:800px;opacity:0}}@keyframes skeletonShimmer{0%{left:-100px;opacity:1}70%{opacity:1}100%{left:800px;opacity:0}}";export{r as q2_loading}
|