PageSourceSearch

https://portal.tbbexpress.com/assets/dash/js/9203.js?id=b9c5e7e291329673

js tbbexpress.com collected 2026-10-09 03:49:31 UTC 169,719 bytes, 2 lines download raw bytes

vendor: 4,357 bytes, lines 1-2
1/*! For license information please see 9203.js.LICENSE.txt */
2(self.webpackChunk=self.webpackChunk||[]).push([[4429,9203],{432:function(t,e,n){var i;"undefined"!=typeof self&&self,i=function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var s=e[i]={i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)n.d(i,s,function(e){return t[e]}.bind(null,s));return i},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,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"01f9":function(t,e,n){"use strict";var i=n("2d00"),s=n("5ca1"),r=n("2aba"),a=n("32e9"),o=n("84f2"),l=n("41a0"),c=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),f="keys",h="values",v=function(){return this};t.exports=function(t,e,n,_,m,g,b){l(n,e,_);var w,y,C,x=function(t){if(!p&&t in E)return E[t];switch(t){case f:case h:return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",S=m==h,D=!1,E=t.prototype,O=E[d]||E["@@iterator"]||m&&E[m],A=O||x(m),T=m?S?x("entries"):A:void 0,P="Array"==e&&E.entries||O;if(P&&(C=u(P.call(new t)))!==Object.prototype&&C.next&&(c(C,k,!0),i||"function"==typeof C[d]||a(C,d,v)),S&&O&&O.name!==h&&(D=!0,A=function(){return O.call(this)}),i&&!b||!p&&!D&&E[d]||a(E,d,A),o[e]=A,o[k]=v,m)if(w={values:S?A:x(h),keys:g?A:x(f),entries:T},b)for(y in w)y in E||r(E,y,w[y]);else s(s.P+s.F*(p||D),e,w);return w}},"02f4":function(t,e,n){var i=n("4588"),s=n("be13");t.exports=function(t){return function(e,n){var r,a,o=String(s(e)),l=i(n),c=o.length;return l<0||l>=c?t?"":void 0:(r=o.charCodeAt(l))<55296||r>56319||l+1===c||(a=o.charCodeAt(l+1))<56320||a>57343?t?o.charAt(l):r:t?o.slice(l,l+2):a-56320+(r-55296<<10)+65536}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var i=n("ce10"),s=n("e11e");t.exports=Object.keys||function(t){return i(t,s)}},1495:function(t,e,n){var i=n("86cc"),s=n("cb7c"),r=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){s(t);for(var n,a=r(e),o=a.length,l=0;o>l;)i.f(t,n=a[l++],e[n]);return t}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),s=n("32e9"),r=n("79e5"),a=n("be13"),o=n("2b4c"),l=n("520a"),c=o("species"),u=!r(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=o(t),f=!r(function(){var e={};return e[p]=function(){return 7},7!=""[t](e)}),h=f?!r(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[p](""),!e}):void 0;if(!f||!h||"replace"===t&&!u||"split"===t&&!d){var v=/./[p],_=n(a,p,""[t],function(t,e,n,i,s){return e.exec===l?f&&!s?{done:!0,value:v.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}),m=_[0],g=_[1];i(String.prototype,t,m),s(RegExp.prototype,p,2==e?function(t,e){return g.call(t,this,e)}:function(t){return g.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),s=n("7726").document,r=i(s)&&i(s.createElement);t.exports=function(t){return r?s.createElement(t):{}}},"23c6":function(t,e,n){var i=n("2d95"),s=n("2b4c")("toStringTag"),r="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}
vendor: 6,906 bytes, line 2
2(e=Object(t),s))?n:r?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var i=n("7726"),s=n("32e9"),r=n("69a8"),a=n("ca5a")("src"),o=n("fa5b"),l="toString",c=(""+o).split(l);n("8378").inspectSource=function(t){return o.call(t)},(t.exports=function(t,e,n,o){var l="function"==typeof n;l&&(r(n,"name")||s(n,"name",e)),t[e]!==n&&(l&&(r(n,a)||s(n,a,t[e]?""+t[e]:c.join(String(e)))),t===i?t[e]=n:o?t[e]?t[e]=n:s(t,e,n):(delete t[e],s(t,e,n)))})(Function.prototype,l,function(){return"function"==typeof this&&this[a]||o.call(this)})},"2aeb":function(t,e,n){var i=n("cb7c"),s=n("1495"),r=n("e11e"),a=n("613b")("IE_PROTO"),o=function(){},l="prototype",c=function(){var t,e=n("230e")("iframe"),i=r.length;for(e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;i--;)delete c[l][r[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(o[l]=i(t),n=new o,o[l]=null,n[a]=t):n=c(),void 0===e?n:s(n,e)}},"2b4c":function(t,e,n){var i=n("5537")("wks"),s=n("ca5a"),r=n("7726").Symbol,a="function"==typeof r;(t.exports=function(t){return i[t]||(i[t]=a&&r[t]||(a?r:s)("Symbol."+t))}).store=i},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),s=n("d2c8"),r="includes";i(i.P+i.F*n("5147")(r),"String",{includes:function(t){return!!~s(this,t,r).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,n){var i=n("86cc"),s=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,s(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var i=n("69a8"),s=n("4bf8"),r=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=s(t),i(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),s=n("4630"),r=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:s(1,n)}),r(t,e+" Iterator")}},"456d":function(t,e,n){var i=n("4bf8"),s=n("0d58");n("5eda")("keys",function(){return function(t){return s(i(t))}})},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},5147:function(t,e,n){var i=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(t){}}return!0}},"520a":function(t,e,n){"use strict";var i,s,r=n("0bfb"),a=RegExp.prototype.exec,o=String.prototype.replace,l=a,c="lastIndex",u=(i=/a/,s=/b*/g,a.call(i,"a"),a.call(s,"a"),0!==i[c]||0!==s[c]),d=void 0!==/()??/.exec("")[1];(u||d)&&(l=function(t){var e,n,i,s,l=this;return d&&(n=new RegExp("^"+l.source+"$(?!\\s)",r.call(l))),u&&(e=l[c]),i=a.call(l,t),u&&i&&(l[c]=l.global?i.index+i[0].length:e),d&&i&&i.length>1&&o.call(i[0],n,function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)}),i}),t.exports=l},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var i=n("8378"),s=n("7726"),r="__core-js_shared__",a=s[r]||(s[r]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var i=n("7726"),s=n("8378"),r=n("32e9"),a=n("2aba"),o=n("9b43"),l="prototype",c=function(t,e,n){var u,d,p,f,h=t&c.F,v=t&c.G,_=t&c.S,m=t&c.P,g=t&c.B,b=v?i:_?i[e]||(i[e]={}):(i[e]||{})[l],w=v?s:s[e]||(s[e]={}),y=w[l]||(w[l]={});for(u in v&&(n=e),n)p=((d=!h&&b&&void 0!==b[u])?b:n)[u],f=g&&d?o(p,i):m&&"function"==typeof p?o(Function.call,p):p,b&&a(b,u,p,t&c.U),w[u]!=p&&r(w,u,f),m&&y[u]!=p&&(y[u]=p)};i.core=s,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"5eda":function(t,e,n){var i=n("5ca1"),s=n("8378"),r=n("79e5");t.exports=function(t,e){var n=(s.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*r(function(){n(1)}),"Object",a)}},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),s=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return s.call(t,e)}},"613b":function(t,e,n){var i=n("5537")("keys"),s=n("ca5a");t.exports=function(t){return i[t]||(i[t]=s(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},6762:function(t,e,n){"use strict";var i=n("5ca1"),s=n("c366")(!0);i(i.P,"Array",{includes:function(t){return s(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var i=n("626a"),s=n("be13");t.exports=function(t){return i(s(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,s;if(e&&"function"==typeof(n=t.toString)&&!i(s=n.call(t)))return s;if("function"==typeof(n=t.valueOf)&&!i(s=n.call(t)))return s;if(!e&&"function"==typeof(n=t.toString)&&!i(s=n.call(t)))return s;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var i=n("0d58"),s=n("2621"),r=n("52a7"),a=n("4bf8"),o=n("626a"),l=Object.assign;t.exports=!l||n("79e5")(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i})?function(t,e){for(var n=a(t),l=arguments.length,c=1,u=s.f,d=r.f;l>c;)for(var p,f=o(arguments[c++]),h=u?i(f).concat(u(f)):i(f),v=h.length,_=0;v>_;)d.call(f,p=h[_++])&&(n[p]=f[p]);return n}:l},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var i=n("4588"),s=Math.max,r=Math.min;t.exports=function(t,e){return(t=i(t))<0?s(t+e,0):r(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7f20":function(t,e,n){var i=n("86cc").f,s=n("69a8"),r=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!s(t=n?t:t.prototype,r)&&i(t,r,{configurable:!0,value:e})}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}}
2,"86cc":function(t,e,n){var i=n("cb7c"),s=n("c69a"),r=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=r(e,!0),i(n),s)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,s){return t.call(e,n,i,s)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),s=Array.prototype;null==s[i]&&n("32e9")(s,i,{}),t.exports=function(t){s[i][t]=!0}},"9def":function(t,e,n){var i=n("4588"),s=Math.min;t.exports=function(t){return t>0?s(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a352:function(e,n){e.exports=t},a481:function(t,e,n){"use strict";var i=n("cb7c"),s=n("4bf8"),r=n("9def"),a=n("4588"),o=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,h=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,function(t,e,n,v){return[function(i,s){var r=t(this),a=null==i?void 0:i[e];return void 0!==a?a.call(i,r,s):n.call(String(r),i,s)},function(t,e){var s=v(n,t,this,e);if(s.done)return s.value;var d=i(t),p=String(this),f="function"==typeof e;f||(e=String(e));var m=d.global;if(m){var g=d.unicode;d.lastIndex=0}for(var b=[];;){var w=l(d,p);if(null===w)break;if(b.push(w),!m)break;""===String(w[0])&&(d.lastIndex=o(p,r(d.lastIndex),g))}for(var y="",C=0,x=0;x<b.length;x++){w=b[x];for(var k=String(w[0]),S=c(u(a(w.index),p.length),0),D=[],E=1;E<w.length;E++)D.push(h(w[E]));var O=w.groups;if(f){var A=[k].concat(D,S,p);void 0!==O&&A.push(O);var T=String(e.apply(void 0,A))}else T=_(k,p,S,D,O,e);S>=C&&(y+=p.slice(C,S)+T,C=S+k.length)}return y+p.slice(C)}];function _(t,e,i,r,a,o){var l=i+t.length,c=r.length,u=f;return void 0!==a&&(a=s(a),u=p),n.call(o,u,function(n,s){var o;switch(s.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(l);case"<":o=a[s.slice(1,-1)];break;default:var u=+s;if(0===u)return n;if(u>c){var p=d(u/10);return 0===p?n:p<=c?void 0===r[p-1]?s.charAt(1):r[p-1]+s.charAt(1):n}o=r[u-1]}return void 0===o?"":o})}})},aae3:function(t,e,n){var i=n("d3f4"),s=n("2d95"),r=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[r])?!!e:"RegExp"==s(t))}},ac6a:function(t,e,n){for(var i=n("cadf"),s=n("0d58"),r=n("2aba"),a=n("7726"),o=n("32e9"),l=n("84f2"),c=n("2b4c"),u=c("iterator"),d=c("toStringTag"),p=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=s(f),v=0;v<h.length;v++){var _,m=h[v],g=f[m],b=a[m],w=b&&b.prototype;if(w&&(w[u]||o(w,u,p),w[d]||o(w,d,m),l[m]=p,g))for(_ in i)w[_]||r(w,_,i[_],!0)}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},be13:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},c366:function(t,e,n){var i=n("6821"),s=n("9def"),r=n("77f1");t.exports=function(t){return function(e,n,a){var o,l=i(e),c=s(l.length),u=r(a,c);if(t&&n!=n){for(;c>u;)if((o=l[u++])!=o)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",function(){return c}),n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r}),n.d(e,"d",function(){return l}),n("a481");var i,s,r="undefined"!=typeof window?window.console:t.console,a=/-(\w)/g,o=(i=function(t){return t.replace(a,function(t,e){return e?e.toUpperCase():""})},s=Object.create(null),function(t){return s[t]||(s[t]=i(t))});function l(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function c(t,e,n){var i=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,i)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),s=n("d53b"),r=n("84f2"),a=n("6821");t.exports=n("01f9")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,s(1)):s(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var i=n("69a8"),s=n("6821"),r=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,o=s(t),l=0,c=[];for(n in o)n!=a&&i(o,n)&&c.push(n);for(;e.length>l;
2)i(o,n=e[l++])&&(~r(c,n)||c.push(n));return c}},d2c8:function(t,e,n){var i=n("aae3"),s=n("be13");t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(s(t))}},d3f4:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(t,e,n){"use strict";var i=n("5ca1"),s=n("9def"),r=n("d2c8"),a="startsWith",o=""[a];i(i.P+i.F*n("5147")(a),"String",{startsWith:function(t){var e=r(this,t,a),n=s(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return o?o.call(e,i,n):e.slice(n,n+i.length)===i}})},f6fd:function(t,e){!function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(i){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})}(document)},f751:function(t,e,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var i=n("7726").document;t.exports=i&&i.documentElement},fb15:function(t,e,n){"use strict";var i;function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function r(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,s=!1,r=void 0;try{for(var a,o=t[Symbol.iterator]();!(i=(a=o.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){s=!0,r=t}finally{try{i||null==o.return||o.return()}finally{if(s)throw r}}return n}}(t,e)||r(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||r(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.r(e),"undefined"!=typeof window&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1])),n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d"),n("6762"),n("2fdb");var l=n("a352"),c=n.n(l),u=n("c649");function d(t,e){var n=this;this.$nextTick(function(){return n.$emit(t.toLowerCase(),e)})}function p(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),d.call(e,t,n)}}function f(t){return["transition-group","TransitionGroup"].includes(t)}function h(t,e,n){return t[n]||(e[n]?e[n]():void 0)}var v=["Start","Add","Remove","Update","End"],_=["Choose","Unchoose","Sort","Filter","Clone"],m=["Move"].concat(v,_).map(function(t){return"on"+t}),g=null,b={name:"draggable",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=function(t){if(!t||1!==t.length)return!1;
2var e=a(t,1)[0].componentOptions;return!!e&&f(e.tag)}(e);var n=function(t,e,n){var i=0,s=0,r=h(e,n,"header");r&&(i=r.length,t=t?[].concat(o(r),o(t)):o(r));var a=h(e,n,"footer");return a&&(s=a.length,t=t?[].concat(o(t),o(a)):o(a)),{children:t,headerOffset:i,footerOffset:s}}(e,this.$slots,this.$scopedSlots),i=n.children,s=n.headerOffset,r=n.footerOffset;this.headerOffset=s,this.footerOffset=r;var l=function(t,e){var n=null,i=function(t,e){n=function(t,e,n){return void 0===n||((t=t||{})[e]=n),t}(n,t,e)};if(i("attrs",Object.keys(t).filter(function(t){return"id"===t||t.startsWith("data-")}).reduce(function(e,n){return e[n]=t[n],e},{})),!e)return n;var s=e.on,r=e.props,a=e.attrs;return i("on",s),i("props",r),Object.assign(n.attrs,a),n}(this.$attrs,this.componentData);return t(this.getTag(),l,i)},created:function(){null!==this.list&&null!==this.value&&u.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&u.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&u.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};v.forEach(function(n){e["on"+n]=p.call(t,n)}),_.forEach(function(n){e["on"+n]=d.bind(t,n)});var n=Object.keys(this.$attrs).reduce(function(e,n){return e[Object(u.a)(n)]=t.$attrs[n],e},{}),i=Object.assign({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new c.a(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(u.a)(e);-1===m.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick(function(){t.visibleIndexes=function(t,e,n,i){if(!t)return[];var s=t.map(function(t){return t.elm}),r=e.length-i,a=o(e).map(function(t,e){return e>=r?s.length:s.indexOf(t)});return n?a.filter(function(t){return-1!==t}):a}(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)})},getUnderlyingVm:function(t){var e=function(t,e){return t.map(function(t){return t.elm}).indexOf(e)}(this.getChildrenNodes()||[],t);return-1===e?null:{index:e,element:this.realList[e]}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&f(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick(function(){e.$emit("change",t)})},alterList:function(t){if(this.list)t(this.list);else{var e=o(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,o(t))};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,i=this.getUnderlyingPotencialDraggableComponent(e);
2if(!i)return{component:i};var s=i.realList,r={list:s,component:i};if(e!==n&&s&&i.getUnderlyingVm){var a=i.getUnderlyingVm(n);if(a)return Object.assign(a,r)}return r},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[t].data=null;var e=this.getComponent();e.children=[],e.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),g=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(u.d)(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var i={element:e,newIndex:n};this.emitChanges({added:i})}},onDragRemove:function(t){if(Object(u.c)(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(u.d)(t.clone)},onDragUpdate:function(t){Object(u.d)(t.item),Object(u.c)(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var i={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:i})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=o(e.to.children).filter(function(t){return"none"!==t.style.display}),i=n.indexOf(e.related),s=t.component.getVmIndex(i);return-1===n.indexOf(g)&&e.willInsertAfter?s+1:s},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(t),s=this.context,r=this.computeFutureIndex(i,t);return Object.assign(s,{futureIndex:r}),n(Object.assign({},t,{relatedContext:i,draggedContext:s}),e)},onDragEnd:function(){this.computeIndexes(),g=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",b);var w=b;e.default=w}}).default},t.exports=i(n(10246))},6283:function(t){t.exports=function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){return e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},e.apply(this,arguments)}var n=4,i=.001,s=1e-7,r=10,a=11,o=1/(a-1),l="function"==typeof Float32Array;function c(t,e){return 1-3*e+3*t}function u(t,e){return 3*e-6*t}function d(t){return 3*t}function p(t,e,n){return((c(e,n)*t+u(e,n))*t+d(e))*t}function f(t,e,n){return 3*c(e,n)*t*t+2*u(e,n)*t+d(e)}function h(t,e,n,i,a){var o,l,c=0;do{(o=p(l=e+(n-e)/2,i,a)-t)>0?n=l:e=l}while(Math.abs(o)>s&&++c<r);return l}function v(t,e,i,s){for(var r=0;r<n;++r){var a=f(e,i,s);if(0===a)return e;e-=(p(e,i,s)-t)/a}return e}function _(t){return t}var m=function(t,e,n,s){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===e&&n===s)return _;for(var r=l?new Float32Array(a):new Array(a),c=0;c<a;++c)r[c]=p(c*o,t,n);function u(e){for(var s=0,l=1,c=a-1;l!==c&&r[l]<=e;++l)s+=o;--l;var u=s+(e-r[l])/(r[l+1]-r[l])*o,d=f(u,t,n);return d>=i?v(e,u,t,n):0===d?u:h(e,s,s+o,t,n)}return function(t){return 0===t?0:1===t?1:p(u(t),e,s)}},g={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},b=!1;try{var w=Object.defineProperty({},"passive",{get:function(){b=!0}});window.addEventListener("test",null,w)}catch(t){}var y={$:function(t){return"string"!=typeof t?t:document.querySelector(t)},on:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!1};e instanceof Array||(e=[e]);for(var s=0;s<e.length;s++)t.addEventListener(e[s],n,!!b&&i)},off:function(t,e,n){e instanceof Array||(e=[e]);for(var i=0;i<e.length;i++)t.removeEventListener(e[i],n)},cumulativeOffset:function(t){var e=0,n=0;do{e+=t.offsetTop||0,n+=t.offsetLeft||0,t=t.offsetParent}while(t);return{top:e,left:n}}},C=["mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],x={container:"body",duration:500,lazy:!0,easing:"ease",offset:0,force:!0,cancelable:!0,onStart:!1,onDone:!1,onCancel:!1,x:!1,y:!0};function k(t){x=e({},x,t)}var S=function(){var e,n,i,s,r,a,o,l,c,u,d,p,f,h,v,_,b,w,k,S,D,E,O,A,T,P,M,j=function(t){l&&(O=t,S=!0)};function N(t){var e=t.scrollTop;return"body"===t.tagName.toLowerCase()&&(e=e||document.documentElement.scrollTop),e}function I(t){var e=t.scrollLeft;return"body"===t.tagName.toLowerCase()&&(e=e||document.documentElement.scrollLeft),e}function L(){D=y.cumulativeOffset(n),E=y.cumulativeOffset(e),p&&(v=E.left-D.left+a,w=v-h),f&&(b=E.top-D.top+a,k=b-_)}function F(t){if(S)return z();T||(T=t),r||L(),P=t-T,M=Math.min(P/i,1),M=A(M),R(n,_+k*M,h+w*M),P<i?window.requestAnimationFrame(F):z()}function z(){S||R(n,b,v),T=!1,y.off(n,C,j),S&&d&&d(O,e),!S&&u&&u(e)}function R(t,e,n){f&&(t.scrollTop=e),p&&(t.scrollLeft=n),"body"===t.tagName.toLowerCase()&&(f&&(document.documentElement.scrollTop=e),p&&(document.documentElement.scrollLeft=n))}function B(v,D){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("object"===t(D)?E=D:"number"==typeof D&&(E.duration=D),!(e=y.$(v)))return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+v);if(n=y.$(E.container||x.container),i=E.hasOwnProperty("duration")?E.duration:x.duration,r=E.hasOwnProperty("lazy")?E.lazy:x.lazy,s=E.easing||x.easing,a=E.hasOwnProperty("offset")?E.offset:x.offset,o=E.hasOwnProperty("force")?!1!==E.force:x.force,l=E.hasOwnProperty("cancelable")?!1!==E.cancelable:x.cancelable,c=E.onStart||x.onStart,u=E.onDone||x.onDone,d=E.onCancel||x.onCancel,p=void 0===E.x?x.x:E.x,f=void 0===E.y?x.y:E.y,"function"==typeof a&&(a=a(e,n)),h=I(n),_=N(n),L(),S=!1,!o){var T="body"===n.tagName.toLowerCase()?document.documentElement.clientHeight||window.innerHeight:n.offsetHeight,P=_,M=P+T,z=b-a,R=z+e.offsetHeight;if(z>=P&&R<=M)return void(u&&u(e))}if(c&&c(e),k||w)return"string"==typeof s&&(s=g[s]||g.ease),A=m.apply(m,s),y.on(n,C,j,{passive:!0}),window.requestAnimationFrame(F),function(){O=null,S=!0};u&&u(e)}return B},D=S(),E=[];function O(t){for(var e=0;e<E.length;++e)if(E[e].el===t)return E.splice(e,1),!0;return!1}function A(t){for(var e=0;e<E.length;++e)if(E[e].el===t)return E[e]}function T(t){var e=A(t);return e||(E.push(e={el:t,binding:{}}),e)}function P(t){var e=T(this).binding;if(e.value){if(t.preventDefault(),"string"==typeof e.value)return D(e.value);D(e.value.el||e.value.element,e.value)}}var M={bind:function(t,e){T(t).binding=e,y.on(t,"click",P)},unbind:function(t){O(t),y.off(t,"click",P)},update:function(t,e){T(t).binding=e}},j={bind:M.bind,unbind:M.unbind,update:M.update,beforeMount:M.bind,unmounted:M.unbind,updated:M.update,scrollTo:D,bindings:E},N=function(t,e){e&&k(e),t.directive("scroll-to",j),(t.config.globalProperties||t.prototype).$scrollTo=j.scrollTo};return"undefined"!=typeof window&&window.Vue&&(window.VueScrollTo=j,window.VueScrollTo.setDefaults=k,window.VueScrollTo.scroller=S,window.Vue.use&&window.Vue.use(N)),j.install=N,j}()},6365:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(76798),s=n.n(i)()(function(t){return t[1]});s.push([t.id,".split .form{padding:25px}.split .form .panel.panel-form .panel-body{padding:25px 0}.split .list{bottom:0;left:80px;overflow:auto;padding:20px;position:fixed;right:45%;top:45px}@media (max-width:992px){.split .list{left:0;right:0;top:45px}}.split .list section{margin-bottom:75px}.split .details-view{background:#fff;bottom:0;overflow:auto;position:fixed;right:0;top:45px;width:45%}@media (max-width:992px){.split .details-view{left:100%;opacity:0;top:45px;transition:.15s;width:100%}.split .details-view.open{left:0;opacity:1;transition:.15s}}.split .details-view .section{padding:25px}.split .details-view .section:nth-child(2n){background:#f5f5f5}.split .details-view .section.header{background:#fff;height:190px;left:0;padding-bottom:0;position:absolute;right:0;top:0;z-index:2}.split .details-view .scroller{bottom:0;left:0;overflow:auto;position:absolute;right:0;top:165px}.split .details-view .scroller .section:last-child{padding-bottom:100%}.split.listview .details-view{opacity:0;right:-45%}.split.listview .details-view.open{box-shadow:0 0 15px rgba(0,0,0,.3);opacity:1;right:0;transition:.15s;z-index:100}",""]);const r=s},8444:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(76798),s=n.n(i)()(function(t){return t[1]});s.push([t.id,".claims-overflow[data-v-cd791dca]{max-height:300px;overflow:auto}",""]);const r=s},10246:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},r.apply(this,arguments)}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}
vendor: 5,542 bytes, line 2
2))),i.forEach(function(e){s(t,e,n[e])})}return t}function o(t,e){if(null==t)return{};var n,i,s=function(t,e){if(null==t)return{};var n,i,s={},r=Object.keys(t);for(i=0;i<r.length;i++)n=r[i],e.indexOf(n)>=0||(s[n]=t[n]);return s}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i<r.length;i++)n=r[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(s[n]=t[n])}return s}function l(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.r(e),n.d(e,{MultiDrag:()=>be,Sortable:()=>Bt,Swap:()=>le,default:()=>Ce});function c(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),d=c(/Edge/i),p=c(/firefox/i),f=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),h=c(/iP(ad|od|hone)/i),v=c(/chrome/i)&&c(/android/i),_={capture:!1,passive:!1};function m(t,e,n){t.addEventListener(e,n,!u&&_)}function g(t,e,n){t.removeEventListener(e,n,!u&&_)}function b(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function w(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function y(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&b(t,e):b(t,e))||i&&t===n)return t;if(t===n)break}while(t=w(t))}return null}var C,x=/\s+/g;function k(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(x," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(x," ")}}function S(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||-1!==e.indexOf("webkit")||(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function D(t,e){var n="";if("string"==typeof t)n=t;else do{var i=S(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function E(t,e,n){if(t){var i=t.getElementsByTagName(e),s=0,r=i.length;if(n)for(;s<r;s++)n(i[s],s);return i}return[]}function O(){var t=document.scrollingElement;return t||document.documentElement}function A(t,e,n,i,s){if(t.getBoundingClientRect||t===window){var r,a,o,l,c,d,p;if(t!==window&&t!==O()?(a=(r=t.getBoundingClientRect()).top,o=r.left,l=r.bottom,c=r.right,d=r.height,p=r.width):(a=0,o=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,p=window.innerWidth),(e||n)&&t!==window&&(s=s||t.parentNode,!u))do{if(s&&s.getBoundingClientRect&&("none"!==S(s,"transform")||n&&"static"!==S(s,"position"))){var f=s.getBoundingClientRect();a-=f.top+parseInt(S(s,"border-top-width")),o-=f.left+parseInt(S(s,"border-left-width")),l=a+r.height,c=o+r.width;break}}while(s=s.parentNode);if(i&&t!==window){var h=D(s||t),v=h&&h.a,_=h&&h.d;h&&(l=(a/=_)+(d/=_),c=(o/=v)+(p/=v))}return{top:a,left:o,bottom:l,right:c,width:p,height:d}}}function T(t,e,n){for(var i=I(t,!0),s=A(t)[e];i;){var r=A(i)[n];if(!("top"===n||"left"===n?s>=r:s<=r))return i;if(i===O())break;i=I(i,!1)}return!1}function P(t,e,n){for(var i=0,s=0,r=t.children;s<r.length;){if("none"!==r[s].style.display&&r[s]!==Bt.ghost&&r[s]!==Bt.dragged&&y(r[s],n.draggable,t,!1)){if(i===e)return r[s];i++}s++}return null}function M(t,e){for(var n=t.lastElementChild;n&&(n===Bt.ghost||"none"===S(n,"display")||e&&!b(n,e));)n=n.previousElementSibling;return n||null}function j(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Bt.clone||e&&!b(t,e)||n++;return n}function N(t){var e=0,n=0,i=O();if(t)do{var s=D(t),r=s.a,a=s.d;e+=t.scrollLeft*r,n+=t.scrollTop*a}while(t!==i&&(t=t.parentNode));return[e,n]}function I(t,e){if(!t||!t.getBoundingClientRect)return O();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var s=S(n);if(n.clientWidth<n.scrollWidth&&("auto"==s.overflowX||"scroll"==s.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==s.overflowY||"scroll"==s.overflowY)){if(!n.getBoundingClientRect||n===document.body)return O();if(i||e)return n;i=!0}}}while(n=n.parentNode);return O()}function L(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function F(t,e){return function(){if(!C){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),C=setTimeout(function(){C=void 0},e)}}}function z(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function R(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function B(t,e){S(t,"position","absolute"),S(t,"top",e.top),S(t,"left",e.left),S(t,"width",e.width),S(t,"height",e.height)}function $(t){S(t,"position",""),S(t,"top",""),S(t,"left",""),S(t,"width",""),S(t,"height","")}var W="Sortable"+(new Date).getTime();function q(){var t,e=[];return{captureAnimationState:function(){(e=[],this.options.animation)&&[].slice.call(this.el.children).forEac
vendor: 4,917 bytes, line 2
2h(function(t){if("none"!==S(t,"display")&&t!==Bt.ghost){e.push({target:t,rect:A(t)});var n=a({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=D(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}})},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof n&&n());var s=!1,r=0;e.forEach(function(t){var e=0,n=t.target,a=n.fromRect,o=A(n),l=n.prevFromRect,c=n.prevToRect,u=t.rect,d=D(n,!0);d&&(o.top-=d.f,o.left-=d.e),n.toRect=o,n.thisAnimationDuration&&L(l,o)&&!L(a,o)&&(u.top-o.top)/(u.left-o.left)===(a.top-o.top)/(a.left-o.left)&&(e=function(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}(u,l,c,i.options)),L(o,a)||(n.prevFromRect=a,n.prevToRect=o,e||(e=i.options.animation),i.animate(n,u,o,e)),e&&(s=!0,r=Math.max(r,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout(function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null},e),n.thisAnimationDuration=e)}),clearTimeout(t),s?t=setTimeout(function(){"function"==typeof n&&n()},r):"function"==typeof n&&n(),e=[]},animate:function(t,e,n,i){if(i){S(t,"transition",""),S(t,"transform","");var s=D(this.el),r=s&&s.a,a=s&&s.d,o=(e.left-n.left)/(r||1),l=(e.top-n.top)/(a||1);t.animatingX=!!o,t.animatingY=!!l,S(t,"transform","translate3d("+o+"px,"+l+"px,0)"),function(t){t.offsetWidth}(t),S(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),S(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout(function(){S(t,"transition",""),S(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1},i)}}}}var V=[],G={initializeByDefault:!0},X={mount:function(t){for(var e in G)G.hasOwnProperty(e)&&!(e in t)&&(t[e]=G[e]);V.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var s=t+"Global";V.forEach(function(i){e[i.pluginName]&&(e[i.pluginName][s]&&e[i.pluginName][s](a({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](a({sortable:e},n)))})},initializePlugins:function(t,e,n,i){for(var s in V.forEach(function(i){var s=i.pluginName;if(t.options[s]||i.initializeByDefault){var a=new i(t,e,t.options);a.sortable=t,a.options=t.options,t[s]=a,r(n,a.defaults)}}),t.options)if(t.options.hasOwnProperty(s)){var a=this.modifyOption(t,s,t.options[s]);void 0!==a&&(t.options[s]=a)}},getEventProperties:function(t,e){var n={};return V.forEach(function(i){"function"==typeof i.eventProperties&&r(n,i.eventProperties.call(e[i.pluginName],t))}),n},modifyOption:function(t,e,n){var i;return V.forEach(function(s){t[s.pluginName]&&s.optionListeners&&"function"==typeof s.optionListeners[e]&&(i=s.optionListeners[e].call(t[s.pluginName],n))}),i}};function H(t){var e=t.sortable,n=t.rootEl,i=t.name,s=t.targetEl,r=t.cloneEl,o=t.toEl,l=t.fromEl,c=t.oldIndex,p=t.newIndex,f=t.oldDraggableIndex,h=t.newDraggableIndex,v=t.originalEvent,_=t.putSortable,m=t.extraEventProperties;if(e=e||n&&n[W]){var g,b=e.options,w="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||u||d?(g=document.createEvent("Event")).initEvent(i,!0,!0):g=new CustomEvent(i,{bubbles:!0,cancelable:!0}),g.to=o||n,g.from=l||n,g.item=s||n,g.clone=r,g.oldIndex=c,g.newIndex=p,g.oldDraggableIndex=f,g.newDraggableIndex=h,g.originalEvent=v,g.pullMode=_?_.lastPutMode:void 0;var y=a({},m,X.getEventProperties(i,e));for(var C in y)g[C]=y[C];n&&n.dispatchEvent(g),b[w]&&b[w].call(e,g)}}var U=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,s=o(n,["evt"]);X.pluginEvent.bind(Bt)(t,e,a({dragEl:K,parentEl:Z,ghostEl:J,rootEl:Q,nextEl:tt,lastDownEl:et,cloneEl:nt,cloneHidden:it,dragStarted:_t,putSortable:ct,activeSortable:Bt.active,originalEvent:i,oldIndex:st,oldDraggableIndex:at,newIndex:rt,newDraggableIndex:ot,hideGhostForTarget:Lt,unhideGhostForTarget:Ft,cloneNowHidden:function(){it=!0},cloneNowShown:function(){it=!1},dispatchSortableEvent:function(t){Y({sortable:e,name:t,originalEvent:i})}},s))};function Y(t){H(a({putSortable:ct,cloneEl:nt,targetEl:K,rootEl:Q,oldIndex:st,oldDraggableIndex:at,newIndex:rt,newDraggableIndex:ot},t))}var K,Z,J,Q,tt,et,nt,it,st,rt,at,ot,lt,ct,ut,dt,pt,ft,ht,vt,_t,mt,gt,bt,wt,yt=!1,Ct=!1,xt=[],kt=!1,St=!1,Dt=[],Et=!1,Ot=[],At="undefined"!=typeof document,Tt=h,Pt=d||u?"cssFloat":"float",Mt=At&&!v&&!h&&"draggable"in document.createElement("div"),jt=function(){if(At){if(u)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}
vendor: 5,077 bytes, line 2
2(),Nt=function(t,e){var n=S(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),s=P(t,0,e),r=P(t,1,e),a=s&&S(s),o=r&&S(r),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+A(s).width,c=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+A(r).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!r||"both"!==o.clear&&o.clear!==u?"horizontal":"vertical"}return s&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=i&&"none"===n[Pt]||r&&"none"===n[Pt]&&l+c>i)?"vertical":"horizontal"},It=function(t){function e(t,n){return function(i,s,r,a){var o=i.options.group.name&&s.options.group.name&&i.options.group.name===s.options.group.name;if(null==t&&(n||o))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(i,s,r,a),n)(i,s,r,a);var l=(n?i:s).options.group.name;return!0===t||"string"==typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},s=t.group;s&&"object"==i(s)||(s={name:s}),n.name=s.name,n.checkPull=e(s.pull,!0),n.checkPut=e(s.put),n.revertClone=s.revertClone,t.group=n},Lt=function(){!jt&&J&&S(J,"display","none")},Ft=function(){!jt&&J&&S(J,"display","")};At&&document.addEventListener("click",function(t){if(Ct)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Ct=!1,!1},!0);var zt=function(t){if(K){t=t.touches?t.touches[0]:t;var e=(s=t.clientX,r=t.clientY,xt.some(function(t){if(!M(t)){var e=A(t),n=t[W].options.emptyInsertThreshold,i=s>=e.left-n&&s<=e.right+n,o=r>=e.top-n&&r<=e.bottom+n;return n&&i&&o?a=t:void 0}}),a);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[W]._onDragOver(n)}}var s,r,a},Rt=function(t){K&&K.parentNode[W]._isOutsideThisEl(t.target)};function Bt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=r({},e),t[W]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Nt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Bt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in X.initializePlugins(this,t,n),n)!(i in e)&&(e[i]=n[i]);for(var s in It(e),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!e.forceFallback&&Mt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?m(t,"pointerdown",this._onTapStart):(m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),xt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),r(this,q())}function $t(t,e,n,i,s,r,a,o){var l,c,p=t[W],f=p.options.onMove;return!window.CustomEvent||u||d?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=i,l.related=s||e,l.relatedRect=r||A(e),l.willInsertAfter=o,l.originalEvent=a,t.dispatchEvent(l),f&&(c=f.call(p,l,a)),c}function Wt(t){t.draggable=!1}function qt(){Et=!1}function Vt(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function Gt(t){return setTimeout(t,0)}function Xt(t){return clearTimeout(t)}Bt.prototype={constructor:Bt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(mt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,K):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,s=i.preventOnFilter,r=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,o=(a||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||o,c=i.filter;if(function(t){Ot.length=0;var e=t.getElementsByTagName("input"),n=e.length;for(;n--;){var i=e[n];i.checked&&Ot.push(i)}}(n),!K&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||i.disabled||l.isContentEditable||(o=y(o,i.draggable,n,!1))&&o.animated||et===o)
vendor: 6,251 bytes, line 2
2){if(st=j(o),at=j(o,i.draggable),"function"==typeof c){if(c.call(this,t,o,this))return Y({sortable:e,rootEl:l,name:"filter",targetEl:o,toEl:n,fromEl:n}),U("filter",e,{evt:t}),void(s&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some(function(i){if(i=y(l,i.trim(),n,!1))return Y({sortable:e,rootEl:i,name:"filter",targetEl:o,fromEl:n,toEl:n}),U("filter",e,{evt:t}),!0})))return void(s&&t.cancelable&&t.preventDefault());i.handle&&!y(l,i.handle,n,!1)||this._prepareDragStart(t,a,o)}}},_prepareDragStart:function(t,e,n){var i,s=this,r=s.el,a=s.options,o=r.ownerDocument;if(n&&!K&&n.parentNode===r){var l=A(n);if(Q=r,Z=(K=n).parentNode,tt=K.nextSibling,et=n,lt=a.group,Bt.dragged=K,ut={target:K,clientX:(e||t).clientX,clientY:(e||t).clientY},ht=ut.clientX-l.left,vt=ut.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,K.style["will-change"]="all",i=function(){U("delayEnded",s,{evt:t}),Bt.eventCanceled?s._onDrop():(s._disableDelayedDragEvents(),!p&&s.nativeDraggable&&(K.draggable=!0),s._triggerDragStart(t,e),Y({sortable:s,name:"choose",originalEvent:t}),k(K,a.chosenClass,!0))},a.ignore.split(",").forEach(function(t){E(K,t.trim(),Wt)}),m(o,"dragover",zt),m(o,"mousemove",zt),m(o,"touchmove",zt),m(o,"mouseup",s._onDrop),m(o,"touchend",s._onDrop),m(o,"touchcancel",s._onDrop),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,K.draggable=!0),U("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!e||this.nativeDraggable&&(d||u))i();else{if(Bt.eventCanceled)return void this._onDrop();m(o,"mouseup",s._disableDelayedDrag),m(o,"touchend",s._disableDelayedDrag),m(o,"touchcancel",s._disableDelayedDrag),m(o,"mousemove",s._delayedDragTouchMoveHandler),m(o,"touchmove",s._delayedDragTouchMoveHandler),a.supportPointer&&m(o,"pointermove",s._delayedDragTouchMoveHandler),s._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){K&&Wt(K),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;g(t,"mouseup",this._disableDelayedDrag),g(t,"touchend",this._disableDelayedDrag),g(t,"touchcancel",this._disableDelayedDrag),g(t,"mousemove",this._delayedDragTouchMoveHandler),g(t,"touchmove",this._delayedDragTouchMoveHandler),g(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?m(document,"pointermove",this._onTouchMove):m(document,e?"touchmove":"mousemove",this._onTouchMove):(m(K,"dragend",this),m(Q,"dragstart",this._onDragStart));try{document.selection?Gt(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(yt=!1,Q&&K){U("dragStarted",this,{evt:e}),this.nativeDraggable&&m(document,"dragover",Rt);var n=this.options;!t&&k(K,n.dragClass,!1),k(K,n.ghostClass,!0),Bt.active=this,t&&this._appendGhost(),Y({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(dt){this._lastX=dt.clientX,this._lastY=dt.clientY,Lt();for(var t=document.elementFromPoint(dt.clientX,dt.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(dt.clientX,dt.clientY))!==e;)e=t;if(K.parentNode[W]._isOutsideThisEl(t),e)do{if(e[W]){if(e[W]._onDragOver({clientX:dt.clientX,clientY:dt.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Ft()}},_onTouchMove:function(t){if(ut){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,s=t.touches?t.touches[0]:t,r=J&&D(J,!0),a=J&&r&&r.a,o=J&&r&&r.d,l=Tt&&wt&&N(wt),c=(s.clientX-ut.clientX+i.x)/(a||1)+(l?l[0]-Dt[0]:0)/(a||1),u=(s.clientY-ut.clientY+i.y)/(o||1)+(l?l[1]-Dt[1]:0)/(o||1);if(!Bt.active&&!yt){if(n&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(J){r?(r.e+=c-(pt||0),r.f+=u-(ft||0)):r={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");S(J,"webkitTransform",d),S(J,"mozTransform",d),S(J,"msTransform",d),S(J,"transform",d),pt=c,ft=u,dt=s}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!J){var t=this.options.fallbackOnBody?document.body:Q,e=A(K,!0,Tt,!0,t),n=this.options;if(Tt){for(wt=t;"static"===S(wt,"position")&&"none"===S(wt,"transform")&&wt!==document;)wt=wt.parentNode;wt!==document.body&&wt!==document.documentElement?(wt===document&&(wt=O()),e.top+=wt.scrollTop,e.left+=wt.scrollLeft):wt=O(),Dt=N(wt)}k(J=K.cloneNode(!0),n.ghostClass,!1),k(J,n.fallbackClass,!0),k(J,n.dragClass,!0),S(J,"transition",""),S(J,"transform",""),S(J,"box-sizing","border-box"),S(J,"margin",0),S(J,"top",e.top),S(J,"left",e.left),S(J,"width",e.width),S(J,"height",e.height),S(J,"opacity","0.8"),S(J,"position",Tt?"absolute":"fixed"),S(J,"zIndex","100000"),S(J,"pointerEvents","none"),Bt.ghost=J,t.appendChild(J),S(J,"transform-origin",ht/parseInt(J.style.width)*100+"% "+vt/parseInt(J.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,s=n.options;U("dragStart",this,{evt:t}),Bt.eventCanceled?this._onDrop():(U("setupClone",this),Bt.eventCanceled||((nt=R(K)).draggable=!1,nt.style["will-change"]="",this._hideClone(),k(nt,this.options.chosenClass,!1),Bt.clone=nt),n.cloneId=Gt(function(){U("clone",n),Bt.eventCanceled||(n.options.removeCloneOnHide||Q.insertBefore(nt,K),n._hideClone(),Y({sortable:n,name:"clone"}))}),!e&&k(K,s.dragClass,!0),e?(Ct=!0,n._loopId=setInterval(n._emulateDragOver,50)):(g(document,"mouseup",n._onDrop),g(document,"touchend",n._onDrop),g(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",s.setData&&s.setData.call(n,i,K)),m(document,"drop",n),S(K,"transform","translateZ(0)")),yt=!0,n._dragStartId=Gt(n._dragStarted.bind(n,e,t)),m(document,"selectstart",n),_t=!0,f&&S(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,s,r=this.el,o=t.target,l=this.options,c=l.group,u=Bt.active,d=lt===c,p=l.s
vendor: 3,379 bytes, line 2
2ort,f=ct||u,h=this,v=!1;if(!Et){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),o=y(o,l.draggable,r,!0),L("dragOver"),Bt.eventCanceled)return v;if(K.contains(t.target)||o.animated&&o.animatingX&&o.animatingY||h._ignoreWhileAnimating===o)return R(!1);if(Ct=!1,u&&!l.disabled&&(d?p||(i=!Q.contains(K)):ct===this||(this.lastPutMode=lt.checkPull(this,u,K,t))&&c.checkPut(this,u,K,t))){if(s="vertical"===this._getDirection(t,o),e=A(K),L("dragOverValid"),Bt.eventCanceled)return v;if(i)return Z=Q,F(),this._hideClone(),L("revert"),Bt.eventCanceled||(tt?Q.insertBefore(K,tt):Q.appendChild(K)),R(!0);var _=M(r,l.draggable);if(!_||function(t,e,n){var i=A(M(n.el,n.options.draggable)),s=10;return e?t.clientX>i.right+s||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+s}(t,s,this)&&!_.animated){if(_===K)return R(!1);if(_&&r===t.target&&(o=_),o&&(n=A(o)),!1!==$t(Q,r,K,e,o,n,t,!!o))return F(),r.appendChild(K),Z=r,B(),R(!0)}else if(o.parentNode===r){n=A(o);var m,g,b,w=K.parentNode!==r,C=!function(t,e,n){var i=n?t.left:t.top,s=n?t.right:t.bottom,r=n?t.width:t.height,a=n?e.left:e.top,o=n?e.right:e.bottom,l=n?e.width:e.height;return i===a||s===o||i+r/2===a+l/2}(K.animated&&K.toRect||e,o.animated&&o.toRect||n,s),x=s?"top":"left",D=T(o,"top","top")||T(K,"top","top"),E=D?D.scrollTop:void 0;if(mt!==o&&(g=n[x],kt=!1,St=!C&&l.invertSwap||w),m=function(t,e,n,i,s,r,a,o){var l=i?t.clientY:t.clientX,c=i?n.height:n.width,u=i?n.top:n.left,d=i?n.bottom:n.right,p=!1;if(!a)if(o&&bt<c*s){if(!kt&&(1===gt?l>u+c*r/2:l<d-c*r/2)&&(kt=!0),kt)p=!0;else if(1===gt?l<u+bt:l>d-bt)return-gt}else if(l>u+c*(1-s)/2&&l<d-c*(1-s)/2)return function(t){return j(K)<j(t)?1:-1}(e);if((p=p||a)&&(l<u+c*r/2||l>d-c*r/2))return l>u+c/2?1:-1;return 0}(t,o,n,s,C?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,St,mt===o),0!==m){var O=j(K);do{O-=m,b=Z.children[O]}while(b&&("none"===S(b,"display")||b===J))}if(0===m||b===o)return R(!1);mt=o,gt=m;var P=o.nextElementSibling,N=!1,I=$t(Q,r,K,e,o,n,t,N=1===m);if(!1!==I)return 1!==I&&-1!==I||(N=1===I),Et=!0,setTimeout(qt,30),F(),N&&!P?r.appendChild(K):o.parentNode.insertBefore(K,N?P:o),D&&z(D,0,E-D.scrollTop),Z=K.parentNode,void 0===g||St||(bt=Math.abs(g-A(o)[x])),B(),R(!0)}if(r.contains(K))return R(!1)}return!1}function L(l,c){U(l,h,a({evt:t,isOwner:d,axis:s?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:p,fromSortable:f,target:o,completed:R,onMove:function(n,i){return $t(Q,r,K,e,n,A(n),t,i)},changed:B},c))}function F(){L("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function R(e){return L("dragOverCompleted",{insertion:e}),e&&(d?u._hideClone():u._showClone(h),h!==f&&(k(K,ct?ct.options.ghostClass:u.options.ghostClass,!1),k(K,l.ghostClass,!0)),ct!==h&&h!==Bt.active?ct=h:h===Bt.active&&ct&&(ct=null),f===h&&(h._ignoreWhileAnimating=o),h.animateAll(function(){L("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(o===K&&!K.animated||o===r&&!o.animated)&&(mt=null),l.dragoverBubble||t.rootEl||o===document||(K.parentNode[W]._isOutsideThisEl(t.target),!e&&zt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),v=!0}function B(){rt=j(K),ot=j(K,l.draggable),Y({sortable:h,name:"change",toEl:r,
vendor: 4,776 bytes, line 2
2newIndex:rt,newDraggableIndex:ot,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){g(document,"mousemove",this._onTouchMove),g(document,"touchmove",this._onTouchMove),g(document,"pointermove",this._onTouchMove),g(document,"dragover",zt),g(document,"mousemove",zt),g(document,"touchmove",zt)},_offUpEvents:function(){var t=this.el.ownerDocument;g(t,"mouseup",this._onDrop),g(t,"touchend",this._onDrop),g(t,"pointerup",this._onDrop),g(t,"touchcancel",this._onDrop),g(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;rt=j(K),ot=j(K,n.draggable),U("drop",this,{evt:t}),Z=K&&K.parentNode,rt=j(K),ot=j(K,n.draggable),Bt.eventCanceled||(yt=!1,St=!1,kt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Xt(this.cloneId),Xt(this._dragStartId),this.nativeDraggable&&(g(document,"drop",this),g(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&S(document.body,"user-select",""),S(K,"transform",""),t&&(_t&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(Q===Z||ct&&"clone"!==ct.lastPutMode)&&nt&&nt.parentNode&&nt.parentNode.removeChild(nt),K&&(this.nativeDraggable&&g(K,"dragend",this),Wt(K),K.style["will-change"]="",_t&&!yt&&k(K,ct?ct.options.ghostClass:this.options.ghostClass,!1),k(K,this.options.chosenClass,!1),Y({sortable:this,name:"unchoose",toEl:Z,newIndex:null,newDraggableIndex:null,originalEvent:t}),Q!==Z?(rt>=0&&(Y({rootEl:Z,name:"add",toEl:Z,fromEl:Q,originalEvent:t}),Y({sortable:this,name:"remove",toEl:Z,originalEvent:t}),Y({rootEl:Z,name:"sort",toEl:Z,fromEl:Q,originalEvent:t}),Y({sortable:this,name:"sort",toEl:Z,originalEvent:t})),ct&&ct.save()):rt!==st&&rt>=0&&(Y({sortable:this,name:"update",toEl:Z,originalEvent:t}),Y({sortable:this,name:"sort",toEl:Z,originalEvent:t})),Bt.active&&(null!=rt&&-1!==rt||(rt=st,ot=at),Y({sortable:this,name:"end",toEl:Z,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){U("nulling",this),Q=K=Z=J=tt=nt=et=it=ut=dt=_t=rt=ot=st=at=mt=gt=ct=lt=Bt.dragged=Bt.ghost=Bt.clone=Bt.active=null,Ot.forEach(function(t){t.checked=!0}),Ot.length=pt=ft=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":K&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move");t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,s=n.length,r=this.options;i<s;i++)y(t=n[i],r.draggable,this.el,!1)&&e.push(t.getAttribute(r.dataIdAttr)||Vt(t));return e},sort:function(t){var e={},n=this.el;this.toArray().forEach(function(t,i){var s=n.children[i];y(s,this.options.draggable,n,!1)&&(e[t]=s)},this),t.forEach(function(t){e[t]&&(n.removeChild(e[t]),n.appendChild(e[t]))})},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return y(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=X.modifyOption(this,t,e);n[t]=void 0!==i?i:e,"group"===t&&It(n)},destroy:function(){U("destroy",this);var t=this.el;t[W]=null,g(t,"mousedown",this._onTapStart),g(t,"touchstart",this._onTapStart),g(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(g(t,"dragover",this),g(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),xt.splice(xt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!it){if(U("hideClone",this),Bt.eventCanceled)return;S(nt,"display","none"),this.options.removeCloneOnHide&&nt.parentNode&&nt.parentNode.removeChild(nt),it=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(it){if(U("showClone",this),Bt.eventCanceled)return;Q.contains(K)&&!this.options.group.revertClone?Q.insertBefore(nt,K):tt?Q.insertBefore(nt,tt):Q.appendChild(nt),this.options.group.revertClone&&this.animate(K,nt),S(nt,"display",""),it=!1}}else this._hideClone()}},At&&m(document,"touchmove",function(t){(Bt.active||yt)&&t.cancelable&&t.preventDefault()}),Bt.utils={on:m,off:g,css:S,find:E,is:function(t,e){return!!y(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},throttle:F,closest:y,toggleClass:k,clone:R,index:j,nextTick:Gt,cancelNextTick:Xt,detectDirection:Nt,getChild:P},Bt.get=function(t){return t[W]},Bt.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach(function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Bt.utils=a({}
2,Bt.utils,t.utils)),X.mount(t)})},Bt.create=function(t,e){return new Bt(t,e)},Bt.version="1.10.2";var Ht,Ut,Yt,Kt,Zt,Jt,Qt=[],te=!1;function ee(){Qt.forEach(function(t){clearInterval(t.pid)}),Qt=[]}function ne(){clearInterval(Jt)}var ie,se=F(function(t,e,n,i){if(e.scroll){var s,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,o=e.scrollSensitivity,l=e.scrollSpeed,c=O(),u=!1;Ut!==n&&(Ut=n,ee(),Ht=e.scroll,s=e.scrollFn,!0===Ht&&(Ht=I(n,!0)));var d=0,p=Ht;do{var f=p,h=A(f),v=h.top,_=h.bottom,m=h.left,g=h.right,b=h.width,w=h.height,y=void 0,C=void 0,x=f.scrollWidth,k=f.scrollHeight,D=S(f),E=f.scrollLeft,T=f.scrollTop;f===c?(y=b<x&&("auto"===D.overflowX||"scroll"===D.overflowX||"visible"===D.overflowX),C=w<k&&("auto"===D.overflowY||"scroll"===D.overflowY||"visible"===D.overflowY)):(y=b<x&&("auto"===D.overflowX||"scroll"===D.overflowX),C=w<k&&("auto"===D.overflowY||"scroll"===D.overflowY));var P=y&&(Math.abs(g-r)<=o&&E+b<x)-(Math.abs(m-r)<=o&&!!E),M=C&&(Math.abs(_-a)<=o&&T+w<k)-(Math.abs(v-a)<=o&&!!T);if(!Qt[d])for(var j=0;j<=d;j++)Qt[j]||(Qt[j]={});Qt[d].vx==P&&Qt[d].vy==M&&Qt[d].el===f||(Qt[d].el=f,Qt[d].vx=P,Qt[d].vy=M,clearInterval(Qt[d].pid),0==P&&0==M||(u=!0,Qt[d].pid=setInterval(function(){i&&0===this.layer&&Bt.active._onTouchMove(Zt);var e=Qt[this.layer].vy?Qt[this.layer].vy*l:0,n=Qt[this.layer].vx?Qt[this.layer].vx*l:0;"function"==typeof s&&"continue"!==s.call(Bt.dragged.parentNode[W],n,e,t,Zt,Qt[this.layer].el)||z(Qt[this.layer].el,n,e)}.bind({layer:d}),24))),d++}while(e.bubbleScroll&&p!==c&&(p=I(p,!1)));te=u}},30),re=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,s=t.activeSortable,r=t.dispatchSortableEvent,a=t.hideGhostForTarget,o=t.unhideGhostForTarget;if(e){var l=n||s;a();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);o(),l&&!l.el.contains(u)&&(r("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function ae(){}function oe(){}function le(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;ie=e},dragOverValid:function(t){var e=t.completed,n=t.target,i=t.onMove,s=t.activeSortable,r=t.changed,a=t.cancel;if(s.options.swap){var o=this.sortable.el,l=this.options;if(n&&n!==o){var c=ie;!1!==i(n)?(k(n,l.swapClass,!0),ie=n):ie=null,c&&c!==ie&&k(c,l.swapClass,!1)}r(),e(!0),a()}},drop:function(t){var e=t.activeSortable,n=t.putSortable,i=t.dragEl,s=n||this.sortable,r=this.options;ie&&k(ie,r.swapClass,!1),ie&&(r.swap||n&&n.options.swap)&&i!==ie&&(s.captureAnimationState(),s!==e&&e.captureAnimationState(),function(t,e){var n,i,s=t.parentNode,r=e.parentNode;if(!s||!r||s.isEqualNode(e)||r.isEqualNode(t))return;n=j(t),i=j(e),s.isEqualNode(r)&&n<i&&i++;s.insertBefore(e,s.children[n]),r.insertBefore(t,r.children[i])}(i,ie),s.animateAll(),s!==e&&e.animateAll())},nulling:function(){ie=null}},r(t,{pluginName:"swap",eventProperties:function(){return{swapItem:ie}}})}ae.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=P(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:re},r(ae,{pluginName:"revertOnSpill"}),oe.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:re},r(oe,{pluginName:"removeOnSpill"});var ce,ue,de,pe,fe,he=[],ve=[],_e=!1,me=!1,ge=!1;function be(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?m(document,"pointerup",this._deselectMultiDrag):(m(document,"mouseup",this._deselectMultiDrag),m(document,"touchend",this._deselectMultiDrag)),m(document,"keydown",this._checkKeyDown),m(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,
vendor: 4,619 bytes, line 2
2setData:function(e,n){var i="";he.length&&ue===t?he.forEach(function(t,e){i+=(e?", ":"")+t.textContent}):i=n.textContent,e.setData("Text",i)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;de=e},delayEnded:function(){this.isMultiDrag=~he.indexOf(de)},setupClone:function(t){var e=t.sortable,n=t.cancel;if(this.isMultiDrag){for(var i=0;i<he.length;i++)ve.push(R(he[i])),ve[i].sortableIndex=he[i].sortableIndex,ve[i].draggable=!1,ve[i].style["will-change"]="",k(ve[i],this.options.selectedClass,!1),he[i]===de&&k(ve[i],this.options.chosenClass,!1);e._hideClone(),n()}},clone:function(t){var e=t.sortable,n=t.rootEl,i=t.dispatchSortableEvent,s=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||he.length&&ue===e&&(we(!0,n),i("clone"),s()))},showClone:function(t){var e=t.cloneNowShown,n=t.rootEl,i=t.cancel;this.isMultiDrag&&(we(!1,n),ve.forEach(function(t){S(t,"display","")}),e(),fe=!1,i())},hideClone:function(t){var e=this,n=(t.sortable,t.cloneNowHidden),i=t.cancel;this.isMultiDrag&&(ve.forEach(function(t){S(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),fe=!0,i())},dragStartGlobal:function(t){t.sortable;!this.isMultiDrag&&ue&&ue.multiDrag._deselectMultiDrag(),he.forEach(function(t){t.sortableIndex=j(t)}),he=he.sort(function(t,e){return t.sortableIndex-e.sortableIndex}),ge=!0},dragStarted:function(t){var e=this,n=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){he.forEach(function(t){t!==de&&S(t,"position","absolute")});var i=A(de,!1,!0,!0);he.forEach(function(t){t!==de&&B(t,i)}),me=!0,_e=!0}n.animateAll(function(){me=!1,_e=!1,e.options.animation&&he.forEach(function(t){$(t)}),e.options.sort&&ye()})}},dragOver:function(t){var e=t.target,n=t.completed,i=t.cancel;me&&~he.indexOf(e)&&(n(!1),i())},revert:function(t){var e=t.fromSortable,n=t.rootEl,i=t.sortable,s=t.dragRect;he.length>1&&(he.forEach(function(t){i.addAnimationState({target:t,rect:me?A(t):s}),$(t),t.fromRect=s,e.removeAnimationState(t)}),me=!1,function(t,e){he.forEach(function(n,i){var s=e.children[n.sortableIndex+(t?Number(i):0)];s?e.insertBefore(n,s):e.appendChild(n)})}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,i=t.insertion,s=t.activeSortable,r=t.parentEl,a=t.putSortable,o=this.options;if(i){if(n&&s._hideClone(),_e=!1,o.animation&&he.length>1&&(me||!n&&!s.options.sort&&!a)){var l=A(de,!1,!0,!0);he.forEach(function(t){t!==de&&(B(t,l),r.appendChild(t))}),me=!0}if(!n)if(me||ye(),he.length>1){var c=fe;s._showClone(e),s.options.animation&&!fe&&c&&ve.forEach(function(t){s.addAnimationState({target:t,rect:pe}),t.fromRect=pe,t.thisAnimationDuration=null})}else s._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,i=t.activeSortable;if(he.forEach(function(t){t.thisAnimationDuration=null}),i.options.animation&&!n&&i.multiDrag.isMultiDrag){pe=r({},e);var s=D(de,!0);pe.top-=s.f,pe.left-=s.e}},dragOverAnimationComplete:function(){me&&(me=!1,ye())},drop:function(t){var e=t.originalEvent,n=t.rootEl,i=t.parentEl,s=t.sortable,r=t.dispatchSortableEvent,a=t.oldIndex,o=t.putSortable,l=o||this.sortable;if(e){var c=this.options,u=i.children;if(!ge)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),k(de,c.selectedClass,!~he.indexOf(de)),~he.indexOf(de))he.splice(he.indexOf(de),1),ce=null,H({sortable:s,rootEl:n,name:"deselect",targetEl:de,originalEvt:e});else{if(he.push(de),H({sortable:s,rootEl:n,name:"select",targetEl:de,originalEvt:e}),e.shiftKey&&ce&&s.el.contains(ce)){var d,p,f=j(ce),h=j(de);if(~f&&~h&&f!==h)for(h>f?(p=f,d=h):(p=h,d=f+1);p<d;p++)~he.indexOf(u[p])||(k(u[p],c.selectedClass,!0),he.push(u[p]),H({sortable:s,rootEl:n,name:"select",targetEl:u[p],originalEvt:e}))}else ce=de;ue=l}if(ge&&this.isMultiDrag){if((i[W].options.sort||i!==n)&&he.length>1){var v=A(de),_=j(de,":not(."+this.options.selectedClass+")");if(!_e&&c.animation&&(de.thisAnimationDuration=null),l.captureAnimationState(),!_e&&(c.animation&&(de.fromRect=v,he.forEach(function(t){if(t.thisAnimationDuration=null,t!==de){var e=me?A(t):v;t.fromRect=e,l.addAnimationState({target:t,rect:e})}})),ye(),he.forEach(function(t){u[_]?i.insertBefore(t,u[_]):i.appendChild(t),_++}),a===j(de))){var m=!1;he.forEach(function(t){t.sortableIndex===j(t)||(m=!0)}),m&&r("update")}he.forEach(function(t){$(t)}),l.animateAll()}ue=l}(n===i||o&&"clone"!==o.lastPutMode)&&ve.forEach(function(t){t.parentNode&&t.parentNode.removeChild(t)})}},nullingGlobal:function(){this.isMultiDrag=ge=!1,ve.length=0}
2,destroyGlobal:function(){this._deselectMultiDrag(),g(document,"pointerup",this._deselectMultiDrag),g(document,"mouseup",this._deselectMultiDrag),g(document,"touchend",this._deselectMultiDrag),g(document,"keydown",this._checkKeyDown),g(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==ge&&ge||ue!==this.sortable||t&&y(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;he.length;){var e=he[0];k(e,this.options.selectedClass,!1),he.shift(),H({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},r(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[W];e&&e.options.multiDrag&&!~he.indexOf(t)&&(ue&&ue!==e&&(ue.multiDrag._deselectMultiDrag(),ue=e),k(t,e.options.selectedClass,!0),he.push(t))},deselect:function(t){var e=t.parentNode[W],n=he.indexOf(t);e&&e.options.multiDrag&&~n&&(k(t,e.options.selectedClass,!1),he.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return he.forEach(function(i){var s;e.push({multiDragElement:i,index:i.sortableIndex}),s=me&&i!==de?-1:me?j(i,":not(."+t.options.selectedClass+")"):j(i),n.push({multiDragElement:i,index:s})}),{items:l(he),clones:[].concat(ve),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function we(t,e){ve.forEach(function(n,i){var s=e.children[n.sortableIndex+(t?Number(i):0)];s?e.insertBefore(n,s):e.appendChild(n)})}function ye(){he.forEach(function(t){t!==de&&t.parentNode&&t.parentNode.removeChild(t)})}Bt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):this.options.supportPointer?m(document,"pointermove",this._handleFallbackAutoScroll):e.touches?m(document,"touchmove",this._handleFallbackAutoScroll):m(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):(g(document,"pointermove",this._handleFallbackAutoScroll),g(document,"touchmove",this._handleFallbackAutoScroll),g(document,"mousemove",this._handleFallbackAutoScroll)),ne(),ee(),clearTimeout(C),C=void 0},nulling:function(){Zt=Ut=Ht=te=Jt=Yt=Kt=null,Qt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(i,s);if(Zt=t,e||d||u||f){se(t,this.options,r,e);var a=I(r,!0);!te||Jt&&i===Yt&&s===Kt||(Jt&&ne(),Jt=setInterval(function(){var r=I(document.elementFromPoint(i,s),!0);r!==a&&(a=r,ee()),se(t,n.options,r,e)},10),Yt=i,Kt=s)}else{if(!this.options.bubbleScroll||I(r,!0)===O())return void ee();se(t,this.options,I(r,!1),!1)}}},r(t,{pluginName:"scroll",initializeByDefault:!0})}),Bt.mount(oe,ae);const Ce=Bt},13630:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(76798),s=n.n(i)()(function(t){return t[1]});s.push([t.id,".logs-overflow[data-v-1eaa50f3]{overflow:auto}.logs-overflow ul[data-v-1eaa50f3]{list-style:none;margin:0;padding:0}.logs-overflow ul li[data-v-1eaa50f3]{font-size:11px}.logs-overflow ul li strong[data-v-1eaa50f3]{color:#007ea7;font-size:11px}",""]);const r=s},33232:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(76798),s=n.n(i)()(function(t){return t[1]});s.push([t.id,".disputes-overflow[data-v-4ca24e8a]{max-height:300px;overflow:auto}",""]);const r=s},46697:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var i=n(62893),s=n(6283);i.default.use(s,{container:".scroller",duration:300,easing:"ease",offset:0,force:!0,cancelable:!1,onStart:!1,onDone:!1,onCancel:!1,x:!1,y:!0});const r={name:"split",props:{listview:Boolean},computed:{viewClass:function(){return this.listview?"listview":""}}};var a=n(85072),o=n.n(a),l=n(6365),c={insert:"head",singleton:!1};o()(l.A,c);l.A.locals;const u=(0,n(14486).A)(r,function(){var t=this,e=t._self._c;return e("div",{staticClass:"split",class:t.viewClass},[t.listview?e("div",{staticClass:"container"},[t._t("main")],2):t._e(),t._v(" "),t.listview?t._e():e("div",{staticClass:"list"},[t._t("main")],2),t._v(" "),e("div",{staticClass:"details-view",class:{open:t.splitDetails}},[t._t("details")],2)])},[],!1,null,null,null).exports},58726:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(76798),s=n.n(i)()(function(t){return t[1]});s.push([t.id,".profit{background:#30bf6e;border:1px solid #238e52;border-radius:3px;color:#fff;margin-bottom:15px;padding:8px 10px}.profit.negative{background:#9e1016}.profit strong{display:block;font-size:16px}",""]);const r=s},61431:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(76798),s=n.n(i)()(function(t){return t[1]});s.push([t.id,".comments-overflow[data-v-a557715a]{max-height:300px;overflow:auto}",""]);const r=s},63028:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>G});var i=n(66587),s=n(432),r=n.n(s);const a={name:"shipment-comments",data:function(){return{loading:!0}},computed:{hasComments:function(){return this.shipmentComments.length>0}},created:function(){var t=this;this.$store.dispatch("shipment/comments").then(function(){t.loading=!1})},methods:{edit:function(t){this.openModal("shipment-comment",{comment_id:t})},remove:function(t){var e=this;if(confirm(this.r("Weet u zeker dat u dit wilt verwijderen?"))){var n={comment_id:t,shipment_id:this.shipment.id};axios.delete("/shipments/comments/destroy",{params:n}).then(function(t){var n=t.data;return n.success?(e.$store.dispatch("shipment/comments"),e.sendAlert("success","",n.message),!0):(e.sendAlert("error",n.error,n.message),!1)})}}}};
2var o=n(85072),l=n.n(o),c=n(61431),u={insert:"head",singleton:!1};l()(c.A,u);c.A.locals;var d=n(14486);const p=(0,d.A)(a,function(){var t=this,e=t._self._c;return e("div",{staticClass:"comments"},[e("h4",[t._v(t._s(t.r("Opmerkingen")))]),t._v(" "),e("div",{staticClass:"panel comments-overflow"},[e("table",{staticClass:"table"},[e("thead",[e("tr",[e("th",{staticClass:"col-icon"}),t._v(" "),e("th",{staticClass:"col-normal"},[t._v(t._s(t.r("Door")))]),t._v(" "),e("th",[t._v(t._s(t.r("Opmerking")))]),t._v(" "),e("th",{staticClass:"text-center col-icon",attrs:{title:t.r("Opmerking voor intern gebruik")}},[e("i",{staticClass:"fad fa-home"})]),t._v(" "),e("th",{staticClass:"text-center col-icon",attrs:{title:t.r("Opmerking voor leverancier")}},[e("i",{staticClass:"fad fa-truck"})]),t._v(" "),e("th",{staticClass:"text-center col-icon",attrs:{title:t.r("Opmerking voor coureur")}},[e("i",{staticClass:"fad fa-car"})]),t._v(" "),e("th",{staticClass:"col-icon"})])]),t._v(" "),e("tbody",[t.loading?e("tr",[e("td",{staticClass:"norows",attrs:{colspan:"7"}},[e("i",{staticClass:"fas fa-pulse fa-spinner"}),t._v(" "+t._s(t.r("Bezig met laden..")))])]):t._e(),t._v(" "),t.loading||t.hasComments?t._e():e("tr",[e("td",{staticClass:"norows",attrs:{colspan:"7"}},[t._v(t._s(t.r("Geen opmerkingen aanwezig")))])]),t._v(" "),t._l(t.shipmentComments,function(n,i){return!t.loading&&t.hasComments?e("tr",{staticClass:"on-click",on:{click:function(e){return t.edit(n.id)}}},[e("td",{staticClass:"col-icon col-edit"}),t._v(" "),e("td",[n.user?e("span",[t._v(t._s(n.user.firstname)+" "+t._s(n.user.lastname))]):t._e(),t._v(" "),n.user?t._e():e("span",[t._v(t._s(t.r("Onbekend")))]),t._v(" "),e("small",[t._v(t._s(n.created_at))])]),t._v(" "),e("td",{staticClass:"wrap"},[t._v(t._s(n.message))]),t._v(" "),e("td",{staticClass:"text-center"},[n.for_intern?e("i",{staticClass:"fas fa-check-square text-success"}):t._e()]),t._v(" "),e("td",{staticClass:"text-center"},[n.for_supplier?e("i",{staticClass:"fas fa-check-square text-success"}):t._e()]),t._v(" "),e("td",{staticClass:"text-center"},[n.for_courier?e("i",{staticClass:"fas fa-check-square text-success"}):t._e()]),t._v(" "),e("td",{staticClass:"col-icon col-delete",on:{click:function(e){return e.stopPropagation(),t.remove(n.id)}}})]):t._e()})],2)])])])},[],!1,null,"a557715a",null).exports;const f={name:"shipment-financial",props:["distance"],data:function(){return{loading:!0}},computed:{hasLines:function(){return this.shipmentFinancial.lines.length>0},totalConfirmedRaw:function(){var t=0;return _.forEach(this.shipmentFinancial.purchases,function(e){t+=e.amount*e.price}),t},totalProfitRaw:function(){return this.totalConfirmedRaw>0?this.shipmentFinancial.total_excl-this.totalConfirmedRaw:this.shipmentFinancial.total_excl-this.calculatePurchaseTotal},calculatePurchaseTotal:function(){var t=0;return _.forEach(this.shipmentFinancial.lines,function(e){t+=e.purchase_amount*e.price_purchase}),t},expectedTotal:function(){return form_num(this.calculatePurchaseTotal)},totalConfirmed:function(){return form_num(this.totalConfirmedRaw)},totalProfit:function(){return form_num(this.totalProfitRaw)},isPlanned:function(){return"planned"===this.shipment.status||this.isComplete}},created:function(){var t=this;Event.$on("reload-shipment",function(){t.load()}),this.load()},methods:{load:function(){var t=this;this.$store.dispatch("shipment/financial").then(function(){t.loading=!1})},edit:function(t){},show:function(t){this.$router.push({name:"purchases.show",params:{purchase_id:t},query:this.$route.query})}}};var h=n(58726),v={insert:"head",singleton:!1};l()(h.A,v);h.A.locals;const m=(0,d.A)(f,function(){var t=this,e=t._self._c;return e("div",{staticClass:"financial"},[t.loading?e("div",{staticClass:"loader"},[e("i",{staticClass:"fas fa-pulse fa-spinner"}),t._v(" "+t._s(t.r("Bezig met ophalen..")))]):t._e(),t._v(" "),t.loading?t._e():e("div",[e("h4",[t._v(t._s(t.r("Financieel")))]),t._v(" "),0!=t.totalProfitRaw?e("div",{staticClass:"profit",class:{negative:t.totalProfitRaw<0}},[t._v("\n            "+t._s(t.r("Bruto omzet:"))+" "),e("strong",[t._v("€ "+t._s(t.totalProfit))])]):t._e(),t._v(" "),e("table",{staticClass:"table"},[e("thead",[e("tr",[e("th",[t._v(t._s(t.r("Product")))]),t._v(" "),e("th",{staticClass:"col-mini"},[t._v(t._s(t.r("Aantal")))]),t._v(" "),e("th",{staticClass:"col-price price"},[t._v(t._s(t.r("Prijs p.e.")))]),t._v(" "),e("th",{staticClass:"col-price price"},[t._v(t._s(t.r("BTW")))]),t._v(" "),e("th",{staticClass:"col-price price"},[t._v(t._s(t.r("Subtotaal")))])])]),t._v(" "),e("tbody",[e("tr",[t.hasLines?t._e():e("td",{staticClass:"norows",attrs:{colspan:"5"}},[t._v(t._s(t.r("Nog geen financiële gegevens bekend")))])]),t._v(" "),t._l(t.shipmentFinancial.lines,function(n,i){return t.hasLines?e("tr",[e("td",[t._v("\n                    "+t._s(n.description)+"\n                    "),e("small",[t._v(t._s(n.comments))])]),t._v(" "),e("td",{staticClass:"col-mini"},[t._v(t._s(n.amount)+" "+t._s(n.unit))]),t._v(" "),e("td",{staticClass:"col-price price"},[t._v("€ "+t._s(n.price_excl_view))]),t._v(" "),e("td",{staticClass:"col-price price"},[t._v(t._s(n.vat)+"%")]),t._v(" "),e("td",{staticClass:"col-price price"},[t._v("€ "+t._s(n.subtotal_view))])]):t._e()})],2),t._v(" "),e("tfoot",[e("tr",[e("th",{staticClass:"text-right",attrs:{colspan:"4"}},[t._v(t._s(t.r("Subtotaal ex. BTW")))]),t._v(" "),e("th",{staticClass:"col-price price"},[t._v("€ "+t._s(t.shipmentFinancial.total_excl_view))])]),t._v(" "),e("tr",[e("th",{staticClass:"text-right",attrs:{colspan:"4"}},[t._v(t._s(t.r("Totaal in. BTW")))]),t._v(" "),e("th",{staticClass:"col-price price"},[t._v("€ "+t._s(t.shipmentFinancial.total_incl_view))])])])]),t._v(" "),t.user.is_owner||t.user.is_reseller?e("router-link",{staticClass:"btn btn-xs btn-default text-warning",attrs:{to:{name:"shipments.financial",params:{shipment_id:t.shipment.id}}}},[e("i",{staticClass:"fad fa-pencil"}),t._v(" "+t._s(t.r("Bewerken")))]):t._e(),t._v(" "),t._e(),t._v(" "),e("br"),t._v(" "),e("br"),t._v(" "),e("h4",[t._v(t._s(t.r("Verwachte inkoop kosten")))]),t._v(" "),e("table",{staticClass:"table"},[e("thead",[e("tr",[e("th",[t._v(t._s(t.r("Leverancier")))]),t._v(" "),e("th",{staticClass:"col-mini"},[t._v(t._s(t.r("Aantal")))]),t._v(" "),e("th",{staticClass:"col-price price"},[t._v(t._s(t.r("Prijs p.e.")))]),t._v(" "),e("th",{staticClass:"col-price price"},[t._v(t._s(t.r("BTW")))]),t._v(" "),e("th",{staticClass:"col-price price"},[t._v(t._s(t.r("Subtotaal")))])])]),t._v(" "),e("tbody",[e("tr",[t.hasLines?t._e():e("td",{staticClass:"norows",attrs:{colspan:"5"}},[t._v(t._s(t.r("Nog geen financiële gegevens bekend")))])]),t._v(" "),t._l(t.shipmentFinancial.lines,function(n,i){return t.hasLines&&n.subtotal_purchase>0?e("tr",[e("td",[n.relation_supplier?[t._v(t._s(n.relation_supplier)+" -")]:t._e(),t._v("\n                    "+t._s(n.description)+"\n                ")],2),t._v(" "),e("td",{staticClass:"col-mini"},[t._v(t._s(n.purchase_amount)+" "+t._s(n.unit))]),t._v(" "),e("td",{staticClass:"col-price price"},[t._v("€ "+t._s(n.price_purchase_view))]),t._v(" "),e("td",{staticClass:"col-price price"},[t._v(t._s(n.vat)+"%")]),t._v(" "),e("td",{staticClass:"col-price price"},[t._v("€ "+t._s(n.subtotal_purchase_view))])]):t._e()})],2),t._v(" "),e("tfoot",[e("tr",[e("th",{staticClass:"text-right",attrs:{colspan:"4"}},[t._v(t._s(t.r("Subtotaal ex. BTW")))]),t._v(" "),e("th",{staticClass:"col-price price"},[t._v("€ "+t._s(t.expectedTotal))])])])]),t._v(" "),e("br"),t._v(" "),t.shipmentFinancial.purchases.length>0?[e("br"),t._v(" "),e("h4",[t._v(t._s(t.r("Werkelijke kosten")))]),t._v(" "),e("table",{staticClass:"table table-striped"},[e("thead",[e("tr",[e("th",[t._v(t._s(t.r("Inkoop")))]),t._v(" "),e("th",[t._v(t._s(t.r("Leverancier")))]),t._v(" "),e("th",[t._v(t._s(t.r("Product")))]),t._v(" "),e("th",{staticClass:"col-mini"},[t._v(t._s(t.r("Aantal")))]),t._v(" "),e("th",{staticClass:"col-price text-right"},[t._v(t._s(t.r("Inkoop")))]),t._v(" "),e("th",{staticClass:"col-mini text-right"},[t._v(t._s(t.r("BTW %")))]),t._v(" "),e("th",{staticClass:"col-price text-right"},[t._v(t._s(t.r("Totaal")))])])]),t._v(" "),e("tbody",t._l(t.shipmentFinancial.purchases,function(n,i){return e("tr",{staticClass:"on-click",on:{click:function(e){return e.stopPropagation(),t.show(n.purchase_id)}}},[e("td",[t._v(t._s(n.purchase))]),t._v(" "),e("td",[n.supplier?e("span",[t._v(t._s(n.supplier))]):t._e(),t._v(" "),n.supplier?t._e():e("span",[e("i",[t._v(t._s(t.r("Niet ingevuld")))])])]),t._v(" "),e("td",[t._v(t._s(n.description))]),t._v(" "),e("td",{staticClass:"col-mini"},[t._v(t._s(n.amount)+" "+t._s(n.unit))]),t._v(" "),e("td",{staticClass:"col-price price"},[t._v("€ "+t._s(n.price_view))]),t._v(" "),e("td",{staticClass:"col-price price"},[t._v(t._s(n.vat)+"%")]),t._v(" "),e("td",{staticClass:"col-price price"},[t._v("€ "+t._s(n.subtotal_view))])])}),0),t._v(" "),e("tfoot",[e("tr",[e("th",{staticClass:"text-right",attrs:{colspan:"6"}},[t._v(t._s(t.r("Totaal ex. BTW")))]),t._v(" "),e("th",{staticClass:"col-price price"},[t._v("€ "+t._s(t.totalConfirmed))])])])])]:t._e()],2)])},[],!1,null,null,null).exports;const g={name:"shipment-logs",data:function(){return{loading:!0}},computed:{hasLogs:function(){return this.shipmentLogs.length>0}},created:function(){var t=this;this.$store.dispatch("shipment/logs").then(function(){t.loading=!1})},methods:{}};var b=n(79204),w={insert:"head",singleton:!1};l()(b.A,w);b.A.locals;const y=(0,d.A)(g,function(){var t=this,e=t._self._c;return e("div",{staticClass:"logs"},[e("h4",[t._v(t._s(t.r("Zending log")))]),t._v(" "),e("div",{staticClass:"panel logs-overflow"},[e("table",{staticClass:"table"},[e("thead",[e("tr",[e("th",{staticClass:"col-normal"},[t._v(t._s(t.r("Door")))]),t._v(" "),e("th",[t._v(t._s(t.r("Opmerking")))])])]),t._v(" "),e("tbody",[t.loading?e("tr",[e("td",{staticClass:"norows",attrs:{colspan:"2"}},[e("i",{staticClass:"fas fa-pulse fa-spinner"}),t._v(" "+t._s(t.r("Bezig met laden..")))])]):t._e(),t._v(" "),t.loading||t.hasLogs?t._e():e("tr",[e("td",{staticClass:"norows",attrs:{colspan:"2"}},[t._v(t._s(t.r("Geen log aanwezig")))])]),t._v(" "),t._l(t.shipmentLogs,function(n,i){return!t.loading&&t.hasLogs?e("tr",[e("td",[n.user?e("span",[t._v(t._s(n.user.firstname)+" "+t._s(n.user.lastname))]):t._e(),t._v(" "),n.user?t._e():e("span",[t._v(t._s(t.r("Onbekend")))]),t._v(" "),e("small",[t._v(t._s(n.created_at_view))])]),t._v(" "),e("td",[t._v("\n                    "+t._s(n.action)+"\n                    "),n.data?e("small",[Array.isArray(n.data)?e("ul",t._l(n.data,function(n,i){return e("li",[e("strong",[t._v(t._s(i)+":")]),t._v(" "+t._s(n))])}),0):t._e(),t._v(" "),Array.isArray(n.data)?t._e():[t._v(t._s(n.data))]],2):t._e()])]):t._e()})],2)])])])},[],!1,null,"1207f6db",null).exports;const C={name:"shipment-logs",data:function(){return{loading:!0,show:!0,surcharge_info:[]}},created:function(){var t=this;axios.get("/settings/surcharges/shipment/rate/"+this.shipment.id).then(function(e){(!e.data.success||t.shipment.id<91905)&&(t.show=!1,t.loading=!1),t.surcharge_info=e.data.data,t.loading=!1}
2).catch(function(e){t.show=!1,t.loading=!1})},methods:{formatCurrency:function(t){return t.toLocaleString("nl-NL",{style:"currency",currency:"EUR"}).replace("€","€ ")},getPriceWithMargin:function(t){return this.formatCurrency(t.start_price/100*(100+t.margin))},getMarginPriceDifference:function(t){var e=t.start_price,n=e/100*(100+t.margin)-e;return this.formatCurrency(n)},getDiscountInEur:function(t){var e=t.start_price,n=(e/100*(100+t.margin)-e)/100*t.discount;return this.formatCurrency(n)},getPriceWithMarginAfterDiscount:function(t){var e=t.start_price,n=e/100*(100+t.margin),i=(n-e)/100*t.discount;return this.formatCurrency(n-i)}}};var x=n(13630),k={insert:"head",singleton:!1};l()(x.A,k);x.A.locals;const S=(0,d.A)(C,function(){var t=this,e=t._self._c;return t.show?e("div",{staticClass:"logs"},[e("h4",[t._v(t._s(t.r("Zending toeslagen")))]),t._v(" "),e("div",{staticClass:"panel logs-overflow"},[e("table",{staticClass:"table"},[e("thead",[e("tr",[e("th",{staticClass:"col-normal",staticStyle:{width:"60%"}},[t._v(t._s(t.r("Naam")))]),t._v(" "),e("th",[t._v(t._s(t.r("Prijs")))])])]),t._v(" "),e("tbody",[t.loading?e("tr",[e("td",{staticClass:"norows",attrs:{colspan:"2"}},[e("i",{staticClass:"fas fa-pulse fa-spinner"}),t._v(" "+t._s(t.r("Bezig met laden..")))])]):t._e(),t._v(" "),t.loading||0!==t.surcharge_info.surchargeLines.length?t._e():e("tr",[e("td",{staticClass:"norows",attrs:{colspan:"2"}},[t._v(t._s(t.r("Geen toeslag aanwezig")))])]),t._v(" "),t._l(t.surcharge_info.surchargeLines,function(n,i){return t.loading?t._e():[e("tr",[e("td",{staticStyle:{width:"60%"}},[e("span",[e("b",[t._v(t._s(n.name))])])]),t._v(" "),e("td",[e("span",[t._v(t._s(t.formatCurrency(parseFloat(n.price))))])])])]})],2)]),t._v(" "),e("br"),e("br"),t._v(" "),e("h4",[t._v(t._s(t.r("Zending opties")))]),t._v(" "),e("table",{staticClass:"table"},[e("thead",[e("tr",[e("th",{staticClass:"col-normal",staticStyle:{width:"60%"}},[t._v(t._s(t.r("Naam")))]),t._v(" "),e("th",[t._v(t._s(t.r("Prijs")))])])]),t._v(" "),e("tbody",[t.loading?e("tr",[e("td",{staticClass:"norows",attrs:{colspan:"2"}},[e("i",{staticClass:"fas fa-pulse fa-spinner"}),t._v(" "+t._s(t.r("Bezig met laden..")))])]):t._e(),t._v(" "),t.loading||0!==t.surcharge_info.options.length?t._e():e("tr",[e("td",{staticClass:"norows",attrs:{colspan:"2"}},[t._v(t._s(t.r("Geen opties aanwezig")))])]),t._v(" "),t._l(t.surcharge_info.options,function(n,i){return t.loading?t._e():[e("tr",{key:"option-"+i},[e("td",{staticStyle:{width:"60%"}},[e("span",[e("b",[t._v(t._s(n.name))])])]),t._v(" "),e("td",[e("span",[t._v(t._s(t.formatCurrency(parseFloat(n.full_price))))])])])]})],2)]),t._v(" "),e("br"),e("br"),t._v(" "),e("h4",[t._v(t._s(t.r("Prijsopbouw")))]),t._v(" "),e("table",{staticClass:"table"},[e("tbody",[t.loading?t._e():e("tr",[t._m(0),t._v(" "),"courier"==t.shipment.label.transporter?e("td",[t._v(t._s(t.formatCurrency(t.surcharge_info.price_with_margin_discount)))]):e("td",[t._v(t._s(t.formatCurrency(t.surcharge_info.start_price)))])]),t._v(" "),t.loading||"courier"===t.shipment.label.transporter?t._e():e("tr",[t._m(1),t._v(" "),e("td",[e("span",[t._v(t._s(t.getMarginPriceDifference(t.surcharge_info))+" | "+t._s(t.surcharge_info.margin)+"%")])])]),t._v(" "),t.loading||"courier"===t.shipment.label.transporter?t._e():e("tr",[t._m(2),t._v(" "),e("td",[e("span",[t._v(t._s(t.getPriceWithMargin(t.surcharge_info)))])])]),t._v(" "),t.loading||"courier"===t.shipment.label.transporter?t._e():e("tr",[t._m(3),t._v(" "),e("td",[e("span",[t._v(t._s(t.getDiscountInEur(t.surcharge_info))+" | "+t._s(t.surcharge_info.discount)+"%")])])]),t._v(" "),t.loading||"courier"===t.shipment.label.transporter?t._e():e("tr",[t._m(4),t._v(" "),e("td",[e("span",[t._v(t._s(t.getPriceWithMarginAfterDiscount(t.surcharge_info)))])])]),t._v(" "),t.loading?t._e():e("tr",[t._m(5),t._v(" "),e("td",[e("span",[t._v(t._s(t.formatCurrency(t.surcharge_info.options_total)))])])]),t._v(" "),t.loading?t._e():e("tr",[t._m(6),t._v(" "),e("td",[e("span",[t._v(t._s(t.formatCurrency(t.surcharge_info.surcharge_total)))])])]),t._v(" "),t.loading||"courier"!=t.shipment.label.transporter?t._e():e("tr",[t._m(7),t._v(" "),e("td",[e("span",[t._v(t._s(t.formatCurrency(t.surcharge_info.co2_price)))])])]),t._v(" "),t.loading?t._e():e("tr",[t._m(8),t._v(" "),e("td",[e("span",[e("b",[t._v("€ "+t._s(t.shipment.price_view))])])])]),t._v(" "),t.loading?e("tr",[e("td",{staticClass:"norows",attrs:{colspan:"4"}},[e("i",{staticClass:"fas fa-pulse fa-spinner"}),t._v(" "+t._s(t.r("Bezig met laden..")))])]):t._e()])])])]):t._e()},[function(){var t=this._self._c;return t("td",{staticStyle:{width:"60%"}},[t("span",[this._v("Zending prijs excl. marge:")])])},function(){var t=this._self._c;return t("td",{staticStyle:{width:"60%"}},[t("span",[this._v("Basis marge op zending:")])])},function(){var t=this._self._c;return t("td",{staticStyle:{width:"60%"}},[t("span",[this._v("Zending prijs incl. marge:")])])},function(){var t=this._self._c;return t("td",{staticStyle:{width:"60%"}},[t("span",[this._v("Margekorting:")])])},function(){var t=this._self._c;return t("td",{staticStyle:{width:"60%"}},[t("span",[this._v("Prijs incl. marge na aftrek korting:")])])},function(){var t=this._self._c;return t("td",{staticStyle:{width:"60%"}},[t("span",[this._v("Totaal opties:")])])},function(){var t=this._self._c;return t("td",{staticStyle:{width:"60%"}},[t("span",[this._v("Totaal Toeslagen:")])])},function(){var t=this._self._c;return t("td",{staticStyle:{width:"60%"}},[t("span",[this._v("CO2 compensatie:")])])},function(){var t=this._self._c;return t("td",{staticStyle:{width:"60%"}},[t("span",[t("b",[this._v("Totaal tarief:")])])])}],!1,null,"1eaa50f3",null).exports;var D=n(26524);const E={name:"shipment-claims",data:function(){return{lists:i.A,loading:!0}},computed:{hasClaims:function(){return this.shipmentClaims.length>0}},methods:{show:function(t){this.openModal("claim-details",{claim_id:t})},remove:function(t){var e=this;if((this.user.is_owner||this.user.is_reseller)&&confirm(this.r("Weet u zeker dat u deze claim wilt verwijderen?"))){var n={claim_id:t,shipment_id:this.shipment.id};axios.delete("/shipments/claims/destroy",{params:n}).then(function(t){var n=t.data;return n.success?(e.$store.dispatch("shipment/claims"),e.sendAlert("success","",n.message),!0):(e.sendAlert("error",n.error,n.message),!1)})}}}};var O=n(8444),A={insert:"head",singleton:!1};l()(O.A,A);O.A.locals;const T=(0,d.A)(E,function(){var t=this,e=t._self._c;return t.shipmentClaims?e("div",{staticClass:"claims"},[e("h4",[t._v(t._s(t.r("Claims")))]),t._v(" "),e("div",{staticClass:"panel claims-overflow"},[e("table",{staticClass:"table"},[e("thead",[e("tr",[t.user.is_owner||t.user.is_reseller?e("th",{staticClass:"col-icon"}):t._e(),t._v(" "),e("th",{staticClass:"col-normal"},[t._v(t._s(t.r("Nummer")))]),t._v(" "),e("th",[t._v(t._s(t.r("Description")))]),t._v(" "),e("th",{staticClass:"col-normal"},[t._v(t._s(t.r("Status")))])])]),t._v(" "),e("tbody",[t.hasClaims?t._e():e("tr",[e("td",{staticClass:"norows",attrs:{colspan:"7"}},[t._v(t._s(t.r("Geen opmerkingen aanwezig")))])]),t._v(" "),t._l(t.shipmentClaims,function(n,i){return t.hasClaims?e("tr",{staticClass:"on-click",on:{click:function(e){return t.show(n.id)}}},[t.user.is_owner||t.user.is_reseller?e("td",{staticClass:"col-icon",class:{"col-edit":n.active}}):t._e(),t._v(" "),e("td",[t._v(t._s(n.number))]),t._v(" "),e("td",[e("small",{domProps:{innerHTML:t._s(n.description)}})]),t._v(" "),e("td",[e("span",{staticClass:"status",class:n.status},[t._v(t._s(t.lists.claimStatus(n.status)))])])]):t._e()})],2)])])]):t._e()},[],!1,null,"cd791dca",null).exports;const P={name:"shipment-disputes",data:function(){return{lists:i.A,loading:!0}},computed:{hasDisputes:function(){return this.shipmentDisputes.length>0}},methods:{show:function(t){this.openModal("dispute-details",{dispute_id:t})}}};var M=n(33232),j={insert:"head",singleton:!1};l()(M.A,j);M.A.locals;function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function I(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function L(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=N(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=N(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==N(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function F(){var t,e,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",s=n.toStringTag||"@@toStringTag";function r(n,i,s,r){var l=i&&i.prototype instanceof o?i:o,c=Object.create(l.prototype);return z(c,"_invoke",function(n,i,s){var r,o,l,c=0,u=s||[],d=!1,p={p:0,n:0,v:t,a:f,f:f.bind(t,4),d:function(e,n){return r=e,o=0,l=t,p.n=n,a}};function f(n,i){for(o=n,l=i,e=0;!d&&c&&!s&&e<u.length;e++){var s,r=u[e],f=p.p,h=r[2];n>3?(s=h===i)&&(l=r[(o=r[4])?5:(o=3,3)],r[4]=r[5]=t):r[0]<=f&&((s=n<2&&f<r[1])?(o=0,p.v=i,p.n=r[1]):f<h&&(s=n<3||r[0]>i||i>h)&&(r[4]=n,r[5]=i,p.n=h,o=0))}if(s||n>1)return a;throw d=!0,i}return function(s,u,h){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,h),o=u,l=h;(e=o<2?t:l)||!d;){r||(o?o<3?(o>1&&(p.n=-1),f(o,l)):p.n=l:p.v=l);try{if(c=2,r){if(o||(s="next"),e=r[s]){if(!(e=e.call(r,l)))throw TypeError("iterator result is not an object");if(!e.done)return e;l=e.value,o<2&&(o=0)}else 1===o&&(e=r.return)&&e.call(r),o<2&&(l=TypeError("The iterator does not provide a '"+s+"' method"),o=1);r=t}else if((e=(d=p.n<0)?l:n.call(i,p))!==a)break}catch(e){r=t,o=1,l=e}finally{c=1}}return{value:e,done:d}}}(n,s,r),!0),c}var a={};function o(){}function l(){}function c(){}e=Object.getPrototypeOf;var u=[][i]?e(e([][i]())):(z(e={},i,function(){return this}),e),d=c.prototype=o.prototype=Object.create(u);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,z(t,s,"GeneratorFunction")),t.prototype=Object.create(d),t}return l.prototype=c,z(d,"constructor",c),z(c,"constructor",l),l.displayName="GeneratorFunction",z(c,s,"GeneratorFunction"),z(d),z(d,s,"Generator"),z(d,i,function(){return this}),z(d,"toString",function(){return"[object Generator]"}),(F=function(){return{w:r,m:p}})()}function z(t,e,n,i){var s=Object.defineProperty;try{s({},"",{})}catch(t){s=0}z=function(t,e,n,i){function r(e,n){z(t,e,function(t){return this._invoke(e,n,t)})}e?s?s(t,e,{value:n,enumerable:!i,configurable:!i,writable:!i}):t[e]=n:(r("next",0),r("throw",1),r("return",2))},z(t,e,n,i)}function R(t,e,n,i,s,r,a){try{var o=t[r](a),l=o.value}catch(t){return void n(t)}o.done?e(l):Promise.resolve(l).then(i,s)}const B={name:"shipments-show",components:{ShipmentClaims:T,ShipmentDisputes:(0,d.A)(P,function(){var t=this,e=t._self._c;return t.shipmentDisputes?e("div",{staticClass:"disputes"},[e("h4",[t._v(t._s(t.r("Disputen")))]),t._v(" "),e("div",{staticClass:"panel disputes-overflow"},[e("table",{staticClass:"table"},[e("thead",[e("tr",[e("th",{staticClass:"col-icon"}),t._v(" "),e("th",{staticClass:"col-normal"},[t._v(t._s(t.r("Nummer")))]),t._v(" "),t.user.is_owner||t.user.is_reseller?e("th",[t._v(t._s(t.r("Type")))]):t._e(),t._v(" "),e("th",[t._v(t._s(t.r("Description")))]),t._v(" "),e("th",{staticClass:"col-normal"},[t._v(t._s(t.r("Status")))])])]),t._v(" "),e("tbody",[t.hasDisputes?t._e():e("tr",[e("td",{staticClass:"norows",attrs:{colspan:"7"}},[t._v(t._s(t.r("Geen disputen gevonden")))])]),t._v(" "),t._l(t.shipmentDisputes,function(n,i){return t.hasDisputes?e("tr",{staticClass:"on-click",on:{click:function(e){return t.show(n.id)}}},[(t.user.is_owner||t.user.is_reseller)&&n.active?e("td",{staticClass:"col-icon col-edit"}):e("td",{staticClass:"col-icon"}),t._v(" "),e("td",[t._v(t._s(n.id))]),t._v(" "),t.user.is_owner||t.user.is_reseller?e("td",[t._v(t._s(t.lists.disputeTypes(n.type)))]):t._e(),t._v(" "),e("td",[e("small",{domProps:{innerHTML:t._s(n.description)}})]),t._v(" "),e("td",[e("span",{staticClass:"status",class:n.status},[t._v(t._s(t.lists.disputeStatus(n.status)))])])]):t._e()})],2)])])]):t._e()},[],!1,null,"4ca24e8a",null).exports,Files:D.A,ShipmentLogs:y,ShipmentFinancial:m,ShipmentComments:p,ShipmentSurcharges:S,draggable:r()},props:{shipmentIdProp:{type:Number,default:null}},data:function(){return{loadingSpinner:!1,dateUpdateMessage:null,lists:i.A,labelType:"",previous:null,openRides:{},loading:!0,shipment_id:0,checks:0,statusPollInterval:null}},created:function(){var t=this;Event.$off("reload-shipment"),Event.$on("reload-shipment",function(){t.load(),Event.$emit("update-shipment-status",t.shipment.id)})},updated:function(){this.$store.dispatch("setSplitDetails",!0)},mounted:function(){var t,e,n=this;Event.$on("update-shipment-status",function(t){n.shipment.id==t&&n.load(t)}),Event.$on("live-update-shipment-status",function(t,e){console.log("shipments/show.vue: incoming event: live-update-shipment-status"),console.log("id: "+t),console.log("status: "+e),n.shipment.id==t&&("claim"==e?n.shipment.activeClaims=1:"dispute"==e?n.shipment.activeDisputes=1:"noclaim"==e?n.shipment.activeClaims=0:"nodispute"==e?n.shipment.activeDisputes=0:"freight"!==e&&(n.shipment.status=e))}),this.shipment_id=null!==(t=null!==(e=this.shipmentIdProp)&&void 0!==e?e:this.$route.params.shipment_id)&&void 0!==t?t:this.$route.params.item_id,this.previous=this.$route.query.from,this.load(),this.statusPollInterval=setInterval(function(){!n.shipment||"new"!==n.shipment.status||"courier"!==n.shipment.transporter&&"sameday"!==n.shipment.transporter?n.statusPollInterval&&n.shipment&&"new"!==n.shipment.status&&(clearInterval(n.statusPollInterval),n.statusPollInterval=null):n.load()},3e4)},beforeDestroy:function(){this.statusPollInterval&&(clearInterval(this.statusPollInterval),this.statusPollInterval=null)},computed:{isErp:function(){return 1===this.user.relation.id},shouldDisplaySupplier:function(){if(this.isCourier){if(this.shipment.relation_supplier&&this.shipment.planned_at&&(this.user.is_owner||this.user.is_reseller))return!0}else if(this.shipment.relation_supplier&&(this.user.is_owner||this.user.is_reseller))return!0;return!1},LblObject:function(){return this.shipment.files.filter(function(t){return"label"===t.group3})[0]},CmrObject:function(){return this.shipment.files.filter(function(t){return"cmr"===t.group3})[0]},AwbObject:function(){return this.shipment.files.filter(function(t){return"awb"===t.group3})[0]},BlObject:function(){return this.shipment.files.filter(function(t){return"b/l"===t.group3})[0]},isDeliveredComplete:function(){return this.isNewTracking?this.shipment.total_packages==this.shipment.total_delivered_packages:!!ride.delivered_at_view},isAdmin:function(){return!(1!=this.user.relation.id&&!this.user.relation.is_reseller)},activeClaims:function(){if(this.shipmentClaims.length>0&&this.shipmentClaims.filter(function(t){return 1===t.active}).length>0)return!0;return!1},singleRide:function(){return this.shipment.rides.length<=1},isMobile:function(){return!(window.innerWidth>992)},canRebook:function(){return this.isNew||this.isBookable&&(this.user.is_owner||this.user.is_reseller)},hasClaims:function(){return this.shipmentClaims.length>0},hasActiveClaims:function(){console.log(this.shipmentClaims,Object.values(this.shipmentClaims));for(var t=0,e=Object.values(this.shipmentClaims);t<e.length;t++){if(1===e[t].active)return!0}return!1},hasActiveDisputes:function(){return this.shipment.activeDisputes>0},hasActiveSupplierDisputes:function(){return this.shipment.activeSupplierDisputes>0},hasDisputes:function(){return this.shipmentDisputes.length>0},hasAccess:function(){return"access"!==this.shipment.status},isCourier:function(){return"courier"===this.shipment.transporter},isDpd:function(){return"dpd"===this.shipment.transporter},isTNT:function(){return"tnt"===this.shipment.transporter},isNewTracking:function(){return["ups","fedex","dhl","dhl_ecom"].includes(this.shipment.transporter)},isFragmented:function(){return this.shipment.total_picked_packages!==this.shipment.total_packages&&0!==this.shipment.total_picked_packages},isExpressService:function(){return["dhl","ups","pallet","tnt","fedex","dhl_ecom"].includes(this.shipment.transporter)},isAirSeaDistSame:function(){return"air"===this.shipment.transporter||"sea"===this.shipment.transporter||"dist"===this.shipment.transporter||"sameday"===this.shipment.transporter},isPallet:function(){return"pallet"===this.shipment.transporter},isPlanned:function(){return"planned"===this.shipmentStatus(this.shipment)||this.isComplete||this.isCompleted},isBookable:function(){return!("planned"!==this.shipmentStatus(this.shipment)||this.isComplete&&this.isCompleted)},isNew:function(){return"new"===this.shipment.status},isConcept:function(){return"concept"===this.shipment.status},isFreight:function(){return"freight"===this.shipment.status},isChecked:function(){return"checked"===this.shipment.status},isComplete:function(){return"complete"===this.shipmentStatus(this.shipment)},isCompleted:function(){return"completed"===this.shipmentStatus(this.shipment)},hasLabel:function(){return this.shipment.label&&this.shipment.label.label},hasLabelPrinter:function(){return this.shipment.label&&this.shipment.label.label_pdf},isOwner:function(){return+this.shipment.relation_id===+this.shipment.relation_id_account},isMine:function(){return+this.shipment.relation_id_customer===+this.user.relation_id},ownAccount:function(){return+this.shipment.relation_id_customer===+this.shipment.relation_id_account},routeUrl:function(){var t="https://www.google.com/maps/dir/";return this.shipment.ride.from_address&&(t+=this.shipment.ride.from_address.replace("\\","")+","),t+=this.shipment.ride.from_zipcode+" ",t+=this.shipment.ride.from_place.name+" ",t+=this.shipment.ride.from_country.name,t+="/",this.shipment.ride.to_address&&(t+=this.shipment.ride.to_address.replace("\\","")+","),t+=this.shipment.ride.to_zipcode+" ",t+=this.shipment.ride.to_place.name+" ",t+=this.shipment.ride.to_country.name+" "}},methods:{revertStatus:function(){var t,e=this;return(t=F().m(function t(){return F().w(function(t){for(;;)switch(t.n){case 0:confirm("Weet u zeker dat u de status wilt terugdraaien?")&&(e.loading=!0,axios.post("/shipments/shipments/revert",{shipment_id:e.shipment.id}).then(function(t){var n=t.data;n.message&&e.sendAlert("success","success",n.message),e.load()}),e.loading=!1);case 1:return t.a(2)}},t)}),function(){var e=this,n=arguments;return new Promise(function(i,s){var r=t.apply(e,n);function a(t){R(r,i,s,a,o,"next",t)}function o(t){R(r,i,s,a,o,"throw",t)}a(void 0)})})()},getDayDiff:function(t){if(!t.ride.shipment_at)return 0;var e=new Date,n=t.ride.shipment_at;n=new Date(n.split("-")[2],n.split("-")[1]-1,n.split("-")[0]);var i=Math.abs(n.getTime()-e.getTime());return Math.ceil(i/864e5)},buttonVisible:function(t){return("complete"==t.status||"checked"==t.status||"completed"==t.status||"planned"==t.status)&&"courier"!==t.label.transporter&&"sea"!==t.label.transporter&&"air"!==t.label.transporter&&"sameday"!==t.label.transporter&&"dist"!==t.label.transporter&&"dpd"!==t.label.transporter},statusUpdatingAllowed:function(t){return!(this.getDayDiff(t)>90)&&(!!t.label&&(t.label.t=t.label.transporter,"courier"!=t.label.transporter&&"sea"!=t.label.transporter&&"air"!=t.label.transporter&&"sameday"!=t.label.transporter&&"dist"!=t.label.transporter&&!t.ride.delivered_at))},load:function(){var t=this;this.$store.dispatch("shipment/init",this.shipment_id).then(function(e){t.loading=!1,t.shipment.pending_labels>0&&t.checkStatus(),t.loadClaims(),t.loadDisputes(),t.shipment&&t.shipment.label&&(t.onFreight(),t.onPalletwaysToGB()),t.statusUpdatingAllowed(t.shipment),t.loadSettings()}).catch(function(e){t.$router.push({name:"shipments.index"}),t.sendAlert("error","error",e)})},viewFile:function(t){var e="/files/"+t.id+"/view",n=t.group3;this.openModal("view-pdf",{src:e,type:n})},downloadFile:function(t){location.href="/files/"+t.id+"/download"},mailFile:function(t){this.openModal("mail-file",{file:t})},deleteFile:function(t){var e=this;if(confirm(this.r("Weet u zeker dat u dit bestand wilt verwijderen?"))){var n=t.id,i={file_id:n},s=this.shipment.files.map(function(t){return t.id}).indexOf(n);~s&&this.shipment.files.splice(s,1),axios.delete("/files/delete",{params:i}).then(function(t){var n=t.data;return n.success?(e.sendAlert("success","",n.message),!0):(e.sendAlert("error",n.error,n.message),!1)})}},editPickupDelivery:function(){this.openModal("shipment-times",{shipment:this.shipment})},loadClaims:function(){var t=this;this.$store.dispatch("shipment/claims").then(function(){t.loading=!1})},loadDisputes:function(){var t=this;this.$store.dispatch("shipment/disputes").then(function(){t.loading=!1})},tryAgain:function(t){var e=this,n={label_id:t};axios.post("/shipments/book/again",n).then(function(t){e.load()})},updatePickupDates:function(t){var e=this;this.loadingSpinner=!0;var n={shipment_id:this.shipment.id};axios.post("/settings/get-delivery-status",n).then(function(n){console.log(n),console.log("response shown after error");var i=n.data;i.id=e.shipment.id,e.dateUpdateMessage=i.message,e.loadingSpinner=!1,i.picked&&(e.shipment.rides[t].picked_at_view=i.picked,e.shipment.last_pickup_at=i.picked),i.delivered&&(e.shipment.rides[t].delivered_at_view=i.delivered,e.shipment.last_delivery_at=i.delivered,Event.$emit("shipment-status-changed",i)),i.error&&(e.shipment.rides[t].tracking_error=1)}).catch(function(t){t.response?(e.loadingSpinner=!1,e.dateUpdateMessage=e.r("Er heeft zich een server fout voorgedaan. We zijn hiervan op de hoogte en werken aan een oplossing. Raadpleeg voor actuele tracking informatie de website van de vervoerder."),console.log(t.response.data),console.log(t.response.status),console.log(t.response.headers)):t.request?c
2onsole.log(t.request):console.log("Error",t.message)});var i=this;setTimeout(function(){i.loadingSpinner=!1},3e3),setTimeout(function(){i.dateUpdateMessage=null},8e3)},checkStatus:function(){var t=this;if(this.hasAccess){this.checks++;var e={shipment_id:this.shipment.id};axios.post("/shipments/shipments/status",e).then(function(e){e.data.success?t.load():t.checks>30?t.error=t.r("Er lijkt iets mis te zijn gegaan, probeer het opnieuw, blijft u dit probleem ervaren, neem dan contact op."):setTimeout(function(){t.checkStatus()},1e3)})}},onFreight:function(){var t=this;if(this.shipment.label&&this.shipment.label.error&&"freight"===this.shipmentStatus(this.shipment)){axios.post("/settings/popups/popup",{type:"freight"}).then(function(e){var n=e.data.data;n.id&&t.openModal("dynamic",{popup:n})})}},onPalletwaysToGB:function(){var t=this;if(this.shipment.label&&!this.shipment.label.barcode&&"GB"===this.shipment.ride.to_country.id&&"pallet"===this.shipment.label.transporter){axios.post("/settings/popups/popup",{type:"brexit-palletways"}).then(function(e){var n=e.data.data;t.openModal("dynamic",{popup:n})})}},allowedToChangeShipmentDetails:function(){return(!this.shipment.label||!this.shipment.label.error||"freight"!==this.shipmentStatus(this.shipment))&&!(this.shipment.label&&!this.shipment.label.barcode&&"GB"===this.shipment.ride.to_country.id&&"pallet"===this.shipment.label.transporter)},saveSorting:function(){axios.post("/shipments/rides/sorting",{rides:this.shipment.rides})},toggleRide:function(t,e){this.openRides[e]?delete this.openRides[e]:this.openRides[e]=1,this.openRides=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?I(Object(n),!0).forEach(function(e){L(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},this.openRides)},goBack:function(){if(this.$store.dispatch("setSplitDetails",!1),"check"===this.previous)this.$router.push({name:"shipments.check.index"});else this.$router.push({name:"shipments.index"})},selectTab:function(t){_.forEach(document.querySelectorAll('[class*="to-"]'),function(t,e){t.classList.remove("active")}),document.querySelector("."+t).classList.add("active")},startClaim:function(){this.openModal("shipment-claim",{shipment_id:this.shipment.id})},startDispute:function(){this.$router.push({name:"portal.dispute.index",params:{item_id:this.shipment.id,item_table:"shipments"}})},setBarcode:function(){this.openModal("shipment-barcodes",{shipment_id:this.shipment.id})},uploadLabel:function(){this.openModal("shipment-labels",{shipment_id:this.shipment.id})},uploadDocument:function(){this.openModal("shipment-documents",{shipment_id:this.shipment.id})},editDistance:function(){this.openModal("shipment-distance",{shipment:this.shipment})},planPickup:function(){this.openModal("shipment-pickup",{shipment_id:this.shipment.id})},resendPickupRequest:function(){this.openModal("shipment-pickup-resend",{shipment_id:this.shipment.id})},apiLog:function(){this.openModal("shipment-apilog",{shipment_id:this.shipment.id})},viewLabel:function(t,e){this.openModal("shipment-label",{shipment_id:this.shipment.id,pakket:t?1:0,type:e})},mailLabel:function(t){this.openModal("shipment-label-mail",{shipment_id:this.shipment.id,pakket:t?1:0})},downloadLabel:function(t){location.href="/pdf/shipment/"+this.shipment.id+"/download?pakket="+(t?1:0)},mailTrackAndTrace:function(){this.openModal("shipment-tnt-mail",{shipment_id:this.shipment.id})},viewCmr:function(){this.openModal("shipment-cmr",{shipment_id:this.shipment.id})},mailCmr:function(){this.openModal("shipment-cmr-mail",{shipment_id:this.shipment.id})},downloadCmr:function(){location.href="/pdf/cmr/"+this.shipment.id+"/download"},completeShipment:function(){this.openModal("shipment-complete",{shipment_id:this.shipment.id})},mailConfirmation:function(){this.openModal("shipment-confirm-mail",{shipment_id:this.shipment.id})},loadSettings:function(){var t=this;axios.post("/user/setting",{key:"shipment-label"}).then(function(e){if(e.data){var n=e.data;t.labelType=n[t.shipment.transporter]}})},process:function(t){var e=this;if(confirm(this.r("Weet u zeker dat u deze zending goed gecontroleerd is?"))){var n={};n=t>0?{shipments:[t]}:{shipments:this.checked},axios.post("/administration/check/shipments/process-all",n).then(function(t){var n=t.data;n.message&&e.sendAlert("success","success",n.message),e.load(),Event.$emit("update-shipment-status",e.shipment.id)})}},resolveClaim:function(){var t=this,e={shipment_id:this.shipment.id};axios.post("/shipments/claim/finalize",e).then(function(e){200===e.status?(t.shipmentClaims.forEac
2h(function(t){return t.active=0}),Event.$emit("live-update-shipment-status",t.shipment.id,"noclaim"),t.sendAlert("success","success","Alle claims zijn afgehandeld!"),t.load()):(console.error("Failed to finalize claims:",e.data.error),t.sendAlert("error","error","Er is een fout opgetreden."))}).catch(function(e){t.sendAlert("error","error","Er is een fout opgetreden."),console.error("Error finalizing claims:",e)})},resolveDispute:function(){var t=this,e={item_id:this.shipment.id,item_table:"shipments"};+this.shipment.activeDisputes+ +this.shipment.activeSupplierDisputes>1?this.openModal("dispute-finalize",e):axios.post("/disputes/finalize",e).then(function(e){200===e.status?(t.shipmentDisputes.forEach(function(t){return t.active=0}),Event.$emit("live-update-shipment-status",t.shipment.id,"nodispute"),t.sendAlert("success","success","Alle disputen zijn afgehandeld!"),t.load()):(console.error("Failed to finalize disputes:",e.data.error),t.sendAlert("error","error","Er is een fout opgetreden."))}).catch(function(e){t.sendAlert("error","error","Er is een fout opgetreden."),console.error("Error finalizing disputes:",e)})}}};var $=n(63540),W={insert:"head",singleton:!1};l()($.A,W);$.A.locals;var q=n(78038),V={insert:"head",singleton:!1};l()(q.A,V);q.A.locals;const G=(0,d.A)(B,function(){var t,e,n,i,s,r,a,o,l=this,c=l._self._c;return c("section",[l.loading?c("div",{staticClass:"loader"},[c("i",{staticClass:"fas fa-pulse fa-spinner"}),l._v(" "+l._s(l.r("Bezig met ophalen..")))]):l._e(),l._v(" "),l.loading?l._e():c("div",[c("div",{staticClass:"section header"},["concept"===l.shipmentStatus(l.shipment)||"error"===l.shipmentStatus(l.shipment)||"offerte"===l.shipmentStatus(l.shipment)&&(l.user.is_owner||l.user.is_reseller)?[c("router-link",{staticClass:"btn btn-lg btn-danger pull-right",attrs:{to:{name:"shipments.book-automatic",params:{shipment_id:l.shipment.id}}}},[l._v(l._s(l.r("Zending boeken"))+" "),c("i",{staticClass:"fad fa-caret-circle-right"})])]:l._e(),l._v(" "),c("h1",[l._v("\n                    "+l._s(l.r("Zending"))+" "+l._s(l.shipment.number)+"\n                    "),l.shipment.rides.length>1?c("span",[l._v(" - "+l._s(l.r("Meerdere ritten")))]):l._e()]),l._v(" "),c("div",{staticClass:"options"},[c("div",{staticClass:"pull-right"},["concept"!==l.shipmentStatus(l.shipment)&&"error"!==l.shipmentStatus(l.shipment)&&"offerte"!==l.shipmentStatus(l.shipment)?[l.canRebook?c("router-link",{staticClass:"btn btn-sm",attrs:{to:{name:"shipments.book-automatic",params:{shipment_id:l.shipment.id}}}},[l._v(l._s(l.r("Opnieuw boeken"))+" "),c("i",{staticClass:"fad fa-caret-circle-right"})]):l._e(),l._v(" "),!l.shipment.label||!l.shipment.label.label&&(l.isCourier||l.isPallet||!l.hasLabelPrinter||""!==l.labelType&&"label"!==l.labelType)?l._e():c("span",{staticClass:"btn btn-sm btn-warning btn-list",on:{click:function(t){return l.viewLabel(!0)}}},[c("i",{staticClass:"fad fa-file-pdf"}),l._v(" "+l._s(l.r("Label"))+" "),c("i",{staticClass:"fas fa-caret-down"}),l._v(" "),c("span",{staticClass:"options"},[c("ul",[c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.viewLabel(!0,"Label")}}},[c("i",{staticClass:"fas fa-print"}),l._v(" "+l._s(l.r("Bekijken")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.downloadLabel(!0)}}},[c("i",{staticClass:"fas fa-download"}),l._v(" "+l._s(l.r("Download")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.mailLabel(!0,"Label")}}},[c("i",{staticClass:"fas fa-envelope-open"}),l._v(" "+l._s(l.r("Mailen")))])])])])]),l._v(" "),l.isTNT||l.isCourier||l.isPallet||!l.hasLabel||!l.hasLabelPrinter||""!==l.labelType&&"label"!==l.labelType||"A4"===l.labelType||""===l.labelType?l._e():c("span",{staticClass:"btn btn-sm btn-warning btn-list",on:{click:function(t){return l.viewLabel()}}},[c("i",{staticClass:"fad fa-file-pdf"}),l._v("\n                                "+l._s(l.r("Manifest"))+"\n                                "),c("i",{staticClass:"fas fa-caret-down"}),l._v(" "),c("span",{staticClass:"options"},[c("ul",[c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.viewLabel(!1,"Manifest")}}},[c("i",{staticClass:"fas fa-print"}),l._v(" "+l._s(l.r("Bekijken")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.downloadLabel()}}},[c("i",{staticClass:"fas fa-download"}),l._v(" "+l._s(l.r("Download")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.mailLabel(!1,"Manifest")}}},[c("i",{staticClass:"fas fa-envelope-open"}),l._v(" "+l._s(l.r("Mailen")))])])])])]),l._v(" "),l.CmrObject?c("span",{staticClass:"btn btn-sm btn-warning btn-list",on:{click:function(t){return l.viewFile(l.CmrObject)}}},[c("i",{staticClass:"fad fa-file-pdf"}),l._v(" "+l._s(l.r("CMR"))+" "),c("i",{staticClass:"fas fa-caret-down"}),l._v(" "),c("span",{staticClass:"options"},[c("ul",[c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.viewFile(l.CmrObject)}}},[c("i",{staticClass:"fas fa-print"}),l._v(" "+l._s(l.r("Bekijken")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.downloadFile(l.CmrObject)}}},[c("i",{staticClass:"fas fa-download"}),l._v(" "+l._s(l.r("Download")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.mailFile(l.CmrObject)}}},[c("i",{staticClass:"fas fa-envelope-open"}),l._v(" "+l._s(l.r("Mailen")))])]),l._v(" "),l.isAdmin?c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.deleteFile(l.CmrObject)}}}
2,[c("i",{staticClass:"fas fa-trash-alt"}),l._v(" "+l._s(l.r("Verwijderen")))])]):l._e()])])]):l.isCourier&&l.isPlanned?c("span",{staticClass:"btn btn-sm btn-warning btn-list",on:{click:function(t){return l.viewCmr()}}},[c("i",{staticClass:"fad fa-file-pdf"}),l._v(" "+l._s(l.r("CMR"))+" "),c("i",{staticClass:"fas fa-caret-down"}),l._v(" "),c("span",{staticClass:"options"},[c("ul",[c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.viewCmr()}}},[c("i",{staticClass:"fas fa-print"}),l._v(" "+l._s(l.r("Bekijken")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.downloadCmr()}}},[c("i",{staticClass:"fas fa-download"}),l._v(" "+l._s(l.r("Download")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.mailCmr()}}},[c("i",{staticClass:"fas fa-envelope-open"}),l._v(" "+l._s(l.r("Mailen")))])])])])]):l._e(),l._v(" "),l.AwbObject?c("span",{staticClass:"btn btn-sm btn-warning btn-list",on:{click:function(t){return l.viewFile(l.AwbObject)}}},[c("i",{staticClass:"fad fa-file-pdf"}),l._v(" "+l._s(l.r("AWB"))+" "),c("i",{staticClass:"fas fa-caret-down"}),l._v(" "),c("span",{staticClass:"options"},[c("ul",[c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.viewFile(l.AwbObject)}}},[c("i",{staticClass:"fas fa-print"}),l._v(" "+l._s(l.r("Bekijken")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.downloadFile(l.AwbObject)}}},[c("i",{staticClass:"fas fa-download"}),l._v(" "+l._s(l.r("Download")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.mailFile(l.AwbObject)}}},[c("i",{staticClass:"fas fa-envelope-open"}),l._v(" "+l._s(l.r("Mailen")))])]),l._v(" "),l.isAdmin?c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.deleteFile(l.AwbObject)}}},[c("i",{staticClass:"fas fa-trash-alt"}),l._v(" "+l._s(l.r("Verwijderen")))])]):l._e()])])]):l._e(),l._v(" "),l.BlObject?c("span",{staticClass:"btn btn-sm btn-warning btn-list",on:{click:function(t){return l.viewFile(l.BlObject)}}},[c("i",{staticClass:"fad fa-file-pdf"}),l._v(" "+l._s(l.r("B/L"))+" "),c("i",{staticClass:"fas fa-caret-down"}),l._v(" "),c("span",{staticClass:"options"},[c("ul",[c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.viewFile(l.BlObject)}}},[c("i",{staticClass:"fas fa-print"}),l._v(" "+l._s(l.r("Bekijken")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.downloadFile(l.BlObject)}}},[c("i",{staticClass:"fas fa-download"}),l._v(" "+l._s(l.r("Download")))])]),l._v(" "),c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.mailFile(l.BlObject)}}},[c("i",{staticClass:"fas fa-envelope-open"}),l._v(" "+l._s(l.r("Mailen")))])]),l._v(" "),l.isAdmin?c("li",[c("a",{on:{click:function(t){return t.stopPropagation(),l.deleteFile(l.BlObject)}}},[c("i",{staticClass:"fas fa-trash-alt"}),l._v(" "+l._s(l.r("Verwijderen")))])]):l._e()])])]):l._e(),l._v(" "),l.isComplete&&(l.user.is_owner||l.user.is_reseller)?c("a",{staticClass:"btn btn-sm btn-success",on:{click:function(t){return t.stopPropagation(),l.process(l.shipment.id)}}},[l._v(l._s(l.r("Akkoord"))+" "),c("i",{staticClass:"fad fa-check-circle"})]):l._e(),l._v(" "),l.user.is_reseller||l.user.is_owner?["planned"!==l.shipment.status||l.hasActiveClaims||l.hasActiveDisputes?l._e():c("a",{staticClass:"btn btn-sm",on:{click:function(t){return t.stopPropagation(),l.mailConfirmation()}}},[c("i",{staticClass:"fad fa-envelope-open"}),l._v(" "+l._s(l.r("Bevestiging")))]),l._v(" "),"planned"!==l.shipment.status||l.hasActiveClaims||l.hasActiveDisputes?l._e():c("a",{staticClass:"btn btn-sm btn-success",on:{click:function(t){return t.stopPropagation(),l.completeShipment()}}},[c("i",{staticClass:"fad fa-check-square"}),c("span",[l._v(" "+l._s(l.r("Voltooid")))])])]:l._e(),l._v(" "),l.hasActiveClaims||l.hasActiveDisputes||l.hasActiveSupplierDisputes||!l.hasAccess||l.isChecked||l.isPlanned||l.isComplete||l.isCompleted||!l.user.is_owner&&!l.user.is_reseller?l._e():c("router-link",{staticClass:"btn btn-sm btn-danger",attrs:{to:{name:"shipments.plan",params:{shipment_id:l.shipment.id}}}},[l._v(l._s(l.r("Zending inplannen"))+" "),c("i",{staticClass:"fad fa-caret-circle-right"})]),l._v(" "),(l.user.is_owner||l.user.is_reseller)&&l.hasActiveClaims?c("button",{staticClass:"btn btn-sm btn-success",on:{click:function(t){return t.stopPropagation(),l.resolve
2Claim()}}},[l._v(l._s(l.r("Claim afgehandeld"))+" "),c("i",{staticClass:"fad fa-caret-circle-right"})]):l._e(),l._v(" "),(l.user.is_owner||l.user.is_reseller)&&(l.hasActiveDisputes||l.hasActiveSupplierDisputes)?c("button",{staticClass:"btn btn-sm btn-success",on:{click:function(t){return t.stopPropagation(),l.resolveDispute()}}},[l._v(l._s(l.r("Disputen afgehandeld"))+" "),c("i",{staticClass:"fad fa-caret-circle-right"})]):l._e()]:l._e(),l._v(" "),l.isChecked&&(l.user.is_owner||l.user.is_reseller)?c("button",{staticClass:"btn btn-sm btn-default",on:{click:function(t){return l.revertStatus()}}},[c("i",{staticClass:"fas fa-sync"}),l._v(l._s(l.r("Status terugdraaien")))]):l._e()],2),l._v(" "),c("div",[c("a",{staticClass:"btn btn-sm btn-default",on:{click:function(t){return l.goBack()}}},[c("i",{staticClass:"fas fa-caret-circle-left"}),l._v(" "+l._s(l.r("Terug")))]),l._v(" "),!l.isPlanned||l.isPlanned&&(l.user.is_owner||l.user.is_reseller)?c("router-link",{staticClass:"btn btn-sm btn-default text-warning",attrs:{to:{name:"shipments.form",params:{shipment_id:l.shipment_id}}}},[c("i",{staticClass:"fas fa-pencil-alt"}),c("span",[l._v(" "+l._s(l.r("Bewerken")))])]):l._e(),l._v(" "),c("router-link",{staticClass:"btn btn-sm btn-default text-info",attrs:{to:{name:"shipments.form",query:{copy:l.shipment_id}}}},[c("i",{staticClass:"fas fa-copy"}),c("span",[l._v(" "+l._s(l.r("Kopiëren")))])]),l._v(" "),l.hasModule("reoccurring")?c("router-link",{staticClass:"btn btn-sm btn-default text-success",staticStyle:{"margin-top":"2px"},attrs:{to:{name:"shipments.reoccurring.form",query:{shipment_id:l.shipment_id,relation_id_customer:l.shipment.relation_id_customer,relation_customer:null===(t=l.shipment.relation_customer)||void 0===t?void 0:t.company}}}},[c("i",{staticClass:"fas fa-sync-alt"}),c("span",[l._v(" "+l._s(l.r("Terugkomende zendingen")))])]):l._e()],1)]),l._v(" "),c("div",{staticClass:"tabs"},[c("ul",[c("li",[c("a",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"#details",expression:"'#details'"}],staticClass:"to-details active",on:{click:function(t){return l.selectTab("to-details")}}},[c("i",{staticClass:"fad fa-list-alt"}),l._v(" "+l._s(l.r("Overzicht")))])]),l._v(" "),c("li",[c("a",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"#comments",expression:"'#comments'"}],staticClass:"to-comments",on:{click:function(t){return l.selectTab("to-comments")}}},[c("i",{staticClass:"fad fa-comments"}),l._v(" "+l._s(l.r("Opmerkingen")))])]),l._v(" "),l.hasClaims?c("li",[c("a",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"#claims",expression:"'#claims'"}],staticClass:"to-claims",on:{click:function(t){return l.selectTab("to-claims")}}},[c("i",{staticClass:"fad fa-do-not-enter"}),l._v(" "+l._s(l.r("Claims")))])]):l._e(),l._v(" "),l.hasDisputes?c("li",[c("a",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"#disputes",expression:"'#disputes'"}],staticClass:"to-disputes",on:{click:function(t){return l.selectTab("to-disputes")}}},[c("i",{staticClass:"fad fa-exclamation-triangle"}),l._v(" "+l._s(l.r("Disputen")))])]):l._e(),l._v(" "),l.shipment.exw||!l.user.is_reseller&&!l.user.is_owner||(l.isMine||l.ownAccount)&&1!=l.user.relation_id?l._e():c("li",[c("a",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"#financial",expression:"'#financial'"}],staticClass:"to-finance",on:{click:function(t){return l.selectTab("to-finance")}}},[c("i",{staticClass:"fad fa-money-bill-wave"}),l._v(" "+l._s(l.r("Financieel")))])]),l._v(" "),c("li",[c("a",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"#files",expression:"'#files'"}],staticClass:"to-files",on:{click:function(t){return l.selectTab("to-files")}}},[c("i",{staticClass:"fad fa-file"}),l._v(" "+l._s(l.r("Bestanden"))+"\n                                "),l.shipment.files_count>0?c("span",{staticClass:"counter"},[l._v(l._s(l.shipment.files_count))]):l._e()])]),l._v(" "),l.user.is_reseller||l.user.is_owner?
2c("li",[c("a",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"#logs",expression:"'#logs'"}],staticClass:"to-logs",on:{click:function(t){return l.selectTab("to-logs")}}},[c("i",{staticClass:"fad fa-copy"}),l._v(" "+l._s(l.r("Log")))])]):l._e()])])],2),l._v(" "),c("div",{staticClass:"scroller"},[c("div",{staticClass:"section",attrs:{id:"details"}},[l.hasAccess&&l.shipment.pending_labels>0?c("div",{staticClass:"alert alert-warning"},[c("i",{staticClass:"fas fa-spinner fa-pulse"}),l._v(" "+l._s(l.r("Zending wordt geboekt, het resultaat is binnen enkele ogenblikken zichtbaar."))+"\n                    ")]):l._e(),l._v(" "),"success"===l.$route.query.p?c("div",{staticClass:"alert alert-success"},[c("i",{staticClass:"fad fa-check-circle"}),l._v(" "+l._s(l.r("Uw betaling is ontvangen, de zending is verder verwerkt."))+"\n                    ")]):l._e(),l._v(" "),l.hasAccess?l._e():[c("div",{staticClass:"alert alert-warning"},[c("strong",[l._v(l._s(l.r("Wacht op toegang")))]),l._v(" "),c("small",[l._v(l._s(l.r("Omdat u een nieuwe klant bent moeten wij uw account eerst controleren. Wilt u toch direct de zending boeken, kies dan via de onderstaande knop voor betalen via iDEAL")))])]),l._v(" "),c("router-link",{staticClass:"btn btn-success",attrs:{to:{name:"shipments.book-access",params:{shipment_id:l.shipment.id}}}},[l._v(l._s(l.r("Zending direct boeken"))+" "),c("i",{staticClass:"fad fa-caret-circle-right"})]),l._v(" "),c("br"),l._v(" "),c("br")],l._v(" "),c("div",{staticClass:"row"},[c("div",{staticClass:"col-md-6"},[c("div",{staticClass:"view-details"},[l.user.is_reseller||l.user.is_owner?[+l.shipment.status_relation_id!==+l.shipment.relation_id?[c("router-link",{attrs:{to:{name:"relations.show",params:{relation_id:l.shipment.relation_id}}}},[c("strong",[l._v(l._s(l.shipment.relation.company))])]),c("br"),l._v(" "),c("i",{staticClass:"fas fa-phone-square"}),l._v(" "+l._s(l.shipment.relation.phone)),c("br"),l._v(" "),c("i",{staticClass:"fas fa-envelope-square"}),l._v(" "+l._s(l.limitString(l.shipment.relation.email,25))),c("br")]:[l.shipment.relation_id_customer?[c("router-link",{attrs:{to:{name:"relations.show",params:{relation_id:l.shipment.relation_id_customer}}}},[c("strong",[l._v(l._s(l.shipment.relation_customer.company))])]),c("br"),l._v(" "),c("i",{staticClass:"fas fa-phone-square"}),l._v(" "+l._s(l.shipment.relation_customer.phone)),c("br"),l._v(" "),c("i",{staticClass:"fas fa-envelope-square"}),l._v(" "+l._s(l.limitString(l.shipment.relation_customer.email,25))),c("br")]:[c("div",{staticClass:"alert alert-danger"},[l._v("\n                                                "+l._s(l.r("Geen relatie bekend"))+"\n                                            ")])]],l._v(" "),c("br")]:l._e(),l._v(" "),c("div",{staticClass:"row"},[c("div",{staticClass:"col-md-6"},[c("strong",[l._v(l._s(l.r("Nummer"))+":")]),l._v(" "+l._s(l.shipment.number)),c("br"),l._v(" "),l.isAdmin?[c("strong",[l._v(l._s(l.r("Status"))+":")]),l._v(" "),c("span",{staticClass:"status",class:l.shipmentStatus(l.shipment)},[l._v("\n                                                "+l._s(l.lists.shipmentStatus(l.shipmentStatus(l.shipment)))+"\n                                            ")])]:l._e()],2),l._v(" "),c("div",{staticClass:"col-md-6"},[c("strong",[l._v(l._s(l.r("Verz. waarde"))+":")]),l._v(" "+l._s(l.form_num(l.shipment.insurance_value))+" "+l._s(l.shipment.currency)),c("br"),l._v(" "),c("strong",[l._v(l._s(l.r("Douanewaarde"))+":")]),l._v(" "+l._s(l.form_num(l.shipment.customs_value))+" "+l._s(l.shipment.currency)),c("br")])]),l._v(" "),1===+l.shipment.customs_duty?[c("br"),l._v(" "),c("strong",{staticClass:"text-success"},[c("i",{staticClass:"fas fa-check-square"}),l._v("\n                                        "+l._s(l.r("De afzender betaalt zelf de eventuele invoerrechten en/of belastingen"))+"\n                                    ")])]:[c("br"),l._v(" "),c("strong",{staticClass:"text-info"},[c("i",{staticClass:"fas fa-check-square"}),l._v("\n                                        "+l._s(l.r("De ontvanger betaalt de eventuele invoerrechten en/of belastingen"))+"\n                                    ")])],l._v(" "),l.shipment.exw?[c("br"),l._v(" "),c("div",{staticClass:"alert alert-warning"},[c("i",{staticClass:"fad fa-exclamation-circle"}),l._v(" "+l._s(l.r("Betaling wordt gedaan door een 3e partij"))+"\n                                    ")])]:l._e()],2),l._v(" "),c("div",{staticClass:"claim-dispute-buttons"},[l.isNew||!l.user.is_owner&&!l.user.is_reseller?l._e():[c("a",{staticClass:"btn btn-xs btn-default text-warning",on:{click:function(t){return t.stopPropagation(),l.startDispute()}}},[c("i",{staticClass:"fad fa-exclamation-triangle"}),l._v(" "+l._s(l.r("Dispuut starten"))+"\n                                    ")])],l._v(" "),!l.isNew&&!l.activeClaims&&l.allowedToChangeShipmentDetails&&l.isAdmin?[c("a",{staticClass:"btn btn-xs btn-default text-danger",on:{click:function(t){return t.stopPropagation(),l.startClaim()}}},[c("i",{staticClass:"fad fa-do-not-enter"}),l._v(" "+l._s(l.r("Claim starten"))+"\n                                    ")])]:l._e()],2)]),l._v(" "),c("div",{staticClass:"col-md-6"},[l.shipment.label?[l.shipment.label.error&&!l.shipment.label.success&&"freight"!==l.shipmentStatus(l.shipment)?[c("div",{staticClass:"alert internal alert-danger"},[c("i",{staticClass:"fad fa-exclamation-triangle"}),l._v("\n                                        "+l._s(l.r("Zending boeken mislukt"))),c("br"),c("br"),l._v(" "),c("small",[c("strong",[l._v(l._s(l.r("Oorzaak:")))]),c("br"),l._v(" "),c("small",{domProps:{innerHTML:l._s(l.nl2br(l.shipment.label.error_message))}})])]),l._v(" "),c("a",{staticClass:"btn btn-xs btn-primary",on:{click:function(t){return t.stopPropagation(),l.tryAgain(l.shipment.label.id)}}},[c("i",{staticClass:"fad fa-sync"}),l._v(" "+l._s(l.r("Opnieuw")))])]:l._e(),l._v(" "),l.shipment.label.success||l.shipment.label.error&&"freight"===l.shipmentStatus(l.shipment)?c("div",{staticClass:"view-details"},[c("div",{staticClass:"row"},[c("div",{staticClass:"col-md-8"},[l.shipment.relation_supplier&&(l.user.is_owner||l.user.is_reseller)?[c("strong",[l._v(l._s(l.r("Leverancier"))+":")]),l._v(" "),c("a",{on:{click:function(t){return l.openModal("relation-detail
2s",{relation_id:l.shipment.relation_id_supplier})}}},[l._v("\n                                                    "+l._s(l.shipment.relation_supplier.company)+"\n                                                    "),c("i",{staticClass:"fad fa-sm fa-external-link-square-alt"})]),l._v(" "),c("br"),l._v(" "),c("strong",[l._v(l._s(l.r("Contact"))+":")]),l._v(" "),c("a",{on:{click:function(t){return l.openModal("user-details",{relation_id:l.shipment.relation_id_supplier,user_id:l.shipment.user_id_supplier.id})}}},[l.shipment.user_supplier?[l._v("\n                                                        "+l._s(l.shipment.user_supplier.firstname)+"\n                                                        "+l._s(l.shipment.user_supplier.lastname)+"\n                                                        "),c("i",{staticClass:"fad fa-sm fa-external-link-square-alt"})]:l._e()],2),l._v(" "),c("br"),l._v(" "),null!==(e=l.shipment)&&void 0!==e&&e.vehicle?[c("strong",[l._v(l._s(l.r("Voertuig"))+":")]),l._v("\n                                                    "+l._s(null===(n=l.shipment.vehicle)||void 0===n?void 0:n.description)+"\n\n                                                    "),c("br"),l._v(" "),c("strong",[l._v(l._s(l.r("Kenteken"))+":")]),l._v("\n                                                    "+l._s(null===(i=l.shipment.vehicle)||void 0===i?void 0:i.licence_plate)+"\n\n                                                    "),c("br")]:l._e(),l._v(" "),!l.shipment.vehicle&&l.shipment.licence_plate?[c("strong",[l._v(l._s(l.r("Kenteken"))+":")]),l._v("\n                                                    "+l._s(null===(s=l.shipment)||void 0===s?void 0:s.licence_plate)+"\n\n                                                    "),c("br")]:l._e()]:l._e(),l._v(" "),l.shipment.exw?l._e():[c("strong",[l._v(l._s(l.r("Tarief"))+":")]),l._v("\n                                                € "+l._s(l.shipment.price_view)+"\n\n                                                "),c("br")],l._v(" "),c("strong",[l._v(l._s(l.r("Service"))+":")]),l._v(" "),null!==(r=l.shipment.label)&&void 0!==r&&null!==(r=r.dbaccount)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&r.use_local_rates||!l.shipment.label.serviceName?null!==(a=l.shipment.label)&&void 0!==a&&null!==(a=a.dbaccount)&&void 0!==a&&null!==(a=a.data)&&void 0!==a&&a.use_local_rates&&null!==(o=l.shipment.label)&&void 0!==o&&null!==(o=o.service_name)&&void 0!==o&&o.name?[l._v(l._s(l.shipment.label.service_name.name))]:[l._v(l._s(l.shipment.label.service))]:[l._v(l._s(l.shipment.label.serviceName))],l._v(" "),c("br"),l._v(" "),!l.shipment.manual||l.shipment.manual&&l.shipment.label.barcode?[c("strong",[l._v(l._s(l.r("Barcode"))+":")]),l._v(" "),c("a",{attrs:{href:l.shipment.tracking,target:"_blank"}},[l._v(l._s(l.shipment.label.barcode))]),l._v(" "),l.shipment.label.barcode?[c("a",[c("span",{on:{click:function(t){return l.mailTrackAndTrace()}}},[c("i",{staticClass:"far fa-envelope-open-text"})])])]:l._e()]:l._e(),l._v(" "),c("br"),l._v(" "),l.shipment.label.resourceid?[c("strong",[l._v(l._s(l.r("Resource ID"))+":")]),l._v(" "),c("i",[l._v(l._s(l.shipment.label.resourceid))]),l._v(" "),c("br")]:l._e(),l._v(" "),l.shipment.invoice_id?[c("strong",[l._v(l._s(l.r("Factuur"))+":")]),l._v(" "),c("router-link",{attrs:{to:"/portal/invoices/show/".concat(l.shipment.invoice_id)}},[l._v(l._s(l.shipment.invoice_number))]),l._v(" "),c("br")]:l._e(),l._v(" "),l.shipment.label.awb?[c("strong",[l._v(l._s(l.r("AWB nummer"))+":")]),l._v("\n                                                "+l._s(l.shipment.label.awb)+"\n\n                                                "),c("br")]:l._e(),l._v(" "),l.shipment.label.responseid?[c("strong",[l._v(l._s(l.r("Response ID"))+":")]),l._v("\n                                                "+l._s(l.shipment.label.responseid)+"\n\n                                                "),c("br")]:l._e(),l._v(" "),l.shipment.label.rate?[c("strong",[l._v(l._s(l.r("Service"))+":")]),l._v("\n                                                "+l._s(l.shipment.label.rate.service)+"\n                                            ")]:l._e(
2)],2),l._v(" "),c("div",{staticClass:"col-md-4 text-right"},[l.shipment.transporter_image?c("img",{attrs:{width:"100%",src:l.shipment.transporter_image}}):l._e(),l._v(" "),l.shipment.transporter&&!l.shipment.transporter_image?[l._v(l._s(l.lists.transporters(!0,l.shipment.transporter)))]:l._e(),l._v(" "),l.shipment.manual?[l._v("\n                                                **********\n                                            ")]:l.shipment.account&&!l.shipment.exw?[l._v("\n                                                *******"+l._s(l.shipment.account)+"\n                                            ")]:l._e(),l._v(" "),l.shipment.exw?[l._v("\n                                                *******"+l._s(l.shipment.exw_account_view)+"\n                                            ")]:l._e()],2)]),l._v(" "),l.shipment.label.image?[c("br"),l._v(" "),c("img",{attrs:{width:"100%",height:"50",src:l.shipment.label.image}})]:l._e()],2):l._e(),l._v(" "),l.user.is_reseller||l.user.is_owner?[l.shipment.label.success&&l.isPlanned&&l.allowedToChangeShipmentDetails?[c("a",{staticClass:"btn btn-xs btn-default",on:{click:function(t){return t.stopPropagation(),l.planPickup()}}},[c("i",{staticClass:"fad fa-truck-loading"}),l._v(" "+l._s(l.r("Pickup wijzigen")))]),l._v(" "),c("a",{staticClass:"btn btn-xs btn-default",on:{click:function(t){return t.stopPropagation(),l.setBarcode()}}},[c("i",{staticClass:"fad fa-barcode-alt"}),l._v(" "+l._s(l.r("Barcode wijzigen")))]),l._v(" "),c("a",{staticClass:"btn btn-xs btn-default",on:{click:function(t){return t.stopPropagation(),l.uploadDocument()}}},[c("i",{staticClass:"fad fa-cloud-upload-alt"}),l._v(" "+l._s(l.r("Vrachtbrief uploaden")))]),l._v(" "),l.isFreight||l.isNew||l.isConcept?l._e():c("a",{staticClass:"btn btn-xs btn-default",on:{click:function(t){return t.stopPropagation(),l.editPickupDelivery()}}},[c("i",{staticClass:"fad fa-route"}),l._v(" "+l._s(l.r("Wijzig pickup / levering")))]),l._v(" "),!l.hasAccess||l.isChecked||l.isComplete||l.isCompleted||!l.user.is_owner&&!l.user.is_reseller?l._e():c("router-link",{staticClass:"btn btn-xs btn-default",attrs:{to:{name:"shipments.plan",params:{shipment_id:l.shipment.id}}}},[c("i",{staticClass:"fad fa-caret-circle-right"}),l._v(" "+l._s(l.r("Planning wijzigen")))]),l._v(" "),c("br")]:l._e()]:l._e(),l._v(" "),l.shipment.ride.pickup_error?[c("div",{staticClass:"alert alert-danger"},[c("i",{staticClass:"fas fa-exclamation-triangle"}),l._v(" "+l._s(l.r("Pickup mislukt, neem contact met ons op"))+"\n                                        "),c("small",[l._v(l._s(l.r("Reden"))+": "+l._s(l.shipment.ride.pickup_message))])])]:l._e()]:l._e(),l._v(" "),l.shipment.label?l._e():c("div",{staticClass:"view-details"},[c("div",{staticClass:"no-rows"},["offerte"===l.shipment.status?c("span",[l._v(l._s(l.r("Zending in offerte stadium")))]):c("span",[l._v(l._s(l.r("Zending is nog niet geboekt.")))])])]),l._v(" "),l.user.is_owner?
2c("a",{staticClass:"btn btn-xs btn-default",on:{click:function(t){return t.stopPropagation(),l.apiLog()}}},[c("i",{staticClass:"fad fa-cloud-upload-alt"}),l._v(" "+l._s(l.r("Requests log")))]):l._e()],2)]),l._v(" "),c("div",{staticClass:"rides"},[c("draggable",{attrs:{group:"rides",options:{disabled:l.isMobile}},on:{end:function(t){return l.saveSorting()}},model:{value:l.shipment.rides,callback:function(t){l.$set(l.shipment,"rides",t)},expression:"shipment.rides"}},l._l(l.shipment.rides,function(t,e){var n,i,s,r;return c("div",{key:t.id,staticClass:"ride",class:{open:l.openRides[t.id]||l.singleRide},on:{click:function(e){return l.toggleRide(e.target,t.id)}}},[c("div",{staticClass:"addresses"},[c("div",{staticClass:"default route"},[c("div",{staticClass:"from"},[c("div",{staticClass:"contact"},[l._v(l._s(t.from_contact))]),l._v(" "),c("div",{staticClass:"location"},[l._v(l._s(t.from_place_name)+" "+l._s(t.from_country_name))])]),l._v(" "),c("div",{staticClass:"to"},[c("div",{staticClass:"contact"},[l._v(l._s(t.to_contact))]),l._v(" "),c("div",{staticClass:"location"},[l._v(l._s(t.to_place_name)+" "+l._s(t.to_country_name))])])]),l._v(" "),c("div",{staticClass:"extra"},[l.singleRide||l.isPlanned&&(!l.isPlanned||!l.user.is_owner&&!l.user.is_reseller)?l._e():c("router-link",{staticClass:"btn btn-xs btn-default edit-right",attrs:{to:{name:"rides.form",params:{shipment_id:l.shipment_id,ride_id:t.id}}}},[c("i",{staticClass:"fas fa-pencil text-warning"}),l._v(" "+l._s(l.r("Rit bewerken")))]),l._v(" "),c("div",{staticClass:"route"},[c("div",{staticClass:"from"},[c("div",{staticClass:"contact"},[t.from_company?c("span",[l._v("\n                                                        "+l._s(t.from_company)),c("br"),l._v("\n                                                        "+l._s(l.r("T.a.v."))+" "+l._s(t.from_contact)+"\n                                                    ")]):l._e(),l._v(" "),t.from_company?l._e():c("span",[l._v("\n                                                        "+l._s(t.from_contact)+"\n                                                    ")])]),l._v(" "),c("div",{staticClass:"location"},[l._v("\n\n                                                    "+l._s(t.from_address)),c("br"),l._v(" "),t.from_address_extra?c("span",{staticClass:"location"},[l._v(l._s(t.from_address_extra)),c("br")]):l._e(),l._v("\n                                                    "+l._s(t.from_zipcode)+"  "+l._s(t.from_place_name)+" "),c("br"),l._v("\n                                                    "+l._s(t.from_country_name)+" "),c("br"),l._v(" "),t.from_private?c("small",{staticClass:"text-info text-strong"},[c("i",{staticClass:"fad fa-info-circle"}),l._v(" "+l._s(l.r("Privé adres"))+"\n                                                    ")]):l._e(),l._v(" "),c("br"),l._v(" "),c("br"),l._v(" "),t.from_email?c("span",[c("i",{staticClass:"fas fa-envelope"}),l._v(" "),c("a",{staticClass:"link",attrs:{href:"mailto:"+t.from_email}},[l._v(l._s(l.limitString(t.from_email,25)))]),c("br")]):l._e(),l._v(" "),t.from_phone?c("span",[c("i",{staticClass:"fas fa-phone"}),l._v(" "),c("a",{staticClass:"link",attrs:{href:"tel:"+t.from_phone}},[l._v(l._s(t.from_phone))]),c("br")]):l._e()])]),l._v(" "),c("div",{staticClass:"to"},[c("div",{staticClass:"contact"},[t.to_company?c("span",[l._v("\n                                                        "+l._s(t.to_company)),c("br"),l._v("\n                                                        "+l._s(l.r("T.a.v."))+" "+l._s(t.to_contact)+"\n                                                    ")]):l._e(),l._v(" "),t.to_company?l._e():c("span",[l._v("\n                                                        "+l._s(t.to_contact)+"\n                                                    ")])]),l._v(" "),c("div",{staticClass:"location"},[l._v("\n\n                                                    "+l._s(t.to_address)),c("br"),l._v(" "),t.to_address_extra?c("span",{staticClass:"location"},[l._v(l._s(t.to_address_extra)),c("br")]):l._e(),l._v("\n                                                    "+l._s(t.to_zipcode)+"  "+l._s(t.to_place_name)+" "),c("br"),l._v("\n                                                    "+l._s(t.to_country_name)+" "),c("br"),l._v(" "),t.to_private?c("small",{staticClass:"text-info text-strong"},[c("i",{staticClass:"fad fa-info-circle"}),l._v(" "+l._s(l.r("Privé adres"))+"\n                                                    ")]):l._e(
2),l._v(" "),c("br"),l._v(" "),c("br"),l._v(" "),t.to_email?c("span",[c("i",{staticClass:"fas fa-envelope"}),l._v(" "),c("a",{staticClass:"link",attrs:{href:"mailto:"+t.to_email}},[l._v(l._s(l.limitString(t.to_email,25)))]),c("br")]):l._e(),l._v(" "),t.to_phone?c("span",[c("i",{staticClass:"fas fa-phone"}),l._v(" "),c("a",{staticClass:"link",attrs:{href:"tel:"+t.to_phone}},[l._v(l._s(t.to_phone))]),c("br")]):l._e()])])]),l._v(" "),c("div",{staticClass:"details"},[c("a",{staticClass:"btn btn-xs btn-default text-info pull-right",attrs:{href:l.routeUrl,target:"_blank"}},[c("i",{staticClass:"fas fa-map-marker-alt"}),l._v(" "+l._s(l.r("Toon route")))]),l._v(" "),c("strong",[l._v(l._s(l.r("Inhoud"))+":")]),l._v(" "+l._s(t.description)),c("br"),l._v(" "),c("strong",[l._v(l._s(l.r("Referentie"))+":")]),l._v(" "+l._s(t.reference)),c("br"),l._v(" "),c("strong",[l._v(l._s(l.r("Colli"))+":")]),l._v(" "),c("div",{staticClass:"collis"},l._l(t.collis,function(t,e){return c("div",[c("span",{staticClass:"amount"},[l._v(l._s(t.amount)+"x")]),l._v(" "),c("span",{staticClass:"weight"},[l._v(l._s(t.weight)+l._s(l.r("KG")))]),l._v(" "),c("span",{staticClass:"length"},[l._v(l._s(t.length)+l._s(l.r("cm")))]),l._v(" "),c("span",{staticClass:"width"},[l._v(l._s(t.width)+l._s(l.r("cm")))]),l._v(" "),c("span",{staticClass:"height"},[l._v(l._s(t.height)+l._s(l.r("cm")))]),l._v(" "),c("span",{staticClass:"type"},[t.type?c("span",[l._v(l._s(l.lists.shipmentTypes(t.type)))]):l._e()]),l._v(" "),c("span",{staticClass:"stackable"},["letter"!==t.type&&"document"!==t.type&&t.stackable?c("span",[l._v(l._s(l.lists.palletTypes(t.stackable)))]):l._e()])])}),0)])],1)]),l._v(" "),c("div",{staticClass:"process"},[l.shipment.label&&l.shipment.label.success?c("ul",[c("li",{staticClass:"pickup-item"},[c("span",[l._v(l._s(l.r("Pickup"))+":")]),l._v(" "),c("div",{staticClass:"pickup-content"},[t.pickup_error?[l.isTNT||!l.user.is_reseller&&!l.user.is_owner?l._e():[c("a",{staticClass:"btn btn-xs btn-warning mt-2",on:{click:function(t){return t.stopPropagation(),l.resendPickupRequest()}}},[c("i",{staticClass:"fas fa-redo"}),l._v(" "+l._s(l.r("Pickup opnieuw aanvragen"))+"\n                                                        ")]),l._v(" "),c("br")]]:["pickup"===t.pickup?c("strong",[l._v("\n                                                        "+l._s(t.shipment_at)+" "),t.pickup_from&&t.pickup_until?[l._v(l._s(l.r("tussen")))]:l._e(),l._v(" "+l._s(t.pickup_from)+" "),t.pickup_from&&t.pickup_until?[l._v(l._s(l.r("en")))]:l._e(),l._v(" "+l._s(t.pickup_until)+"\n                                                        "),l.isCourier?l._e():[l._v("\n                                                            (\n                                                                "),t.pickup_code?[l._v(l._s(t.pickup_code))]:l._e(),l._v(" "),t.pickup_code?l._e():c("i",[l._v(l._s(l.r("Nog geen code")))]),l._v("\n                                                            )\n                                                        ")]],2):l._e(),l._v(" "),"existing"===t.pickup?c("strong",[l._v(l._s(l.r("Bestaande pickup")))]):l._e(),l._v(" "),"parcelshop"===t.pickup?c("strong",[l._v(l._s(l.r("Parcelshop"))+" "),null!==(n=l.shipment)&&void 0!==n&&null!==(n=n.parcelshop)&&void 0!==n&&n.name?[l._v("("+l._s(null===(i=l.shipment)||void 0===i||null===(i=i.parcelshop)||void 0===i?void 0:i.name)+")")]:l._e(
2)],2):l._e(),l._v(" "),t.pickup?l._e():c("strong",[c("i",[l._v(l._s(l.r("Nog niet bekend")))])])]],2)]),l._v(" "),!l.shipment.manual||l.shipment.manual&&l.shipment.label.success?["pickup"===t.pickup&&"dpd"!==l.shipment.transporter?c("li",[c("span",[l._v(l._s(l.r("Instructies"))+":")]),l._v(" "),t.pickup_instructions?["ENTER_LOCATION"===t.pickup_instructions?c("strong",[l._v(l._s(t.pickup_input))]):l._e(),l._v(" "),"ENTER_LOCATION"!==t.pickup_instructions?c("strong",[l._v(l._s(l.lists.pickupInstructions(t.pickup_instructions)))]):l._e()]:l._e(),l._v(" "),t.pickup_instructions?l._e():[c("strong",[l._v(l._s(l.r("Niet opgegeven")))])]],2):l._e(),l._v(" "),"dpd"===l.shipment.transporter&&(l.user.is_owner||l.user.is_reseller)&&"pickup"===t.pickup?c("li",[c("span",[l._v(l._s(l.r("Pickup aanvraag"))+":")]),l._v(" "),null!=t&&null!==(s=t.queuedPickup[0])&&void 0!==s&&s.sent_at?[c("strong",[l._v(l._s(l.r("Vestuurd op"))+" "+l._s(null==t||null===(r=t.queuedPickup[0])||void 0===r?void 0:r.sent_at))])]:[c("strong",[l._v(l._s(l.r("Nog niet aangevraagd")))])]],2):l._e(),l._v(" "),c("li",{staticClass:"important"},[c("span",[l._v(l._s(l.r("Geschatte leverdatum"))+":")]),l._v(" "),!l.isCourier&&t.shipment_at?c("strong",[l._v(l._s(t.delivery_date)+" "+l._s(l.r("voor"))+" "+l._s(t.delivery_until))]):l._e(
2),l._v(" "),l.isCourier&&t.shipment_at?c("strong",[l._v(l._s(t.delivery_date)+" "+l._s(l.r("tussen"))+" "+l._s(t.delivery_from)+" "+l._s(l.r("en"))+" "+l._s(t.delivery_until))]):l._e(),l._v(" "),t.shipment_at?l._e():c("strong",[c("i",[l._v(l._s(l.r("Nog niet bekend")))])])]),l._v(" "),l.isNewTracking&&l.isCourier||l.isNewTracking&&l.isExpressService?c("li",{staticStyle:{"margin-top":"20px",width:"100%"}},[l.isFragmented?[c("span",[l._v(l._s(l.r("Laatste ophaaldatum"))+":")]),l._v(" "),l.shipment.total_picked_packages>0?c("strong",[l._v(l._s(l.shipment.last_pickup_at))]):l._e(),l._v(" "),0==l.shipment.total_picked_packages?c("strong",[l._v(l._s(l.r("Nog niet opgehaald")))]):l._e()]:[c("span",[l._v(l._s(l.r("Opgehaald op"))+":")]),l._v(" "),t.picked_at_view?c("strong",[l._v(l._s(t.picked_at_view))]):l._e(),l._v(" "),t.picked_at_view?l._e():c("strong",[l._v(l._s(l.r("Nog niet opgehaald")))])]],2):l._e(),l._v(" "),!(l.isCourier||l.isExpressService||l.isAirSeaDistSame)||l.isFragmented||l.isNewTracking?l._e():c("li",{staticStyle:{"margin-top":"20px",width:"100%"}}),!(l.isCourier||l.isExpressService||l.isAirSeaDistSame||l.isDpd)||l.isFragmented||l.isNewTracking?l._e():c("li",{staticStyle:{"margin-top":"20px",width:"100%"}},[c("span",[l._v(l._s(l.r("Opgehaald op"))+":")]),l._v(" "),t.picked_at_view?c("strong",[l._v(l._s(t.picked_at_view))]):l._e(),l._v(" "),t.picked_at_view?l._e():c("strong",[l._v(l._s(l.r("Nog niet opgehaald")))])]),l._v(" "),l.isNewTracking&&l.isCourier||l.isNewTracking&&l.isExpressService||l.isAirSeaDistSame?c("li",{staticStyle:{width:"100%"}},[l.isFragmented?[c("span",[l._v(l._s(l.r("Laatste afleverdatum"))+":")]),l._v(" "),l.shipment.total_delivered_packages>0?c("strong",[l._v(l._s(l.shipment.last_delivery_at))]):c("strong",[l._v(l._s(l.r("Nog niet geleverd")))])]:[c("span",[l._v(l._s(l.r("Afgeleverd op"))+":")]),l._v(" "),t.delivered_at_view?c("strong",[l._v(l._s(t.delivered_at_view))]):c("strong",[l._v(l._s(l.r("Nog niet geleverd")))])],l._v(" "),l.statusUpdatingAllowed(l.shipment)&&l.getDayDiff(l.shipment)<=90?c("div",{staticClass:"pull-right",staticStyle:{display:"contents"}},[c("a",{staticClass:"btn btn-xs btn-default mb-0",on:{click:function(t){return t.stopPropagation(),l.updatePickupDates(e)}}},[c("i",{staticClass:"fas fa-sync",class:{"fa-pulse":l.loadingSpinner}})])]):l._e()],2):l._e(),l._v(" "),l.isDpd||l.isCourier||l.isExpressService&&!l.isFragmented&&!l.isNewTracking?c("li",{staticStyle:{width:"100%"}},[c("span",[l._v(l._s(l.r("Afgeleverd op"))+":")]),l._v(" "),t.delivered_at_view?c("strong",[l._v(l._s(t.delivered_at_view))]):l._e(),l._v(" "),t.delivered_at_view?l._e():c("strong",[l._v(l._s(l.r("Nog niet geleverd")))]),l._v(" "),l.statusUpdatingAllowed(l.shipment)?c("div",{staticClass:"pull-right",staticStyle:{display:"contents"}},[c("a",{staticClass:"btn btn-xs btn-default mb-0",on:{click:function(t){return t.stopPropagation(),l.updatePickupDates(e)}}},[c("i",{staticClass:"fas fa-sync",class:{"fa-pulse":l.loadingSpinner}})])]):l._e()]):l._e(),l._v(" "),l.isFragmented?c("li",{staticStyle:{"margin-top":"20px",width:"100%"}},[c("span",[l._v("\n                                               "+l._s(l.shipment.total_picked_packages)+" / "+l._s(l.shipment.total_packages)+" pakketten opgehaald.\n                                                "),c("br"),l._v(l._s(l.shipment.total_delivered_packages)+" / "+l._s(l.shipment.total_packages)+" pakketten bezorgd.\n                                            ")])]):l._e(),l._v(" "),l.dateUpdateMessage?c("li",{staticStyle:{width:"100%","margin-top":"20px"}},[c("span",[l._v(l._s(l.dateUpdateMessage))])]):l._e(),l._v(" "),c("br"),l._v(" "),l.getDayDiff(l.shipment)>90?c("span",{staticStyle:{width:"100%","margin-top":"20px",color:"#888","font-size":"11px"}},[l._v("Deze zending is "+l._s(l.getDayDiff(l.shipment))+" dagen oud. Na 90 dagen wordt er geen tracking informatie meer opgehaald.")]):l._e()]:l._e(),l._v(" "),l.shipment.manual&&!l.shipment.label.barcode&&"dist"!=l.shipment.label.transporter&&"sea"!=l.shipment.label.transporter&&"air"!=l.shipment.label.transporter&&"courier"!=l.shipment.label.transporter&&"sameday"!=l.shipment.label.transporter?[c("span",{staticStyle:{color:"#888","font-size":"11px"}},[l._v("Na het inplannen van uw zending wordt hier de actuele status informatie weergeven.")])]:l._e()],2):l._e(),l._v(" "),l.isCourier&&!l.isPlanned?c("small",{staticClass:"text-info"},[c("i",{staticClass:"fas fa-info-circle"}),l._v(" "+l._s(l.r("Wacht op inplannen"))+"\n                                    ")]):l._e(
2),l._v(" "),l.isCourier?[c("br"),l._v(" "),c("small",[l._v(l._s(l.r("Informatie voor de rit")))]),l._v(" "),c("ul",[l.user.is_owner||l.user.is_reseller?l._e():c("li",{staticClass:"inline"},[c("div",[c("span",[l._v(l._s(l.r("Afstand"))+":")]),l._v(" "),0!=t.distance_relation?c("strong",[l._v(l._s(t.distance_relation)+" Km")]):l._e(),l._v(" "),0==t.distance_relation?c("strong",[l._v(l._s(t.distance)+" Km")]):l._e()])]),l._v(" "),l.user.is_owner||l.user.is_reseller?c("li",{staticClass:"inline"},[c("div",[c("span",[l._v(l._s(l.r("Afstand"))+":")]),l._v(" "),c("strong",[l._v(l._s(t.distance)+" Km")])]),l._v(" "),l.isCompleted||!l.user.is_owner&&!l.user.is_reseller?l._e():c("div",{staticClass:"pull-right"},[c("a",{staticClass:"btn btn-xs btn-default",on:{click:function(t){return t.stopPropagation(),l.editDistance()}}},[c("i",{staticClass:"fad fa-route"}),l._v(" "+l._s(l.r("Wijzig Rijafstand")))])])]):l._e(),l._v(" "),c("li",[c("span",[l._v(l._s(l.r("Rittijd"))+":")]),l._v(" "),c("strong",[l._v(l._s(t.duration)+" "+l._s(l.r("uur")))])])])]:l._e()],2)])}),0)],1),l._v(" "),l.isPlanned||l.isNew||l.isCompleted||l.onFreight||l.onerror?l._e():c("router-link",{staticClass:"btn btn-xs btn-default text-success",attrs:{to:{name:"rides.form",params:{shipment_id:l.shipment_id}}}},[c("i",{staticClass:"fas fa-plus-square"}),l._v(" "+l._s(l.r("Rit toevoegen")))])],2),l._v(" "),c("div",{staticClass:"section",attrs:{id:"comments"}},[c("shipment-comments"),l._v(" "),c("a",{staticClass:"btn btn-xs btn-default text-success",on:{click:function(t){return l.openModal("shipment-comment")}}},[c("i",{staticClass:"fas fa-plus-square"}),l._v(" "+l._s(l.r("Opmerking toevoegen"))+" ")])],1),l._v(" "),l.hasClaims?c("div",{staticClass:"section",attrs:{id:"claims"}},[c("shipment-claims")],1):l._e(),l._v(" "),l.hasDisputes?c("div",{staticClass:"section",attrs:{id:"disputes"}},[c("shipment-disputes")],1):l._e(),l._v(" "),l.shipment.exw||!l.user.is_reseller&&!l.user.is_owner||(l.isMine||l.ownAccount)&&1!=l.user.relation_id?l._e():c("div",{staticClass:"section",attrs:{id:"financial"}},[c("shipment-financial",{attrs:{distance:l.shipment.ride.distance}})],1),l._v(" "),c("div",{staticClass:"section",attrs:{id:"files"}},[c("files",{attrs:{id:l.shipment.id,module:"shipments"}}
2)],1),l._v(" "),l.user.is_reseller||l.user.is_owner?c("div",{staticClass:"section",attrs:{id:"logs"}},[c("shipment-logs")],1):l._e(),l._v(" "),l.isAdmin?c("div",{staticClass:"section",attrs:{id:"surcharges"}},[l.shipment.exw?l._e():c("shipment-surcharges")],1):l._e()])])])},[],!1,null,"45ce34f3",null).exports},63540:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(76798),s=n.n(i)()(function(t){return t[1]});s.push([t.id,".split .list{right:45%}.split .details-view{overflow:hidden;width:45%}",""]);const r=s},78038:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(76798),s=n.n(i)()(function(t){return t[1]});s.push([t.id,'.rides[data-v-45ce34f3]{max-height:500px;overflow:auto}.rides .ride[data-v-45ce34f3]{background:#fff;border:1px solid #ddd;border-radius:3px;display:table;font-size:0;margin-bottom:3px;position:relative;transition:.15s;width:100%;z-index:1}@media (max-width:992px){.rides .ride[data-v-45ce34f3]{display:block}}.rides .ride .default[data-v-45ce34f3]{height:auto;opacity:1}.rides .ride .default[data-v-45ce34f3],.rides .ride .extra[data-v-45ce34f3]{overflow:hidden;position:relative;transition:.15s}.rides .ride .extra[data-v-45ce34f3]{height:0;opacity:0}
2.rides .ride.open .default[data-v-45ce34f3]{display:none;height:0;opacity:0;transition:.15s}.rides .ride.open .extra[data-v-45ce34f3]{height:auto;opacity:1;transition:.15s}@media (max-width:1400px){.rides .ride.open .process li span[data-v-45ce34f3]{display:block}}.rides .ride.open .process li strong[data-v-45ce34f3]{padding-bottom:5px}.rides .ride.open .process li[data-v-45ce34f3]:not(.important){display:table}.rides .ride .addresses[data-v-45ce34f3]{display:table-cell;vertical-align:top;width:60%}@media (max-width:992px){.rides .ride .addresses[data-v-45ce34f3]{display:block;width:100%}}.rides .ride[data-v-45ce34f3]:hover{border-color:#003459;cursor:pointer}.route[data-v-45ce34f3]{display:table;position:relative;width:100%}.route[data-v-45ce34f3]:before{background:#fff;color:#30bf6e;content:"\\f35a";font-family:Font Awesome\\ 5 Pro;font-size:14px;height:20px;left:50%;line-height:20px;margin-left:-10px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:20px;z-index:2}.route[data-v-45ce34f3]:after{background:#30bf6e;bottom:8%;content:"";display:block;opacity:.7;position:absolute;right:50%;top:8%;width:1px;z-index:1}.route>div[data-v-45ce34f3]{display:table-cell;padding:10px;vertical-align:top;width:50%}.route>div .contact[data-v-45ce34f3]{color:#007ea7;font-size:12px;font-weight:700}.route>div .location[data-v-45ce34f3]{color:#888;font-size:11px;line-height:11px}.route>div[data-v-45ce34f3]:first-child{padding-right:15px}.route>div[data-v-45ce34f3]:last-child{padding-left:15px}.process[data-v-45ce34f3]{border-left:1px solid #ddd;display:table-cell;height:100%;padding:10px;vertical-align:top;width:40%}@media (max-width:992px){.process[data-v-45ce34f3]{border-left:0;border-top:1px solid #ddd;display:block;width:100%}}.process ul[data-v-45ce34f3]{list-style:none;margin:0;padding:0}.process ul li[data-v-45ce34f3]{display:table}.process ul li[data-v-45ce34f3]:not(.important){display:none}.process ul li span[data-v-45ce34f3],.process ul li strong[data-v-45ce34f3]{display:table-cell;line-height:14px}@media (min-width:992px) and (max-width:1400px){.process ul li span[data-v-45ce34f3],.process ul li strong[data-v-45ce34f3]{display:block}}.process ul li span[data-v-45ce34f3]{color:#888;font-size:11px;width:100px}@media (min-width:992px) and (max-width:1400px){.process ul li span[data-v-45ce34f3]{display:none}}.process ul li strong[data-v-45ce34f3]{color:#007ea7;font-size:11px}.process ul li strong i[data-v-45ce34f3]{font-size:11px;font-weight:400}.process ul li strong a[data-v-45ce34f3]{font-size:11px}.details[data-v-45ce34f3]{background:#f5f5f5;font-size:12px;padding:10px}.details strong[data-v-45ce34f3]{color:#007ea7;
2display:inline-block;font-size:12px;margin-top:5px;vertical-align:top;width:75px}.details strong[data-v-45ce34f3]:first-child{margin-top:0}.details .collis[data-v-45ce34f3]{display:table;font-size:0;vertical-align:top;width:100%}.details .collis>div[data-v-45ce34f3]{background:#fff;border-radius:3px;display:table-row;height:18px;margin-bottom:1px}.details .collis span[data-v-45ce34f3]{display:table-cell;font-size:11px}.details .collis span.amount[data-v-45ce34f3]{font-weight:700;width:35px}.details .collis span.weight[data-v-45ce34f3]{padding-right:5px;width:60px}.details .collis span.length[data-v-45ce34f3]:after,.details .collis span.width[data-v-45ce34f3]:after{content:"x";display:inline-block;padding:0 0 0 5px}.edit-right[data-v-45ce34f3]{position:absolute;right:2px;top:2px;z-index:8}.split .details-view .scroller[data-v-45ce34f3]{top:125px}.split .details-view .section.header[data-v-45ce34f3]{height:140px}.btn-xs[data-v-45ce34f3]{margin-bottom:3px}li.inline[data-v-45ce34f3]{display:inline!important}li.inline div[data-v-45ce34f3]{display:inline-block}.far.fa-envelope-open-text[data-v-45ce34f3]{color:#212529}.pickup-item span[data-v-45ce34f3]{vertical-align:top}.pickup-item .pickup-content[data-v-45ce34f3]{display:table-cell;vertical-align:top}',""]);const r=s},79203:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var i=n(46697),s=n(71394),r=n(15918),a=n(27432),o=n(66587),l=n(63028);const c={name:"index",computed:{lists:function(){return o.A}},components:{RelationSelect:a.A,FormSelect:r.A,FormDate:s.A,Split:i.A,ShowShipment:l.default},data:function(){return{loading:!0,data:[],active_id:null,selected_shipment_id:null,key:0}},mounted:function(){this.load()},methods:{load:function(){var t=this;this.loading=!0,axios.post("/shipments/reoccurring").then(function(e){t.data=e.data.data,t.loading=!1})},day:function(t){switch(t.frequency){case"daily":return this.r("Elke dag");case"weekly":var e=o.A.days(t.day);return this.r("Elke")+" "+("string"==typeof e?e.toLowerCase():"");case"monthly":return t.day+this.r("e van de maand")}},formatDate:function(t){if(!t)return"-";var e=new Date(t),n=String(e.getDate()).padStart(2,"0"),i=String(e.getMonth()+1).padStart(2,"0"),s=e.getFullYear(),r=String(e.getHours()).padStart(2,"0"),a=String(e.getMinutes()).padStart(2,"0");return"".concat(n,"-").concat(i,"-").concat(s," ").concat(r,":").concat(a)},show:function(t,e){this.selected_shipment_id=e,this.active_id=t,this.key++},remove:function(t){var e=this;if(confirm(this.r("Weet u zeker dat u dit wilt verwijderen?"))){var n={reoccurring_shipment_id:t};axios.delete("/shipments/reoccurring/destroy",{params:n}).then(function(t){var n=t.data;return n.success?(e.load(),e.sendAlert("success","",n.message),!0):(e.sendAlert("error",n.error,n.message),!1)})}}}};const u=(0,n(14486).A)(c,function(){var t=this,e=t._self._c;return e("split",{scopedSlots:t._u([{key:"main",fn:function(){return[e("section",[e("h1",[t._v(t._s(t.r("Terugkomende zendingen")))]),t._v(" "),e("br"),e("br"),t._v(" "),e("table",{staticClass:"table table-striped table-hover"},[e("thead",[e("tr",[e("th",{staticClass:"col-icon"}),t._v(" "),e("th",[t._v(t._s(t.r("Nummer")))]),t._v(" "),e("th",[t._v(t._s(t.r("Zendingnummer")))]),t._v(" "),e("th",[t._v(t._s(t.r("Frequentie")))]),t._v(" "),e("th",[t._v(t._s(t.r("Dag")))]),t._v(" "),e("th",[t._v(t._s(t.r("Aangemaakt op")))]),t._v(" "),e("th",[t._v(t._s(t.r("Laatst verwerkt")))]),t._v(" "),e("th",{staticClass:"col-icon"})])]),t._v(" "),e("tbody",t._l(t.data,function(n){return e("tr",{staticClass:"on-click",on:{click:function(e){return t.show(n.id,n.shipment_id)}}},[e("td",{staticClass:"col-icon col-edit",on:{click:function(e){return e.stopPropagation(),t.$router.push({name:"shipments.reoccurring.form",params:{reoccurring_shipment_id:n.id}})}}}),t._v(" "),e("td",[t._v(t._s(n.id))]),t._v(" "),e("td",[t._v(t._s(n.shipment_id))]),t._v(" "),e("td",[t._v(t._s(t.lists.frequencies(n.frequency)))]),t._v(" "),e("td",[t._v(t._s(t.day(n)))]),t._v(" "),e("td",[t._v(t._s(t.formatDate(n.created_at)))]),t._v(" "),e("td",[t._v(t._s(t.formatDate(n.updated_at)))]),t._v(" "),e("td",{staticClass:"col-icon col-delete",on:{click:function(e){return e.stopPropagation(),t.remove(n.id)}}})])}),0)])])]},proxy:!0},{key:"details",fn:function(){return[t.active_id?e("ShowShipment",{key:t.key,tag:"Component",attrs:{"shipment-id-prop":t.selected_shipment_id,component:""}}):t._e()]},proxy:!0}])})},[],!1,null,"1dafaabc",null).exports},79204:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(76798),s=n.n(i)()(function(t){return t[1]});s.push([t.id,".logs-overflow[data-v-1207f6db]{max-height:300px;overflow:auto}.logs-overflow ul[data-v-1207f6db]{list-style:none;margin:0;padding:0}.logs-overflow ul li[data-v-1207f6db]{font-size:11px}.logs-overflow ul li strong[data-v-1207f6db]{color:#007ea7;font-size:11px}",""]);const r=s}}]);

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.