1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6643],{25323:function(t,e,n){var r=n(82909).hp,o=n(99742);t.exports=function(t,e,n,i,u,a,s,c,l,f,p,h,y,d){var v={
1"./src/namespace/cloudinary-core.js":function(t,e,n){"use strict";n.r(e);var i,u,a,s,c,l,f,p,h={};n.r(h),n.d(h,"assign",function(){return g.a}),n.d(h,"cloneDeep",function(){return _.a}),n.d(h,"compact",function(){return k.a}),n.d(h,"difference",function(){return D.a}),n.d(h,"functions",function(){return E.a}),n.d(h,"identity",function(){return S.a}),n.d(h,"includes",function(){return j.a}),n.d(h,"isArray",function(){return P.a}),n.d(h,"isPlainObject",function(){return T.a}),n.d(h,"isString",function(){return z.a}),n.d(h,"merge",function(){return V.a}),n.d(h,"contains",function(){return j.a}),n.d(h,"isElement",function(){return N}),n.d(h,"isFunction",function(){return L}),n.d(h,"trim",function(){return H}),n.d(h,"getData",function(){return th}),n.d(h,"setData",function(){return ty}),n.d(h,"getAttribute",function(){return td}),n.d(h,"setAttribute",function(){return tv}),n.d(h,"removeAttribute",function(){return tm}),n.d(h,"setAttributes",function(){return tg}),n.d(h,"hasClass",function(){return tb}),n.d(h,"addClass",function(){return t_}),n.d(h,"getStyles",function(){return tw}),n.d(h,"cssExpand",function(){return tk}),n.d(h,"domStyle",function(){return tO}),n.d(h,"curCSS",function(){return tD}),n.d(h,"cssValue",function(){return tA}),n.d(h,"augmentWidthOrHeight",function(){return tE}),n.d(h,"getWidthOrHeight",function(){return tS}),n.d(h,"width",function(){return tB}),n.d(h,"omit",function(){return U}),n.d(h,"allStrings",function(){return W}),n.d(h,"without",function(){return $}),n.d(h,"isNumberLike",function(){return q}),n.d(h,"smartEscape",function(){return Q}),n.d(h,"defaults",function(){return Y}),n.d(h,"objectProto",function(){return K}),n.d(h,"objToString",function(){return Z}),n.d(h,"isObject",function(){return G}),n.d(h,"funcTag",function(){return X}),n.d(h,"reWords",function(){return tt}),n.d(h,"camelCase",function(){return te}),n.d(h,"snakeCase",function(){return tn}),n.d(h,"convertKeys",function(){return tr}),n.d(h,"withCamelCaseKeys",function(){return to}),n.d(h,"withSnakeCaseKeys",function(){return ti}),n.d(h,"base64Encode",function(){return tu}),n.d(h,"base64EncodeURL",function(){return ta}),n.d(h,"extractUrlParams",function(){return tc}),n.d(h,"patchFetchFormat",function(){return tl}),n.d(h,"optionConsume",function(){return tf}),n.d(h,"isEmpty",function(){return tp});var y={};n.r(y),n.d(y,"VERSION",function(){return eg}),n.d(y,"CF_SHARED_CDN",function(){return eb}),n.d(y,"OLD_AKAMAI_SHARED_CDN",function(){return e_}),n.d(y,"AKAMAI_SHARED_CDN",function(){return ew}),n.d(y,"SHARED_CDN",function(){return ek}),n.d(y,"DEFAULT_POSTER_OPTIONS",function(){return eO}),n.d(y,"DEFAULT_VIDEO_SOURCE_TYPES",function(){return eD}),n.d(y,"SEO_TYPES",function(){return eA}),n.d(y,"DEFAULT_IMAGE_PARAMS",function(){return eE}),n.d(y,"DEFAULT_VIDEO_PARAMS",function(){return eC}),n.d(y,"DEFAULT_VIDEO_SOURCES",function(){return eS});var d=function(t){var e,n,r,o,i,u,a,s;if(null==t)return"";for(u=t+"",s="",i=void 0,r=void 0,a=0,i=r=0,a=u.length,o=0;o<a;)e=u.charCodeAt(o),n=null,e<128?r++:n=e>127&&e<2048?String.fromCharCode(e>>6|192,63&e|128):String.fromCharCode(e>>12|224,e>>6&63|128,63&e|128),null!==n&&(r>i&&(s+=u.slice(i,r)),s+=n,i=r=o+1),o++;return r>i&&(s+=u.slice(i,a)),s},v=function(t){var e,n,r,o,i;for(o=0,i=0,e=-1,n=0,r=(t=d(t)).length;n<r;)i=(e^t.charCodeAt(n))&255,e=e>>>8^(o="0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256
1FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substr(9*i,8)),n++;return(e^=-1)<0&&(e+=0x100000000),e},m=n("lodash/assign"),g=n.n(m),b=n("lodash/cloneDeep"),_=n.n(b),w=n("lodash/compact"),k=n.n(w),O=n("lodash/difference"),D=n.n(O),A=n("lodash/functions"),E=n.n(A),C=n("lodash/identity"),S=n.n(C),B=n("lodash/includes"),j=n.n(B),F=n("lodash/isArray"),P=n.n(F),x=n("lodash/isPlainObject"),T=n.n(x),R=n("lodash/isString"),z=n.n(R),I=n("lodash/merge"),V=n.n(I),N=n("lodash/isElement"),L=n("lodash/isFunction"),H=n("lodash/trim");function M(t){return(M="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)}function U(t,e){var n=Object.keys(t=t||{}).filter(function(t){return!j()(e,t)}),r={};return n.forEach(function(e){return r[e]=t[e]}),r}var W=function(t){return t.length&&t.every(z.a)},$=function(t,e){return t.filter(function(t){return t!==e})},q=function(t){return null!=t&&!isNaN(parseFloat(t))},Q=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/([^a-zA-Z0-9_.\-\/:]+)/g;return t.replace(e,function(t){return t.split("").map(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}).join("")})},Y=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.reduce(function(t,e){var n,r;for(n in e)r=e[n],void 0===t[n]&&(t[n]=r);return t},t)},K=Object.prototype,Z=K.toString,G=function(t){var e;return e=M(t),!!t&&("object"===e||"function"===e)},X="[object Function]",J=function(t){return G(t)&&Z.call(t)===X},tt=RegExp((i="[A-Z]")+"+(?="+i+"[a-z]+)|"+i+"?[a-z]+|"+i+"+|[0-9]+","g"),te=function(t){var e=t.match(tt);return(e=e.map(function(t){return t.charAt(0).toLocaleUpperCase()+t.slice(1).toLocaleLowerCase()}))[0]=e[0].toLocaleLowerCase(),e.join("")},tn=function(t){var e=t.match(tt);return(e=e.map(function(t){return t.toLocaleLowerCase()})).join("_")},tr=function(t,e){var n,r;for(var o in n={},t)r=t[o],e&&(o=e(o)),tp(o)||(n[o]=r);return n},to=function(t){return tr(t,te)},ti=function(t){return tr(t,tn)},tu="u">typeof btoa&&J(btoa)?btoa:void 0!==r&&J(r)?function(t){return t instanceof r||(t=new r.from(String(t),"binary")),t.toString("base64")}:function(t){throw Error("No base64 encoding function found")},ta=function(t){try{t=decodeURI(t)}finally{t=encodeURI(t)}return tu(t)},ts=["api_secret","auth_token","cdn_subdomain","cloud_name","cname","format","private_cdn","resource_type","secure","secure_cdn_subdomain","secure_distribution","shorten","sign_url","ssl_detected","type","url_suffix","use_root_path","version"];function tc(t){return ts.reduce(function(e,n){return null!=t[n]&&(e[n]=t[n]),e},{})}function tl(t){null==t&&(t={}),"fetch"===t.type&&null==t.fetch_format&&(t.fetch_format=tf(t,"format"))}function tf(t,e,n){var r=t[e];return(delete t[e],null!=r)?r:n}function tp(t){if(null==t)return!0;if("number"==typeof t.length)return 0===t.length;if("number"==typeof t.size)return 0===t.size;if("object"==M(t)){for(var e in t)if(t.hasOwnProperty(e))return!1}return!0}var th=function(t,e){switch(!1){case null!=t:return;case!L(t.getAttribute):return t.getAttribute("data-".concat(e));case!L(t.getAttr):return t.getAttr("data-".concat(e));case!L(t.data):return t.data(e);case!(L("u">typeof jQuery&&jQuery.fn&&jQuery.fn.data)&&N(t)):return jQuery(t).data(e)}},ty=function(t,e,n){switch(!1){case null!=t:return;case!L(t.setAttribute):return t.setAttribute("data-".concat(e),n);case!L(t.setAttr):return t.setAttr("data-".concat(e),n);case!L(t.data):return t.data(e,n);case!(L("u">typeof jQuery&&jQuery.fn&&jQuery.fn.data)&&N(t)):return jQuery(t).data(e,n)}},td=function(t,e){switch(!1){case null!=t:return;case!L(t.getAttribute):return t.getAttribute(e);case!L(t.attr):return t.attr(e);case!L(t.getAttr):return t.getAttr(e)}},tv=function(t,e,n){switch(!1){case null!=t:return;case!L(t.setAttribute):return t.setAttribute(e,n);case!L(t.attr):return t.attr(e,n);case!L(t.setAttr):return t.setAttr(e,n)}},tm=function(t,e){switch(!1){case null!=t:return;case!L(t.removeAttribute):return t.removeAttribute(e);default:return tv(t,void 0)}},tg=function(t,e){var n,r,o;for(n in r=[],e)null!=(o=e[n])?r.push(tv(t,n,o)):r.push(tm(t,n));return r},tb=function(t,e){if(N(t))return t.className.match(new RegExp("\\b".concat(e,"\\b")))},t_=function(t,e){if(!t.className.match(new RegExp("\\b".concat(e,"\\b"))))return t.className=H("".concat(t.className," ").concat(e))},tw=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):window.getComputedStyle(t,null)},tk=["Top","Right","Bottom","Left"];u=function(t,e){var n,r;return n=9===t.nodeType?t.documentElement:t,t===(r=e&&e.parentNode)||!!(r&&1===r.nodeType&&n.contains(r))};var tO=function(t,e){if(!(!t||3===t.nodeType||8===t.nodeType||!t.style))return t.style[e]},tD=function(t,e,n){var r,o,i,a,s;return(s=void 0,o=void 0,r=void 0,i=void 0,a=t.style,(n=n||tw(t))&&(i=n.getPropertyValue(e)||n[e]),n&&(""!==i||u(t.ownerDocument,t)||(i=tO(t,e)),tC.test(i)&&/^margin/.test(e)&&(s=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=i,i=n.width,a.width=s,a.minWidth=o,a.maxWidth=r)),void 0!==i)?i+"":i},tA=function(t,e,n,r){var o;return(o=tD(t,e,r),n)?parseFloat(o):o},tE=function(t,e,n,r,o){var i,u,a,s,c;if(n===(r?"border":"content"))return 0;
1for(i=0,c=0,u=(s="width"===e?["Right","Left"]:["Top","Bottom"]).length;i<u;i++)a=s[i],"margin"===n&&(c+=tA(t,n+a,!0,o)),r?("content"===n&&(c-=tA(t,"padding".concat(a),!0,o)),"margin"!==n&&(c-=tA(t,"border".concat(a,"Width"),!0,o))):(c+=tA(t,"padding".concat(a),!0,o),"padding"!==n&&(c+=tA(t,"border".concat(a,"Width"),!0,o)));return c},tC=RegExp("^("+/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source+")(?!px)[a-z%]+$","i"),tS=function(t,e,n){var r,o,i,u;if(u=!0,i="width"===e?t.offsetWidth:t.offsetHeight,o=tw(t),r="border-box"===tA(t,"boxSizing",!1,o),i<=0||null==i){if(((i=tD(t,e,o))<0||null==i)&&(i=t.style[e]),tC.test(i))return i;u=r&&i===t.style[e],i=parseFloat(i)||0}return i+tE(t,e,n||(r?"border":"content"),u,o)},tB=function(t){return tS(t,"width","content")};function tj(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var tF=function(){var t,e;function n(t){if(!(this instanceof n))throw TypeError("Cannot call a class as a function");this.expressions=[],null!=t&&this.expressions.push(n.normalize(t))}return t=[{key:"serialize",value:function(){return n.normalize(this.expressions.join("_"))}},{key:"toString",value:function(){return this.serialize()}},{key:"getParent",value:function(){return this.parent}},{key:"setParent",value:function(t){return this.parent=t,this}},{key:"predicate",value:function(t,e,r){return null!=n.OPERATORS[e]&&(e=n.OPERATORS[e]),this.expressions.push("".concat(t,"_").concat(e,"_").concat(r)),this}},{key:"and",value:function(){return this.expressions.push("and"),this}},{key:"or",value:function(){return this.expressions.push("or"),this}},{key:"then",value:function(){return this.getParent().if(this.toString())}},{key:"height",value:function(t,e){return this.predicate("h",t,e)}},{key:"width",value:function(t,e){return this.predicate("w",t,e)}},{key:"aspectRatio",value:function(t,e){return this.predicate("ar",t,e)}},{key:"pageCount",value:function(t,e){return this.predicate("pc",t,e)}},{key:"faceCount",value:function(t,e){return this.predicate("fc",t,e)}},{key:"value",value:function(t){return this.expressions.push(t),this}}],e=[{key:"new",value:function(t){return new this(t)}},{key:"normalize",value:function(t){var e;return null==t?t:(t=String(t),e=RegExp("((\\|\\||>=|<=|&&|!=|>|=|<|/|-|\\+|\\*)(?=[ _])|"+Object.keys(n.PREDEFINED_VARS).join("|")+")","g"),(t=t.replace(e,function(t){return n.OPERATORS[t]||n.PREDEFINED_VARS[t]})).replace(/[ _]+/g,"_"))}},{key:"variable",value:function(t,e){return new this(t).value(e)}},{key:"width",value:function(){return new this("width")}},{key:"height",value:function(){return new this("height")}},{key:"initialWidth",value:function(){return new this("initialWidth")}},{key:"initialHeight",value:function(){return new this("initialHeight")}},{key:"aspectRatio",value:function(){return new this("aspectRatio")}},{key:"initialAspectRatio",value:function(){return new this("initialAspectRatio")}},{key:"pageCount",value:function(){return new this("pageCount")}},{key:"faceCount",value:function(){return new this("faceCount")}},{key:"currentPage",value:function(){return new this("currentPage")}},{key:"tags",value:function(){return new this("tags")}},{key:"pageX",value:function(){return new this("pageX")}},{key:"pageY",value:function(){return new this("pageY")}}],t&&tj(n.prototype,t),e&&tj(n,e),n}();function tP(t){return(tP="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)}tF.OPERATORS={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub"},tF.PREDEFINED_VARS={aspect_ratio:"ar",aspectRatio:"ar",current_page:"cp",currentPage:"cp",duration:"du",face_count:"fc",faceCount:"fc",height:"h",initial_aspect_ratio:"iar",initial_duration:"idu",initial_height:"ih",initial_width:"iw",initialAspectRatio:"iar",initialDuration:"idu",initialHeight:"ih",initialWidth:"iw",page_count:"pc",page_x:"px",page_y:"py",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags",width:"w"},tF.BOUNDRY="[ _]+";
1function tx(t){return(tx=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tT(t,e){return(tT=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var tR=function(t){var e;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function n(t){var e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return(e=tx(n).call(this,t))&&("object"===tP(e)||"function"==typeof e)?e:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this)}return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&tT(n,t),e=[{key:"height",value:function(t,e){return this.predicate("h",t,e)}},{key:"width",value:function(t,e){return this.predicate("w",t,e)}},{key:"aspectRatio",value:function(t,e){return this.predicate("ar",t,e)}},{key:"pageCount",value:function(t,e){return this.predicate("pc",t,e)}},{key:"faceCount",value:function(t,e){return this.predicate("fc",t,e)}},{key:"duration",value:function(t,e){return this.predicate("du",t,e)}},{key:"initialDuration",value:function(t,e){return this.predicate("idu",t,e)}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(n.prototype,e),n}(tF),tz=function(){var t;function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.configuration=null==t?{}:_()(t),Y(this.configuration,tI)}return t=[{key:"init",value:function(){return this.fromEnvironment(),this.fromDocument(),this}},{key:"set",value:function(t,e){return this.configuration[t]=e,this}},{key:"get",value:function(t){return this.configuration[t]}},{key:"merge",value:function(t){return g()(this.configuration,_()(t)),this}},{key:"fromDocument",value:function(){var t,e,n,r;if(r="u">typeof document&&null!==document?document.querySelectorAll('meta[name^="cloudinary_"]'):void 0)for(e=0,n=r.length;e<n;e++)t=r[e],this.configuration[t.getAttribute("name").replace("cloudinary_","")]=t.getAttribute("content");return this}},{key:"fromEnvironment",value:function(){var t,e,n,r=this;return null!=o&&o.env&&o.env.CLOUDINARY_URL&&(t=o.env.CLOUDINARY_URL,(n=/cloudinary:\/\/(?:(\w+)(?:\:([\w-]+))?@)?([\w\.-]+)(?:\/([^?]*))?(?:\?(.+))?/.exec(t))&&(null!=n[3]&&(this.configuration.cloud_name=n[3]),null!=n[1]&&(this.configuration.api_key=n[1]),null!=n[2]&&(this.configuration.api_secret=n[2]),null!=n[4]&&(this.configuration.private_cdn=null!=n[4]),null!=n[4]&&(this.configuration.secure_distribution=n[4]),null!=(e=n[5])&&e.split("&").forEach(function(t){var e,n=function(t){if(Array.isArray(t))return t}(e=t.split("="))||function(t){var e=[],n=!0,r=!1,o=void 0;try{for(var i,u=t[Symbol.iterator]();!(n=(i=u.next()).done)&&(e.push(i.value),2!==e.length);n=!0);}catch(t){r=!0,o=t}finally{try{n||null==u.return||u.return()}finally{if(r)throw o}}return e}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}(),o=n[0],i=n[1];null==i&&(i=!0),r.configuration[o]=i}))),this}},{key:"config",value:function(t,e){switch(!1){case void 0===e:return this.set(t,e),this.configuration;case!z()(t):return this.get(t);case!T()(t):return this.merge(t),this.configuration;default:return this.configuration}}},{key:"toOptions",value:function(){return _()(this.configuration)}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),e}(),tI={responsive_class:"cld-responsive",responsive_use_breakpoints:!0,round_dpr:!0,secure:("u">typeof window&&null!==window&&window.location?window.location.protocol:void 0)==="https:"};tz.CONFIG_PARAMS=["api_key","api_secret","callback","cdn_subdomain","cloud_name","cname","private_cdn","protocol","resource_type","responsive","responsive_class","responsive_use_breakpoints","responsive_width","round_dpr","secure","secure_cdn_subdomain","secure_distribution","shorten","type","upload_preset","url_suffix","use_root_path","version"];var tV=function(){var t;function e(t){var n=this;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.options={},null!=t&&["resourceType","type","publicId","format"].forEach(function(e){var r;return n.options[e]=null!=(r=t[e])?r:t[tn(e)]})}return t=[{key:"resourceType",value:function(t){return this.options.resourceType=t,this}},{key:"type",value:function(t){return this.options.type=t,this}},{key:"publicId",value:function(t){return this.options.publicId=t,this}},{key:"getPublicId",value:function(){var t;return null!=(t=this.options.publicId)?t.replace(/\//g,":"):void 0}},{key:"getFullPublicId",value:function(){return null!=this.options.format?this.getPublicId()+"."+this.options.format:this.getPublicId()}},{key:"format",value:function(t){return this.options.format=t,this}},{key:"toString",value:function(){var t;if(t=[],null==this.options.publicId)throw"Must supply publicId";return"image"!==this.options.resourceType&&t.push(this.options.resourceType),"upload"!==this.options.type&&t.push(this.options.type),t.pu
1sh(this.getFullPublicId()),k()(t).join(":")}},{key:"clone",value:function(){return new this.constructor(this.options)}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),e}();function tN(t){return(tN="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)}function tL(t){return(tL=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tH(t,e){return(tH=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var tM=function(t){var e;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function n(t){var e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=(r=tL(n).call(this,t))&&("object"===tN(r)||"function"==typeof r)?r:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this),null!=t&&["resourceType","resourceType","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textAlign","stroke","letterSpacing","lineSpacing","fontHinting","fontAntialiasing","text"].forEach(function(n){var r;return e.options[n]=null!=(r=t[n])?r:t[tn(n)]}),e.options.resourceType="text",e}return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&tH(n,t),e=[{key:"resourceType",value:function(t){throw"Cannot modify resourceType for text layers"}},{key:"type",value:function(t){throw"Cannot modify type for text layers"}},{key:"format",value:function(t){throw"Cannot modify format for text layers"}},{key:"fontFamily",value:function(t){return this.options.fontFamily=t,this}},{key:"fontSize",value:function(t){return this.options.fontSize=t,this}},{key:"fontWeight",value:function(t){return this.options.fontWeight=t,this}},{key:"fontStyle",value:function(t){return this.options.fontStyle=t,this}},{key:"textDecoration",value:function(t){return this.options.textDecoration=t,this}},{key:"textAlign",value:function(t){return this.options.textAlign=t,this}},{key:"stroke",value:function(t){return this.options.stroke=t,this}},{key:"letterSpacing",value:function(t){return this.options.letterSpacing=t,this}},{key:"lineSpacing",value:function(t){return this.options.lineSpacing=t,this}},{key:"fontHinting",value:function(t){return this.options.fontHinting=t,this}},{key:"fontAntialiasing",value:function(t){return this.options.fontAntialiasing=t,this}},{key:"text",value:function(t){return this.options.text=t,this}},{key:"toString",value:function(){var t,e,n,r,o,i,u,a,s,c;if(a=this.textStyleIdentifier(),null!=this.options.publicId&&(r=this.getFullPublicId()),null!=this.options.text){if(e=!tp(r),n=!tp(a),e&&n||!e&&!n)throw"Must supply either style parameters or a public_id when providing text parameter in a text overlay/underlay, but not both!";for(o=/\$\([a-zA-Z]\w*\)/g,u=0,c=Q(this.options.text,/[,\/]/g),s="";i=o.exec(c);)s+=Q(c.slice(u,i.index)),s+=i[0],u=i.index+i[0].length;s+=Q(c.slice(u))}return t=[this.options.resourceType,a,r,s],k()(t).join(":")}},{key:"textStyleIdentifier",value:function(){var t;if(t=[],"normal"!==this.options.fontWeight&&t.push(this.options.fontWeight),"normal"!==this.options.fontStyle&&t.push(this.options.fontStyle),"none"!==this.options.textDecoration&&t.push(this.options.textDecoration),t.push(this.options.textAlign),"none"!==this.options.stroke&&t.push(this.options.stroke),tp(this.options.letterSpacing)&&!q(this.options.letterSpacing)||t.push("letter_spacing_"+this.options.letterSpacing),tp(this.options.lineSpacing)&&!q(this.options.lineSpacing)||t.push("line_spacing_"+this.options.lineSpacing),tp(this.options.fontAntialiasing)||t.push("antialias_"+this.options.fontAntialiasing),tp(this.options.fontHinting)||t.push("hinting_"+this.options.fontHinting),!tp(k()(t))){if(tp(this.options.fontFamily))throw"Must supply fontFamily. ".concat(t);if(tp(this.options.fontSize)&&!q(this.options.fontSize))throw"Must supply fontSize."}return t.unshift(this.options.fontFamily,this.options.fontSize),t=k()(t).join("_")}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(n.prototype,e),n}
1(tV);function tU(t){return(tU="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)}function tW(t){return(tW=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function t$(t,e){return(t$=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var tq=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function e(t){var n,r;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");return(n=(r=tW(e).call(this,t))&&("object"===tU(r)||"function"==typeof r)?r:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this)).options.resourceType="subtitles",n}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t$(e,t),e}(tM);function tQ(t){return(tQ="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)}function tY(t){return(tY=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tK(t,e){return(tK=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var tZ=function(t){var e;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function n(t){var e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=(r=tY(n).call(this,t))&&("object"===tQ(r)||"function"==typeof r)?r:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this),z()(t)?e.options.url=t:(null!=t?t.url:void 0)&&(e.options.url=t.url),e}return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&tK(n,t),e=[{key:"url",value:function(t){return this.options.url=t,this}},{key:"toString",value:function(){return"fetch:".concat(ta(this.options.url))}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(n.prototype,e),n}
1(tV);function tG(t){return(tG="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)}function tX(t,e){return e&&("object"===tG(e)||"function"==typeof e)?e:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function tJ(t,e,n){return(tJ="u">typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=t0(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function t0(t){return(t0=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function t1(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t6(t,e)}
1function t6(t,e){return(t6=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function t2(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function t3(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function t4(t,e,n){return e&&t3(t.prototype,e),n&&t3(t,n),t}var t5=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;t2(this,t),this.name=e,this.shortName=n,this.process=r}return t4(t,[{key:"set",value:function(t){return this.origValue=t,this}},{key:"serialize",value:function(){var t,e;return(t=this.value(),e=P()(t)||T()(t)||z()(t)?!tp(t):null!=t,null!=this.shortName&&e)?"".concat(this.shortName,"_").concat(t):""}},{key:"value",value:function(){return this.process(this.origValue)}},{key:"build_array",value:function(t){return null==t?[]:P()(t)?t:[t]}}],[{key:"norm_color",value:function(t){return null!=t?t.replace(/^#/,"rgb:"):void 0}},{key:"process_video_params",value:function(t){var e;switch(t.constructor){case Object:return e="","codec"in t&&(e=t.codec,"profile"in t&&(e+=":"+t.profile,"level"in t&&(e+=":"+t.level))),e;case String:return t;default:return null}}}]),t}(),t9=function(t){function e(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",i=arguments.length>3?arguments[3]:void 0;return t2(this,e),(r=tX(this,t0(e).call(this,t,n,i))).sep=o,r}return t1(e,t),t4(e,[{key:"serialize",value:function(){if(null==this.shortName)return"";var t=this.value();if(tp(t))return"";if(z()(t))return"".concat(this.shortName,"_").concat(t);var e=t.map(function(t){return L(t.serialize)?t.serialize():t}).join(this.sep);return"".concat(this.shortName,"_").concat(e)}},{key:"value",value:function(){var t=this;return P()(this.origValue)?this.origValue.map(function(e){return t.process(e)}):this.process(this.origValue)}},{key:"set",value:function(t){return null==t||P()(t)?tJ(t0(e.prototype),"set",this).call(this,t):tJ(t0(e.prototype),"set",this).call(this,[t])}}]),e}(t5),t8=function(t){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"t",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",i=arguments.length>3?arguments[3]:void 0;return t2(this,e),(n=tX(this,t0(e).call(this,t,r,i))).sep=o,n}return t1(e,t),t4(e,[{key:"serialize",value:function(){var t=this;if(tp(this.value()))return"";if(!W(this.value()))return this.value().map(function(e){return z()(e)&&!tp(e)?"".concat(t.shortName,"_").concat(e):L(e.serialize)?e.serialize():T()(e)&&!tp(e)?new ed(e).serialize():void 0}).filter(function(t){return t});var e=this.value().join(this.sep);return tp(e)?"":"".concat(this.shortName,"_").concat(e)}},{key:"set",value:function(t){return(this.origValue=t,P()(this.origValue))?tJ(t0(e.prototype),"set",this).call(this,this.origValue):tJ(t0(e.prototype),"set",this).call(this,[this.origValue])}}]),e}(t5),t7=function(t){function e(t,n,r){var o;return t2(this,e),(o=tX(this,t0(e).call(this,t,n,r))).process||(o.process=o.norm_range_value),o}return t1(e,t),t4(e,null,[{key:"norm_range_value",value:function(t){var e,n;return(n=String(t).match(RegExp("^"+offset_any_pattern+"$")))&&(e=null!=n[5]?"p":"",t=(n[1]||n[4])+e),t}}]),e}(t5),et=function(t){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return t2(this,e),tX(this,t0(e).call(this,t,n,r))}return t1(e,t),t4(e,[{key:"serialize",value:function(){return this.value()}}]),e}(t5),ee=function(t){function e(){return t2(this,e),tX(this,t0(e).apply(this,arguments))}return t1(e,t),t4(e,[{key:"value",value:function(){if(null==this.origValue)return"";if(this.origValue instanceof tV)t=this.origValue;else if(T()(this.origValue)){var t,e=to(this.origValue);t="text"===e.resourceType||null!=e.text?new tM(e):"subtitles"===e.resourceType?new tq(e):"fetch"===e.resourceType||null!=e.url?new tZ(e):new tV(e)}else t=z()(this.origValue)?/^fetch:.+/.test(this.origValue)?new tZ(this.origValue.substr(6)):this.origValue:"";return t.toString()}},{key:"textStyle",value:function(t){return new tM(t).textStyleIdentifier()}}]),e}(t5);function en(t){return(en="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)}function er(t){return(er=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function eo(t,e){return(eo=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ei(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function eu(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function ea(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function es(t,e,n){return e&&ea(t.prototype,e),n&&ea(t,n),t}function ec(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.forEach(function(e){Object.keys(e).forEach(function(n){null!=e[n]&&(t[n]=e[n])})}),t}var el=function(){function t(e){var n,r;eu(this,t),n=void 0,r={},this.toOptions=function(t){var e={};if(null==t&&(t=!0),Object.keys(r).forEach(function(t){return e[t]=r[t].origValue}),ec(e,this.otherOptions),t&&!tp(this.chained)){var n=this.chained.map(function(t){return t.toOptions()});n.push(e),ec(e={},this.otherOptions),e.transformation=n}return e},this.setParent=function(t){return n=t,null!=t&&this.fromOptions("function"==typeof t.toOptions?t.toOptions():void 0),this},this.getParent=function(){return n},this.param=function(t,e,n,o,i){return null==i&&(i=L(o)?o:S.a),r[e]=new t5(e,n,i).set(t),this},this.rawParam=function(t,e,n,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:S.a;return i=ep(arguments),r[e]=new et(e,n,i).set(t),this},this.rangeParam=function(t,e,n,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:S.a;return i=ep(arguments),r[e]=new t7(e,n,i).set(t),this},this.arrayParam=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:":";arguments.length>4&&void 0!==arguments[4]&&arguments[4];var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:S.a;return i=ep(arguments),r[e]=new t9(e,n,o,i).set(t),this},this.transformationParam=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".";arguments.length>4&&arguments[4];var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:S.a;return i=ep(arguments),r[e]=new t8(e,n,o,i).set(t),this},this.layerParam=function(t,e,n){return r[e]=new ee(e,n).set(t),this},this.getValue=function(t){var e=r[t]&&r[t].value();return null!=e?e:this.otherOptions[t]},this.get=function(t){return r[t]},this.remove=function(t){var e;switch(!1){case null==r[t]:return e=r[t],delete r[t],e.origValue;case null==this.otherOptions[t]:return e=this.otherOptions[t],delete this.otherOptions[t],e;default:return null}},this.keys=function(){var t;return(function(){var e;for(t in e=[],r)null!=t&&e.push(t.match(ef)?t:tn(t));return e})().sort()},this.toPlainObject=function(){var t,e,n;for(e in t={},r)t[e]=r[e].value(),T()(t[e])&&(t[e]=_()(t[e]));return tp(this.chained)||((n=this.chained.map(function(t){return t.toPlainObject()})).push(t),t={transformation:n}),t},this.chain=function(){var t;return 0!==Object.getOwnPropertyNames(r).length&&(t=new this.constructor(this.toOptions(!1)),this.resetTransformations(),this.chained.push(t)),this},this.resetTransformations=function(){return r={},this},this.otherOptions={},this.chained=[],this.fromOptions(e)}return es(t,[{key:"fromOptions",value:function(e){if(e instanceof t)this.fromTransformation(e);else for(var n in e||(e={}),(z()(e)||P()(e))&&(e={transformation:e}),(e=_()(e,function(e){if(e instanceof t||e instanceof Layer)return new e.clone})).if&&(this.set("if",e.if),delete e.if),e){var r=e[n];null!=r&&(n.match(ef)?"$attr"!==n&&this.set("variable",n,r):this.set(n,r))}return this}},{key:"fromTransformation",value:function(e){var n=this;return e instanceof t&&e.keys().forEach(function(t){return n.set(t,e.get(t).origValue)}),this}},{key:"set",value:function(t){var e;e=te(t);for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return j()(ey.methods,e)?this[e].apply(this,r):this.otherOptions[t]=r[0],this}},{key:"hasLayer",value:function(){return this.getValue("overlay")||this.getValue("underlay")}},{key:"serialize",value:function(){var t,e,n,r,o,i,u,a,s,c,l,f,p,h,y,d,v;for(c=this.chained.map(function(t){return t.serialize()}),r=this.keys(),h=null!=(o=this.get("transformation"))?o.serialize():void 0,t=null!=(i=this.get("if"))?i.serialize():void 0,d=function(t){var e,n,r,o,i;if(!P()(t))return t;for(e=0,o=[],n=t.length;e<n;e++){var u=ei(t[e],2);r=u[0],i=u[1],o.push("".concat(r,"_").concat(tF.normalize(i)))}return o}(null!=(u=this.get("variables"))?u.value():void 0),r=D()(r,["transformation","if","variables"]),v=[],f=[],e=0,n=r.length;e<n;e++)(l=r[e]).match(ef)?v.push(l+"_"+tF.normalize(null!=(a=this.get(l))?a.value():void 0)):f.push(null!=(s=this.get(l))?s.serialize():void 0);switch(!1){case!z()(h):f.push(h);break;case!P()(h):c=c.concat(h)}return f=function(){var t,e,n;for(t=0,n=[],e=f.length;t<e;t++)y=f[t],(P()(y)&&!tp(y)||!P()(y)&&y)&&n.push(y);return n}(),f=v.sort().concat(d).concat(f.sort()),"if_end"===t?f.push(t):tp(t)||f.unshift(t),tp(p=k()(f).join(this.param_separator))||c.push(p),k()(c).join(this.trans_
1separator)}},{key:"listNames",value:function(){return ey.methods}},{key:"toHtmlAttributes",value:function(){var t,e,n,r,o,i,u,a=this;for(e in n={},this.otherOptions)i=this.otherOptions[e],j()(ey.PARAM_NAMES,tn(e))||(n[/^html_/.test(e)?e.slice(5):e]=i);return this.keys().forEach(function(t){/^html_/.test(t)&&(n[te(t.slice(5))]=a.getValue(t))}),!(this.hasLayer()||this.getValue("angle")||j()(["fit","limit","lfill"],this.getValue("crop")))&&(u=null!=(r=this.get("width"))?r.origValue:void 0,t=null!=(o=this.get("height"))?o.origValue:void 0,parseFloat(u)>=1&&null==n.width&&(n.width=u),parseFloat(t)>=1&&null==n.height&&(n.height=t)),n}},{key:"isValidParamName",value:function(t){return ey.methods.indexOf(te(t))>=0}},{key:"toHtml",value:function(){var t;return null!=(t=this.getParent())&&"function"==typeof t.toHtml?t.toHtml():void 0}},{key:"toString",value:function(){return this.serialize()}},{key:"clone",value:function(){return new this.constructor(this.toOptions(!0))}}]),t}(),ef=/^\$[a-zA-Z0-9]+$/;function ep(t){var e;return L(e=null!=t?t[t.length-1]:void 0)?e:void 0}function eh(t){return"remote"===t.function_type?[t.function_type,btoa(t.source)].join(":"):"wasm"===t.function_type?[t.function_type,t.source].join(":"):void 0}el.prototype.trans_separator="/",el.prototype.param_separator=",";var ey=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function e(t){var n;return eu(this,e),(n=er(e).call(this,t))&&("object"===en(n)||"function"==typeof n)?n:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eo(e,t),es(e,[{key:"angle",value:function(t){return this.arrayParam(t,"angle","a",".",tF.normalize)}},{key:"audioCodec",value:function(t){return this.param(t,"audio_codec","ac")}},{key:"audioFrequency",value:function(t){return this.param(t,"audio_frequency","af")}},{key:"aspectRatio",value:function(t){return this.param(t,"aspect_ratio","ar",tF.normalize)}},{key:"background",value:function(t){return this.param(t,"background","b",t5.norm_color)}},{key:"bitRate",value:function(t){return this.param(t,"bit_rate","br")}},{key:"border",value:function(t){return this.param(t,"border","bo",function(t){return T()(t)?(t=g()({},{color:"black",width:2},t),"".concat(t.width,"px_solid_").concat(t5.norm_color(t.color))):t})}},{key:"color",value:function(t){return this.param(t,"color","co",t5.norm_color)}},{key:"colorSpace",value:function(t){return this.param(t,"color_space","cs")}},{key:"crop",value:function(t){return this.param(t,"crop","c")}},{key:"customFunction",value:function(t){return this.param(t,"custom_function","fn",function(){return eh(t)})}},{key:"customPreFunction",value:function(t){if(!this.get("custom_function"))return this.rawParam(t,"custom_function","",function(){return(t=eh(t))?"fn_pre:".concat(t):t})}},{key:"defaultImage",value:function(t){return this.param(t,"default_image","d")}},{key:"delay",value:function(t){return this.param(t,"delay","dl")}},{key:"density",value:function(t){return this.param(t,"density","dn")}},{key:"duration",value:function(t){return this.rangeParam(t,"duration","du")}},{key:"dpr",value:function(t){return this.param(t,"dpr","dpr",function(t){return(null!=(t=t.toString())?t.match(/^\d+$/):void 0)?t+".0":tF.normalize(t)})}},{key:"effect",value:function(t){return this.arrayParam(t,"effect","e",":",tF.normalize)}},{key:"else",value:function(){return this.if("else")}},{key:"endIf",value:function(){return this.if("end")}},{key:"endOffset",value:function(t){return this.rangeParam(t,"end_offset","eo")}},{key:"fallbackContent",value:function(t){return this.param(t,"fallback_content")}},{key:"fetchFormat",value:function(t){return this.param(t,"fetch_format","f")}},{key:"format",value:function(t){return this.param(t,"format")}},{key:"flags",value:function(t){return this.arrayParam(t,"flags","fl",".")}},{key:"gravity",value:function(t){return this.param(t,"gravity","g")}},{key:"fps",value:function(t){return this.param(t,"fps","fps",function(t){return z()(t)?t:P()(t)?t.join("-"):t})}},{key:"height",value:function(t){var e=this;return this.param(t,"height","h",function(){return e.getValue("crop")||e.getValue("overlay")||e.getValue("underlay")?tF.normalize(t):null})}},{key:"htmlHeight",value:function(t){return this.param(t,"html_height")}},{key:"htmlWidth",value:function(t){return this.param(t,"html_width")}},{key:"if",value:function(){var t,n,r,o,i,u,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(a){case"else":return this.chain(),this.param(a,"if","if");case"end":for(this.chain(),t=r=o=this.chained.length-1;r>=0&&"end"!==(n=this.chained[t].getValue("if"))&&(null==n||(i=e.new().if(n),this.chained[t].remove("if"),u=this.chained[t],this.chained[t]=e.new().transformation([i,u]),"else"===n));t=r+=-1);return this.param(a,"if","if");case"":return tR.new().setParent(this);default:return this.param(a,"if","if",function(t){return tR.new(t).toString()})}}},{key:"keyframeInterval",value:function(t){return this.param(t,"keyframe_interval","ki")}},{key:"offset",value:function(t){var e,n,r=ei(L(null!=t?t.split:void 0)?t.split(".."):P()(t)?t:[null,
1null],2);if(n=r[0],e=r[1],null!=n&&this.startOffset(n),null!=e)return this.endOffset(e)}},{key:"opacity",value:function(t){return this.param(t,"opacity","o",tF.normalize)}},{key:"overlay",value:function(t){return this.layerParam(t,"overlay","l")}},{key:"page",value:function(t){return this.param(t,"page","pg")}},{key:"poster",value:function(t){return this.param(t,"poster")}},{key:"prefix",value:function(t){return this.param(t,"prefix","p")}},{key:"quality",value:function(t){return this.param(t,"quality","q",tF.normalize)}},{key:"radius",value:function(t){return this.arrayParam(t,"radius","r",":",tF.normalize)}},{key:"rawTransformation",value:function(t){return this.rawParam(t,"raw_transformation")}},{key:"size",value:function(t){var e,n;if(L(null!=t?t.split:void 0)){var r=ei(t.split("x"),2);return n=r[0],e=r[1],this.width(n),this.height(e)}}},{key:"sourceTypes",value:function(t){return this.param(t,"source_types")}},{key:"sourceTransformation",value:function(t){return this.param(t,"source_transformation")}},{key:"startOffset",value:function(t){return this.rangeParam(t,"start_offset","so")}},{key:"streamingProfile",value:function(t){return this.param(t,"streaming_profile","sp")}},{key:"transformation",value:function(t){return this.transformationParam(t,"transformation","t")}},{key:"underlay",value:function(t){return this.layerParam(t,"underlay","u")}},{key:"variable",value:function(t,e){return this.param(e,t,t)}},{key:"variables",value:function(t){return this.arrayParam(t,"variables")}},{key:"videoCodec",value:function(t){return this.param(t,"video_codec","vc",t5.process_video_params)}},{key:"videoSampling",value:function(t){return this.param(t,"video_sampling","vs")}},{key:"width",value:function(t){var e=this;return this.param(t,"width","w",function(){return e.getValue("crop")||e.getValue("overlay")||e.getValue("underlay")?tF.normalize(t):null})}},{key:"x",value:function(t){return this.param(t,"x","x",tF.normalize)}},{key:"y",value:function(t){return this.param(t,"y","y",tF.normalize)}},{key:"zoom",value:function(t){return this.param(t,"zoom","z",tF.normalize)}}],[{key:"new",value:function(t){return new e(t)}}]),e}(el);ey.methods=["angle","audioCodec","audioFrequency","aspectRatio","background","bitRate","border","color","colorSpace","crop","customFunction","customPreFunction","defaultImage","delay","density","duration","dpr","effect","else","endIf","endOffset","fallbackContent","fetchFormat","format","flags","gravity","fps","height","htmlHeight","htmlWidth","if","keyframeInterval","offset","opacity","overlay","page","poster","prefix","quality","radius","rawTransformation","size","sourceTypes","sourceTransformation","startOffset","streamingProfile","transformation","underlay","variable","variables","videoCodec","videoSampling","width","x","y","zoom"],ey.PARAM_NAMES=ey.methods.map(tn).concat(tz.CONFIG_PARAMS);var ed=ey;function ev(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var em=function(){var t,e;function n(t,e,r){var o;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");this.name=t,this.publicId=e,null==r&&(T()(e)?(r=e,this.publicId=void 0):r={}),(o=new ed(r)).setParent(this),this.transformation=function(){return o}}return t=[{key:"htmlAttrs",value:function(t){var e,n;return(function(){var r,o,i,u;for(e in r=[],t){o=t[e],(n=z()(o)?o.replace('"',""").replace("'","'"):o)&&r.push((i=e,(u=n)?!0===u?i:"".concat(i,'="').concat(u,'"'):void 0))}return r})().sort().join(" ")}},{key:"getOptions",value:function(){return this.transformation().toOptions()}},{key:"getOption",value:function(t){return this.transformation().getValue(t)}},{key:"attributes",value:function(){var t=this.transformation().toHtmlAttributes();return Object.keys(t).forEach(function(e){T()(t[e])&&delete t[e]}),t.attributes&&(V()(t,t.attributes),delete t.attributes),t}},{key:"setAttr",value:function(t,e){return this.transformation().set("html_".concat(t),e),this}},{key:"getAttr",value:function(t){return this.attributes()["html_".concat(t)]||this.attributes()[t]}},{key:"removeAttr",value:function(t){var e;return null!=(e=this.transformation().remove("html_".concat(t)))?e:this.transformation().remove(t)}},{key:"content",value:function(){return""}},{key:"openTag",value:function(){var t="<"+this.name,e=this.htmlAttrs(this.attributes());return e&&e.length>0&&(t+=" "+e),t+">"}},{key:"closeTag",value:function(){return"</".concat(this.name,">")}},{key:"toHtml",value:function(){return this.openTag()+this.content()+this.closeTag()}},{key:"toDOM",value:function(){var t,e,n,r;if(!L("u">typeof document&&null!==document?document.createElement:void 0))throw"Can't create DOM if document is not present!";for(e in t=document.createElement(this.name),n=this.attributes())r=n[e],t.setAttribute(e,r);return t}}],e=[{key:"new",value:function(t,e,n){return new this(t,e,n)}},{key:"isResponsive",value:function(t,e){var n;return n=th(t,"src-cache")||th(t,"src"),tb(t,e)&&/\bw_auto\b/.exec(n)}}],t&&ev(n.prototype,t),e&&ev(n,e),n}(),eg="2.5.0",eb="d3jpl91pxevbkh.cloudfront.net",e_="cloudinary-a.akamaihd.net",ew="res.cloudinary.com",ek=ew,eO={format:"jpg",resource_type:"video"},eD=["webm","mp4","ogv"],eA={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"},eE={resource_type:"image",transformation:[],type:"upload"},eC={fallback_content:"",resource_type:"video",source_transformation:{},source_types:eD,transformation:[],type:"upload"},eS=[{type:"mp4",codecs:"hev1",transformations:{video_codec:"h265"}},{type:"webm",codecs:"vp9",transformations:{video_codec:"vp9"}},{type:"mp4",transformations:{video_codec:"auto"}},{type:"webm",transformations:{video_codec:"auto"}}];function eB(t){var e,n,r,o,i,u,a,s,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return t;if(c instanceof ed&&(c=c.toOptions()),"fetch"===(c=Y({},c,l,eE)).type&&(c.fetch_format=c.fetch_format||c.format,(e=t).match(/^https?:\//)||(n=document.location.protocol+"//"+document.location.host,"?"===e[0]?n+=document.location.pathname:"/"!==e[0]&&(n+=document.location.pathname.replace(/\/[^\/]*$/,"/")),e=n+e),t=e),u=new ed(c).serialize(),!c.cloud_
1name)throw"Unknown cloud_name";if((c.force_version||void 0===c.force_version)&&t.search("/")>=0&&!t.match(/^v[0-9]+/)&&!t.match(/^https?:\//)&&!(null!=(o=c.version)?o.toString():void 0)&&(c.version=1),t.match(/^https?:/))"upload"===c.type||"asset"===c.type?a=t:t=encodeURIComponent(t).replace(/%3A/g,":").replace(/%2F/g,"/");else{try{t=decodeURIComponent(t)}catch(t){}if(t=encodeURIComponent(t).replace(/%3A/g,":").replace(/%2F/g,"/"),c.url_suffix){if(c.url_suffix.match(/[\.\/]/))throw"url_suffix should not include . or /";t=t+"/"+c.url_suffix}c.format&&(c.trust_public_id||(t=t.replace(/\.(jpg|png|gif|webp)$/,"")),t=t+"."+c.format)}return r=function(t,e){if(e.cloud_name&&"/"===e.cloud_name[0])return"/res"+e.cloud_name;var n="http://",r="",o="res",i=".cloudinary.com",u="/"+e.cloud_name;return e.protocol&&(n=e.protocol+"//"),e.private_cdn&&(r=e.cloud_name+"-",u=""),e.cdn_subdomain&&(o="res-"+(v(t)%5+1)),e.secure?(n="https://",!1===e.secure_cdn_subdomain&&(o="res"),null!=e.secure_distribution&&e.secure_distribution!==e_&&e.secure_distribution!==ek&&(r="",o="",i=e.secure_distribution)):e.cname&&(n="http://",r="",o=e.cdn_subdomain?"a"+(v(t)%5+1)+".":"",i=e.cname),[n,r,o,i,u].join("")}(t,c),i=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"image",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"upload",r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;if(e=null==e?"image":e,n=null==n?"upload":n,T()(e)&&(e=(t=e).resource_type,n=t.type,r=t.url_suffix,o=t.use_root_path,i=t.shorten),null==n&&(n="upload"),null!=r&&(e=eA["".concat(e,"/").concat(n)],n=null,null==e))throw Error("URL Suffix only supported for ".concat(Object.keys(eA).join(", ")));if(o)if("image"===e&&"upload"===n||"images"===e)e=null,n=null;else throw Error("Root path only supported for image/upload");return i&&"image"===e&&"upload"===n&&(e="iu",n=null),[e,n].join("/")}(c.resource_type,c.type,c.url_suffix,c.use_root_path,c.shorten),s=c.version?"v"+c.version:"",a||k()([r,i,u,s,t]).join("/").replace(/([^:])\/+/g,"$1/")}var ej=tp;function eF(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={};if(ej(n))return o;var i=!e.sizes&&!0===n.sizes,u=!e.srcset;if(u||i){var a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return arguments.length>2&&void 0!==arguments[2]&&arguments[2],function(t){var e,n=t.breakpoints||[];if(n.length)return n;var r=function(t){if(Array.isArray(t))return t}(e=[t.min_width,t.max_width,t.max_images].map(Number))||function(t){var e=[],n=!0,r=!1,o=void 0;try{for(var i,u=t[Symbol.iterator]();!(n=(i=u.next()).done)&&(e.push(i.value),3!==e.length);n=!0);}catch(t){r=!0,o=t}finally{try{n||null==u.return||u.return()}finally{if(r)throw o}}return e}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}(),o=r[0],i=r[1],u=r[2];if([o,i,u].some(isNaN))throw"Either (min_width, max_width, max_images) or breakpoints must be provided to the image srcset attribute";if(o>i)throw"min_width must be less than max_width";if(u<=0)throw"max_images must be a positive integer";1===u&&(o=i);for(var a=Math.ceil((i-o)/Math.max(u-1,1)),s=o;s<i;s+=a)n.push(s);return n.push(i),n}(e)}(t,n,r);if(u){var s,c=n.transformation,l=(s=r,tl(s=_.a(s)),a.map(function(e){return"".concat(function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=tc(r);return n=n||r,o.raw_transformation=new ed([V.a({},n),{crop:"scale",width:e}]).toString(),eB(t,o)}(t,e,c,s)," ").concat(e,"w")}).join(", "));ej(l)||(o.srcset=l)}if(i){var f=null==a?"":a.map(function(t){return"(max-width: ".concat(t,"px) ").concat(t,"px")}).join(", ");ej(f)||(o.sizes=f)}}return o}function eP(t){return(eP="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)}function ex(t,e,n){return(ex="u">typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=eT(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function eT(t){return(eT=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function eR(t,e){return(eR=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var ez=function(t){var e;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function n(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return(e=eT(n).call(this,"img",t,r))&&("object"===eP(e)||"function"==typeof e)?e:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this)}return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&eR(n,t),e=[{key:"closeTag",value:function(){return""}},{key:"attributes",value:function(){var t,e=ex(eT(n.prototype),"attributes",this).call(this)||{},r=this.getOptions(),o=this.getOption("srcset"),i=this.getOption("attributes")||{},u={};return z()(o)?u.srcset=o:u=eF(this.publicId,i,o,r),tp(u)||(delete r.width,delete r.height),V()(e,u),null==e[t=r.responsive&&!r.client_hints?"data-src":"src"]&&(e[t]=eB(this.publicId,this.getOptions())),e}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(n.prototype,e),n}(em);function eI(t){return(eI="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)}function eV(t,e,n){return(eV="u">typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=eN(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function eN(t){return(eN=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eL(t,e){return(eL=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var eH=function(t){var e;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function n(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return(e=eN(n).call(this,"source",t,r))&&("object"===eI(e)||"function"==typeof e)?e:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this)}return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&eL(n,t),e=[{key:"closeTag",value:function(){return""}},{key:"attributes",value:function(){var t,e,r=this.getOption("srcset"),o=eV(eN(n.prototype),"attributes",this).call(this)||{},i=this.getOptions();return V()(o,eF(this.publicId,o,r,i)),o.srcset||(o.srcset=eB(this.publicId,i)),!o.media&&i.media&&(t=i.media,e=[],null!=t&&(null!=t.min_width&&e.push("(min-width: ".concat(t.min_width,"px)")),null!=t.max_width&&e.push("(max-width: ".concat(t.max_width,"px)"))),o.media=e.join(" and ")),o}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(n.prototype,e),n}(em);function eM(t){return(eM="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)}function eU(t,e,n){return(eU="u">typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=eW(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function eW(t){return(eW=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e$(t,e){return(e$=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var eq=function(t){var e;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function n(t){var e,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return(r=(e=eW(n).call(this,"picture",t,o))&&("object"===eM(e)||"function"==typeof e)?e:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this)).widthList=i,r}return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&e$(n,t),e=[{key:"content",value:function(){var t=this;return this.widthList.map(function(e){var n=e.min_width,r=e.max_width,o=e.transformation,i=t.getOptions(),u=new ed(i);return u.chain().fromOptions("string"==typeof o?{raw_transformation:o}:o),(i=tc(i)).media={min_width:n,max_width:r},i.transformation=u,new eH(t.publicId,i).toHtml()}).join("")+new ez(this.publicId,this.getOptions()).toHtml()}},{key:"attributes",value:function(){var t=eU(eW(n.prototype),"attributes",this).call(this);return delete t.width,delete t.height,t}},{key:"closeTag",value:function(){return"</"+this.name+">"}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(n.prototype,e),n}(em);function eQ(t){return(eQ="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)}function eY(t,e,n){return(eY="u">typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=eK(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}
1function eK(t){return(eK=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eZ(t,e){return(eZ=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var eG=["source_types","source_transformation","fallback_content","poster","sources"],eX=["webm","mp4","ogv"],eJ={format:"jpg",resource_type:"video"},e0=function(t){var e;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function n(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return r=Y({},r,eC),(e=eK(n).call(this,"video",t.replace(/\.(mp4|ogv|webm)$/,""),r))&&("object"===eQ(e)||"function"==typeof e)?e:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this)}return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&eZ(n,t),e=[{key:"setSourceTransformation",value:function(t){return this.transformation().sourceTransformation(t),this}},{key:"setSourceTypes",value:function(t){return this.transformation().sourceTypes(t),this}},{key:"setPoster",value:function(t){return this.transformation().poster(t),this}},{key:"setFallbackContent",value:function(t){return this.transformation().fallbackContent(t),this}},{key:"content",value:function(){var t=this,e=this.transformation().getValue("source_types"),n=this.transformation().getValue("source_transformation"),r=this.transformation().getValue("fallback_content"),o=this.getOption("sources"),i=[];return P()(o)&&!tp(o)?i=o.map(function(e){var n=eB(t.publicId,Y({},e.transformations||{},{resource_type:"video",format:e.type}),t.getOptions());return t.createSourceTag(n,e.type,e.codecs)}):(tp(e)&&(e=eX),P()(e)&&(i=e.map(function(e){var r=eB(t.publicId,Y({},n[e]||{},{resource_type:"video",format:e}),t.getOptions());return t.createSourceTag(r,e)}))),i.join("")+r}},{key:"attributes",value:function(){var t=this.getOption("source_types"),e=this.getOption("poster");if(void 0===e&&(e={}),T()(e)){var r=null!=e.public_id?eE:eJ;e=eB(e.public_id||this.publicId,Y({},e,r,this.getOptions()))}var o=eY(eK(n.prototype),"attributes",this).call(this)||{};return o=U(o,eG),!tp(this.getOption("sources"))||tp(t)||P()(t)||(o.src=eB(this.publicId,this.getOptions(),{resource_type:"video",format:t})),null!=e&&(o.poster=e),o}},{key:"createSourceTag",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=null;return!tp(e)&&(r="video/"+("ogv"===e?"ogg":e),tp(n)||(r+="; codecs="+(P()(n)?n.join(", "):n))),"<source "+this.htmlAttrs({src:t,type:r})+">"}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(n.prototype,e),n}(em);function e1(t){return(e1="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)}function e6(t){return(e6=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e2(t,e){return(e2=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var e3=function(t){var e;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function n(t){var e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return(e=e6(n).call(this,"meta",void 0,g()({"http-equiv":"Accept-CH",content:"DPR, Viewport-Width, Width"},t)))&&("object"===e1(e)||"function"==typeof e)?e:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this)}return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&e2(n,t),e=[{key:"closeTag",value:function(){return""}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(n.prototype,e),n}(em);function e4(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return e*Math.ceil(t/e)},s=function(t,e){var n;for(n=t.length-2;n>=0&&t[n]>=e;)n--;return t[n+1]},a=function(t,e,n,r){var o,i,u,a;return(a=null!=(o=null!=(i=null!=(u=r.responsive_use_breakpoints)?u:r.responsive_use_stoppoints)?i:this.config("responsive_use_breakpoints"))?o:this.config("responsive_use_stoppoints"))&&("resize"!==a||r.resizing)?this.calc_breakpoint(t,e,n):e},l=function(t){var e,n;for(e=0;(t=null!=t?t.parentNode:void 0)instanceof Element&&!e;)n=window.getComputedStyle(t),/^inline/.test(n.display)||(e=tB(t));return e},p=function(t,e){return t.replace(/\bdpr_(1\.0|auto)\b/g,"dpr_"+this.device_pixel_ratio(e))},f=function(t,e){var n;return t>(n=th(e,"width")||0)&&(n=t,ty(e,"width",t)),n};var e5=function(){var t,e;function n(t){var e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");this.devicePixelRatioCache={},this.responsiveConfig={},this.responsiveResizeInitialized=!1,e=new tz(t),this.config=function(t,n){return e.config(t,n)},this.fromDocument=function(){return e.fromDocument(),this},this.fromEnvironment=function(){return e.fromEnvironment(),this},this.init=function(){return e.init(),this}}return t=[{key:"url",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return eB(t,e,this.config())}},{key:"video_url",value:function(t,e){return e=g()({resource_type:"video"},e),this.url(t,e)}},{key:"video_thumbnail_url",value:function(t,e){return e=g()({},eO,e),this.url(t,e)}},{key:"transformation_string",value:function(t){return new ed(t).serialize()}},{key:"image",value:function(t){var e,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=this.imageTag(t,o),e=null!=(r=null!=o.client_hints?o.client_hints:this.config("client_hints"))&&r,null!=o.src||e||n.setAttr("src",""),n=n.toDOM(),e||(ty(n,"src-cache",this.url(t,o)),this.cloudinary_update(n,o)),n}},{key:"imageTag",value:function(t,e){var n;return(n=new ez(t,this.config())).transformation().fromOptions(e),n}},{key:"pictureTag",value:function(t,e){var n;return(n=new eq(t,this.config())).transformation().fromOptions(e),n}},{key:"sourceTag",value:function(t,e){var n;return(n=new eH(t,this.config())).transformation().fromOptions(e),n}},{key:"video_thumbnail",value:function(t,e){return this.image(t,V()({},eO,e))}},{key:"facebook_profile_image",value:function(t,e){return this.image(t,g()({type:"facebook"},e))}},{key:"twitter_profile_image",value:function(t,e){return this.image(t,g()({type:"twitter"},e))}},{key:"twitter_name_profile_image",value:function(t,e){return this.image(t,g()({type:"twitter_name"},e))}},{key:"gravatar_image",value:function(t,e){return this.image(t,g()({type:"gravatar"},e))}},{key:"fetch_image",value:function(t,e){return this.image(t,g()({type:"fetch"},e))}},{key:"video",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.videoTag(t,e).toHtml()}},{key:"videoTag",value:function(t,e){return new e0(t,e=Y({},e,this.config()))}},{key:"sprite_css",value:function(t,e){return e=g()({type:"sprite"},e),t.match(/.css$/)||(e.format="css"),this.url(t,e)}},{key:"responsive",value:function(t){var e,n,r,o,i,u=this,a=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(this.responsiveConfig=V()(this.responsiveConfig||{},t),o=null!=(e=this.responsiveConfig.responsive_class)?e:this.config("responsive_class"),a&&this.cloudinary_update("img.".concat(o,", img.cld-hidpi"),this.responsiveConfig),(null==(n=null!=(r=this.responsiveConfig.responsive_resize)?r:this.config("responsive_resize"))||n)&&!this.responsiveResizeInitialized)return this.responsiveConfig.resizing=this.responsiveResizeInitialized=!0,i=null,window.addEventListener("resize",function(){var t,e,n,r,a,s;return(t=null!=(e=null!=(n=u.responsiveConfig.responsive_debounce)?n:u.config("responsive_debounce"))?e:100,r=function(){if(i)return clearTimeout(i),i=null},a=function(){return u.cloudinary_update("img.".concat(o),u.responsiveConfig)},s=function(){return r(),a()},t)?(r(),i=setTimeout(s,t)):a()})}},{key:"calc_breakpoint",value:function(t,e,n){var r=th(t,"breakpoints")||th(t,"stoppoints")||this.config("breakpoints")||this.config("stoppoints")||c;return L(r)?r(e,n):(z()(r)&&(r=r.split(",").map(function(t){return parseInt(t)}).sort(function(t,e){return t-e})),s(r,e))}},{key:"calc_stoppoint",value:function(t,e,n){return this.calc_breakpoint(t,e,n)}},{key:"device_pixel_ratio",value:function(t){t=null==t||t;var e=("u">typeof window&&null!==window?window.devicePixelRatio:void 0)||1;t&&(e=Math.ceil(e)),(e<=0||e===0/0)&&(e=1);var n=e.toString();return n.match(/^\d+$/)&&(n+=".0"),n}},{key:"processImageTags",value:function(t,e){if(tp(t))return this;e=Y({},e||{},this.config());var n=t.filter(function(t){return/^img$/i.test(t.tagName)}).map(function(t){var n=g()({width:t.getAttribute("width"),height:t.getAttribute("height"),src:t.getAttribute("src")},e),r=n.source||n.src;delete n.source,delete n.src;var o=new ed(n).toHtmlAttributes();return ty(t,"src-cache",eB(r,n)),t.setAttribute("width",o.width),t.setAttribute("height",o.height),t});return this.cloudinary_update(n,e),this}},{key:"cloudinary_update",value:function(t,e){var n,r,o,i,u,s=this;if(null===t)return this;null==e&&(e={});var c=null!=e.responsive?e.responsive:this.config("responsive");t=function(){switch(!1){case!P()(t):case"NodeList"!==t.constructor.name:return t;case!z()(t):return Array.prototype.slice.call(document.querySelectorAll(t),0);default:return[t]}}(),u=this.responsiveConfig&&null!=this.responsiveConfig.responsive_class?this.responsiveConfig.responsive_class:null!=e.responsive_class?e.responsive_class:this.config("responsive_class");var h=null!=e.round_dpr?e.round_dpr:this.config("round_dpr");return t.forEach(function(t){if(/img/i.test(t.tagName)){var y=!0;
1if(c&&t_(t,u),!tp(r=th(t,"src-cache")||th(t,"src"))){if(r=p.call(s,r,h),em.isResponsive(t,u))if(0!==(n=l(t))){switch(!1){case!/w_auto:breakpoints/.test(r):i=f(n,t),r=r.replace(/w_auto:breakpoints([_0-9]*)(:[0-9]+)?/,"w_auto:breakpoints$1:".concat(i));break;case!(o=/w_auto(:(\d+))?/.exec(r)):i=f(i=a.call(s,t,n,o[2],e),t),r=r.replace(/w_auto[^,\/]*/g,"w_".concat(i))}tm(t,"width"),e.responsive_preserve_height||tm(t,"height")}else y=!1;y&&tv(t,"src",r)}}}),this}},{key:"transformation",value:function(t){return ed.new(this.config()).fromOptions(t).setParent(this)}}],e=[{key:"new",value:function(t){return new this(t)}}],t&&e4(n.prototype,t),e&&e4(n,e),n}();g()(e5,y),n.d(e,"ClientHintsMetaTag",function(){return e3}),n.d(e,"Cloudinary",function(){return e5}),n.d(e,"Condition",function(){return tR}),n.d(e,"Configuration",function(){return tz}),n.d(e,"crc32",function(){return v}),n.d(e,"FetchLayer",function(){return tZ}),n.d(e,"HtmlTag",function(){return em}),n.d(e,"ImageTag",function(){return ez}),n.d(e,"Layer",function(){return tV}),n.d(e,"PictureTag",function(){return eq}),n.d(e,"SubtitlesLayer",function(){return tq}),n.d(e,"TextLayer",function(){return tM}),n.d(e,"Transformation",function(){return ed}),n.d(e,"utf8_encode",function(){return d}),n.d(e,"Util",function(){return h}),n.d(e,"VideoTag",function(){return e0}),e.default={ClientHintsMetaTag:e3,Cloudinary:e5,Condition:tR,Configuration:tz,crc32:v,FetchLayer:tZ,HtmlTag:em,ImageTag:ez,Layer:tV,PictureTag:eq,SubtitlesLayer:tq,TextLayer:tM,Transformation:ed,utf8_encode:d,Util:h,VideoTag:e0}}
1,"lodash/assign":function(e,n){e.exports=t},"lodash/cloneDeep":function(t,n){t.exports=e},"lodash/compact":function(t,e){t.exports=n},"lodash/difference":function(t,e){t.exports=i},"lodash/functions":function(t,e){t.exports=u},"lodash/identity":function(t,e){t.exports=a},"lodash/includes":function(t,e){t.exports=s},"lodash/isArray":function(t,e){t.exports=c},"lodash/isElement":function(t,e){t.exports=l},"lodash/isFunction":function(t,e){t.exports=f},"lodash/isPlainObject":function(t,e){t.exports=p},"lodash/isString":function(t,e){t.exports=h},"lodash/merge":function(t,e){t.exports=y},"lodash/trim":function(t,e){t.exports=d}},m={};function g(t){if(m[t])return m[t].exports;var e=m[t]={i:t,l:!1,exports:{}};return v[t].call(e.exports,e,e.exports,g),e.l=!0,e.exports}return g.m=v,g.c=m,g.d=function(t,e,n){g.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},g.r=function(t){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},g.t=function(t,e){if(1&e&&(t=g(t)),8&e||4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(g.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)g.d(n,r,(function(e){return t[e]}).bind(null,r));return n},g.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return g.d(e,"a",e),e},g.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},g.p="",g(g.s="./src/namespace/cloudinary-core.js")}(n(68723),n(72649),n(59095),n(41389),n(15419),n(27148),n(10239),n(93007),n(4490),n(19850),n(11565),n(36827),n(50046),n(33558))}}]);
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.