1import{C as Cg,Hn as jE,I as Fo,Kr as l,Lr as xu,Lt as SI,Or as uM,Ot as Pb,P as Fb,St as O,T as Ct,U as HM,Un as jM,Vn as iv,Z as J_,_n as b,et as Jv,f as Au,h as BT,ir as nv,l as A_,mn as ao,qr as m,r as $i,t as $C,tr as le$1,un as _e$1,ut as Lu,z as GH,zn as iB,zr as y}from"./chunk-Dlhs2aEN.js";import{x as zo}from"./chunk-BQEMtVYZ.js";import{c as fe$1,d as j$1,h as ri,p as pc}from"./chunk-CkJ-_Dnr.js";import{n as T,s as w,t as R}from"./chunk-DOEAJMCS.js";var Re=(i=>(i.Area=`area`,i.Length=`length`,i.Volume=`volume`,i.ShoeSize=`shoe-size`,i.ShoeSizeKids=`shoe-size-kids`,i.Clothes=`clothes`,i.Currency=`currency`,i.AbsorbedDose=`absorbed-dose`,i.Acceleration=`acceleration`,i.AmountOfSubstance=`amount-of-substance`,i.Angle=`angle`,i.Bandwidth=`bandwidth`,i.Capacitance=`capacitance`,i.DataStorage=`data-storage`,i.Density=`density`,i.DynamicViscosity=`dynamic-viscosity`,i.ElectricCharge=`electric-charge`,i.ElectricCurrent=`electric-current`,i.ElectricPotential=`electric-potential`,i.ElectricalConductance=`electrical-conductance`,i.ElectricalResistance=`electrical-resistance`,i.Energy=`energy`,i.EquivalentDose=`equivalent-dose`,i.Force=`force`,i.Frequency=`frequency`,i.FuelConsumption=`fuel-consumption`,i.HatSize=`hat-size`,i.Illuminance=`illuminance`,i.Inductance=`inductance`,i.KinematicViscosity=`kinematic-viscosity`,i.Luminance=`luminance`,i.LuminousEnergy=`luminous-energy`,i.LuminousFlux=`luminous-flux`,i.LuminousIntensity=`luminous-intensity`,i.MagneticField=`magnetic-field`,i.MagneticFieldStrength=`magnetic-field-strength`,i.MagneticFlux=`magnetic-flux`,i.MagnetomotiveForce=`magnetomotive-force`,i.MassFlowRate=`mass-flow-rate`,i.MolarMass=`molar-mass`,i.Power=`power`,i.Pressure=`pressure`,i.RadioactiveDecay=`radioactive-decay`,i.Speed=`speed`,i.Time=`time`,i.Torque=`torque`,i.VolumetricFlowRate=`volumetric-flow-rate`,i.Weight=`weight`,i.Bmi=`bmi`,i.Temperature=`temperature`,i.Numerals=`numerals`,i.PaperSize=`paper-size`,i.TvMonitorSize=`tv-monitor-size`,i.WindSpeed=`wind-speed`,i.CarTyreSize=`car-tyre-size`,i.BicycleWheelSize=`bicycle-wheel-size`,i.PregnancyCalendar=`pregnancy-calendar`,i.Running=`running`,i.TimeZone=`time-zone`,i.Translate=`translate`,i))(Re||{});function Fe(n,e,t=!0,r=!1){if(!e)throw Error(`Language code is undefined`);let o=n.find(s=>s.langs.includes(e));if(!o&&t&&e!==`en`&&(o=n.find(s=>s.langs.includes(`en`))),!o){if(r)return null;throw console.error(`Lookup failure for lang: '${e}', example group:`,n.slice(0,1)),Error(`No entry found for language '${e}'`)}return`route`in o?o.route:o.unitKey}function j(n){n||(n=y(_e$1));let e=new O(t=>{if(n.destroyed){t.next();return}return n.onDestroy(t.next.bind(t))});return t=>t.pipe(jE(e))}var $=class{source;destroyed=!1;destroyRef=y(_e$1);constructor(e){this.source=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}subscribe(e){if(this.destroyed)throw new b(953,!1);let t=this.source.pipe(j(this.destroyRef)).subscribe({next:r=>e(r)});return{unsubscribe:()=>t.unsubscribe()}}};function rt(n,e){return new $(n)}function ot(n){let e=jM(n);return new O(t=>{let r=e?.onDestroy(()=>t.complete()),o=n.subscribe(s=>t.next(s));return()=>{o.unsubscribe(),r?.()}})}function st(n,e){let r=!e?.manualCleanup?e?.injector?.get(_e$1)??y(_e$1):null,o=Ee(e?.equal),s;e?.requireSync?s=$i({kind:0},{equal:o}):s=$i({kind:1,value:e?.initialValue},{equal:o});let a,u=n.subscribe({next:l=>s.set({kind:1,value:l}),error:l=>{s.set({kind:2,error:l}),a?.()},complete:()=>{a?.()}});if(e?.requireSync&&s().kind===0)throw new b(601,!1);return a=r?.onDestroy(u.unsubscribe.bind(u)),HM(()=>{let l=s();switch(l.kind){case 1:return l.value;case 2:throw l.error;case 0:throw new b(601,!1)}},{equal:e?.equal})}function Ee(n=Object.is){return(e,t)=>e.kind===1&&t.kind===1&&n(e.value,t.value)}var D=class n{#t=y(Ct);#n=null;#r=[];#e=!1;#o(){if(this.#e)return;this.#e=!0;let e=this.#t.head.querySelector(`link[rel="canonical"]`);e&&(this.#n=e);let t=this.#t.head.querySelectorAll(`link[rel="alternate"][hreflang]`);this.#r=Array.from(t)}setCanonical(e){this.#o(),this.#n||(this.#n=this.#t.createElement(`link`),this.#n.setAttribute(`rel`,`canonical`),this.#t.head.appendChild(this.#n)),this.#n.setAttribute(`href`,e)}setAlternates(e){this.#o();let t=e.length,r=this.#r.length;for(let o=0;o<t;o++){let s;o<r?s=this.#r[o]:(s=this.#t.createElement(`link`),s.setAttribute(`rel`,`alternate`),this.#t.head.appendChild(s),this.#r.push(s)),s.setAttribute(`hreflang`,e[o].lang),s.setAttribute(`href`,e[o].url)}for(;this.#r.length>t;)this.#r.pop().remove()}clearAlternates(){this.setAlternates([])}static ɵfac=function(t){return new(t||n)};static ɵprov=le$1({token:n,factory:n.ɵfac,providedIn:`root`})};var z=`https://www.convertworld.com`;var ie=class n{#t=y(fe$1);#n=y(pc);#r=y(ri);#e=y(D);#o="en";h1Signal=$i(``);constructor(){iB()&&this.#n.updateTag({name:`robots`,content:`nofollow,noindex`}),this.#t.events.pipe(Fo(e=>e instanceof j$1)).subscribe(()=>this.#s())}#s(){this.#n.updateTag({name:`description`,content:this.#a()}),this.#c()}#c(){let e=this.#t.url.split(`?`)[0].split(`#`)[0],t=this.buildFullUrl(this.#o,e);this.#e.setCanonical(t);let r=this.#l(),o=r?.snapshot?.routeConfig?.data;r?.snapshot?.routeConfig?.path===``?this.#e.setAlternates(this.#i()):o?.routeDepth?this.#e.clearAlternates():this.#e.clearAlternates()}#a(){let e=this.#l(),t=e.snapshot.routeConfig;
1return!t||!t.description?(console.error(`No description found for route`,t?.path),`Convertworld.com`):typeof t.description==`function`?t.description(e.snapshot):t.description}#l(){let e=this.#t.routerState.root;for(;e.firstChild;)e=e.firstChild;return e}set(e,t,r){this.#n.updateTag({name:`description`,content:t}),this.#r.setTitle(e),r!==void 0&&this.h1Signal.set(r)}setLinks(e,t){this.#e.setCanonical(e),this.#e.setAlternates(t)}setCanonicalOnly(e){this.#e.setCanonical(e),this.#e.clearAlternates()}clearH1(){this.h1Signal.set(``)}buildFullUrl(e,t){return`${z}/${e}${t}`}#i(){return T.map(e=>({lang:ye(e.code),url:`${z}/${e.code}/`}))}static ɵfac=function(t){return new(t||n)};static ɵprov=le$1({token:n,factory:n.ɵfac,providedIn:`root`})};function ye(n){return n===`zh-hans`?`zh-Hans`:n===`zh-hant`?`zh-Hant`:n}function Se(n,e){if(n&1&&(xu(0,`span`),uM(1),Au()),n&2){let t=A_(2);BT(),Lu(`Rendered at `,t.renderedAt())}}function ve(n,e){if(n&1&&(xu(0,`div`,2)(1,`span`),uM(2),Au(),Pb(3,Se,2,1,`span`),Au()),n&2){let t=A_();J_(t.mockStyle()),BT(2),Jv(``,t.id(),` [`,t.format(),`]`),BT(),Fb(t.renderedAt()?3:-1)}}function be(n,e){if(n&1&&iv(0,`ins`,1),n&2){let t=A_();nv(`data-ad-client`,t.client)(`data-ad-slot`,t.id())(`data-ad-format`,t.format())(`data-full-width-responsive`,t.fullWidthResponsive())}}var Ae=`ca-pub-6056781578010519`;var ae=class n{id=GH.required();format=GH.required();fullWidthResponsive=GH(!0);#t=y(ao);client=Ae;isBrowser=zo(y(SI));showMock=$i(!w.p&&iB());renderedAt=$i(null);mockStyle=HM(()=>{let e={display:`flex`,"align-items":`center`,"justify-content":`center`,"flex-direction":`column`,gap:`4px`,border:`2px dashed #aaa`,padding:`8px`,"box-sizing":`border-box`,width:`100%`};switch(this.format()){case`vertical`:return m(l({},e),{height:`600px`});case`horizontal`:return m(l({},e),{height:`90px`});case`square`:return m(l({},e),{"aspect-ratio":`1 / 1`});default:return m(l({},e),{"min-height":`90px`})}});constructor(){if(!w.p&&this.isBrowser&&!iB())try{localStorage.getItem(`CW_STAGING_ADS_ON`)===`false`&&this.showMock.set(!0)}catch{}Cg(()=>{if(!w.p&&this.showMock()){this.renderedAt.set(new Date().toLocaleTimeString());return}this.#t.nativeElement.getBoundingClientRect().width<(this.format()===`vertical`?120:200)||(window.adsbygoogle=window.adsbygoogle||[]).push({})})}static ɵfac=function(t){return new(t||n)};static ɵcmp=$C({type:n,selectors:[[`app-gas-box`]],hostVars:1,hostBindings:function(t,r){t&2&&nv(`data-format`,r.format())},inputs:{id:[1,`id`],format:[1,`format`],fullWidthResponsive:[1,`fullWidthResponsive`]},decls:2,vars:1,consts:[[`data-testid`,`placeholder`,3,`style`],[1,`adsbygoogle`,2,`display`,`block`],[`data-testid`,`placeholder`]],template:function(t,r){t&1&&Pb(0,ve,4,5,`div`,0)(1,be,1,4,`ins`,1),t&2&&Fb(r.showMock()?0:r.isBrowser?1:-1)},styles:[`[_nghost-%COMP%]{display:block;width:100%;text-align:center}
1[_nghost-%COMP%]:not([data-format=vertical]){min-width:200px}`]})};var le=class n{#t=y(fe$1);#n=y(R);#r=zo(y(SI));#e=null;#o=null;#s=!1;constructor(){this.#r&&this.#t.events.pipe(Fo(e=>e instanceof j$1),j()).subscribe(()=>{try{this.#c()}catch{}})}setConverterPageDetails(e,t){if(!(!this.#r||!this.#e||this.#e.routeDepth===null))try{this.#o={unitKey:e,pair:t},this.#a()}catch{}}#c(){let t=this.#l()?.snapshot?.routeConfig?.data,r=typeof t?.pageReference==`string`?t.pageReference:null,o=typeof t?.routeDepth==`number`?t.routeDepth:null;if(this.#e=r?{reference:r,routeDepth:o}:null,this.#o=null,this.#s=!1,!!this.#e){if(this.#e.routeDepth===null||this.#e.routeDepth===1){this.#i({page_reference:this.#e.reference,page_unit:null,page_level4:null});return}this.#a()}}#a(){if(!this.#e||this.#s)return;let e=this.#e.routeDepth;if(e===null||e===1)return;let t=this.#o?.unitKey??null;if(t===null)return;if(e===2){this.#i({page_reference:this.#e.reference,page_unit:t,page_level4:null});return}let r=this.#o?.pair;r&&this.#i({page_reference:this.#e.reference,page_unit:t,page_level4:`${this.#e.reference}/${t}/${r.fromKey}/${r.toKey}`})}#l(){let e=this.#t.routerState.root;for(;e.firstChild;)e=e.firstChild;return e}#i(e){if(!this.#s)try{Pe().push(l({event:`route_change`,page_language:this.#n.currentLang},e)),this.#s=!0}catch(t){console.warn(t)}}static ɵfac=function(t){return new(t||n)};static ɵprov=le$1({token:n,factory:n.ɵfac,providedIn:`root`})};function Pe(){let n=globalThis;return n.dataLayer??=[],n.dataLayer}var xe=[`host`,`x-forwarded-host`];var Te=/^\d+$/;var ce=/^https?$/i;var Le=/^\/([a-z0-9_-]+\/)*[a-z0-9_-]*$/i;function M(n){return n?.toString().split(`,`,1)[0]?.trim()}function de(n,e,t){De(n,e,t),t||_e(new URL(n.url),e)}function _e(n,e){let{hostname:t}=n;if(!he(t,e))throw new Error(`URL with hostname "${t}" is not allowed.`)}function fe(n,e){let t=!1,r=new Headers;for(let[o,s]of n.headers){let a=o.toLowerCase();(a===`forwarded`||a.startsWith(`x-forwarded-`))&&!Me(a,e)?(console.warn(`Received "${o}" header but "trustProxyHeaders" was not set up to allow it. 2For more information, see https://angular.dev/best-practices/security#configuring-trusted-proxy-headers`),t=!0):r.set(o,s)}return t?new Request(n,{headers:r}):n}function ue(n,e,t){let r=`http://${e}`;if(!URL.canParse(r))throw new Error(`Header "${n}" contains an invalid value and cannot be parsed.`);let{hostname:o,pathname:s,search:a,hash:u,username:l,password:c}=new URL(r);if(s!==`/`||a||u||l||c)throw new Error(`Header "${n}" with value "${e}" contains characters that are not allowed.`);if(!he(o,t))throw new Error(`Header "${n}" with value "${e}" is not allowed.`)}function he(n,e){if(e.has(`*`)||e.has(n))return!0;for(let t of e){if(!t.startsWith(`*.`))continue;let r=t.slice(1);if(n.endsWith(r))return!0}return!1}function De(n,e,t){let r=n.headers;for(let l of xe){let c=M(r.get(l));c&&!t&&ue(l,c,e)}let o=r.get(`forwarded`);if(o){let l=Ie(o);if(l.host&&!t&&ue(`Forwarded "host"`,l.host,e),l.proto&&!ce.test(l.proto))throw new Error(`Header "forwarded" proto parameter must be either "http" or "https".`)}let s=M(r.get(`x-forwarded-port`));if(s&&!Te.test(s))throw new Error(`Header "x-forwarded-port" must be a numeric value.`);let a=M(r.get(`x-forwarded-proto`));if(a&&!ce.test(a))throw new Error(`Header "x-forwarded-proto" must be either "http" or "https".`);let u=M(r.get(`x-forwarded-prefix`));if(u&&!Le.test(u))throw new Error(`Header "x-forwarded-prefix" is invalid. It must start with a "/" and contain only alphanumeric characters, hyphens, and underscores, separated by single slashes.`)}function Me(n,e){return e.has(`*`)||e.has(n.toLowerCase())}function pe(n){if(!n)return new Set;if(n===!0)return new Set([`*`]);let e=new Set;for(let t of n){let r=t.toLowerCase();if(r===`*`)throw new Error(`"*" is not allowed as a value for the "trustProxyHeaders" option.`);if(!(r===`forwarded`||r.startsWith(`x-forwarded-`)))throw new Error(`"${t}" is not a valid proxy header. Trusted proxy headers must be "forwarded" or start with "x-forwarded-".`);e.add(r)}return e}function Ie(n){if(!n)return{};let e={},t=!1,r=!1,o=``,s=``,a=!1,u=!1,l=!1;for(let c of n){if(r){r=!1,a?s+=c:o+=c;continue}if(c===`\\`){t?r=!0:a?s+=c:o+=c;continue}if(c===`"`){t=!t;continue}if(t){a?s+=c:o+=c;continue}if(c===`,`){B(o,s,a,e);break}if(c===`;`){B(o,s,a,e),o=``,s=``,a=!1,u=!1,l=!1;continue}if(c===`=`){a?s+=c:a=!0;continue}if(c===` `||c===` `){a?s.length>0&&(l=!0):o.length>0&&(u=!0);continue}a?l||(s+=c):u?(o=c,u=!1):o+=c}return(o||s||a)&&B(o,s,a,e),e}function B(n,e,t,r){if(!t)return;let o=n.trim().toLowerCase();o&&(r[o]=e)}var me;function Ne(){if(!me)throw new Error(`Angular app engine manifest is not set. Please ensure you are using the '@angular/build:application' builder to build your server application.`);return me}function He(n){return n[0]===`/`?n:`/${n}`}function Oe(...n){let e=[];for(let t of n){if(t===``)continue;let r=0,o=t.length;for(;r<o&&t[r]===`/`;)r++;for(;o>r&&t[o-1]===`/`;)o--;r<o&&e.push(t.slice(r,o))}return He(e.join(`/`))}function ke(n,e=302,t){let r=t instanceof Headers?t:new Headers(t),o=r.get(`Vary`)?.split(`,`)??[],s=new Set([`X-Forwarded-Prefix`]);for(let a of o){let u=a.trim();u&&s.add(u)}return r.set(`Vary`,[...s].join(`, `)),r.set(`Location`,n),new Response(null,{status:e,headers:r})}var I=(function(n){return n[n.Server=0]=`Server`,n[n.Client=1]=`Client`,n[n.Prerender=2]=`Prerender`,n})(I||{});var W=class{store=new Map;async run(e,t){let r=this.store.get(e);switch(e){case`html:transform:pre`:{if(!r)return t.html;let o=l({},t);for(let s of r)o.html=await s(o);return o.html}default:throw new Error(`Running hook "${e}" is not supported.`)}}on(e,t){let r=this.store.get(e);r?r.push(t):this.store.set(e,[t])}has(e){return!!this.store.get(e)?.length}};I.Prerender,I.Server,I.Client;function Ce(n,e){let{pathname:t}=n,r=e.length;t[r]===`/`&&r++;let o=t.indexOf(`/`,r);return o===-1&&(o=t.length),t.slice(r,o)}function Ue(n){if(n===`*`)return new Map([[`*`,1]]);let e=n.split(`,`).map(t=>{let[r,o]=t.split(`;`,2).map(a=>a.trim()),s=o?.startsWith(`q=`)?parseFloat(o.slice(2)):void 0;return(typeof s!=`number`||isNaN(s)||s<0||s>1)&&(s=1),[r,s]}).sort(([t,r],[o,s])=>s-r);return new Map(e)}function $e(n,e){if(e.length<2)return e[0];let t=Ue(n);if(t.size===0||t.size===1&&t.has(`*`))return e[0];let r=new Map;for(let a of e)r.set(ge(a),a);let o,s=new Set;for(let[a,u]of t){let l=ge(a);if(u===0){s.add(l);continue}if(r.has(l))return r.get(l);if(o!==void 0)continue;let[c]=l.split(`-`,1);for(let q of r.keys())if(q.startsWith(c)){o=r.get(q);break}}if(o!==void 0)return o;for(let[a,u]of r)if(!s.has(a))return u}function ge(n){return n.toLowerCase()}(class n{static ɵallowStaticRouteRender=!1;static ɵdisableAllowedHostsCheck=!1;static ɵhooks=new W;manifest=Ne();allowedHosts;supportedLocales=Object.keys(this.manifest.supportedLocales);trustProxyHeaders;entryPointsCache=new Map;constructor(e){this.allowedHosts=this.getAllowedHosts(e),this.trustProxyHeaders=pe(e?.trustProxyHeaders)}getAllowedHosts(e){let t=new Set([...e?.allowedHosts??[],...this.manifest.allowedHosts]);return t.has(`*`)&&console.warn(`Allowing all hosts via "*" is a security risk. This configuration should only be used when validation for "Host" and "X-Forwarded-Host" headers is performed in another layer, such as a load balancer or reverse proxy. For more information see: https://angular.dev/best-practices/security#preventing-server-side-request-forgery-ssrf`),t}async handle(e,t){let r=this.allowedHosts,o=fe(e,this.trustProxyHeaders);try{de(o,r,n.ɵdisableAllowedHostsCheck)}catch(a){return this.handleValidationError(o.url,a)}let s=await this.getAngularServerAppForRequest(o);return s?s.handle(o,t):this.supportedLocales.length>1?this.redirectBasedOnAcceptLanguage(o):null}
2redirectBasedOnAcceptLanguage(e){let{basePath:t,supportedLocales:r}=this.manifest,{pathname:o}=new URL(e.url);if(o!==t)return null;let s=$e(e.headers.get(`Accept-Language`)||`*`,this.supportedLocales);if(s){let a=r[s];if(a!==void 0)return ke(Oe(e.headers.get(`X-Forwarded-Prefix`)??``,o,a),302,{Vary:`Accept-Language`})}return null}async getAngularServerAppForRequest(e){let t=new URL(e.url),r=await this.getEntryPointExportsForUrl(t);if(!r)return null;let o=r.ɵgetOrCreateAngularServerApp;return o({allowStaticRouteRender:n.ɵallowStaticRouteRender,hooks:n.ɵhooks})}getEntryPointExports(e){let t=this.entryPointsCache.get(e);if(t)return t;let{entryPoints:r}=this.manifest,o=r[e];if(!o)return;let s=o();return this.entryPointsCache.set(e,s),s}getEntryPointExportsForUrl(e){let{basePath:t,supportedLocales:r}=this.manifest;if(this.supportedLocales.length===1)return this.getEntryPointExports(r[this.supportedLocales[0]]);let o=Ce(e,t);return this.getEntryPointExports(o)??this.getEntryPointExports(``)}handleValidationError(e,t){let r=t.message;return console.error(`ERROR: Bad Request ("${e}"). 3`+r+` 4 5For more information, see https://angular.dev/best-practices/security#preventing-server-side-request-forgery-ssrf`),new Response(r,{status:400,statusText:`Bad Request`,headers:{"Content-Type":`text/plain`}})}});export{ie as a,ot as c,ye as d,ae as i,rt as l,I as n,j as o,Re as r,le as s,Fe as t,st as u};
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.