diff --git a/campaignion_wizard/css/redirects_app/redirects_app.css b/campaignion_wizard/css/redirects_app/redirects_app.css index 38207280c..52be00a4b 100644 --- a/campaignion_wizard/css/redirects_app/redirects_app.css +++ b/campaignion_wizard/css/redirects_app/redirects_app.css @@ -1 +1 @@ -#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;margin-top:60px}.pra-redirect-card{border:1px solid #ccc}.pra-redirect-handle{width:.5rem;height:1.3rem;margin-right:.5rem;border-left:.2rem solid #aaa;border-right:.2rem solid #aaa;cursor:move;cursor:grab;cursor:-webkit-grab}.pra-redirect-handle,.pra-redirect-info{display:inline-block;vertical-align:middle}body.dragging,body.dragging *{cursor:grabbing;cursor:-webkit-grabbing}.typeahead{display:inline-block;position:relative}.typeahead .dropdown-menu{display:none;position:absolute;top:100%;left:0;min-width:100%;max-height:12rem;overflow-y:auto;list-style:none;margin:0;padding:0;z-index:2000}.typeahead.open .dropdown-menu{display:block}.typeahead .dropdown-menu>li{width:100%}.typeahead .dropdown-menu>li.active{color:#fff;background-color:#aaa}.typeahead .dropdown-menu>li>a{display:inline-block;width:100%;cursor:pointer} \ No newline at end of file +.pra-redirect-card{border:1px solid #ccc}.pra-redirect-handle{width:.5rem;height:1.3rem;margin-right:.5rem;border-left:.2rem solid #aaa;border-right:.2rem solid #aaa;cursor:move;cursor:grab;cursor:-webkit-grab}.pra-redirect-handle,.pra-redirect-info{display:inline-block;vertical-align:middle}body.dragging,body.dragging *{cursor:grabbing;cursor:-webkit-grabbing}.typeahead{display:inline-block;position:relative}.typeahead .dropdown-menu{display:none;position:absolute;top:100%;left:0;min-width:100%;max-height:12rem;overflow-y:auto;list-style:none;margin:0;padding:0;z-index:2000}.typeahead.open .dropdown-menu{display:block}.typeahead .dropdown-menu>li{width:100%}.typeahead .dropdown-menu>li.active{color:#fff;background-color:#aaa}.typeahead .dropdown-menu>li>a{display:inline-block;width:100%;cursor:pointer} \ No newline at end of file diff --git a/campaignion_wizard/js/redirects_app/redirects_app.vue.min.js b/campaignion_wizard/js/redirects_app/redirects_app.vue.min.js index d3601eca5..8a8ff454a 100644 --- a/campaignion_wizard/js/redirects_app/redirects_app.vue.min.js +++ b/campaignion_wizard/js/redirects_app/redirects_app.vue.min.js @@ -1,2 +1,2 @@ -!function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="/",n(n.s=46)}([function(t,n,e){var r=e(35)("wks"),i=e(39),u=e(1).Symbol,o="function"==typeof u;(t.exports=function(t){return r[t]||(r[t]=o&&u[t]||(o?u:i)("Symbol."+t))}).store=r},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(11);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(12),i=e(34);t.exports=e(5)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){t.exports=!e(19)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports={}},function(t,n){t.exports=function(t,n,e,r,i){var u,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(u=t,o=t.default);var c="function"==typeof o?o.options:o;n&&(c.render=n.render,c.staticRenderFns=n.staticRenderFns),r&&(c._scopeId=r);var f;if(i?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},c._ssrRegister=f):e&&(f=e),f){var s=c.functional,l=s?c.render:c.beforeCreate;s?c.render=function(t,n){return f.call(n),l(t,n)}:c.beforeCreate=l?[].concat(l,f):[f]}return{esModule:u,exports:o,options:c}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(15);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(3),i=e(66),u=e(87),o=Object.defineProperty;n.f=e(5)?Object.defineProperty:function(t,n,e){if(r(t),n=u(n,!0),r(e),i)try{return o(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n){t.exports=campaignion_vue.Vue},function(t,n,e){"use strict";function r(t){return JSON.parse(a()(t))}function i(t,n){var e=document.createEvent("Event");e.initEvent(n,!0,!0),t.dispatchEvent(e)}function u(t){return t.length&&t.match(/^(www\.|http:\/\/|https:\/\/|\/)/)&&-1===t.indexOf(" ")||t.match(/^node\//)}n.c=r,n.b=i,n.a=u;var o=e(56),a=e.n(o)},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(11),i=e(1).document,u=r(i)&&r(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,n,e){var r=e(1),i=e(2),u=e(9),o=e(4),a=function(t,n,e){var c,f,s,l=t&a.F,p=t&a.G,h=t&a.S,d=t&a.P,v=t&a.B,_=t&a.W,g=p?i:i[n]||(i[n]={}),y=g.prototype,m=p?r:h?r[n]:(r[n]||{}).prototype;p&&(e=n);for(c in e)(f=!l&&m&&void 0!==m[c])&&c in g||(s=f?m[c]:e[c],g[c]=p&&"function"!=typeof m[c]?e[c]:v&&f?u(s,r):_&&m[c]==s?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(s):d&&"function"==typeof s?u(Function.call,s):s,d&&((g.virtual||(g.virtual={}))[c]=s,t&a.R&&y&&!y[c]&&o(y,c,s)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(12).f,i=e(10),u=e(0)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,u)&&r(t,u,{configurable:!0,value:n})}},function(t,n,e){var r=e(35)("keys"),i=e(39);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(30),i=e(16);t.exports=function(t){return r(i(t))}},function(t,n){t.exports=campaignion_vue.Vuex},function(t,n,e){"use strict";function r(){return{id:null,label:"",destination:"",prettyDestination:"",filters:[]}}e.d(n,"b",function(){return i}),n.a=r;var i={"==":{label:Drupal.t("is"),phrase:Drupal.t("@attribute is @value")},"!=":{label:Drupal.t("is not"),phrase:Drupal.t("@attribute is not @value")},regexp:{label:Drupal.t("matches"),phrase:Drupal.t("@attribute matches @value")}}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(57),i=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=i.default||function(t){for(var n=1;ne;)n.push(arguments[e++]);return _[++v]=function(){a("function"==typeof t?t:Function(t),n)},r(v),v},h=function(t){delete _[t]},"process"==e(8)(l)?r=function(t){l.nextTick(o(g,t,1))}:d?(i=new d,u=i.port2,i.port1.onmessage=y,r=o(u.postMessage,u,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",y,!1)):r="onreadystatechange"in f("script")?function(t){c.appendChild(f("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(o(g,t,1),0)}),t.exports={set:p,clear:h}},function(t,n,e){var r=e(22),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){var r=e(16);t.exports=function(t){return Object(r(t))}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){function r(t){e(99)}var i=e(7)(e(52),e(108),r,null,null);t.exports=i.exports},function(t,n,e){"use strict";function r(){return new a.a.Store({state:e.i(c.a)(),actions:f.a,mutations:s.a,strict:l})}n.a=r;var i=e(13),u=e.n(i),o=e(24),a=e.n(o),c=e(49),f=e(47),s=e(48);u.a.use(a.a);var l=!1},function(t,n,e){function r(t){e(97)}var i=e(7)(e(51),e(106),r,null,null);t.exports=i.exports},function(t,n){t.exports=campaignion_vue.axios},function(t,n){t.exports=campaignion_vue.element},function(t,n){t.exports=campaignion_vue.elementLocale},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(13),i=e.n(r),u=e(42),o=e.n(u),a=e(43),c=e.n(a),f=e(41),s=e(44);e.n(s);if(Drupal.settings.campaignion_vue&&Drupal.settings.campaignion_vue.element_ui_strings){e(45).use(Drupal.settings.campaignion_vue.element_ui_strings)}i.a.use(s.Button),i.a.use(s.Dialog),i.a.use(s.Dropdown),i.a.use(s.DropdownItem),i.a.use(s.DropdownMenu),i.a.use(s.Option),i.a.use(s.Select),i.a.prototype.$http=c.a,i.a.prototype.$msgbox=s.MessageBox,i.a.prototype.$alert=s.MessageBox.alert,i.a.prototype.$confirm=s.MessageBox.confirm,i.a.prototype.$prompt=s.MessageBox.prompt,i.a.config.productionTip=!1,document.querySelectorAll(".personalized-redirects-widget").forEach(function(t){var n=document.createElement("div");t.appendChild(n),new i.a({el:n,drupalContainer:t,template:"",store:e.i(f.a)(),components:{App:o.a}})})},function(t,n,e){"use strict";n.a={incrementAsync:function(t,n){var e=n.amount;setTimeout(function(){t.commit("increment",{amount:e})},1e3)}}},function(t,n,e){"use strict";var r=e(13),i=e.n(r),u=e(14);n.a={editNewRedirect:function(t){t.currentRedirectIndex=-1},editRedirect:function(t,n){var e=n.index;t.currentRedirectIndex=e},removeRedirect:function(t,n){var e=n.index;t.redirects.splice(e,1)},leaveRedirect:function(t){t.currentRedirectIndex=null},updateRedirect:function(t,n){var r=n.redirect;null!==t.currentRedirectIndex&&(-1===t.currentRedirectIndex?t.redirects.push(r):i.a.set(t.redirects,t.currentRedirectIndex,e.i(u.c)(r)))},updateDefaultRedirect:function(t,n){var e=n.destination,r=n.prettyDestination;t.defaultRedirect.destination=e,t.defaultRedirect.prettyDestination=r},updateRedirects:function(t,n){var e=n.redirects;t.redirects=e}}},function(t,n,e){"use strict";function r(){return{redirects:[],defaultRedirect:e.i(i.a)(),currentRedirectIndex:null,initialData:{}}}n.a=r;var i=e(25)},function(t,n,e){"use strict";var r=e(58),i=e.n(r);n.a={postData:function(t){t.url,t.data,t.headers;return(new i.a).resolve()},getNodes:function(t){var n=(t.url,t.queryParam),e=t.queryString;t.headers;return new i.a(function(t,r){setTimeout(function(){var r=[];if(e)for(var i=0;i<20/e.length;i++)r.push({value:"node/"+i,label:"Some Node title containing "+e+" ("+i+")"});else for(var u=0;u<300;u++)r.push({value:"node/"+u,label:"Some Node title ("+u+")"});t({config:{url:"http://mytest.com/foo/bar?"+n+"="+e},data:{values:r}})},500)})}}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(26),i=e.n(r),u=e(24),o=(e.n(u),e(14)),a=e(103),c=e.n(a),f=e(102),s=e.n(f),l=e(40),p=e.n(l);n.default={name:"app",components:{RedirectList:c.a,RedirectDialog:s.a,DestinationField:p.a},data:function(){return{showErrors:!1}},computed:i()({destination:{get:function(){return{value:this.defaultRedirect.destination,label:this.defaultRedirect.prettyDestination}},set:function(t){this.$store.commit({type:"updateDefaultRedirect",destination:t.value,prettyDestination:t.label})}},destinationIsValid:function(){return e.i(o.a)(this.defaultRedirect.destination)}},e.i(u.mapState)(["defaultRedirect"])),mounted:function(){var t=this,n=function(n){if("request-leave-page"===n.type);else if("request-submit-page"===n.type&&!t.destinationIsValid)return e.i(o.b)(t.$root.$el,"cancel-leave-page"),void(t.showErrors=!0);t.askingToLeave=!0};this.$root.$el.addEventListener("request-submit-page",n),this.$root.$el.addEventListener("request-leave-page",n)},methods:{newRedirect:function(){this.$root.$emit("newRedirect")},text:function(t){switch(t){case"Add redirect":return Drupal.t("Add personalized redirect");case"Default redirect":return Drupal.t("Default redirect");case"type a node title or ID or paste a URL":return Drupal.t("type a node title or ID or paste a URL");case"Type to search nodes":return Drupal.t("Type to search nodes");case"destination error":return Drupal.t("Please enter a valid URL or choose a node.")}}}}},function(t,n,e){"use strict";function r(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16)})}function i(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}Object.defineProperty(n,"__esModule",{value:!0});var u=e(50);n.default={props:{value:{type:Object,default:function(){return{value:"",label:""}}},count:{type:Number,default:8},url:{type:String,required:!0},headers:{type:Object,default:function(){return{}}},template:String,dataKey:{type:String,default:null},labelKey:{type:String,default:"label"},valueKey:{type:String,default:"value"},matchCase:{type:Boolean,default:!1},matchStart:{type:Boolean,default:!1},placeholder:String,delay:{type:Number,default:200},searchParam:{type:String,default:"s"},showDropdownOnFocus:{type:Boolean,default:!1}},data:function(){return{val:this.value.label,showDropdown:!1,current:0,items:[]}},computed:{templateComp:function(){return{template:"string"==typeof this.template?'':'',props:{item:{default:null},value:String},methods:{highlight:function(t,n){return t&&n&&t.replace(new RegExp("("+i(n)+")","gi"),"$1")||t}}}},urlMode:function(){return!!this.val.match(/^(ww|ht|\/)/i)}},watch:{value:{handler:function(t){this.val!==t.label&&(this.val=t.label)},deep:!0}},methods:{focus:function(){!this.val&&this.showDropdownOnFocus&&this.update()},update:function(){var t=this;if(this.value.label!==this.value.value&&(this.val=""),this.$emit("input",{value:this.val,label:this.val}),this.reset(),this.urlMode)return!1;var n=this.val;setTimeout(function(){t.val===n&&t.query()},this.delay)},query:function(){var t=this;u.a.getNodes({url:this.url,headers:this.headers,queryParam:this.searchParam,queryString:r(this.val)}).then(function(n){var e,i=new RegExp("[&|?]"+t.searchParam+"=([^&]*)");try{e=n.config.url.match(i)[1]}catch(t){return}if(r(t.val)===e){var u=n.data;t.items=(t.dataKey?u[t.dataKey]:u).slice(0,t.count),t.showDropdown=t.items.length>0}})},reset:function(){this.items=[],this.current=0,this.showDropdown=!1},setActive:function(t){this.current=t},isActive:function(t){return this.current===t},hit:function(t){this.showDropdown&&(t.preventDefault(),t.stopPropagation(),this.val=this.items[this.current][this.labelKey],this.$emit("input",{value:this.items[this.current][this.valueKey],label:this.items[this.current][this.labelKey]}),this.reset())},up:function(t){if(t.preventDefault(),!this.showDropdown)return void this.showCachedOrUpdate();if(this.current>0){this.current--;var n=this.$refs.dropdown,e=n.children[this.current];e.offsetTopn.scrollTop+n.clientHeight&&(n.scrollTop+=e.clientHeight)}},esc:function(t){this.showDropdown&&(t.stopPropagation(),this.showDropdown=!1)}}}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{redirect:Object,index:Number},methods:{text:function(t){switch(t){case"Click Edit to see the filters.":return Drupal.t("Click Edit to see the filters.")}}}}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(26),i=e.n(r),u=e(14),o=e(25),a=e(24),c=(e.n(a),e(100)),f=(e.n(c),e(40)),s=e.n(f);n.default={components:{DestinationField:s.a},data:function(){return{currentRedirect:e.i(o.a)(),modalDirty:!1,showErrors:!1,OPERATORS:o.b}},computed:i()({dialogTitle:function(){return-1===this.currentRedirectIndex?Drupal.t("Add personalized redirect"):this.currentRedirectIndex>=0?this.currentRedirect.label?Drupal.t("Edit @itemName",{"@itemName":this.currentRedirect.label}):Drupal.t("Edit personalized redirect"):void 0},currentRedirectIsEmpty:function(){return null!==this.currentRedirectIndex&&e.i(c.isEqual)(e.i(c.omit)(this.currentRedirect,["id","prettyDestination"]),e.i(c.omit)(e.i(o.a)(),["id","prettyDestination"]))},visible:function(){return null!==this.currentRedirectIndex},destination:{get:function(){return{value:this.currentRedirect.destination,label:this.currentRedirect.prettyDestination}},set:function(t){this.currentRedirect.destination=t.value,this.currentRedirect.prettyDestination=t.label}},destinationIsValid:function(){return e.i(u.a)(this.currentRedirect.destination)}},e.i(a.mapState)(["redirects","currentRedirectIndex"])),methods:{text:function(t){switch(t){case"Redirect label":return Drupal.t("Redirect label");case"seen only by you":return Drupal.t("(seen only by you)");case"Redirect destination":return Drupal.t("Redirect destination");case"type a node title or ID or paste a URL":return Drupal.t("type a node title or ID or paste a URL");case"Type to search nodes":return Drupal.t("Type to search nodes");case"destination error":return Drupal.t("Please enter a valid URL or choose a node.");case"unsaved changes":return Drupal.t("You have unsaved changes!");case"Cancel":return this.modalDirty?Drupal.t("Discard my changes"):Drupal.t("Cancel");case"Done":return Drupal.t("Done")}},tryClose:function(t){return!!(-1!==this.currentRedirectIndex&&e.i(c.isEqual)(this.currentRedirect,this.redirects[this.currentRedirectIndex])||-1===this.currentRedirectIndex&&this.currentRedirectIsEmpty||this.modalDirty&&t&&"cancel"===t.button)||(this.modalDirty=!0,!1)},dialogCancelHandler:function(t){this.tryClose()&&(this.close(),t())},cancelButtonHandler:function(){this.tryClose({button:"cancel"})&&this.close()},updateRedirect:function(){if(!this.destinationIsValid)return void(this.showErrors=!0);this.$store.commit({type:"updateRedirect",redirect:this.currentRedirect}),this.close()},close:function(){this.modalDirty=!1,this.showErrors=!1,this.$store.commit("leaveRedirect"),this.$root.$emit("closeRedirectDialog")}},mounted:function(){var t=this;this.$root.$on("newRedirect",function(){t.currentRedirect=e.i(o.a)(),t.$store.commit("editNewRedirect")}),this.$root.$on("editRedirect",function(n){t.currentRedirect=e.i(u.c)(t.redirects[n]),t.$store.commit({type:"editRedirect",index:n})}),this.$root.$on("duplicateRedirect",function(n){var r=e.i(u.c)(t.redirects[n]);r.id=e.i(o.a)().id,r.label=Drupal.t("Copy of @redirectLabel",{"@redirectLabel":r.label}),t.currentRedirect=r,t.$store.commit("editNewRedirect")}),document.addEventListener("keyup",function(n){t.visible&&!t.currentRedirectIsEmpty&&13===n.keyCode&&"textarea"!==document.activeElement.tagName.toLowerCase()&&(n.preventDefault(),t.updateRedirect())})}}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(111),i=e.n(r),u=e(101),o=e.n(u);n.default={components:{RedirectDescription:o.a,Draggable:i.a},computed:{redirects:{get:function(){return this.$store.state.redirects},set:function(t){this.$store.commit({type:"updateRedirects",redirects:t})}}},methods:{editRedirect:function(t){this.$root.$emit("editRedirect",t)},duplicateRedirect:function(t){this.$root.$emit("duplicateRedirect",t)},removeRedirect:function(t){var n=this,e=Drupal.t("Remove redirect?"),r=this.redirects[t].label?Drupal.t('Do you really want to remove the redirect "@label"?',{"@label":this.redirects[t].label}):Drupal.t("Do you really want to remove the redirect to @url?",{"@url":this.redirects[t].prettyDestination});this.$confirm(r,e,{confirmButtonText:"Remove",cancelButtonText:"Cancel",type:"warning"}).then(function(){n.$store.commit({type:"removeRedirect",index:t})},function(){})},dragStart:function(){document.body.classList.add("dragging")},dragEnd:function(){document.body.classList.remove("dragging")},text:function(t){switch(t){case"Redirect to":return Drupal.t("Redirect to");case"Edit":return Drupal.t("Edit");case"Duplicate":return Drupal.t("Duplicate");case"Delete":return Drupal.t("Delete")}}}}},function(t,n,e){t.exports={default:e(59),__esModule:!0}},function(t,n,e){t.exports={default:e(60),__esModule:!0}},function(t,n,e){t.exports={default:e(61),__esModule:!0}},function(t,n,e){var r=e(2),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,n,e){e(90),t.exports=e(2).Object.assign},function(t,n,e){e(91),e(93),e(94),e(92),t.exports=e(2).Promise},function(t,n){t.exports=function(){}},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){var r=e(23),i=e(37),u=e(86);t.exports=function(t){return function(n,e,o){var a,c=r(n),f=i(c.length),s=u(o,f);if(t&&e!=e){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===e)return t||s||0;return!t&&-1}}},function(t,n,e){var r=e(9),i=e(69),u=e(68),o=e(3),a=e(37),c=e(88),f={},s={},n=t.exports=function(t,n,e,l,p){var h,d,v,_,g=p?function(){return t}:c(t),y=r(e,l,n?2:1),m=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(u(g)){for(h=a(t.length);h>m;m++)if((_=n?y(o(d=t[m])[0],d[1]):y(t[m]))===f||_===s)return _}else for(v=g.call(t);!(d=v.next()).done;)if((_=i(v,y,d.value,n))===f||_===s)return _};n.BREAK=f,n.RETURN=s},function(t,n,e){t.exports=!e(5)&&!e(19)(function(){return 7!=Object.defineProperty(e(17)("div"),"a",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(6),i=e(0)("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||u[i]===t)}},function(t,n,e){var r=e(3);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var u=t.return;throw void 0!==u&&r(u.call(t)),n}}},function(t,n,e){"use strict";var r=e(75),i=e(34),u=e(20),o={};e(4)(o,e(0)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(o,{next:i(1,e)}),u(t,n+" Iterator")}},function(t,n,e){var r=e(0)("iterator"),i=!1;try{var u=[7][r]();u.return=function(){i=!0},Array.from(u,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var u=[7],o=u[r]();o.next=function(){return{done:e=!0}},u[r]=function(){return o},t(u)}catch(t){}return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(1),i=e(36).set,u=r.MutationObserver||r.WebKitMutationObserver,o=r.process,a=r.Promise,c="process"==e(8)(o);t.exports=function(){var t,n,e,f=function(){var r,i;for(c&&(r=o.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(c)e=function(){o.nextTick(f)};else if(u){var s=!0,l=document.createTextNode("");new u(f).observe(l,{characterData:!0}),e=function(){l.data=s=!s}}else if(a&&a.resolve){var p=a.resolve();e=function(){p.then(f)}}else e=function(){i.call(r,f)};return function(r){var i={fn:r,next:void 0};n&&(n.next=i),t||(t=i,e()),n=i}}},function(t,n,e){"use strict";var r=e(33),i=e(77),u=e(80),o=e(38),a=e(30),c=Object.assign;t.exports=!c||e(19)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=c({},t)[e]||Object.keys(c({},n)).join("")!=r})?function(t,n){for(var e=o(t),c=arguments.length,f=1,s=i.f,l=u.f;c>f;)for(var p,h=a(arguments[f++]),d=s?r(h).concat(s(h)):r(h),v=d.length,_=0;v>_;)l.call(h,p=d[_++])&&(e[p]=h[p]);return e}:c},function(t,n,e){var r=e(3),i=e(76),u=e(28),o=e(21)("IE_PROTO"),a=function(){},c=function(){var t,n=e(17)("iframe"),r=u.length;for(n.style.display="none",e(29).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(" diff --git a/campaignion_wizard/redirects_app/src/App.vue b/campaignion_wizard/redirects_app/src/App.vue index 40ed7003e..ad5c80431 100644 --- a/campaignion_wizard/redirects_app/src/App.vue +++ b/campaignion_wizard/redirects_app/src/App.vue @@ -1,5 +1,5 @@