1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3290],{48361:function(t,e,r){var n=r(64620)(r(3642),"DataView");t.exports=n},7737:function(t,e,r){var n=r(64620)(r(3642),"Promise");t.exports=n},64637:function(t,e,r){var n=r(64620)(r(3642),"Set");t.exports=n},28345:function(t,e,r){var n=r(64620)(r(3642),"WeakMap");t.exports=n},58980:function(t,e,r){var n=r(606),i=r(63831),s=r(62743),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return s(t)&&i(t.length)&&!!o[n(t)]}},50419:function(t,e,r){var n=r(99166),i=r(10369),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=[];for(var r in Object(t))s.call(t,r)&&"constructor"!=r&&e.push(r);return e}},19040:function(t){t.exports=function(t){return function(e){return t(e)}}},17121:function(t,e,r){var n=r(48361),i=r(3055),s=r(7737),o=r(64637),a=r(28345),u=r(606),c=r(33679),l="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",g=c(n),v=c(i),m=c(s),y=c(o),w=c(a),b=u;
1(n&&b(new n(new ArrayBuffer(1)))!=p||i&&b(new i)!=l||s&&b(s.resolve())!=d||o&&b(new o)!=h||a&&b(new a)!=f)&&(b=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case g:return p;case v:return l;case m:return d;case y:return h;case w:return f}return e}),t.exports=b},99166:function(t){var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},10369:function(t,e,r){var n=r(49203)(Object.keys,Object);t.exports=n},44055:function(t,e,r){t=r.nmd(t);var n=r(31357),i=e&&!e.nodeType&&e,s=i&&t&&!t.nodeType&&t,o=s&&s.exports===i&&n.process,a=function(){try{var t=s&&s.require&&s.require("util").types;if(t)return t;return o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a},49203:function(t){t.exports=function(t,e){return function(r){return t(e(r))}}},15206:function(t,e,r){var n=r(74449),i=r(63831);t.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},91485:function(t,e,r){t=r.nmd(t);var n=r(3642),i=r(9183),s=e&&!e.nodeType&&e,o=s&&t&&!t.nodeType&&t,a=o&&o.exports===s?n.Buffer:void 0,u=a?a.isBuffer:void 0;t.exports=u||i},38278:function(t,e,r){var n=r(50419),i=r(17121),s=r(41080),o=r(73509),a=r(15206),u=r(91485),c=r(99166),l=r(23329),d=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(a(t)&&(o(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||l(t)||s(t)))return!t.length;var e=i(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(c(t))return!n(t).length;for(var r in t)if(d.call(t,r))return!1;return!0}},23329:function(t,e,r){var n=r(58980),i=r(19040),s=r(44055),o=s&&s.isTypedArray,a=o?i(o):n;t.exports=a},9183:function(t){t.exports=function(){return!1}},48236:function(t,e,r){"use strict";r.d(e,{hl:function(){return k},Q1:function(){return $}});var n=r(20368),i=r(63505);function s(t){let e=t.toString();return e.match(/[A-Z]/gi)||e.length>1&&"0"===e[0]?e:isNaN(parseFloat(e))||-1!==e.indexOf(":")||-1!==e.indexOf(".")?e:`${e}.0`}var o=r(31533);class a extends o.N{}var u=r(84008),c=r(13904),l=r(41719);class d extends i.a{constructor(t,e,r){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=l.IZ[t]||t,this.addQualifier(new n.q("c",t)),e&&this.width(e),r&&this.height(r)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new n.q("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new n.q("w",t))}aspectRatio(t){return t instanceof a?(this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new n.q("ar",t))):"number"==typeof t||"string"==typeof t?(this._actionModel.dimensions.aspectRatio=s(t),this.addQualifier(new n.q("ar",s(t)))):t instanceof c.A?(this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)):void 0}relative(){return this._actionModel.relative=!0,this.addFlag((0,u.Gf)())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag((0,u.S7)())}static fromJson(t){let{actionType:e,dimensions:r,relative:n,regionRelative:i}=t,{aspectRatio:s,width:o,height:a}=r,c=new this(l.Q8[e]||e,o,a);return s&&c.aspectRatio("ignore_aspect_ratio"===s?(0,u.og)():s),n&&c.relative(),i&&c.regionRelative(),c}}var h=r(31209),f=r(80991),p=r(77637),g=r(71405);function v(t){return`${t}`.replace("g_","")}function m(t){let e=t.toString().split("_"),r={object:e[0]};return e.length>1&&("avoid"===e[1]?r.avoid=!0:r.weight=+e[1]),r}function y(t){let e="auto"===t?new h.d:t;return{gravityType:"auto",autoFocus:(`${t}`.startsWith("auto:")?`${t}`.split(":").filter(t=>"auto"!==t):e.qualifierValue.values.filter(t=>"auto"!==t)).map(m)}}var w=r(59416);class b extends o.N{constructor(t,e){super(),this._weight=e,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,e){return new b(t instanceof g.v?t:new g.v(t),e)}shouldAddWeight(){return"number"==typeof this._weight||"string"==typeof this._weight||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}b.focusOn;var A=r(49326);
1class j extends o.N{constructor(t){super(),this.val=t}toString(){return this.val}}function x(t){let{object:e,weight:r,avoid:n}=t,i=new b(new g.v(e));return(r||0===r)&&i.weight(r),n&&i.avoid(),i}function _(t){let e=(t.autoFocus||[]).map(x);return(0,p.j6)().autoFocus(...e)}class S extends d{gravity(t){var e;this._actionModel.gravity=["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(v(e=t))?{compass:v(e),gravityType:"direction"}:"ocr_text"===v(e)?{gravityType:"ocr"}:e&&"auto"===`${e}`.split(":")[0]||"auto"===`${e.qualifierValue}`.split(":")[0]?y(e):function(t){let e=`${t}`.split(":").includes("auto"),r=t.qualifierValue.values,n={gravityType:"object",focusOnObjects:(e?r.slice(0,r.length-1):r).map(t=>`${t}`)};if(e){let t=r[r.length-1].values.slice(1),e=(0,p.j6)().autoFocus(...t);n.fallbackGravity=y(e)}return n}("string"==typeof e?function(t){let e=t.split(":").map(t=>new g.v(t));return new f.n(e)}(e):e);let r="string"==typeof t?new n.q("g",t):t;return this.addQualifier(r)}static fromJson(t){var e;let r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity("direction"===(e=t.gravity).gravityType?new A.f(new j(e.compass)):"ocr"===e.gravityType?(0,p.v0)((0,w.A2)()):"auto"===e.gravityType?_(e):function(t){let e=(t.focusOnObjects||[]).map(t=>new g.v(t)),r=(0,p.v0)(...e);if(t.fallbackGravity){let e=_(t.fallbackGravity);r.fallbackGravity(e)}return r}(e)),r}}r(42274),r(63695);class C extends S{zoom(t){return this._actionModel.zoom=t,this.addQualifier(new n.q("z",t))}static fromJson(t){let e=super.fromJson.apply(this,[t]);return t.zoom&&e.zoom(t.zoom),e}}class T extends S{x(t){return this._actionModel.x=t,this.addQualifier(new n.q("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new n.q("y",t))}static fromJson(t){let e=super.fromJson.apply(this,[t]);return t.x&&e.x(t.x),t.y&&e.y(t.y),e}}function k(t,e){return new T("fill",t,e)}function $(t,e){return new C("thumb",t,e)}},63505:function(t,e,r){"use strict";r.d(e,{a:function(){return u}});var n=r(13904),i=r(20368),s=r(74554);function o(){var t,e,r;let n=this._actionModel&&Object.keys(this._actionModel).length,i=null===(r=null===(e=null===(t=this._actionModel)||void 0===t?void 0:t.source)||void 0===e?void 0:e.transformation)||void 0===r?void 0:r.error;return i&&i instanceof Error?{error:i}:n?this._actionModel:{error:(0,s.S)(`unsupported action ${this.constructor.name}`)}}class a{constructor(){this._actionModel={}}toJson(){return o.apply(this)}}class u extends a{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),(function(t,e){let r=Array.from(t.entries());return e.forEach(t=>{r.push(["fl",t])}),r.sort().map(t=>t[1])})(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if("string"==typeof t){let[e,r]=t.toLowerCase().split("_");"fl"===e?this.flags.push(new n.A(r)):this.qualifiers.set(e,new i.q(e,r))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return"string"==typeof t?this.flags.push(new n.A(t)):t instanceof n.A&&this.flags.push(t),this}addValueToQualifier(t,e){return this.qualifiers.get(t).addValue(e),this}}},41719:function(t,e,r){"use strict";function n(t){let e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}r.d(e,{Q8:function(){return i},IZ:function(){return s},yX:function(){return o}});let i={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"};n({444:"CHROMA_444",420:"CHROMA_420"}),n({noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"});let s=n(i),o=n({colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"});n({redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"}),n({autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"}),n({fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"})},20368:function(t,e,r){"use strict";r.d(e,{q:function(){return a}});var n=r(31533),i=r(74554);function s(){return this._qualifierModel||{error:(0,i.S)(`unsupported qualifier ${this.constructor.name}`)}}class o{constructor(){this._qualifierModel={}}toJson(){return s.apply(this)}}class a extends o{constructor(t,e){super(),this.delimiter="_",this.key=t,e instanceof n.N?this.qual
1ifierValue=e:(this.qualifierValue=new n.N,this.qualifierValue.addValue(e))}toString(){let{key:t,delimiter:e,qualifierValue:r}=this;return`${t}${e}${r.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}},31533:function(t,e,r){"use strict";r.d(e,{N:function(){return n}});class n{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return null!=t&&""!==t}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(t=>this.hasValue(t)),this}setDelimiter(t){return this.delimiter=t,this}}},42274:function(t,e,r){"use strict";function n(t){return t&&t.match(/^#/)?`rgb:${t.substr(1)}`:t}r.d(e,{M:function(){return n}})},74554:function(t,e,r){"use strict";r.d(e,{S:function(){return i}});class n extends Error{constructor(t="Unsupported"){super(t)}}function i(t){return new n(t)}},84008:function(t,e,r){"use strict";r.d(e,{Gf:function(){return c},Mw:function(){return s},S7:function(){return u},c5:function(){return a},mC:function(){return o},og:function(){return i}});var n=r(13904);function i(){return new n.A("ignore_aspect_ratio")}function s(){return new n.A("lossy")}function o(){return new n.A("preserve_transparency")}function a(t){return new n.A("progressive",t)}function u(){return new n.A("region_relative")}function c(){return new n.A("relative")}},13904:function(t,e,r){"use strict";r.d(e,{A:function(){return s}});var n=r(31533),i=r(20368);class s extends i.q{constructor(t,e){super("fl",e?new n.N([t,`${e}`]).setDelimiter(":"):t),this.flagValue=e}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}},59416:function(t,e,r){"use strict";r.d(e,{A2:function(){return i},Yj:function(){return s}});var n=r(71405);function i(){return new n.v("ocr_text")}let s={person:function(){return new n.v("person")},cat:function(){return new n.v("cat")},microwave:function(){return new n.v("microwave")},refrigerator:function(){return new n.v("refrigerator")},skateboard:function(){return new n.v("skateboard")},bird:function(){return new n.v("bird")},bottle:function(){return new n.v("bottle")},dog:function(){return new n.v("dog")},sink:function(){return new n.v("sink")},face:function(){return new n.v("face")},train:function(){return new n.v("train")},sofa:function(){return new n.v("sofa")},sheep:function(){return new n.v("sheep")},pottedplant:function(){return new n.v("pottedplant")},horse:function(){return new n.v("horse")},faces:function(){return new n.v("faces")},cow:function(){return new n.v("cow")},bus:function(){return new n.v("bus")},boat:function(){return new n.v("boat")},advancedEyes:function(){return new n.v("adv_eyes")},advancedFace:function(){return new n.v("adv_face")},advancedFaces:function(){return new n.v("adv_faces")},aeroplane:function(){return new n.v("aeroplane")},background:function(){return new n.v("background")},bicycle:function(){return new n.v("bicycle")},car:function(){return new n.v("car")},chair:function(){return new n.v("chair")},diningtable:function(){return new n.v("diningtable")},tvmonitor:function(){return new n.v("tvmonitor")},motorbike:function(){return new n.v("motorbike")},ocr:i}},77637:function(t,e,r){"use strict";r.d(e,{j6:function(){return o},v0:function(){return s}}),r(49326);var n=r(80991),i=r(31209);function s(...t){let e=[...t];return new n.n(e)}function o(){return new i.d}r(63695)},63695:function(t,e,r){"use strict";r.d(e,{B:function(){return s}});var n=r(20368),i=r(31533);class s extends n.q{constructor(t){super("g",new i.N(t))}}},31209:function(t,e,r){"use strict";r.d(e,{d:function(){return i}});var n=r(63695);class i extends n.B{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}},49326:function(t,e,r){"use strict";r.d(e,{f:function(){return i}});var n=r(63695);class i extends n.B{constructor(t){super(t)}}},80991:function(t,e,r){"use strict";r.d(e,{n:function(){return i}});var n=r(63695);class i extends n.B{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}},71405:function(t,e,r){"use strict";r.d(e,{v:function(){return i}});var n=r(31533);class i extends n.N{constructor(t){super(),this.name=t}toString(){return this.name}}},50:function(t,e,r){"use strict";r.d(e,{r:function(){return F}});var n=r(63505),i=r(31533),s=r(20368),o=r(42274);class a extends n.a{constructor(t){super(),this._actionModel={},this.addQualifier(new s.q("b",new i.N((0,o.M)(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){let{color:e}=t;return new this(e)}}var u=r(13904),c=r(74554);class l{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:(0,c.S)(`unsupported action ${this.constructor.name}`)}}}var d=r(84008);class h extends i.N{constructor(t){super(t),this.val=t}getValue(){return this.val}}var f=r(41719);class p extends n.a{constructor(t,e,r){let n;super(),this._actionModel={},n=e instanceof h?e.getValue():e,this._actionModel.actionType=f.yX[t],this._actionModel[r]=n,this.addQualifier(new s.q(t,e))}}class g extends u.A{constructor(t){super("progressive",t)}}class v extends p{constructor(t,e){super(t,e,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag((0,d.Mw)()),this}progressive(t){return t instanceof g?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag((0,d.c5)(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag((0,d.mC)()),this}static fromJson(t){let e;let{formatType:r,lossy:n,progressive:i,preserveTransparency:s}=t;return e=r?new this("f",r):new this("f"),i&&(i.mode?e.progressive(i.mode):e.progressive()),n&&e.lossy(),s&&e.preserveTransparency(),e}}class m{constructor(){this.actions=[]}addAction(t){let e;if("string"==typeof t){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";e=new l(t)}else e=t;return this.actions.push(e),this}addTransformation(t){return t instanceof m?this.actions=this.actions.concat(t.actions):this.actions.push(new l(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new v("q",t)),this}format(t){return this.addAction(new v("f",t)),this}
1roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new a(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){let e=new n.a,r=t;return"string"==typeof t&&(r=new u.A(t)),e.addQualifier(r),this.addAction(e)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){let t=[];for(let e of this.actions){let r=e.toJson();if("error"in r&&r.error)return r;t.push(r)}return{actions:t}}}class y extends m{}class w{filterOutNonSupportedKeys(t,e){let r=Object.create({});return"object"!=typeof t||t instanceof Array?Object.create({}):(Object.keys(t).forEach(n=>{e.indexOf(n)>=0?r[n]=t[n]:console.warn("Warning - unsupported key provided to configuration: ",n)}),r)}}var b=w;let A=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class j extends b{constructor(t){super(),Object.assign(this,{secure:!0},this.filterOutNonSupportedKeys(t,A))}extend(t){return new j(Object.assign({},this,this.filterOutNonSupportedKeys(t,A)))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}function x(t,e,r){let n=e>>0,i=String(void 0!==r?r:" ");return t.length>n?String(t):((n-=t.length)>i.length&&(i+=function(t,e){let r=e,n="";for(;r>0;)n+=t,r--;return n}(i,n/i.length)),i.slice(0,n)+String(t))}let _={},S=0;function C(t){let e="",r=t.split(".").length,n=parseInt((function(t){if(t.split(".").length<2)throw Error("invalid semVer, must have at least two segments");return t.split(".").map(t=>{let e=+t;if(isNaN(e)||e<0)throw"Invalid version number provided";return x(t,2,"0")}).join(".")})(function(t){if(t.split(".").length<2)throw Error("invalid semVer, must have at least two segments");return t.split(".").reverse().join(".")}(t)).split(".").join("")).toString(2);if((n=x(n,6*r,"0")).length%6!=0)throw"Version must be smaller than 43.21.26)";return n.match(/.{1,6}/g).forEach(t=>{e+=_[t]}),e}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(t=>{let e=S.toString(2);_[e=x(e,6,"0")]=t,S++});var T=r(68571);function k(t){let e=function(t){let e={sdkSemver:t.sdkSemver,techVersion:t.techVersion,sdkCode:t.sdkCode,product:t.product,feature:"0",osType:t.osType,osVersion:t.osVersion};return t.accessibility&&(e.feature="D"),t.lazyload&&(e.feature="C"),t.responsive&&(e.feature="A"),t.placeholder&&(e.feature="B"),e}(function(t){let e={techVersion:function(){let t="0.0.0";if("undefined"!=typeof window)return t;try{return T.versions.node||t}catch(e){return t}}(),sdkCode:"T",sdkSemver:"1.21.0".split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return t?Object.assign(Object.assign({},e),t):e}(t));try{let t=function(t){let e=t.split(".");return`${e[0]}.${e[1]}`}(e.techVersion),r=C(e.sdkSemver),n=C(t),i=function(t){let[e,r]=t.split("."),n=parseInt(e).toString(2),i=parseInt(r).toString(2),s=n.padStart(6,"0"),o=i.padStart(6,"0");return _[s]+_[o]}(e.osVersion),s=e.feature,o=e.sdkCode,{product:a,osType:u}=e;return`D${a}${o}${r}${n}${u}${i}${s}`}catch(t){return"E"}}let $={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class V{constructor(t,e={},r){this.setPublicID(t),this.setCloudConfig(e),this.setURLConfig(r)}setURLConfig(t){return this.urlConfig=new j(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}
1setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(void 0===this.cloudName)throw"You must supply a cloudName when initializing the asset";let t=this.suffix&&this.suffix.indexOf(".")>=0,e=this.suffix&&this.suffix.indexOf("/")>=0;if(t||e)throw"`suffix`` should not include . or /"}getResourceType(){var t,e;let r=(t=this.assetType)?t:"image",n=(e=this.deliveryType)?e:"upload",i=!!this.suffix,s=`${r}/${n}`,o=$[`${r}/${n}`],a=this.urlConfig.useRootPath,u=this.urlConfig.shorten;if(a){if("image/upload"===s)return"";throw Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${s} instead`)}if(u&&"image/upload"===s)return"iu";if(i){if(o)return o;throw Error(`URL Suffix only supported for ${Object.keys($).join(", ")}, Provided: ${s} instead`)}return s}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,e){var r,n,i;if(!this.publicID)return"";this.validateAssetForURLCreation();let s=function(t,e){let r=e.secure,n=e.privateCdn,i=e.cname,s=e.secureDistribution;return r||i?r&&!s&&n?`https://${t}-res.cloudinary.com`:r&&!s?`https://res.cloudinary.com/${t}`:r&&s&&n?`https://${s}`:r&&s?`https://${s}/${t}`:!r&&i?`http://${i}/${t}`:"ERROR":`http://res.cloudinary.com/${t}`}(this.cloudName,this.urlConfig),o=t?t.toString():"",a=(r=this.publicID,n=this.version,i=this.urlConfig.forceVersion,n?`v${n}`:r.match(/^v[0-9]+/)||r.match(/^https?:\//)||0>r.indexOf("/")?"":!1!==i?"v1":""),u=this.publicID;if("string"==typeof t)return[s,this.getResourceType(),this.getSignature(),o,a,u.replace(/,/g,"%2C"),this.suffix].filter(t=>t).join("/");{let t=[encodeURI(s),this.getResourceType(),this.getSignature(),encodeURI(o),a,encodeURI(u).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(t=>t).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),r=!1!==this.urlConfig.analytics&&!u.includes("?"),n="";if("object"==typeof this.urlConfig.queryParams)try{let t=new URLSearchParams(this.urlConfig.queryParams);r&&t.set("_a",k(e)),n=t.toString()}catch(t){console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else n=this.urlConfig.queryParams||"",r&&(n+=`${n.length>0?"&":""}_a=${k(e)}`);return n?`${t}?${n}`:t}}}class q extends V{constructor(t,e,r,n){super(t,e,r),this.transformation=n}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new v("q",t)),this}format(t){return this.addAction(new v("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,null==t?void 0:t.trackedAnalytics)}}class M extends q{constructor(t,e,r){super(t,e,r,new y)}}class O extends m{}class R extends q{constructor(t,e,r){super(t,e,r,new O),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class F{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new M(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new R(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}}}]);
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.