PageSourceSearch

https://teleport.delivery/_nuxt/3a968feb29ff502ec694.js

js teleport.delivery collected 2026-10-04 21:57:23 UTC 17,207 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[375,266],{509:function(t,e,r){"use strict";r.r(e);r(17),r(8),r(20),r(18);var n=r(15),o=(r(19),r(9),r(21),r(14));function c(){c=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",f=o.asyncIterator||"@@asyncIterator",h=o.toStringTag||"@@toStringTag";function d(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,r){return t[e]=r}}function v(t,e,r,n){var o=e&&e.prototype instanceof w?e:w,c=Object.create(o.prototype),l=new G(n||[]);return c._invoke=function(t,e,r){var n="suspendedStart";return function(o,c){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw c;return $()}for(r.method=o,r.arg=c;;){var l=r.delegate;if(l){var f=V(l,r);if(f){if(f===m)continue;return f}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var h=y(t,e,r);if("normal"===h.type){if(n=r.done?"completed":"suspendedYield",h.arg===m)continue;return{value:h.arg,done:r.done}}"throw"===h.type&&(n="completed",r.method="throw",r.arg=h.arg)}}}(t,r,l),c}function y(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=v;var m={};function w(){}function x(){}function L(){}var O={};d(O,l,function(){return this});var E=Object.getPrototypeOf,_=E&&E(E(z([])));_&&_!==e&&r.call(_,l)&&(O=_);var j=L.prototype=w.prototype=Object.create(O);function k(t){["next","throw","return"].forEach(function(e){d(t,e,function(t){return this._invoke(e,t)})})}function P(t,e){var o;this._invoke=function(c,l){function f(){return new e(function(o,f){!function o(c,l,f,h){var d=y(t[c],t,l);if("throw"!==d.type){var v=d.arg,m=v.value;return m&&"object"==Object(n.a)(m)&&r.call(m,"__await")?e.resolve(m.__await).then(function(t){o("next",t,f,h)},function(t){o("throw",t,f,h)}):e.resolve(m).then(function(t){v.value=t,f(v)},function(t){return o("throw",t,f,h)})}h(d.arg)}(c,l,o,f)})}return o=o?o.then(f,f):f()}}function V(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,V(t,e),"throw"===e.method))return m;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=y(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,m;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,m):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function z(t){if(t){var e=t[l];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:$}}function $(){return{value:void 0,done:!0}}return x.prototype=L,d(j,"constructor",L),d(L,"constructor",x),x.displayName=d(L,h,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,L):(t.__proto__=L,d(t,h,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},k(P.prototype),d(P.prototype,f,function(){return this}),t.AsyncIterator=P,t.async=function(e,r,n,o,c){void 0===c&&(c=Promise);var l=new P(v(e,r,n,o),c);return t.isGeneratorFunction(r)?l:l.next().then(function(t){return t.done?t.value:l.next()})},k(j),d(j,h,"Generator"),d(j,l,function(){return this}),d(j,"toString",function(){return"[object Generator]"}),t.keys=function(object){var t=[];for(var e in object)t.push(e);return t.reverse(),function e(){for(;t.length;){var r=t.pop();if(r in object)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=z,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
1h(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return c.type="throw",c.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],c=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),f=r.call(o,"finallyLoc");if(l&&f){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),S(e),m}},catch:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var n=r.arg;S(e)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:z(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),m}},t}var l={methods:{validate:function(t){var e=this;return Object(o.a)(c().mark(function r(){return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.$refs.form.validate(t);case 2:return r.abrupt("return",r.sent);case 3:case"end":return r.stop()}},r)}))()}},props:["disableOrganization","disableUser","value"],watch:{innerValue:function(t){this.$emit("input",t)},value:function(t){this.innerValue=t}},created:function(){this.value&&(this.innerValue=this.value)},data:function(){return{innerValue:{}}}},f=r(6),component=Object(f.a)(l,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("b-form-with-validation",t._b({ref:"form"},"b-form-with-validation",t.$attrs,!1),[r("model-search-select-with-validation",{attrs:{disabled:t.disableOrganization,rules:{required:!0},label:"Organization",name:"organization_id","option-texts":["name"],"option-value":"id",url:"/organization"},on:{"selected-object":function(e){t.innerValue.organization=arguments[0]}},model:{value:t.innerValue.organization_id,callback:function(e){t.$set(t.innerValue,"organization_id",e)},expression:"innerValue.organization_id"}}),t._v(" "),r("model-search-select-with-validation",{attrs:{disabled:t.disableUser,rules:{required:!0},label:"User",name:"user_id","option-texts":["name"],"option-value":"id",url:"/user"},on:{"selected-object":function(e){t.innerValue.user=arguments[0]}},model:{value:t.innerValue.user_id,callback:function(e){t.$set(t.innerValue,"user_id",e)},expression:"innerValue.user_id"}}),t._v(" "),r("model-search-select-with-validation",{attrs:{rules:{required:!0},label:"Role",name:"role","option-texts":["name"],"option-value":"id",url:"/organization-role"},model:{value:t.innerValue.role,callback:function(e){t.$set(t.innerValue,"role",e)},expression:"innerValue.role"}})],1)},[],!1,null,null,null);e.default=component.exports},946:function(t,e,r){"use strict";r.r(e);r(17),r(20),r(18);var n=r(15),o=(r(19),r(13),r(10),r(9),r(11),r(8),r(12),r(21),r(14)),c=r(1),l=r(63),f=r(509);function h(){h=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",f=o.toStringTag||"@@toStringTag";function d(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,r){return t[e]=r}}function v(t,e,r,n){var o=e&&e.prototype instanceof w?e:w,c=Object.create(o.prototype),l=new G(n||[]);return c._invoke=function(t,e,r){var n="suspendedStart";return function(o,c){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw c;return $()}for(r.method=o,r.arg=c;;){var l=r.delegate;if(l){var f=V(l,r);if(f){if(f===m)continue;return f}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var h=y(t,e,r);
vendor: 5,770 bytes, line 1
1if("normal"===h.type){if(n=r.done?"completed":"suspendedYield",h.arg===m)continue;return{value:h.arg,done:r.done}}"throw"===h.type&&(n="completed",r.method="throw",r.arg=h.arg)}}}(t,r,l),c}function y(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=v;var m={};function w(){}function x(){}function L(){}var O={};d(O,c,function(){return this});var E=Object.getPrototypeOf,_=E&&E(E(z([])));_&&_!==e&&r.call(_,c)&&(O=_);var j=L.prototype=w.prototype=Object.create(O);function k(t){["next","throw","return"].forEach(function(e){d(t,e,function(t){return this._invoke(e,t)})})}function P(t,e){var o;this._invoke=function(c,l){function f(){return new e(function(o,f){!function o(c,l,f,h){var d=y(t[c],t,l);if("throw"!==d.type){var v=d.arg,m=v.value;return m&&"object"==Object(n.a)(m)&&r.call(m,"__await")?e.resolve(m.__await).then(function(t){o("next",t,f,h)},function(t){o("throw",t,f,h)}):e.resolve(m).then(function(t){v.value=t,f(v)},function(t){return o("throw",t,f,h)})}h(d.arg)}(c,l,o,f)})}return o=o?o.then(f,f):f()}}function V(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,V(t,e),"throw"===e.method))return m;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=y(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,m;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,m):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function z(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:$}}function $(){return{value:void 0,done:!0}}return x.prototype=L,d(j,"constructor",L),d(L,"constructor",x),x.displayName=d(L,f,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,L):(t.__proto__=L,d(t,f,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},k(P.prototype),d(P.prototype,l,function(){return this}),t.AsyncIterator=P,t.async=function(e,r,n,o,c){void 0===c&&(c=Promise);var l=new P(v(e,r,n,o),c);return t.isGeneratorFunction(r)?l:l.next().then(function(t){return t.done?t.value:l.next()})},k(j),d(j,f,"Generator"),d(j,c,function(){return this}),d(j,"toString",function(){return"[object Generator]"}),t.keys=function(object){var t=[];for(var e in object)t.push(e);return t.reverse(),function e(){for(;t.length;){var r=t.pop();if(r in object)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=z,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return c.type="throw",c.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],c=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),f=r.call(o,"finallyLoc");if(l&&f){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),S(e),m}},catch:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var n=r.arg;S(e)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:z(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),m}},t}function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable})),e.push.apply(e,r)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?d(Object(source),!0).forEach(function(e){Object(c.a)(t,e,source[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))})}return t}var y=Object(l.a)("organizationUser").mapActions,m={components:{UpdateForm:f.default},methods:v(v({},y(["create"])),{},{onModalHide:function(t){var e=this;return Object(o.a)(h().mark(function r(){return h().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(t.preventDefault(),"ok"!==t.trigger){r.next=12;break}return e.error=null,r.prev=3,r.next=6,e.create(e.innerValue);case 6:r.next=12;break;case 8:return r.prev=8,r.t0=r.catch(3),e.error=r.t0,r.abrupt("return");case 12:e.$router.push("/dashboard/".concat("user","/").concat(e.$route.params.id,"/").concat("organization"));case 13:case"end":return r.stop()}},r,null,[[3,8]])}))()}}),fetch:function(t){return Object(o.a)(h().mark(function e(){var r,n,o;return h().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=t.redirect,n=t.route,t.store.getters["auth/can"]("".concat("organization-user",":create"))||(o=encodeURIComponent(n.path),r("/dashboard?error=403&error_source=".concat(o)));case 2:case"end":return e.stop()}},e)}))()},data:function(){var t=this.$store.getters["".concat("user","/find")](this.$route.params.id);return{innerValue:{user_id:t.id,user:t},moduleName:"organizationUser",moduleSlug:"organization-user"}}},w=r(6),component=Object(w.a)(m,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("form-modal",{on:{hide:t.onModalHide}},[r("update-form",{attrs:{error:t.error,"disable-user":""},model:{value:t.innerValue,callback:function(e){t.innerValue=e},expression:"innerValue"}})],1)},[],!1,null,null,null);e.default=component.exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.