/* Minification failed. Returning unminified contents.
(1,1): run-time error CSS1019: Unexpected token, found '!'
(1,2): run-time error CSS1019: Unexpected token, found 'function('
(1,11): run-time error CSS1019: Unexpected token, found ')'
(1,12): run-time error CSS1019: Unexpected token, found '{'
(1,18): run-time error CSS1031: Expected selector, found '='
(1,18): run-time error CSS1025: Expected comma or open brace, found '='
(1,6568): run-time error CSS1019: Unexpected token, found ','
(1,6570): run-time error CSS1031: Expected selector, found '='
(1,6570): run-time error CSS1025: Expected comma or open brace, found '='
(1,6583): run-time error CSS1031: Expected selector, found 'e('
(1,6583): run-time error CSS1025: Expected comma or open brace, found 'e('
(1,6694): run-time error CSS1031: Expected selector, found '='
(1,6694): run-time error CSS1025: Expected comma or open brace, found '='
(1,6801): run-time error CSS1019: Unexpected token, found ','
(1,6805): run-time error CSS1031: Expected selector, found '='
(1,6805): run-time error CSS1025: Expected comma or open brace, found '='
(1,6908): run-time error CSS1019: Unexpected token, found ','
(1,6912): run-time error CSS1031: Expected selector, found '='
(1,6912): run-time error CSS1025: Expected comma or open brace, found '='
(1,6976): run-time error CSS1019: Unexpected token, found ','
(1,6977): run-time error CSS1019: Unexpected token, found 'function('
(1,6986): run-time error CSS1019: Unexpected token, found ')'
(1,6987): run-time error CSS1019: Unexpected token, found '{'
(1,6988): run-time error CSS1019: Unexpected token, found '"use strict"'
(1,7010): run-time error CSS1031: Expected selector, found 't('
(1,7010): run-time error CSS1025: Expected comma or open brace, found 't('
(1,7131): run-time error CSS1031: Expected selector, found 'n('
(1,7131): run-time error CSS1025: Expected comma or open brace, found 'n('
(1,7326): run-time error CSS1031: Expected selector, found 'r('
(1,7326): run-time error CSS1025: Expected comma or open brace, found 'r('
(1,7420): run-time error CSS1031: Expected selector, found 'o('
(1,7420): run-time error CSS1025: Expected comma or open brace, found 'o('
(1,7586): run-time error CSS1031: Expected selector, found 'i('
(1,7586): run-time error CSS1025: Expected comma or open brace, found 'i('
(1,7639): run-time error CSS1031: Expected selector, found '='
(1,7639): run-time error CSS1025: Expected comma or open brace, found '='
(1,7665): run-time error CSS1031: Expected selector, found 'c('
(1,7665): run-time error CSS1025: Expected comma or open brace, found 'c('
(1,7710): run-time error CSS1031: Expected selector, found 'l('
(1,7710): run-time error CSS1025: Expected comma or open brace, found 'l('
(1,8040): run-time error CSS1031: Expected selector, found '='
(1,8040): run-time error CSS1025: Expected comma or open brace, found '='
(1,8080): run-time error CSS1019: Unexpected token, found ','
(1,8082): run-time error CSS1031: Expected selector, found '='
(1,8082): run-time error CSS1025: Expected comma or open brace, found '='
(1,8473): run-time error CSS1019: Unexpected token, found '('
(1,8474): run-time error CSS1019: Unexpected token, found ')'
(1,8475): run-time error CSS1019: Unexpected token, found ','
(1,8477): run-time error CSS1031: Expected selector, found '='
(1,8477): run-time error CSS1025: Expected comma or open brace, found '='
(1,8905): run-time error CSS1019: Unexpected token, found '('
(1,8906): run-time error CSS1019: Unexpected token, found ')'
(1,8907): run-time error CSS1019: Unexpected token, found ')'
(1,8908): run-time error CSS1019: Unexpected token, found ','
(1,8910): run-time error CSS1031: Expected selector, found '='
(1,8910): run-time error CSS1025: Expected comma or open brace, found '='
(1,9320): run-time error CSS1019: Unexpected token, found '('
(1,9321): run-time error CSS1019: Unexpected token, found ')'
(1,9322): run-time error CSS1019: Unexpected token, found ')'
(1,9364): run-time error CSS1030: Expected identifier, found 'push('
(1,9364): run-time error CSS1031: Expected selector, found 'push('
(1,9364): run-time error CSS1025: Expected comma or open brace, found 'push('
(1,10715): run-time error CSS1019: Unexpected token, found ')'
(1,10716): run-time error CSS1019: Unexpected token, found ')'
(1,10717): run-time error CSS1019: Unexpected token, found '}'
(1,10718): run-time error CSS1019: Unexpected token, found '('
(1,10719): run-time error CSS1019: Unexpected token, found ')'
(1,10720): run-time error CSS1019: Unexpected token, found '}'
(1,10721): run-time error CSS1019: Unexpected token, found '('
(1,10722): run-time error CSS1019: Unexpected token, found ')'
 */
!function(){var t={757:function(t,n,e){t.exports=e(666)},666:function(t){var n=function(t){"use strict";var n,e=Object.prototype,r=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(t){c=function(t,n,e){return t[n]=e}}function l(t,n,e,r){var o=n&&n.prototype instanceof y?n:y,i=Object.create(o.prototype),a=new O(r||[]);return i._invoke=function(t,n,e){var r=f;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===o)throw i;return P()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var u=_(a,e);if(u){if(u===v)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(r===f)throw r=p,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r=d;var c=s(t,n,e);if("normal"===c.type){if(r=e.done?p:h,c.arg===v)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(r=p,e.method="throw",e.arg=c.arg)}}}(t,e,a),i}function s(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function y(){}function w(){}function g(){}var m={};c(m,i,(function(){return this}));var b=Object.getPrototypeOf,L=b&&b(b(D([])));L&&L!==e&&r.call(L,i)&&(m=L);var x=g.prototype=y.prototype=Object.create(m);function k(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function E(t,n){function e(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?n.resolve(f.__await).then((function(t){e("next",t,a,u)}),(function(t){e("throw",t,a,u)})):n.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return e("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,r){function i(){return new n((function(n,o){e(t,r,n,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,_(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=s(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function j(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function F(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function D(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function e(){for(;++o<t.length;)if(r.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=n,e.done=!0,e};return a.next=a}}return{next:P}}function P(){return{value:n,done:!0}}return w.prototype=g,c(x,"constructor",g),c(g,"constructor",w),w.displayName=c(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===w||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},k(E.prototype),c(E.prototype,a,(function(){return this})),t.AsyncIterator=E,t.async=function(n,e,r,o,i){void 0===i&&(i=Promise);var a=new E(l(n,e,r,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(x),c(x,u,"Generator"),c(x,i,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(F),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(r,o){return u.type="throw",u.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=n,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),v},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),F(e),v}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var o=r.arg;F(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:D(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),v}},t}(t.exports);try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}},n={};function e(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={exports:{}};return t[r](i,i.exports,e),i.exports}e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},function(){"use strict";function t(t,n,e,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void e(t)}u.done?n(c):Promise.resolve(c).then(r,o)}function n(n){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=n.apply(e,r);function u(n){t(a,o,i,u,c,"next",n)}function c(n){t(a,o,i,u,c,"throw",n)}u(void 0)}))}}function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function o(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,n,e){return n&&o(t.prototype,n),e&&o(t,e),t}var a=e(757),u=e.n(a);function c(t){return l.apply(this,arguments)}function l(){return(l=n(u().mark((function t(n){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n.status>=200&&n.status<=299)){t.next=4;break}return t.abrupt("return",n.json());case 4:return t.next=6,n.json();case 6:throw e=t.sent,new s(e);case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var s=function t(n){r(this,t),this.message=n},f=function(){function t(){r(this,t)}var e;return i(t,[{key:"getData",value:(e=n(u().mark((function t(n){var e,r,o=arguments;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>1&&void 0!==o[1]?o[1]:{},t.next=3,fetch(n,e);case 3:return r=t.sent,t.abrupt("return",c(r));case 5:case"end":return t.stop()}}),t)}))),function(t){return e.apply(this,arguments)})}]),t}(),h=new f,d=new(function(){function t(){var n,e;r(this,t),e=function(t){return t.includes("/media/files")},(n="isUrlPathToMediaFiles")in this?Object.defineProperty(this,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):this[n]=e}return i(t,[{key:"trackDownload",value:function(t){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"downloadComplete"}),window.dataLayer.push({event:"download".concat(t)})}}]),t}()),p=new(function(){function t(){r(this,t)}return i(t,[{key:"downloadFile",value:function(t){h.getData("/api/gddownloads/GetFileDownloading?cid="+t+"&styleId="+$("body").data("style-id")).then((function(t){if(!t.IsError){var n="_self";if(void 0!==t.openNewTab&&!0===t.openNewTab&&(n="_blank"),t.downloadImediately){if(!t.downloadLink)return;window.open(t.downloadLink,n)}else window.open(t.gatedFormUrl)}}))}}]),t}());document.angularControllersInitializers.push((function(){angular.module("allSites").controller("gdDownloadsController",["$scope",function(t){t.Folders=[],t.Links=[];var n=t.dataSource;t.$watch("dataSource",(function(e,r){var o;void 0!==e&&(n=e,""!=(o=window.DefaultLanguage)&&null!=o||(o="en"),h.getData("/api/gddownloads/getdownloadfolders?cid="+n+"&lang="+o).then((function(n){try{if(null==n||null==n.Content||0==n.Content.length)throw new Error("I couldn't load data about GDDOwnloads folders");t.$apply((function(){t.Folders=n.Content}))}catch(t){console.log(t)}})))}),!0),window.DefaultLanguage,t.GetPDFLinks=function(n,e){"boolean"!=typeof e||e||function(n){h.getData("/api/gddownloads/getpdflinks?cid="+n+"&lang=en").then((function(e){try{if(null==e||null==e.Content||0==e.Content.length)throw new Error("I couldn't load data about GDDownloads");void 0!==t.Links&&function(t,n){for(var e=0;e<t.length;e++)if(t[e].FolderId==n)return!0;return!1}(t.Links,n)&&t.$apply((function(){t.Links=function(t,n){for(var e=[],r=0;r<t.length;r++)t[r].FolderId==n&&e.push(r);for(var o=e.length-1;o>=0;o--)t.splice(e[o],1);return t}(t.Links,n)})),t.$apply((function(){t.Links=function(t,n,e){for(var r=0;r<n.length;r++){var o=n[r];o.FolderId=e,t.push(o)}return t}(t.Links,e.Content,n)}))}catch(t){console.log(t)}}))}(n)},t.downloadFile=function(t){p.downloadFile(t),d.trackDownload("GDdownloads")}}])}))}()}();
//# sourceMappingURL=gdDownloads.min.js.map
