"use strict";var u=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var o=(i,e)=>{for(var r in e)u(i,r,{get:e[r],enumerable:!0})},g=(i,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of p(e))!m.call(i,a)&&a!==r&&u(i,a,{get:()=>e[a],enumerable:!(n=l(e,a))||n.enumerable});return i};var d=i=>g(u({},"__esModule",{value:!0}),i);var c={};o(c,{Unsplash:()=>f});module.exports=d(c);var s=require("../../../internal/deprecated");class f{constructor(e){this.faker=e}image(e,r,n){return(0,s.deprecated)({deprecated:"faker.unsplash.image",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,r,void 0,n)}imageUrl(e,r,n,a){(0,s.deprecated)({deprecated:"faker.unsplash.imageUrl",proposed:"faker.image.url",since:"8.0",until:"9.0"}),e=e||640,r=r||480;let t="https://source.unsplash.com";return n!=null&&(t+=`/category/${n}`),t+=`/${e}x${r}`,a!=null&&/^([A-Za-z0-9].+,[A-Za-z0-9]+)$|^([A-Za-z0-9]+)$/.test(a)&&(t+=`?${a}`),t}food(e,r,n){return(0,s.deprecated)({deprecated:"faker.unsplash.food",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,r,"food",n)}people(e,r,n){return(0,s.deprecated)({deprecated:"faker.unsplash.people",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,r,"people",n)}nature(e,r,n){return(0,s.deprecated)({deprecated:"faker.unsplash.nature",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,r,"nature",n)}technology(e,r,n){return(0,s.deprecated)({deprecated:"faker.unsplash.technology",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,r,"technology",n)}objects(e,r,n){return(0,s.deprecated)({deprecated:"faker.unsplash.objects",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,r,"objects",n)}buildings(e,r,n){return(0,s.deprecated)({deprecated:"faker.unsplash.buildings",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,r,"buildings",n)}}0&&(module.exports={Unsplash});
