PageSourceSearch

https://www.gute-fahrt.de/_next/static/chunks/e4e03b55.4a1f2a0c8b844a58.js

js gute-fahrt.de collected 2026-10-08 11:25:15 UTC 98,216 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[42222],{76342:function(t,e,n){var r=n(51642).Buffer,o=n(29143);t.exports=function(t,e,n,i,u,a,c,s,l,f,p,h,y,d){var v={
1"./src/namespace/cloudinary-core.js":function(t,e,n){"use strict";n.r(e),n.d(e,"ClientHintsMetaTag",function(){return nX}),n.d(e,"Cloudinary",function(){return n5}),n.d(e,"Condition",function(){return eg}),n.d(e,"Configuration",function(){return eE}),n.d(e,"crc32",function(){return j}),n.d(e,"Expression",function(){return ey}),n.d(e,"FetchLayer",function(){return eM}),n.d(e,"HtmlTag",function(){return np}),n.d(e,"ImageTag",function(){return nS}),n.d(e,"Layer",function(){return eA}),n.d(e,"PictureTag",function(){return nz}),n.d(e,"SubtitlesLayer",function(){return eI}),n.d(e,"TextLayer",function(){return eB}),n.d(e,"Transformation",function(){return ns}),n.d(e,"utf8_encode",function(){return A}),n.d(e,"Util",function(){return S}),n.d(e,"VideoTag",function(){return nq});var i,u,a,c,s,l,f,p,h,y,d,v,m,b,g,_,w,O,k,E={};n.r(E),n.d(E,"VERSION",function(){return th}),n.d(E,"CF_SHARED_CDN",function(){return ty}),n.d(E,"OLD_AKAMAI_SHARED_CDN",function(){return td}),n.d(E,"AKAMAI_SHARED_CDN",function(){return tv}),n.d(E,"SHARED_CDN",function(){return tm}),n.d(E,"DEFAULT_TIMEOUT_MS",function(){return tb}),n.d(E,"DEFAULT_POSTER_OPTIONS",function(){return tg}),n.d(E,"DEFAULT_VIDEO_SOURCE_TYPES",function(){return t_}),n.d(E,"SEO_TYPES",function(){return tw}),n.d(E,"DEFAULT_IMAGE_PARAMS",function(){return tO}),n.d(E,"DEFAULT_VIDEO_PARAMS",function(){return tk}),n.d(E,"DEFAULT_VIDEO_SOURCES",function(){return tE}),n.d(E,"DEFAULT_EXTERNAL_LIBRARIES",function(){return tS}),n.d(E,"PLACEHOLDER_IMAGE_MODES",function(){return tA}),n.d(E,"ACCESSIBILITY_MODES",function(){return tj}),n.d(E,"URL_KEYS",function(){return tD});var S={};n.r(S),n.d(S,"getSDKAnalyticsSignature",function(){return x}),n.d(S,"getAnalyticsOptions",function(){return F}),n.d(S,"assign",function(){return I.a}),n.d(S,"cloneDeep",function(){return L.a}),n.d(S,"compact",function(){return V.a}),n.d(S,"difference",function(){return U.a}),n.d(S,"functions",function(){return W.a}),n.d(S,"identity",function(){return q.a}),n.d(S,"includes",function(){return Q.a}),n.d(S,"isArray",function(){return G.a}),n.d(S,"isPlainObject",function(){return Z.a}),n.d(S,"isString",function(){return tt.a}),n.d(S,"merge",function(){return tn.a}),n.d(S,"contains",function(){return Q.a}),n.d(S,"isIntersectionObserverSupported",function(){return tl}),n.d(S,"isNativeLazyLoadSupported",function(){return tf}),n.d(S,"detectIntersection",function(){return tp}),n.d(S,"omit",function(){return tC}),n.d(S,"allStrings",function(){return tB}),n.d(S,"without",function(){return tT}),n.d(S,"isNumberLike",function(){return tx}),n.d(S,"smartEscape",function(){return tF}),n.d(S,"defaults",function(){return tR}),n.d(S,"objectProto",function(){return tI}),n.d(S,"objToString",function(){return tz}),n.d(S,"isObject",function(){return tL}),n.d(S,"funcTag",function(){return tN}),n.d(S,"reWords",function(){return tM}),n.d(S,"camelCase",function(){return tU}),n.d(S,"snakeCase",function(){return tH}),n.d(S,"convertKeys",function(){return tW}),n.d(S,"withCamelCaseKeys",function(){return t$}),n.d(S,"withSnakeCaseKeys",function(){return tq}),n.d(S,"base64Encode",function(){return tY}),n.d(S,"base64EncodeURL",function(){return tQ}),n.d(S,"extractUrlParams",function(){return tK}),n.d(S,"patchFetchFormat",function(){return tG}),n.d(S,"optionConsume",function(){return tX}),n.d(S,"isEmpty",function(){return tZ}),n.d(S,"isAndroid",function(){return t0}),n.d(S,"isEdge",function(){return t1}),n.d(S,"isChrome",function(){return t6}),n.d(S,"isSafari",function(){return t2}),n.d(S,"isElement",function(){return to.a}),n.d(S,"isFunction",function(){return tu.a}),n.d(S,"trim",function(){return tc.a}),n.d(S,"getData",function(){return t3}),n.d(S,"setData",function(){return t4}),n.d(S,"getAttribute",function(){return t9}),n.d(S,"setAttribute",function(){return t5}),n.d(S,"removeAttribute",function(){return t8}),n.d(S,"setAttributes",function(){return t7}),n.d(S,"hasClass",function(){return et}),n.d(S,"addClass",function(){return ee}),n.d(S,"getStyles",function(){return en}),n.d(S,"cssExpand",function(){return er}),n.d(S,"domStyle",function(){return eo}),n.d(S,"curCSS",function(){return ei}),n.d(S,"cssValue",function(){return eu}),n.d(S,"augmentWidthOrHeight",function(){return ea}),n.d(S,"getWidthOrHeight",function(){return es}),n.d(S,"width",function(){return el});var A=function(t){var e,n,r,o,i,u,a,c;if(null==t)return"";for(u=t+"",c="",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&&(c+=u.slice(i,r)),c+=n,i=r=o+1),o++;return r>i&&(c+=u.slice(i,a)),c},j=function(t){var e,n,r,o,i;for(o=0,i=0,e=-1,n=0,r=(t=A(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 6
1B6B51F4 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 256FD2A0 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};function D(t,e,n){return(e|=0,n=String(void 0!==n?n:" "),t.length>e)?String(t):((e-=t.length)>n.length&&(n+=function(t,e){for(var n="";e>0;)n+=t,e--;return n}(n,e/n.length)),n.slice(0,e)+String(t))}function P(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var C=0,B={};function T(t){var e="",n=t.split(".").length,r=parseInt((function(t){if(t.split(".").length<2)throw Error("invalid semVer, must have at least two segments");return t.split(".").reverse().map(function(t){return D(t,2,"0")}).join(".")})(t).split(".").join("")).toString(2);if((r=D(r,6*n,"0")).length%6!=0)throw"Version must be smaller than 43.21.26)";return r.match(/.{1,6}/g).forEach(function(t){e+=B[t]}),e}function x(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{var e,n=(e=t.techVersion.split("."),"".concat(e[0],".").concat(e[1])),r=T(t.sdkSemver),o=T(n),i=t.feature,u=t.sdkCode;return"".concat("A").concat(u).concat(r).concat(o).concat(i)}catch(t){return"E"}}function F(t){var e={sdkSemver:t.sdkSemver,techVersion:t.techVersion,sdkCode:t.sdkCode,feature:"0"};return t.urlAnalytics?(t.accessibility&&(e.feature="D"),"lazy"===t.loading&&(e.feature="C"),t.responsive&&(e.feature="A"),t.placeholder&&(e.feature="B"),e):{}}((function(t){if(Array.isArray(t))return P(t)})(u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(u)||function(t){if(t){if("string"==typeof t)return P(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return P(t,void 0)}}(u)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).forEach(function(t){var e=C.toString(2);B[e=D(e,6,"0")]=t,C++});var R=n("lodash/assign"),I=n.n(R),z=n("lodash/cloneDeep"),L=n.n(z),N=n("lodash/compact"),V=n.n(N),M=n("lodash/difference"),U=n.n(M),H=n("lodash/functions"),W=n.n(H),$=n("lodash/identity"),q=n.n($),Y=n("lodash/includes"),Q=n.n(Y),K=n("lodash/isArray"),G=n.n(K),X=n("lodash/isPlainObject"),Z=n.n(X),J=n("lodash/isString"),tt=n.n(J),te=n("lodash/merge"),tn=n.n(te),tr=n("lodash/isElement"),to=n.n(tr),ti=n("lodash/isFunction"),tu=n.n(ti),ta=n("lodash/trim"),tc=n.n(ta);function ts(t){return(ts="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(){return("u"<typeof window?"undefined":ts(window))==="object"&&window.IntersectionObserver}function tf(){return("u"<typeof HTMLImageElement?"undefined":ts(HTMLImageElement))==="object"&&HTMLImageElement.prototype.loading}function tp(t,e){try{if(tf()||!tl())return void e();var n=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting&&(e(),n.unobserve(t.target))})},{threshold:[0,.01]});n.observe(t)}catch(t){e()}}var th="2.5.0",ty="d3jpl91pxevbkh.cloudfront.net",td="cloudinary-a.akamaihd.net",tv="res.cloudinary.com",tm=tv,tb=1e4,tg={format:"jpg",resource_type:"video"},t_=["webm","mp4","ogv"],tw={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"},tO={resource_type:"image",transformation:[],type:"upload"},tk={fallback_content:"",resource_type:"video",source_transformation:{},source_types:t_,transformation:[],type:"upload"},tE=[{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"}}],tS={seeThru:"https://unpkg.com/seethru@4/dist/seeThru.min.js"},tA={blur:[{effect:"blur:2000",quality:1,fetch_format:"auto"}],pixelate:[{effect:"pixelate",quality:1,fetch_format:"auto"}],"predominant-color-pixel":[{width:"iw_div_2",aspect_ratio:1,crop:"pad",background:"auto"},{crop:"crop",width:1,height:1,gravity:"north_east"},{fetch_format:"auto",quality:"auto"}],"predominant-color":[{variables:[["$currWidth","w"],["$currHeight","h"]]},{width:"iw_div_2",aspect_ratio:1,crop:"pad",background:"auto"},{crop:"crop",width:10,height:10,gravity:"north_east"},{width:"$currWidth",height:"$currHeight",crop:"fill"},{fetch_format:"auto",quality:"auto"}],vectorize:[{effect:"vectorize:3:0.1",fetch_format:"svg"}]},tj={darkmode:"tint:75:black",brightmode:"tint:50:white",monochrome:"grayscale",colorblind:"assist_colorblind"},tD=["accessibility","api_secret","auth_token","cdn_subdomain","cloud_name","cname","format","placeholder","private_cdn","resource_type","secure","secure_cdn_subdomain","secure_distribution","shorten","sign_url","signature","ssl_detected","type","url_suffix","use_root_path","version"];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)}function tC(t,e){var n=Object.keys(t=t||{}).filter(function(t){return!Q()(e,t)}),r={};
1return n.forEach(function(e){return r[e]=t[e]}),r}var tB=function(t){return t.length&&t.every(tt.a)},tT=function(t,e){return t.filter(function(t){return t!==e})},tx=function(t){return null!=t&&!isNaN(parseFloat(t))},tF=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("")})},tR=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)},tI=Object.prototype,tz=tI.toString,tL=function(t){var e;return e=tP(t),!!t&&("object"===e||"function"===e)},tN="[object Function]",tV=function(t){return tL(t)&&tz.call(t)===tN},tM=RegExp((i="[A-Z]")+"+(?="+i+"[a-z]+)|"+i+"?[a-z]+|"+i+"+|[0-9]+","g"),tU=function(t){var e=t.match(tM);return(e=e.map(function(t){return t.charAt(0).toLocaleUpperCase()+t.slice(1).toLocaleLowerCase()}))[0]=e[0].toLocaleLowerCase(),e.join("")},tH=function(t){var e=t.match(tM);return(e=e.map(function(t){return t.toLocaleLowerCase()})).join("_")},tW=function(t,e){var n,r;for(var o in n={},t)r=t[o],e&&(o=e(o)),tZ(o)||(n[o]=r);return n},t$=function(t){return tW(t,tU)},tq=function(t){return tW(t,tH)},tY="u">typeof btoa&&tV(btoa)?btoa:void 0!==r&&tV(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")},tQ=function(t){try{t=decodeURI(t)}finally{t=encodeURI(t)}return tY(t)};function tK(t){return tD.reduce(function(e,n){return null!=t[n]&&(e[n]=t[n]),e},{})}function tG(t){null==t&&(t={}),"fetch"===t.type&&null==t.fetch_format&&(t.fetch_format=tX(t,"format"))}function tX(t,e,n){var r=t[e];return(delete t[e],null!=r)?r:n}function tZ(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"==tP(t)){for(var e in t)if(t.hasOwnProperty(e))return!1}return!0}function tJ(){return navigator&&navigator.userAgent||""}function t0(){var t=tJ();return/Android/i.test(t)}function t1(){var t=tJ();return/Edg/i.test(t)}function t6(){var t=tJ();return!t1()&&(/Chrome/i.test(t)||/CriOS/i.test(t))}function t2(){var t=tJ();return/Safari/i.test(t)&&!t6()&&!t0()&&!t1()}var t3=function(t,e){switch(!1){case null!=t:return;case!tu()(t.getAttribute):return t.getAttribute("data-".concat(e));case!tu()(t.getAttr):return t.getAttr("data-".concat(e));case!tu()(t.data):return t.data(e);case!(tu()("u">typeof jQuery&&jQuery.fn&&jQuery.fn.data)&&to()(t)):return jQuery(t).data(e)}},t4=function(t,e,n){switch(!1){case null!=t:return;case!tu()(t.setAttribute):return t.setAttribute("data-".concat(e),n);case!tu()(t.setAttr):return t.setAttr("data-".concat(e),n);case!tu()(t.data):return t.data(e,n);case!(tu()("u">typeof jQuery&&jQuery.fn&&jQuery.fn.data)&&to()(t)):return jQuery(t).data(e,n)}},t9=function(t,e){switch(!1){case null!=t:return;case!tu()(t.getAttribute):return t.getAttribute(e);case!tu()(t.attr):return t.attr(e);case!tu()(t.getAttr):return t.getAttr(e)}},t5=function(t,e,n){switch(!1){case null!=t:return;case!tu()(t.setAttribute):return t.setAttribute(e,n);case!tu()(t.attr):return t.attr(e,n);case!tu()(t.setAttr):return t.setAttr(e,n)}},t8=function(t,e){switch(!1){case null!=t:return;case!tu()(t.removeAttribute):return t.removeAttribute(e);default:return t5(t,void 0)}},t7=function(t,e){var n,r,o;for(n in r=[],e)null!=(o=e[n])?r.push(t5(t,n,o)):r.push(t8(t,n));return r},et=function(t,e){if(to()(t))return t.className.match(new RegExp("\\b".concat(e,"\\b")))},ee=function(t,e){if(!t.className.match(new RegExp("\\b".concat(e,"\\b"))))return t.className=tc()("".concat(t.className," ").concat(e))},en=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):window.getComputedStyle(t,null)},er=["Top","Right","Bottom","Left"];m=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 eo=function(t,e){if(!(!t||3===t.nodeType||8===t.nodeType||!t.style))return t.style[e]},ei=function(t,e,n){var r,o,i,u,a;return(a=void 0,o=void 0,r=void 0,i=void 0,u=t.style,(n=n||en(t))&&(i=n.getPropertyValue(e)||n[e]),n&&(""!==i||m(t.ownerDocument,t)||(i=eo(t,e)),ec.test(i)&&/^margin/.test(e)&&(a=u.width,o=u.minWidth,r=u.maxWidth,u.minWidth=u.maxWidth=u.width=i,i=n.width,u.width=a,u.minWidth=o,u.maxWidth=r)),void 0!==i)?i+"":i},eu=function(t,e,n,r){var o;return(o=ei(t,e,r),n)?parseFloat(o):o},ea=function(t,e,n,r,o){var i,u,a,c,s;if(n===(r?"border":"content"))return 0;for(i=0,s=0,u=(c="width"===e?["Right","Left"]:["Top","Bottom"]).length;i<u;i++)a=c[i],"margin"===n&&(s+=eu(t,n+a,!0,o)),r?("content"===n&&(s-=eu(t,"padding".concat(a),!0,o)),"margin"!==n&&(s-=eu(t,"border".concat(a,"Width"),!0,o))):(s+=eu(t,"padding".concat(a),!0,o),"padding"!==n&&(s+=eu(t,"border".concat(a,"Width"),!0,o)));return s},ec=RegExp("^("+/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source+")(?!px)[a-z%]+$","i"),es=function(t,e,n){var r,o,i,u;if(u=!0,i="width"===e?t.offsetWidth:t.offsetHeight,o=en(t),r="border-box"===eu(t,"boxSizing",!1,o),i<=0||null==i){if(((i=ei(t,e,o))<0||null==i)&&(i=t.style[e]),ec.test(i))return i;u=r&&i===t.style[e],i=parseFloat(i)||0}return i+ea(t,e,n||(r?"border":"content"),u,o)},el=function(t){return es(t,"width","content")};function ef(t){return(ef="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 ep(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,function(t){var e=function(t,e){if("object"!=ef(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=ef(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==ef(e)?e:e+""}(r.key),r)}}var eh=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){if(null==t)return t;t=String(t);var e=RegExp("((\\|\\||>=|<=|&&|!=|>|=|<|/|-|\\+|\\*|\\^)(?=[ _]))","g");t=t.replace(e,function(t){return n.OPERATORS[t]});var r="("+Object.keys(n.PREDEFINED_VARS).map(function(t){return":".concat(t,"|").concat(t)}).join("|")+")",o=RegExp("".concat("(\\$_*[^_ ]+)","|").concat(r),"g");return(t=t.replace(o,function(t){return n.PREDEFINED_VARS[t]||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&&ep(n.prototype,t),e&&ep(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}();eh.OPERATORS={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub","^":"pow"},eh.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"},eh.BOUNDRY="[ _]+";var ey=eh;function ed(t){return(ed="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(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ev=function(){return!!t})()}function em(t){return(em=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eb(t,e){return(eb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var eg=function(t){var e;function n(t){var e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=n,r=[t],e=em(e),function(t,e){if(e&&("object"===ed(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,ev()?Reflect.construct(e,r||[],em(this).constructor):e.apply(this,r))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&eb(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,function(t){var e=function(t,e){if("object"!=ed(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=ed(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==ed(e)?e:e+""}(r.key),r)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(ey);function e_(t){return(e_="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 ew(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var eO=(a=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.configuration=null==e?{}:L()(e),tR(this.configuration,ek)},c=[{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 I()(this.configuration,L()(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=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,u=[],a=!0,c=!1;try{o=(e=e.call(t)).next,!1;for(;!(a=(n=o.call(e)).done)&&(u.push(n.value),2!==u.length);a=!0);}catch(t){c=!0,r=t}finally{try{if(!a&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return u}}(e)||function(t){if(t){if("string"==typeof t)return ew(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return ew(t,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),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!tt()(t):return this.get(t);case!Z()(t):return this.merge(t),this.configuration;default:return this.configuration}}},{key:"toOptions",value:function(){return L()(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,function(t){var e=function(t,e){if("object"!=e_(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=e_(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==e_(e)?e:e+""}(r.key),r)}}(a.prototype,c),Object.defineProperty(a,"prototype",{writable:!1}),a),ek={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:"};eO.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","externalLibraries","max_timeout_ms"];var eE=eO;function eS(t){return(eS="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)}var eA=(s=function t(e){var n=this;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.options={},null!=e&&["resourceType","type","publicId","format"].forEach(function(t){var r;return n.options[t]=null!=(r=e[t])?r:e[tH(t)]})},l=[{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()),V()(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,function(t){var e=function(t,e){if("object"!=eS(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=eS(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eS(e)?e:e+""}(r.key),r)}}(s.prototype,l),Object.defineProperty(s,"prototype",{writable:!1}),s);function ej(t){return(ej="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 eD(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eD=function(){return!!t})()}function eP(t){return(eP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eC(t,e){return(eC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var eB=function(t){var e;function n(t){var e,r,o;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return r=n,o=[t],r=eP(r),e=function(t,e){if(e&&("object"===ej(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,eD()?Reflect.construct(r,o||[],eP(this).constructor):r.apply(this,o)),null!=t&&["resourceType","resourceType","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textAlign","stroke","letterSpacing","lineSpacing","fontHinting","fontAntialiasing","text","textStyle"].forEach(function(n){var r;return e.options[n]=null!=(r=t[n])?r:t[tH(n)]}),e.options.resourceType="text",e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&eC(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:"textStyle",value:function(t){return this.options.textStyle=t,this}},{key:"toString",value:function(){var t,e,n,r,o,i,u,a,c,s;if(a=this.textStyleIdentifier(),null!=this.options.publicId&&(r=this.getFullPublicId()),null!=this.options.text){if(e=!tZ(r),n=!tZ(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,s=tF(this.options.text,/[,\/]/g),c="";i=o.exec(s);)c+=tF(s.slice(u,i.index)),c+=i[0],u=i.index+i[0].length;c+=tF(s.slice(u))}return t=[this.options.resourceType,a,r,c],V()(t).join(":")}},{key:"textStyleIdentifier",value:function(){var t;if(!tZ(this.options.textStyle))return this.options.textStyle;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),tZ(this.options.letterSpacing)&&!tx(this.options.letterSpacing)||t.push("letter_spacing_"+this.options.letterSpacing),tZ(this.options.lineSpacing)&&!tx(this.options.lineSpacing)||t.push("line_spacing_"+this.options.lineSpacing),tZ(this.options.fontAntialiasing)||t.push("antialias_"+this.options.fontAntialiasing),tZ(this.options.fontHinting)||t.push("hinting_"+this.options.fontHinting),!tZ(V()(t))){if(tZ(this.options.fontFamily))throw"Must supply fontFamily. ".concat(t);if(tZ(this.options.fontSize)&&!tx(this.options.fontSize))throw"Must supply fontSize."}return t.unshift(this.options.fontFamily,this.options.fontSize),t=V()(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,function(t){var e=function(t,e){if("object"!=ej(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=ej(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==ej(e)?e:e+""}(r.key),r)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(eA);function eT(t){return(eT="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(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ex=function(){return!!t})()}function eF(t){return(eF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eR(t,e){return(eR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var eI=function(t){function e(t){var n,r,o;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");return r=e,o=[t],r=eF(r),(n=function(t,e){if(e&&("object"===eT(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,ex()?Reflect.construct(r,o||[],eF(this).constructor):r.apply(this,o))).options.resourceType="subtitles",n}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&eR(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(eB);function ez(t){return(ez="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 eL(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eL=function(){return!!t})()}function eN(t){return(eN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eV(t,e){return(eV=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var eM=function(t){var e;function n(t){var e,r,o;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return r=n,o=[t],r=eN(r),e=function(t,e){if(e&&("object"===ez(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,eL()?Reflect.construct(r,o||[],eN(this).constructor):r.apply(this,o)),tt()(t)?e.options.url=t:(null!=t?t.url:void 0)&&(e.options.url=t.url),e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&eV(n,t),e=[{key:"url",value:function(t){return this.options.url=t,this}},{key:"toString",value:function(){return"fetch:".concat(tQ(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,function(t){var e=function(t,e){if("object"!=ez(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=ez(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ez(e)?e:e+""}(r.key),r)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(eA);function eU(t,e,n){return e=e$(e),function(t,e){if(e&&("object"===eQ(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(t,eH()?Reflect.construct(e,n||[],e$(t).constructor):e.apply(t,n))}function eH(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eH=function(){return!!t})()}function eW(){return(eW="u">typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=e$(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function e$(t){return(e$=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eq(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&eY(t,e)}function eY(t,e){return(eY=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}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 eK(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function eG(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,function(t){var e=function(t,e){if("object"!=eQ(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=eQ(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==eQ(e)?e:e+""}(r.key),r)}}function eX(t,e,n){return e&&eG(t.prototype,e),n&&eG(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}var eZ=eX(function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:q.a;eK(this,t),this.name=e,this.shortName=n,this.process=r},[{key:"set",value:function(t){return this.origValue=t,this}},{key:"serialize",value:function(){var t,e;return(t=this.value(),e=G()(t)||Z()(t)||tt()(t)?!tZ(t):null!=t,null!=this.shortName&&e)?"".concat(this.shortName,"_").concat(t):""}},{key:"value",value:function(){return this.process(this.origValue)}}],[{key:"norm_color",value:function(t){return null!=t?t.replace(/^#/,"rgb:"):void 0}},{key:"build_array",value:function(t){return null==t?[]:G()(t)?t:[t]}},{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,"b_frames"in t&&!1===t.b_frames&&(e+=":bframes_no")))),e;case String:return t;default:return null}}}]),eJ=function(t){function e(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return eK(this,e),(r=eU(this,e,[t,n,i])).sep=o,r}return eq(e,t),eX(e,[{key:"serialize",value:function(){if(null==this.shortName)return"";var t=this.value();if(tZ(t))return"";if(tt()(t))return"".concat(this.shortName,"_").concat(t);var e=t.map(function(t){return tu()(t.serialize)?t.serialize():t}).join(this.sep);return"".concat(this.shortName,"_").concat(e)}},{key:"value",value:function(){var t=this;return G()(this.origValue)?this.origValue.map(function(e){return t.process(e)}):this.process(this.origValue)}},{key:"set",value:function(t){return null==t||G()(t)?eW(e$(e.prototype),"set",this).call(this,t):eW(e$(e.prototype),"set",this).call(this,[t])}}])}(eZ),e0=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&&void 0!==arguments[3]?arguments[3]:void 0;return eK(this,e),(n=eU(this,e,[t,r,i])).sep=o,n}return eq(e,t),eX(e,[{key:"serialize",value:function(){var t=this,e="",n=this.value();if(tZ(n))return e;if(tB(n)){var r=n.join(this.sep);tZ(r)||(e="".concat(this.shortName,"_").concat(r))}else e=n.map(function(e){return tt()(e)&&!tZ(e)?"".concat(t.shortName,"_").concat(e):tu()(e.serialize)?e.serialize():Z()(e)&&!tZ(e)?new ns(e).serialize():void 0}).filter(function(t){return t});return e}},{key:"set",value:function(t){return(this.origValue=t,G()(this.origValue))?eW(e$(e.prototype),"set",this).call(this,this.origValue):eW(e$(e.prototype),"set",this).call(this,[this.origValue])}}])}(eZ),e1=function(t){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.norm_range_value;return eK(this,e),eU(this,e,[t,n,r])}return eq(e,t),eX(e,null,[{key:"norm_range_value",value:function(t){var e=String(t).match(RegExp("^(([0-9]*)\\.([0-9]+)|([0-9]+))([%pP])?$"));if(e){var n=null!=e[5]?"p":"";t=(e[1]||e[4])+n}return ey.normalize(t)}}])}(eZ),e6=function(t){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:q.a;return eK(this,e),eU(this,e,[t,n,r])}return eq(e,t),eX(e,[{key:"serialize",value:function(){return this.value()}}])}(eZ),e2=function(t){function e(){return eK(this,e),eU(this,e,arguments)}return eq(e,t),eX(e,[{key:"value",value:function(){if(null==this.origValue)return"";if(this.origValue instanceof eA)t=this.origValue;else if(Z()(this.origValue)){var t,e=t$(this.origValue);t="text"===e.resourceType||null!=e.text?new eB(e):"subtitles"===e.resourceType?new eI(e):"fetch"===e.resourceType||null!=e.url?new eM(e):new eA(e)}else t=tt()(this.origValue)?/^fetch:.+/.test(this.origValue)?new eM(this.origValue.substr(6)):this.origValue:"";return t.toString()}}],[{key:"textStyle",value:function(t){return new eB(t).textStyleIdentifier()}}])}(eZ);function e3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(e3=function(){return!!t})()}function e4(t){return(e4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e9(t,e){return(e9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function e5(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}
1finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return e8(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e8(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e8(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function e7(t){return(e7="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 nt(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function ne(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,function(t){var e=function(t,e){if("object"!=e7(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=e7(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==e7(e)?e:e+""}(r.key),r)}}function nn(t,e,n){return e&&ne(t.prototype,e),n&&ne(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function nr(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 no=function(){function t(e){var n,r;nt(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}),nr(e,this.otherOptions),t&&!tZ(this.chained)){var n=this.chained.map(function(t){return t.toOptions()});n.push(e),nr(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=tu()(o)?o:q.a),r[e]=new eZ(e,n,i).set(t),this},this.rawParam=function(t,e,n,o,i){return i=nu(arguments),r[e]=new e6(e,n,i).set(t),this},this.rangeParam=function(t,e,n,o,i){return i=nu(arguments),r[e]=new e1(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]:void 0;return i=nu(arguments),r[e]=new eJ(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&&void 0!==arguments[4]&&arguments[4];var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:void 0;return i=nu(arguments),r[e]=new e0(e,n,o,i).set(t),this},this.layerParam=function(t,e,n){return r[e]=new e2(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(ni)?t:tH(t));return e})().sort()},this.toPlainObject=function(){var t,e,n;for(e in t={},r)t[e]=r[e].value(),Z()(t[e])&&(t[e]=L()(t[e]));return tZ(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 nn(t,[{key:"fromOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e instanceof t)this.fromTransformation(e);else for(var n in(tt()(e)||G()(e))&&(e={transformation:e}),(e=L()(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(ni)?"$attr"!==n&&this.set("variable",n,r):this.set(n,r))}return this}},{key:"fromTransformation",value:function(e){var n=this;
1return 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=tU(t);for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Q()(nc.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,c,s,l,f,p,h,y,d,v;for(s=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(!G()(t))return t;for(e=0,o=[],n=t.length;e<n;e++){var u=e5(t[e],2);r=u[0],i=u[1],o.push("".concat(r,"_").concat(ey.normalize(i)))}return o}(null!=(u=this.get("variables"))?u.value():void 0),r=U()(r,["transformation","if","variables"]),v=[],f=[],e=0,n=r.length;e<n;e++)(l=r[e]).match(ni)?v.push(l+"_"+ey.normalize(null!=(a=this.get(l))?a.value():void 0)):f.push(null!=(c=this.get(l))?c.serialize():void 0);switch(!1){case!tt()(h):f.push(h);break;case!G()(h):s=s.concat(h)}return f=function(){var t,e,n;for(t=0,n=[],e=f.length;t<e;t++)y=f[t],(G()(y)&&!tZ(y)||!G()(y)&&y)&&n.push(y);return n}(),f=v.sort().concat(d).concat(f.sort()),"if_end"===t?f.push(t):tZ(t)||f.unshift(t),tZ(p=V()(f).join(this.param_separator))||s.push(p),V()(s).join(this.trans_separator)}},{key:"toHtmlAttributes",value:function(){var t,e,n,r,o,i,u,a=this;return e={},Object.keys(this.otherOptions).forEach(function(t){o=a.otherOptions[t],u=tH(t),Q()(nc.PARAM_NAMES,u)||Q()(tD,u)||(e[/^html_/.test(t)?t.slice(5):t]=o)}),this.keys().forEach(function(t){/^html_/.test(t)&&(e[tU(t.slice(5))]=a.getValue(t))}),!(this.hasLayer()||this.getValue("angle")||Q()(["fit","limit","lfill"],this.getValue("crop")))&&(i=null!=(n=this.get("width"))?n.origValue:void 0,t=null!=(r=this.get("height"))?r.origValue:void 0,parseFloat(i)>=1&&null==e.width&&(e.width=i),parseFloat(t)>=1&&null==e.height&&(e.height=t)),e}},{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))}}],[{key:"listNames",value:function(){return nc.methods}},{key:"isValidParamName",value:function(t){return nc.methods.indexOf(tU(t))>=0}}])}(),ni=/^\$[a-zA-Z0-9]+$/;function nu(t){var e;return(e=null!=t?t[t.length-1]:void 0,tu()(e))?e:void 0}function na(t){var e=t.function_type,n=t.source;return"remote"===e?[e,btoa(n)].join(":"):"wasm"===e?[e,n].join(":"):void 0}no.prototype.trans_separator="/",no.prototype.param_separator=",";var nc=function(t){function e(t){var n,r;return nt(this,e),n=e,r=[t],n=e4(n),function(t,e){if(e&&("object"===e7(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,e3()?Reflect.construct(n,r||[],e4(this).constructor):n.apply(this,r))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&e9(e,t),nn(e,[{key:"angle",value:function(t){return this.arrayParam(t,"angle","a",".",ey.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",ey.normalize)}},{key:"background",value:function(t){return this.param(t,"background","b",eZ.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 Z()(t)?(t=I()({},{color:"black",width:2},t),"".concat(t.width,"px_solid_").concat(eZ.norm_color(t.color))):t})}},{key:"color",value:function(t){return this.param(t,"color","co",eZ.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","f
1n",function(){return na(t)})}},{key:"customPreFunction",value:function(t){if(!this.get("custom_function"))return this.rawParam(t,"custom_function","",function(){return(t=na(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":ey.normalize(t)})}},{key:"effect",value:function(t){return this.arrayParam(t,"effect","e",":",ey.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 tt()(t)?t:G()(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")?ey.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 eg.new().setParent(this);default:return this.param(a,"if","if",function(t){return eg.new(t).toString()})}}},{key:"keyframeInterval",value:function(t){return this.param(t,"keyframe_interval","ki")}},{key:"ocr",value:function(t){return this.param(t,"ocr","ocr")}},{key:"offset",value:function(t){var e,n,r=e5(tu()(null!=t?t.split:void 0)?t.split(".."):G()(t)?t:[null,null],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",ey.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",ey.normalize)}},{key:"radius",value:function(t){return this.arrayParam(t,"radius","r",":",ey.normalize)}},{key:"rawTransformation",value:function(t){return this.rawParam(t,"raw_transformation")}},{key:"size",value:function(t){var e,n;if(tu()(null!=t?t.split:void 0)){var r=e5(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",eZ.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")?ey.normalize(t):null})}},{key:"x",value:function(t){return this.param(t,"x","x",ey.normalize)}},{key:"y",value:function(t){return this.param(t,"y","y",ey.normalize)}},{key:"zoom",value:function(t){return this.param(t,"zoom","z",ey.normalize)}}],[{key:"new",value:function(t){return new e(t)}}])}(no);nc.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","ocr","offset","opacity","overlay","page","poster","prefix","quality","radius","rawTransformation","size","sourceTypes","sourceTransformation","startOffset","streamingProfile","transformation","underlay","variable","variables","videoCodec","videoSampling","width","x","y","zoom"],nc.PARAM_NAMES=nc.methods.map(tH).concat(eE.CONFIG_PARAMS);var ns=nc;function nl(t){return(nl="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 nf(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,function(t){var e=function(t,e){if("object"!=nl(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=nl(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==nl(e)?e:e+""}(r.key),r)}}var np=(f=function t(e,n,r){var o;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.name=e,this.publicId=n,null==r&&(Z()(n)?(r=n,this.publicId=void 0):r={}),(o=new ns(r)).setParent(this),this.transformation=function(){return o}},p=[{key:"htmlAttrs",value:function(t){var e,n;return(function(){var r,o,i,u;for(e in r=[],t){o=t[e],(n=tt()(o)?o.replace('"',"&#34;").replace("'","&#39;"):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){Z()(t[e])&&delete t[e]}),t.attributes&&(tn()(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(!tu()("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}}],h=[{key:"new",value:function(t,e,n){return new this(t,e,n)}},{key:"isResponsive",value:function(t,e){var n;return n=t3(t,"src-cache")||t3(t,"src"),et(t,e)&&/\bw_auto\b/.exec(n)}}],p&&nf(f.prototype,p),h&&nf(f,h),Object.defineProperty(f,"prototype",{writable:!1}),f),nh=["placeholder","accessibility"];function ny(t){return!!t&&!!t.match(/^https?:\//)}function nd(t){return encodeURIComponent(t).replace(/%3A/g,":").replace(/%2F/g,"/")}function nv(t){var e,n,r,o,i,u,a,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return t;(e=c)instanceof ns&&(e=e.toOptions()),"fetch"===(e=tR({},e,s,tO)).type&&(e.fetch_format=e.fetch_format||e.format),c=e,n=t,r=c.t
1ype,t=ny(n)||"fetch"!==r?n:(o=document.location.protocol+"//"+document.location.host,"?"===n[0]?o+=document.location.pathname:"/"!==n[0]&&(o+=document.location.pathname.replace(/\/[^\/]*$/,"/")),o+n);var l=(u=(i=c).cloud_name,a=i.url_suffix,u?a&&a.match(/[\.\/]/)?"url_suffix should not include . or /":void 0:"Unknown cloud_name");if(l)throw l;var f=function(t,e){if(ny(t)&&("upload"===e.type||"asset"===e.type))return t;var n,r,o,i,u,a,c,s,l,f=(n=t,r=e.force_version||void 0===e.force_version,o=0>n.indexOf("/")||n.match(/^v[0-9]+/)||ny(n)||e.version,r&&!o&&(e.version=1),e.version?"v".concat(e.version):""),p=(u=(i=e||{}).placeholder,a=i.accessibility,c=new ns(function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(i,nh)),a&&tj[a]&&c.chain().effect(tj[a]),u&&("predominant-color"===u&&c.getValue("width")&&c.getValue("height")&&(u+="-pixel"),(tA[u]||tA.blur).forEach(function(t){return c.chain().transformation(t)})),c.serialize()),h=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-"+(j(t)%5+1)),e.secure?(n="https://",!1===e.secure_cdn_subdomain&&(o="res"),null!=e.secure_distribution&&e.secure_distribution!==td&&e.secure_distribution!==tm&&(r="",o="",i=e.secure_distribution)):e.cname&&(n="http://",r="",o=e.cdn_subdomain?"a"+(j(t)%5+1)+".":"",i=e.cname),[n,r,o,i,u].join("")}(t,e),y=(l=!(s=e.signature)||0===s.indexOf("s--")&&"--"===s.substr(-2),delete e.signature,l?s:"s--".concat(s,"--")),d=function(t){var e,n=t.resource_type,r=t.type,o=void 0===r?"upload":r,i=t.url_suffix,u=t.use_root_path,a=t.shorten,c=void 0===n?"image":n;if(Z()(c)&&(c=(e=c).resource_type,o=e.type,a=e.shorten),null==o&&(o="upload"),null!=i&&(c=tw["".concat(c,"/").concat(o)],o=null,null==c))throw Error("URL Suffix only supported for ".concat(Object.keys(tw).join(", ")));if(u)if("image"===c&&"upload"===o||"images"===c)c=null,o=null;else throw Error("Root path only supported for image/upload");return a&&"image"===c&&"upload"===o&&(c="iu",o=null),[c,o].join("/")}(e);return t=function(t,e){if(ny(t))t=nd(t);else{try{t=decodeURIComponent(t)}catch(t){}t=nd(t),e.url_suffix&&(t=t+"/"+e.url_suffix),e.format&&(e.trust_public_id||(t=t.replace(/\.(jpg|png|gif|webp)$/,"")),t=t+"."+e.format)}return t}(t,e),V()([h,d,y,p,f,t]).join("/").replace(/([^:])\/+/g,"$1/").replace(" ","%20")}(t,c);if(c.urlAnalytics){var p=x(F(c)),h="?";f.indexOf("?")>=0&&(h="&"),f="".concat(f).concat(h,"_a=").concat(p)}if(c.auth_token){var y=f.indexOf("?")>=0?"&":"?";f="".concat(f).concat(y,"__cld_token__=").concat(c.auth_token)}return f}function nm(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var nb=tZ;function ng(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(nb(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=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,u=[],a=!0,c=!1;try{o=(e=e.call(t)).next,!1;for(;!(a=(n=o.call(e)).done)&&(u.push(n.value),3!==u.length);a=!0);}catch(t){c=!0,r=t}finally{try{if(!a&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return u}}(e)||function(t){if(t){if("string"==typeof t)return nm(t,3);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return nm(t,3)}}
1(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),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)),c=o;c<i;c+=a)n.push(c);return n.push(i),n}(e)}(t,n,r);if(u){var c,s=n.transformation,l=(c=r,tG(c=L.a(c)),a.map(function(e){return"".concat(function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=tK(r);return n=n||r,o.raw_transformation=new ns([tn.a({},n),{crop:"scale",width:e}]).toString(),nv(t,o)}(t,e,s,c)," ").concat(e,"w")}).join(", "));nb(l)||(o.srcset=l)}if(i){var f=null==a?"":a.map(function(t){return"(max-width: ".concat(t,"px) ").concat(t,"px")}).join(", ");nb(f)||(o.sizes=f)}}return o}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})(t)}function nw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nw=function(){return!!t})()}function nO(){return(nO="u">typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=nk(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function nk(t){return(nk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nE(t,e){return(nE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var nS=function(t){var e;function n(t){var e,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=n,r=["img",t,o],e=nk(e),function(t,e){if(e&&("object"===n_(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,nw()?Reflect.construct(e,r||[],nk(this).constructor):e.apply(this,r))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&nE(n,t),e=[{key:"closeTag",value:function(){return""}},{key:"attributes",value:function(){var t,e=nO(nk(n.prototype),"attributes",this).call(this)||{},r=this.getOptions(),o=this.getOption("attributes")||{},i=this.getOption("srcset")||o.srcset,u={};return tt()(i)?u.srcset=i:u=ng(this.publicId,o,i,r),tZ(u)||(delete e.width,delete e.height),tn()(e,u),null==e[t=r.responsive&&!r.client_hints?"data-src":"src"]&&(e[t]=nv(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,function(t){var e=function(t,e){if("object"!=n_(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=n_(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n_(e)?e:e+""}(r.key),r)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(np);function nA(t){return(nA="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 nj(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nj=function(){return!!t})()}function nD(){return(nD="u">typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=nP(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function nP(t){return(nP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function nC(t,e){return(nC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var nB=function(t){var e;function n(t){var e,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=n,r=["source",t,o],e=nP(e),function(t,e){if(e&&("object"===nA(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,nj()?Reflect.construct(e,r||[],nP(this).constructor):e.apply(this,r))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&nC(n,t),e=[{key:"closeTag",value:function(){return""}},{key:"attributes",value:function(){var t,e,r=this.getOption("srcset"),o=nD(nP(n.prototype),"attributes",this).call(this)||{},i=this.getOptions();return tn()(o,ng(this.publicId,o,r,i)),o.srcset||(o.srcset=nv(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,function(t){var e=function(t,e){if("object"!=nA(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=nA(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==nA(e)?e:e+""}(r.key),r)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(np);function nT(t){return(nT="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 nx(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nx=function(){return!!t})()}function nF(){return(nF="u">typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=nR(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function nR(t){return(nR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nI(t,e){return(nI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var nz=function(t){var e;function n(t){var e,r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=n,r=["picture",t,i],e=nR(e),(o=function(t,e){if(e&&("object"===nT(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,nx()?Reflect.construct(e,r||[],nR(this).constructor):e.apply(this,r))).widthList=u,o}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&nI(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 ns(i);return u.chain().fromOptions("string"==typeof o?{raw_transformation:o}:o),(i=tK(i)).media={min_width:n,max_width:r},i.transformation=u,new nB(t.publicId,i).toHtml()}).join("")+new nS(this.publicId,this.getOptions()).toHtml()}},{key:"attributes",value:function(){var t=nF(nR(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,function(t){var e=function(t,e){if("object"!=nT(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=nT(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==nT(e)?e:e+""}(r.key),r)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(np);function nL(t){return(nL="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 nN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nN=function(){return!!t})()}function nV(){return(nV="u">typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=nM(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function nM(t){return(nM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nU(t,e){return(nU=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var nH=["source_types","source_transformation","fallback_content","poster","sources"],nW=["webm","mp4","ogv"],n$={format:"jpg",resource_type:"video"},nq=function(t){var e;function n(t){var e,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return o=tR({},o,tk),e=n,r=["video",t.replace(/\.(mp4|ogv|webm)$/,""),o],e=nM(e),function(t,e){if(e&&("object"===nL(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,nN()?Reflect.construct(e,r||[],nM(this).constructor):e.apply(this,r))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&nU(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 G()(o)&&!tZ(o)?i=o.map(function(e){var n=nv(t.publicId,tR({},e.transformations||{},{resource_type:"video",format:e.type}),t.getOptions());return t.createSourceTag(n,e.type,e.codecs)}):(tZ(e)&&(e=nW),G()(e)&&(i=e.map(function(e){var r=nv(t.publicId,tR({},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={}),Z()(e)){var r=null!=e.public_id?tO:n$;e=nv(e.public_id||this.publicId,tR({},e,r,this.getOptions()))}var o=nV(nM(n.prototype),"attributes",this).call(this)||{};return o=tC(o,nH),!tZ(this.getOption("sources"))||tZ(t)||G()(t)||(o.src=nv(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!tZ(e)&&(r="video/"+("ogv"===e?"ogg":e),tZ(n)||(r+="; codecs="+(G()(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,function(t){var e=function(t,e){if("object"!=nL(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=nL(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==nL(e)?e:e+""}(r.key),r)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(np);function nY(t){return(nY="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 nQ(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nQ=function(){return!!t})()}function nK(t){return(nK=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nG(t,e){return(nG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var nX=function(t){var e;function n(t){var e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=n,r=["meta",void 0,I()({"http-equiv":"Accept-CH",content:"DPR, Viewport-Width, Width"},t)],e=nK(e),function(t,e){if(e&&("object"===nY(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,nQ()?Reflect.construct(e,r||[],nK(this).constructor):e.apply(this,r))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&nG(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,function(t){var e=function(t,e){if("object"!=nY(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=nY(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==nY(e)?e:e+""}(r.key),r)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(np);function nZ(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var nJ=function(t,e){t.transformation?t.transformation.push({flags:[e]}):(t.flags||(t.flags=[]),"string"==typeof t.flags&&(t.flags=[t.flags]),t.flags.push(e))},n0=function(t){t.autoplay=!0,t.muted=!0,t.controls=!1,t.max_timeout_ms=t.max_timeout_ms||tb,t.class=t.class||"",t.class+=" cld-transparent-video",t.externalLibraries=t.externalLibraries||{},t.externalLibraries.seeThru||(t.externalLibraries.seeThru=tS.seeThru),nJ(t,"alpha")},n1=function(t){var e=t.autoplay,n=t.playsinline,r=t.loop,o=t.muted,i=t.poster,u=t.blobURL,a=t.videoURL,c=document.createElement("video");return c.style.visibility="hidden",c.position="absolute",c.x=0,c.y=0,c.src=u,c.setAttribute("data-video-url",a),e&&c.setAttribute("autoplay",e),n&&c.setAttribute("playsinline",n),r&&c.setAttribute("loop",r),o&&c.setAttribute("muted",o),o&&(c.muted=o),i&&c.setAttribute("poster",i),c.onload=function(){URL.revokeObjectURL(u)},c},n6=function(t,e,n,r){var o=window,i=o.seeThru,u=o.setTimeout,a=o.clearTimeout;return new Promise(function(o,c){var s=u(function(){c({status:"error",message:"Timeout instantiating seeThru instance"})},e);if(i)var l=i.create(t).ready(function(){a(s);var t=l.getCanvas();t.style.width="100%",t.className+=" "+n,r&&l.play(),o(l)});else c({status:"error",message:"Error instantiating seeThru instance"})})},n2=function(t,e,n){var r=n.poster,o=n.autoplay,i=n.playsinline,u=n.loop,a=n.muted;return e+=".mp4",new Promise(function(c,s){var l,f,p;(l=n.externalLibraries.seeThru,f=n.max_timeout_ms,p=window.seeThru,new Promise(function(t,e){if(p)t();else{var n=document.createElement("script");n.src=l;var r=setTimeout(function(){e({status:"error",message:"Timeout loading script ".concat(l)})},f);n.onerror=function(){clearTimeout(r),e({status:"error",message:"Error loading ".concat(l)})},n.onload=function(){clearTimeout(r),t()},document.head.appendChild(n)}})).then(function(){var l,f;(l=e,f=n.max_timeout_ms,new Promise(function(t,e){var n=setTimeout(function(){e({status:"error",message:"Timeout loading Blob URL"})},f);("u">typeof fetch&&fetch?function(t){return new Promise(function(e,n){fetch(t).then(function(t){t.blob().then(function(t){e(t)})}).catch(function(){n("error")})})}:function(t){return new Promise(function(e,n){var r=new XMLHttpRequest;r.responseType="blob",r.onload=function(t){e(r.response)},r.onerror=function(){n("error")},r.open("GET",t,!0),r.send()})})(l).then(function(e){t({status:"success",payload:{blobURL:URL.createObjectURL(e)}})}).catch(function(){e({status:"error",message:"Error loading Blob URL"})}).finally(function(){clearTimeout(n)})})).then(function(l){var f=n1({blobURL:l.payload.blobURL,videoURL:e,poster:r,autoplay:o,playsinline:i,loop:u,muted:a});t.appendChild(f),n6(f,n.max_timeout_ms,n.class,n.autoplay).then(function(){c(t)}
1).catch(function(t){s(t)})}).catch(function(t){s({status:t.status,message:t.message})})}).catch(function(t){s({status:t.status,message:t.message})})})};function n3(t){return(n3="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 n4(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,function(t){var e=function(t,e){if("object"!=n3(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=n3(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n3(e)?e:e+""}(r.key),r)}}_=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return e*Math.ceil(t/e)},g=function(t,e){var n;for(n=t.length-2;n>=0&&t[n]>=e;)n--;return t[n+1]},b=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},w=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=el(t));return e},k=function(t,e){return t.replace(/\bdpr_(1\.0|auto)\b/g,"dpr_"+this.device_pixel_ratio(e))},O=function(t,e){var n;return t>(n=t3(e,"width")||0)&&(n=t,t4(e,"width",t)),n};var n9=(y=function t(e){var n;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.devicePixelRatioCache={},this.responsiveConfig={},this.responsiveResizeInitialized=!1,n=new eE(e),this.config=function(t,e){return n.config(t,e)},this.fromDocument=function(){return n.fromDocument(),this},this.fromEnvironment=function(){return n.fromEnvironment(),this},this.init=function(){return n.init(),this}},d=[{key:"url",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return nv(t,e,this.config())}},{key:"video_url",value:function(t,e){return e=I()({resource_type:"video"},e),this.url(t,e)}},{key:"video_thumbnail_url",value:function(t,e){return e=I()({},tg,e),this.url(t,e)}},{key:"transformation_string",value:function(t){return new ns(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||(t4(n,"src-cache",this.url(t,o)),this.cloudinary_update(n,o)),n}},{key:"imageTag",value:function(t,e){var n;return(n=new nS(t,this.config())).transformation().fromOptions(e),n}},{key:"pictureTag",value:function(t,e,n){var r;
1return(r=new nz(t,this.config(),n)).transformation().fromOptions(e),r}},{key:"sourceTag",value:function(t,e){var n;return(n=new nB(t,this.config())).transformation().fromOptions(e),n}},{key:"video_thumbnail",value:function(t,e){return this.image(t,tn()({},tg,e))}},{key:"facebook_profile_image",value:function(t,e){return this.image(t,I()({type:"facebook"},e))}},{key:"twitter_profile_image",value:function(t,e){return this.image(t,I()({type:"twitter"},e))}},{key:"twitter_name_profile_image",value:function(t,e){return this.image(t,I()({type:"twitter_name"},e))}},{key:"gravatar_image",value:function(t,e){return this.image(t,I()({type:"gravatar"},e))}},{key:"fetch_image",value:function(t,e){return this.image(t,I()({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 nq(t,e=tR({},e,this.config()))}},{key:"sprite_css",value:function(t,e){return e=I()({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=tn()(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){this.responsiveConfig.resizing=this.responsiveResizeInitialized=!0,i=null;var c=function(){var t,e,n,r,a,c;return(t=null!=(e=null!=(n=u.responsiveConfig.responsive_debounce)?n:u.config("responsive_debounce"))?e:100,r=function(){i&&(clearTimeout(i),i=null)},a=function(){return u.cloudinary_update("img.".concat(o),u.responsiveConfig)},c=function(){return r(),a()},t)?void(r(),i=setTimeout(c,t)):a()};return window.addEventListener("resize",c),function(){return window.removeEventListener("resize",c)}}}},{key:"calc_breakpoint",value:function(t,e,n){var r=t3(t,"breakpoints")||t3(t,"stoppoints")||this.config("breakpoints")||this.config("stoppoints")||_;return tu()(r)?r(e,n):(tt()(r)&&(r=r.split(",").map(function(t){return parseInt(t)}).sort(function(t,e){return t-e})),g(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(tZ(t))return this;e=tR({},e||{},this.config());var n=t.filter(function(t){return/^img$/i.test(t.tagName)}).map(function(t){var n=I()({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 ns(n).toHtmlAttributes();return t4(t,"src-cache",nv(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,a=this;if(null===t)return this;null==e&&(e={});var c=null!=e.responsive?e.responsive:this.config("responsive");t=function(t){if(G()(t))return t;if("NodeList"===t.constructor.name)return function(t){if(Array.isArray(t))return nZ(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return nZ(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return nZ(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return tt()(t)?Array.prototype.slice.call(document.querySelectorAll(t),0):[t]}(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 s=null!=e.round_dpr?e.round_dpr:this.config("round_dpr");return t.forEach(function(l){if(/img/i.test(l.tagName)){var f=!0;if(c&&ee(l,u),!tZ(r=t3(l,"src-cache")||t3(l,"src"))){r=k.call(a,r,s),np.isResponsive(l,u)&&(0!==(n=w(l))?(/w_auto:breakpoints/.test(r)?(i=O(n,l))?r=r.replace(/w_auto:breakpoints([_0-9]*)(:[0-9]+)?/,"w_auto:breakpoints$1:".concat(i)):f=!1:(o=/w_auto(:(\d+))?/.exec(r))&&((i=O(i=b.call(a,l,n,o[2],e),l))?r=r.replace(/w_auto[^,\/]*/g,"w_".concat(i)):f=!1),t8(l,"width"),e.responsive_preserve_height||t8(l,"height")):f=!1);var p="lazy"===e.loading&&!a.isNativeLazyLoadSupported()&&a.isLazyLoadSupported()&&
1!t[0].getAttribute("src");(f||p)&&a.setAttributeIfExists(t[0],"width","data-width"),f&&!p&&t5(l,"src",r)}}}),this}},{key:"setAttributeIfExists",value:function(t,e,n){var r=t.getAttribute(n);null!=r&&t5(t,e,r)}},{key:"isLazyLoadSupported",value:function(){return window&&"IntersectionObserver"in window}},{key:"isNativeLazyLoadSupported",value:function(){return"loading"in HTMLImageElement.prototype}},{key:"transformation",value:function(t){return ns.new(this.config()).fromOptions(t).setParent(this)}},{key:"injectTransparentVideoElement",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise(function(o,i){t||i({status:"error",message:"Expecting htmlElContainer to be HTMLElement"}),n0(r);var u=n.video_url(e,r);new Promise(function(t,e){t2()&&t(!1);var n=document.createElement("video"),r=n.canPlayType&&n.canPlayType('video/webm; codecs="vp9"');t("maybe"===r||"probably"===r)}).then(function(a){var c;a?(c=new Promise(function(o,i){t.innerHTML=n.videoTag(e,r).toHtml(),t.querySelector(".cld-transparent-video").style.width="100%",o(t)}),o(t)):c=n2(t,u,r),c.then(function(){o(t)}).catch(function(t){i({status:t.status,message:t.message})})}).catch(function(t){i({status:t.status,message:t.message})})})}}],v=[{key:"new",value:function(t){return new this(t)}}],d&&n4(y.prototype,d),v&&n4(y,v),Object.defineProperty(y,"prototype",{writable:!1}),y);I()(n9,E);var n5=n9;e.default={ClientHintsMetaTag:nX,Cloudinary:n5,Condition:eg,Configuration:eE,crc32:j,Expression:ey,FetchLayer:eM,HtmlTag:np,ImageTag:nS,Layer:eA,PictureTag:nz,SubtitlesLayer:eI,TextLayer:eB,Transformation:ns,utf8_encode:A,Util:S,VideoTag:nq}}
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=c},"lodash/isArray":function(t,e){t.exports=s},"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 b(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,b),e.l=!0,e.exports}return b.m=v,b.c=m,b.d=function(t,e,n){b.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},b.r=function(t){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},b.t=function(t,e){if(1&e&&(t=b(t)),8&e||4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(b.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)b.d(n,r,(function(e){return t[e]}).bind(null,r));return n},b.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return b.d(e,"a",e),e},b.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},b.p="",b(b.s="./src/namespace/cloudinary-core.js")}(n(9054),n(9922),n(67712),n(9460),n(27376),n(5549),n(51526),n(91544),n(7457),n(98499),n(64022),n(84450),n(97481),n(7107))}}]);

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.