PageSourceSearch

https://fanclaws.com/_next/static/chunks/5171-1dce11914a6243b7.js

js fanclaws.com collected 2026-10-02 01:31:50 UTC 29,784 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5171],{6874:function(e,n,t){"use strict";var r,i=t(67294);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}n.Z=function(e){return i.createElement("svg",o({width:9,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=i.createElement("path",{d:"M.293 8.707a1 1 0 0 1 0-1.414L6.657.929A1 1 0 0 1 8.07 2.343L2.414 8l5.657 5.657a1 1 0 1 1-1.414 1.414L.293 8.707ZM2 9H1V7h1v2Z",fill:"#fff"})))}},89517:function(e,n,t){"use strict";var r,i=t(67294);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}n.Z=function(e){return i.createElement("svg",o({width:39,height:35,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=i.createElement("path",{d:"M28.717 20.138c-2.59-3.136-5.863-4.862-9.217-4.862-3.355 0-6.628 1.727-9.218 4.862-2.327 2.818-3.717 6.37-3.717 9.5 0 1.521.464 2.68 1.378 3.444.903.754 2.094 1.009 3.424 1.009 1.414 0 2.985-.289 4.528-.573 1.35-.248 2.623-.482 3.605-.482.847 0 2.042.222 3.307.457 2.956.55 6.306 1.174 8.241-.44.92-.766 1.387-1.915 1.387-3.415 0-3.13-1.39-6.682-3.718-9.5ZM28.982 3.113C28.034 1.713 26.677.91 25.259.91c-1.418 0-2.775.804-3.723 2.204-.87 1.287-1.35 2.977-1.35 4.759 0 1.781.48 3.471 1.35 4.758.948 1.4 2.305 2.204 3.723 2.204 1.418 0 2.775-.803 3.723-2.204.87-1.287 1.35-2.977 1.35-4.758 0-1.782-.48-3.472-1.35-4.759ZM17.462 3.113C16.515 1.713 15.158.91 13.74.91c-1.418 0-2.775.804-3.723 2.204-.87 1.287-1.35 2.977-1.35 4.759 0 1.781.48 3.471 1.35 4.758.948 1.4 2.305 2.204 3.723 2.204 1.418 0 2.775-.803 3.722-2.204.87-1.287 1.35-2.977 1.35-4.758 0-1.782-.48-3.472-1.35-4.759ZM38.521 14.043c-.382-1.303-1.2-2.25-2.305-2.666-.89-.335-1.893-.278-2.826.16-1.286.603-2.337 1.85-2.883 3.418-.447 1.282-.503 2.637-.157 3.816.382 1.303 1.2 2.25 2.305 2.666.383.144.786.215 1.196.215.543 0 1.098-.126 1.63-.375 1.286-.604 2.337-1.85 2.883-3.418.447-1.282.503-2.638.157-3.816ZM8.493 14.955c-.547-1.569-1.598-2.815-2.884-3.418-.933-.438-1.936-.495-2.825-.16C1.679 11.793.86 12.74.478 14.043c-.345 1.178-.29 2.534.157 3.816.547 1.569 1.598 2.814 2.884 3.418a3.84 3.84 0 0 0 1.63.375c.41 0 .813-.072 1.195-.215 1.105-.417 1.924-1.363 2.306-2.666.345-1.179.29-2.534-.157-3.816Z",fill:"#A9A9A9"})))}},27409:function(e,n,t){"use strict";var r=t(85893),i=t(67294),o=t(58829),a=t(26250);n.Z=(0,i.memo)(e=>{var n;let{links:t}=e,i=(0,o.T)(),l=Object.entries(t);return(0,r.jsx)("nav",{"aria-label":"breadcrumb",className:"breadcrumbs",children:(0,r.jsxs)("ol",{className:"breadcrumb",children:[(0,r.jsx)("li",{className:"breadcrumb-item","aria-current":"page",children:(0,r.jsx)(a.Z,{href:"/",children:"".concat(i("home")," ").concat(null===(n=i("page"))||void 0===n?void 0:n.toLowerCase())})}),l.map((e,n)=>{let[t,i]=e;return(0,r.jsxs)("li",{className:"breadcrumb-item".concat(n===l.length-1?" active":""),"aria-current":"page",children:[n===l.length-1&&i,n!==l.length-1&&(0,r.jsx)(a.Z,{href:t,children:i})]},t)})]})})})},20098:function(e,n,t){"use strict";var r=t(85893),i=t(6388),o=t(71455);t(16400);var a=t(67294),l=t(46066);t(19678),t(84640);var c=t(33401),s=t(6874),u=t(9008),d=t.n(u);function v(e){let{className:n,style:t,onClick:i}=e;return(0,r.jsx)("div",{className:n,style:{transform:"rotate(180deg)",marginTop:-16},onClick:i,children:(0,r.jsx)(s.Z,{style:{color:"#fff"}})})}function f(e){let{className:n,style:t,onClick:i}=e;return(0,r.jsx)("div",{className:n,onClick:i,children:(0,r.jsx)(s.Z,{style:{color:"#fff"}})})}n.Z=(0,a.memo)(e=>{var n;let{query:t,options:a,className:s}=e,{data:u}=(0,i.aM)(t,a),h=null==u?void 0:null===(n=u.items)||void 0===n?void 0:n.images;if(!(null==h?void 0:h.length)||void 0===h)return null;let m={infinite:!0,speed:500,slidesToShow:(null==h?void 0:h.length)>3?4:null==h?void 0:h.length,slidesToScroll:1,nextArrow:(0,r.jsx)(v,{}),prevArrow:(0,r.jsx)(f,{}),variableWidth:!0,responsive:(null==h?void 0:h.length)>4?[{breakpoint:1500,settings:{slidesToShow:4,slidesToScroll:1}},{breakpoint:1200,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:2,slidesToScroll:2}}]:[]};return(0,r.jsxs)("div",{className:"sitter-page__gallery ".concat(s||""),children:[(0,r.jsxs)(d(),{children:[(0,r.jsx)("link",{rel:"stylesheet",type:"text/css",charSet:"UTF-8",href:"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css"}),(0,r.jsx)("link",{rel:"stylesheet",type:"text/css",href:"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"})]}),(0,r.jsx)("div",{className:"d-block position-relative sitter-page__gallery-wrap",children:(0,r.jsx)(o.TV,{maskOpacity:.7,children:(0,r.jsx)(l.Z,{...m,children:h.map(e=>(0,r.jsx)(o.HI,{src:c.W1+e,children:(0,r.jsx)("img",{src:c.W1+e,alt:""})},e))})})})]})})},87995:function(e,n,t){"use strict";var r=t(85893),i=t(67294),o=t(35522),a=t(3062),l=t(65243),c=t(77242),s=t(44427);n.Z=(0,i.memo)(()=>{let{lang:e}=(0,l.Z)(),{pet:n,fields:t}=(0,o.Z)(),u=(0,a.p)(n,{fields:t}),{size:d}=(0,c.i)(),v=(0,i.useMemo)(()=>{let{pet_microchipped:e,pet_friendly_with_children:n,pet_splayed_neutered:r,pet_friendly_with_dog:i,pet_house_trained:o,pet_friendly_with_cats:a}=t;return[e,n,r,i,o,a].filter(e=>!!u[e.id]&&""!==u[e.id])},[t,u]),{pet_about:f,pet_about_info:h}=t;return(0,r.jsxs)("div",{className:"main-content__block-main mb-4",children:[(0,r.jsx)("h3",{style:(null==d?void 0:d.width)<1200?{marginBottom:0}:void 0,children:(0,s.Y)(f.title,[e])}),(0,r.jsx)("div",{className:"mb-3",children:u[h.id]&&""!==u[h.id]&&u[h.id]}),(0,r.jsx)("div",{className:"row",children:null==v?void 0:v.map(n=>(0,r.jsxs)("div",{className:"parameter__block d-flex col-md-6 col-lg-12 col-xl-4 mr-0 mr-xl-2",children:[(0,r.jsxs)("div",{className:"parameter__title",children:[(0,s.Y)(n.title,e),":"]}),(0,r.jsx)("div",{className:"parameter__value",children:u[n.id]})]},n.id))})]})})},79224:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var r=t(85893),i=t(67294),o=t(35522),a=t(3062),l=t(65243),c=t(44427),s=(0,i.memo)(e=>{let{children:n}=e;return n?(0,r.jsx)("div",{className:"parameter__item",children:n}):null}),u=(0,i.memo)(()=>{var e,n;let{lang:t}=(0,l.Z)(),{pet:u,fields:d}=(0,o.Z)(),v=(0,a.p)(u,{fields:d}),f=(0,i.useMemo)(()=>{var e,n;let t=null==d?void 0:null===(n=d.pet_number_of_walks_per_day)||void 0===n?void 0:null===(e=n.values)||void 0===e?void 0:e.find(e=>e.id===u[null==d?void 0:d.pet_number_of_walks_per_day.id]);return(null==t?void 0:t.name_type)==="does_not_require_walking"},[u,d]),h=null!==(n=null==u?void 0:u[null==d?void 0:d.pet_duration_of_one_walk.id])&&void 0!==n?n:[],m=(0,i.useMemo)(()=>null==d?void 0:d.pet_duration_of_one_walk.values.filter(e=>h.includes(e.id)),[h,d]),p=(0,i.useMemo)(()=>{let{pet_number_of_walks_per_day:e,pet_energy_level:n,pet_duration_of_one_walk:t,pet_feeding_schedule:r,pet_can_be_left_alone:i}=d;return[e,n,t,r,i].filter(e=>!!v[e.id]&&""!==v[e.id])},[d,v]);if(void 0===d)return null;let{pet_care_info:g,pet_duration_of_one_walk:x}=d;return(0,r.jsxs)("div",{className:"main-content__block-main collapse show mb-4",children:[(0,r.jsx)("h3",{children:(0,c.Y)(g.title,t)}),p.map(e=>(0,r.jsxs)("div",{className:"parameter__block d-flex flex-column flex-lg-row",children:[(0,r.jsxs)("div",{className:"parameter__title",children:[(0,c.Y)(e.title,t),":"]}),(0,r.jsx)("div",{className:"parameter__value",children:(0,r.jsx)(s,{children:v[e.id]})})]},e.id)),!f&&(null==u?void 0:u[x.id])&&(null==u?void 0:null===(e=u[x.id])||void 0===e?void 0:e.length)!==0&&(0,r.jsxs)("div",{className:"parameter__block d-flex flex-column flex-lg-row",children:[(0,r.jsxs)("div",{className:"parameter__title",children:[(0,c.Y)(x.title,t),":"]}),(0,r.jsx)("div",{className:"parameter__value",children:m.map(e=>(0,r.jsx)(s,{children:(0,c.Y)(e.title,t)},e.id))})]})]})})},25152:function(e,n,t){"use strict";t.d(n,{I:function(){return f}});var r=t(85893),i=t(25675),o=t.n(i),a=t(67294),l=t(33401),c=t(74581),s=t(65243),u=t(58829),d=t(89517),v=t(44427);let f=(0,a.memo)(e=>{var n;let{pet:t}=e,{lang:i}=(0,s.Z)(),a=(0,u.T)(),{pet_main_image:f,pet_name:h,id:m,pet_breed:p,pet_gender:g,pet_size:x,pet_age:w}=(0,c.g)(),b=[null==g?void 0:g[i],null==x?void 0:x.en,(null==w?void 0:w.en)?"".concat(w.en," y.o."):null].filter(e=>e),_=null==f?void 0:null===(n=f[0])||void 0===n?void 0:n.id,y=l.W1+_,C=(0,v.Y)(p,i);return(0,r.jsxs)("div",{className:"d-flex",children:[(0,r.jsxs)("div",{className:"pets-item-avatar",children:[_&&(0,r.jsx)(o(),{src:y,alt:h,width:88,height:88}),!_&&(0,r.jsx)(d.Z,{})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"pets-item-name",children:null!=h?h:a("no_name")}),(0,r.jsxs)("div",{className:"pets-item-description",children:[!b.length&&!C&&(0,r.jsx)("div",{children:a("no_information")}),C&&(0,r.jsxs)(r.Fragment,{children:[C,(0,r.jsx)("br",{})]}
1),!!b.length&&b.join(", ")]})]})]})})},8232:function(e,n,t){"use strict";var r=t(85893),i=t(67294),o=t(3062),a=t(65243),l=t(44427),c=t(35522);n.Z=(0,i.memo)(()=>{let{lang:e}=(0,a.Z)(),{pet:n,fields:t}=(0,c.Z)(),i=(0,o.p)(n,{fields:t}),{pet_vet:s,pet_vet_info:u}=t;return(0,r.jsxs)("div",{className:"main-content__block",children:[(0,r.jsx)("h3",{children:(0,l.Y)(s.title,e)}),(0,r.jsx)("div",{children:i[u.id]&&""!==i[u.id]&&i[u.id]})]})})},14902:function(e,n,t){"use strict";t.d(n,{r:function(){return r}});let r=JSON.stringify(["pet_name","pet_main_image","pet_size","pet_age","pet_breed","pet_gender","pet_type"])},35522:function(e,n,t){"use strict";t.d(n,{Z:function(){return l},o:function(){return a}});var r=t(85893),i=t(67294);let o=(0,i.createContext)(!1),a=(0,i.memo)(e=>{let{value:n,children:t}=e;return(0,r.jsx)(o.Provider,{value:n,children:t})});function l(){return(0,i.useContext)(o)}},74581:function(e,n,t){"use strict";t.d(n,{g:function(){return l},t:function(){return a}});var r=t(85893),i=t(67294);let o=(0,i.createContext)(!1),a=(0,i.memo)(e=>{let{value:n,children:t}=e;return(0,r.jsx)(o.Provider,{value:n,children:t})});function l(){return(0,i.useContext)(o)}},3062:function(e,n,t){"use strict";t.d(n,{p:function(){return a}});var r=t(67294);let i=["input","checkbox","textarea","rangePicker","groupHorizontal"];var o=t(65243);let a=(e,n)=>{let{lang:t}=(0,o.Z)();return(0,r.useMemo)(()=>{let{fields:r}=n,o=Object.values(r);return Object.entries(e).reduce((e,n)=>{var r,a;let[l,c]=n,s=o.find(e=>e.id===l);if(i.includes(null==s?void 0:s.style_type))return e[l]=c,e;let u=null==s?void 0:null===(a=s.values)||void 0===a?void 0:null===(r=a.find(e=>e.id===c))||void 0===r?void 0:r.title;return e[l]=null==u?void 0:u[t],e},{})},[e,n,t])}},16400:function(){},71455:function(e,n,t){"use strict";t.d(n,{Ce:function(){return O},HI:function(){return F},TV:function(){return L}});var r=t(67294),i=t(73935);function o(){return(o=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function a(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n.indexOf(t=o[r])>=0||(i[t]=e[t]);return i}function l(e){var n=(0,r.useRef)({fn:e,curr:void 0}).current;if(n.fn=e,!n.curr){var t=Object.create(null);Object.keys(e).forEach(function(e){t[e]=function(){var t;return(t=n.fn[e]).call.apply(t,[n.fn].concat([].slice.call(arguments)))}}),n.curr=t}return n.curr}function c(e){return(0,r.useReducer)(function(e,n){return o({},e,"function"==typeof n?n(e):n)},e)}var s=(0,r.createContext)(void 0),u="undefined"!=typeof window&&"ontouchstart"in window,d=function(e,n,t){return Math.max(Math.min(e,t),n)},v=function(e,n,t){return void 0===n&&(n=0),void 0===t&&(t=0),d(e,1*(1-t),Math.max(6,n)*(1+t))},f="undefined"==typeof window||/ServerSideRendering/.test(navigator&&navigator.userAgent)?r.useEffect:r.useLayoutEffect;function h(e,n,t){var i=(0,r.useRef)(n);i.current=n,(0,r.useEffect)(function(){function n(e){i.current(e)}return e&&window.addEventListener(e,n,t),function(){e&&window.removeEventListener(e,n)}},[e])}var m=["container"];function p(e){var n=e.container,t=void 0===n?document.body:n,l=a(e,m);return(0,i.createPortal)(r.createElement("div",o({},l)),t)}function g(e){return r.createElement("svg",o({width:"44",height:"44",viewBox:"0 0 768 768"},e),r.createElement("path",{d:"M607.5 205.5l-178.5 178.5 178.5 178.5-45 45-178.5-178.5-178.5 178.5-45-45 178.5-178.5-178.5-178.5 45-45 178.5 178.5 178.5-178.5z"}))}function x(e){return r.createElement("svg",o({width:"44",height:"44",viewBox:"0 0 768 768"},e),r.createElement("path",{d:"M640.5 352.5v63h-390l178.5 180-45 45-256.5-256.5 256.5-256.5 45 45-178.5 180h390z"}))}function w(e){return r.createElement("svg",o({width:"44",height:"44",viewBox:"0 0 768 768"},e),r.createElement("path",{d:"M384 127.5l256.5 256.5-256.5 256.5-45-45 178.5-180h-390v-63h390l-178.5-180z"}))}function b(){return(0,r.useEffect)(function(){var e=document.body.style,n=e.overflow;return e.overflow="hidden",function(){e.overflow=n}},[]),null}function _(e){var n=e.touches[0],t=n.clientX,r=n.clientY;if(e.touches.length>=2){var i=e.touches[1],o=i.clientX,a=i.clientY;return[(t+o)/2,(r+a)/2,Math.sqrt(Math.pow(o-t,2)+Math.pow(a-r,2))]}return[t,r,0]}var y=function(e,n,t,r){var i,o=t*n,a=(o-r)/2,l=e;return o<=r?(i=1,l=0):e>0&&a-e<=0?(i=2,l=a):e<0&&a+e<=0&&(i=3,l=-a),[i,l]};function C(e,n,t,r,i,o,a,l,c,s){void 0===a&&(a=innerWidth/2),void 0===l&&(l=innerHeight/2),void 0===c&&(c=0),void 0===s&&(s=0);
1var u=y(e,o,t,innerWidth)[0],d=y(n,o,r,innerHeight),v=innerWidth/2,f=innerHeight/2;return{x:a-o/i*(a-(v+e))-v+(r/t>=3&&t*o===innerWidth?0:u?c/2:c),y:l-o/i*(l-(f+n))-f+(d[0]?s/2:s),lastCX:a,lastCY:l}}function j(e,n,t){var r=e%180!=0;return r?[t,n,r]:[n,t,r]}function k(e,n,t){var r=j(t,innerWidth,innerHeight),i=r[0],o=r[1],a=0,l=i,c=o,s=e/n*o,u=n/e*i;return e<i&&n<o?(l=e,c=n):e<i&&n>=o?l=s:e>=i&&n<o||e/n>i/o?c=u:n/e>=3&&!r[2]?a=((c=u)-o)/2:l=s,{width:l,height:c,x:0,y:a,pause:!0}}function E(e,n){var t=n.leading,i=void 0!==t&&t,o=n.maxWait,a=n.wait,l=void 0===a?o||0:a,c=(0,r.useRef)(e);c.current=e;var s=(0,r.useRef)(0),u=(0,r.useRef)(),d=function(){return u.current&&clearTimeout(u.current)},v=(0,r.useCallback)(function(){var e=[].slice.call(arguments),n=Date.now();function t(){s.current=n,d(),c.current.apply(null,e)}var r=s.current,a=n-r;if(0===r&&(i&&t(),s.current=n),void 0!==o){if(a>o)return void t()}else a<l&&(s.current=n);d(),u.current=setTimeout(function(){t(),s.current=0},l)},[l,o,i]);return v.cancel=d,v}var N=function(e,n,t){return P(e,n,t,100,function(e){return e},function(){return P(n,e,t)})},M=function(e){return 1-Math.pow(1-e,4)};function P(e,n,t,r,i,o){void 0===r&&(r=400),void 0===i&&(i=M);var a=n-e;if(0!==a){var l=Date.now(),c=0,s=function(){var n=Math.min(1,(Date.now()-l)/r);t(e+i(n)*a)&&n<1?u():(cancelAnimationFrame(c),n>=1&&o&&o())};u()}function u(){c=requestAnimationFrame(s)}}var Y={T:0,L:0,W:0,H:0,FIT:void 0},S=function(){var e=(0,r.useRef)(!1);return(0,r.useEffect)(function(){return e.current=!0,function(){e.current=!1}},[]),e},T=["className"];function R(e){var n=e.className,t=a(e,T);return r.createElement("div",o({className:"PhotoView__Spinner "+(void 0===n?"":n)},t),r.createElement("svg",{viewBox:"0 0 32 32",width:"36",height:"36",fill:"white"},r.createElement("path",{opacity:".25",d:"M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"}),r.createElement("path",{d:"M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z"})))}var W=["src","loaded","broken","className","onPhotoLoad","loadingElement","brokenElement"];function X(e){var n=e.src,t=e.loaded,i=e.broken,l=e.className,c=e.onPhotoLoad,s=e.loadingElement,u=e.brokenElement,d=a(e,W),v=S();return n&&!i?r.createElement(r.Fragment,null,r.createElement("img",o({className:"PhotoView__Photo"+(l?" "+l:""),src:n,onLoad:function(e){var n=e.target;v.current&&c({loaded:!0,naturalWidth:n.naturalWidth,naturalHeight:n.naturalHeight})},onError:function(){v.current&&c({broken:!0})},alt:""},d)),!t&&(r.createElement("span",{className:"PhotoView__icon"},s)||r.createElement(R,{className:"PhotoView__icon"}))):u?r.createElement("span",{className:"PhotoView__icon"},"function"==typeof u?u({src:n}):u):null}var Z={naturalWidth:void 0,naturalHeight:void 0,width:void 0,height:void 0,loaded:void 0,broken:!1,x:0,y:0,touched:!1,maskTouched:!1,rotate:0,scale:1,CX:0,CY:0,lastX:0,lastY:0,lastCX:0,lastCY:0,lastScale:1,touchTime:0,touchLength:0,pause:!0,stopRaf:!0,reach:void 0};function V(e){var n,t,i,a,s,d,m,p,g,x,w,b,M,T,R,W,V,A,O,I,H,L,F,B,D,z,q,U,K=e.item,G=K.src,J=K.render,Q=K.width,$=void 0===Q?0:Q,ee=K.height,en=void 0===ee?0:ee,et=K.originRef,er=e.visible,ei=e.speed,eo=e.easing,ea=e.wrapClassName,el=e.className,ec=e.style,es=e.loadingElement,eu=e.brokenElement,ed=e.onPhotoTap,ev=e.onMaskTap,ef=e.onReachMove,eh=e.onReachUp,em=e.onPhotoResize,ep=e.isActive,eg=e.expose,ex=c(Z),ew=ex[0],eb=ex[1],e_=(0,r.useRef)(0),ey=S(),eC=ew.naturalWidth,ej=void 0===eC?$:eC,ek=ew.naturalHeight,eE=void 0===ek?en:ek,eN=ew.width,eM=void 0===eN?$:eN,eP=ew.height,eY=void 0===eP?en:eP,eS=ew.loaded,eT=void 0===eS?!G:eS,eR=ew.broken,eW=ew.x,eX=ew.y,eZ=ew.touched,eV=ew.stopRaf,eA=ew.maskTouched,eO=ew.rotate,eI=ew.scale,eH=ew.CX,eL=ew.CY,eF=ew.lastX,eB=ew.lastY,eD=ew.lastCX,ez=ew.lastCY,eq=ew.lastScale,eU=ew.touchTime,eK=ew.touchLength,eG=ew.pause,eJ=ew.reach,eQ=l({onScale:function(e){return e$(v(e))},onRotate:function(e){eO!==e&&(eg({rotate:e}),eb(o({rotate:e},k(ej,eE,e))))}});function e$(e,n,t){eI!==e&&(eg({scale:e}),eb(o({scale:e},C(eW,eX,eM,eY,eI,e,n,t),e<=1&&{x:0,y:0})))}var e0=E(function(e,n,t){if(void 0===t&&(t=0),(eZ||eA)&&ep){var r=j(eO,eM,eY),i=r[0],a=r[1];if(0===t&&0===e_.current){var l=20>=Math.abs(e-eH),c=20>=Math.abs(n-eL);if(l&&c)return void eb({lastCX:e,lastCY:n});e_.current=l?n>eL?3:2:1}var s,u=e-eD,d=n-ez;if(0===t){var f,h,m=y(u+eF,eI,i,innerWidth)[0],p=y(d+eB,eI,a,innerHeight);f=e_.current,h=p[0],void 0!==(s=m&&1===f||"x"===eJ?"x":h&&f>1||"y"===eJ?"y":void 0)&&ef(s,e,n,eI)}if("x"===s||eA)return void eb({reach:"x"});var g=v(eI+(t-eK)/100/2*eI,ej/eM,.2);eg({scale:g}),eb(o({touchLength:t,reach:s,scale:g},C(eW,eX,eM,eY,eI,g,e,n,u,d)))}},{maxWait:8});function e1(e){return!eV&&!eZ&&(ey.current&&eb(o({},e,{pause:er})),ey.current)}var e2,e4,e5,e3,e8=(e3=l({X:function(e){return e1({x:e})},Y:function(e){return e1({y:e})},S:function(e){return ey.current&&(eg({scale:e}),eb({scale:e})),!eZ&&ey.current}}),function(e,n,t,r,i,o,a,l,c,s,u){var d=j(s,i,o),v=d[0],f=d[1],h=y(e,l,v,innerWidth),m=h[0],p=h[1],g=y(n,l,f,innerHe
1ight),x=g[0],w=g[1],b=Date.now()-u;if(b>=200||l!==a||Math.abs(c-a)>1){var _=C(e,n,i,o,a,l),k=_.x,E=_.y,M=m?p:k!==e?k:null,Y=x?w:E!==n?E:null;return null!==M&&P(e,M,e3.X),null!==Y&&P(n,Y,e3.Y),void(l!==a&&P(a,l,e3.S))}var S=(e-t)/b,T=(n-r)/b,R=Math.sqrt(Math.pow(S,2)+Math.pow(T,2)),W=!1,X=!1;!function(e,n){var t,r=e,i=0,o=0,a=function(o){t||(t=o);var a=o-t,s=Math.sign(e),u=-.001*s,d=Math.sign(-r)*Math.pow(r,2)*2e-4;i+=r*a+(u+d)*Math.pow(a,2)/2,t=o,s*(r+=(u+d)*a)<=0?c():n(i)?l():c()};function l(){o=requestAnimationFrame(a)}function c(){cancelAnimationFrame(o)}l()}(R,function(t){var r=e+t*(S/R),i=n+t*(T/R),o=y(r,a,v,innerWidth),l=o[0],c=o[1],s=y(i,a,f,innerHeight),u=s[0],d=s[1];if(l&&!W&&(W=!0,m?P(r,c,e3.X):N(c,r+(r-c),e3.X)),u&&!X&&(X=!0,x?P(i,d,e3.Y):N(d,i+(i-d),e3.Y)),W&&X)return!1;var h=W||e3.X(c),p=X||e3.Y(d);return h&&p})}),e7=(e2=function(e,n){eJ||e$(1!==eI?1:Math.max(2,ej/eM),e,n)},e4=(0,r.useRef)(0),e5=E(function(){e4.current=0,ed.apply(void 0,[].slice.call(arguments))},{wait:300}),function(){var e=[].slice.call(arguments);e4.current+=1,e5.apply(void 0,e),e4.current>=2&&(e5.cancel(),e4.current=0,e2.apply(void 0,e))});function e6(e,n){if(e_.current=0,(eZ||eA)&&ep){eb({touched:!1,maskTouched:!1,pause:!1,stopRaf:!1,reach:void 0});var t=v(eI,ej/eM);if(e8(eW,eX,eF,eB,eM,eY,eI,t,eq,eO,eU),eh(e,n),eH===e&&eL===n){if(eZ)return void e7(e,n);eA&&ev(e,n)}}}function e9(e,n,t){void 0===t&&(t=0),eb({touched:!0,CX:e,CY:n,lastCX:e,lastCY:n,lastX:eW,lastY:eX,lastScale:eI,touchLength:t,touchTime:Date.now()})}function ne(e){eb({maskTouched:!0,CX:e.clientX,CY:e.clientY,lastX:eW,lastY:eX})}h(u?void 0:"mousemove",function(e){e.preventDefault(),e0(e.clientX,e.clientY)}),h(u?void 0:"mouseup",function(e){e6(e.clientX,e.clientY)}),h(u?"touchmove":void 0,function(e){e.preventDefault();var n=_(e);e0.apply(void 0,n)},{passive:!1}),h(u?"touchend":void 0,function(e){var n=e.changedTouches[0];e6(n.clientX,n.clientY)},{passive:!1}),h("resize",E(function(){eT&&!eZ&&(eb(k(ej,eE,eO)),em())},{maxWait:8})),f(function(){ep&&eg(o({scale:eI,rotate:eO},eQ))},[ep]);var nn=(g=function(e){return eb({pause:e})},x=(0,r.useRef)(!1),M=(b=(w=c({lead:!0,scale:eI}))[0]).lead,T=b.scale,R=w[1],W=E(function(e){try{return g(!0),R({lead:!1,scale:e}),Promise.resolve()}catch(e){return Promise.reject(e)}},{wait:ei}),f(function(){x.current?(g(!1),R({lead:!0}),W(eI)):x.current=!0},[eI]),A=(V=M?[eM*T,eY*T,eI/T]:[eM*eI,eY*eI,1])[0],O=V[1],I=V[2],t=(n=(0,r.useState)(Y))[0],i=n[1],s=(a=(0,r.useState)(0))[0],d=a[1],m=(0,r.useRef)(),p=l({OK:function(){return er&&d(4)}}),(0,r.useEffect)(function(){if(m.current||(m.current=Date.now()),eT){if(function(e,n){var t=e&&e.current;if(t&&1===t.nodeType){var r=t.getBoundingClientRect();n({T:r.top,L:r.left,W:r.width,H:r.height,FIT:"IMG"===t.tagName?getComputedStyle(t).objectFit:void 0})}}(et,i),er)return Date.now()-m.current<250?(d(1),requestAnimationFrame(function(){d(2),requestAnimationFrame(function(){g(!1),d(3)})}),void setTimeout(p.OK,ei)):void d(4);g(!1),d(5)}},[er,eT]),L=(H=[s,t])[0],B=(F=H[1]).W,D=F.FIT,z=innerWidth/2,q=innerHeight/2,[(U=L<3||L>4)?B?F.L:z:eW+(z-eM*eI/2),U?B?F.T:q:eX+(q-eY*eI/2),A,U&&D?A*(F.H/B):O,0===L?I:U?B/(eM*eI)||.01:I,U?D?1:0:1,L,D]),nt=nn[4],nr=nn[6],ni="transform "+ei+"ms "+eo,no={className:el,onMouseDown:u?void 0:function(e){e.stopPropagation(),0===e.button&&e9(e.clientX,e.clientY,0)},onTouchStart:u?function(e){e.stopPropagation(),e9.apply(void 0,_(e))}:void 0,onWheel:function(e){if(!eJ){var n=v(eI-e.deltaY/100/2,ej/eM);eb({stopRaf:!0}),e$(n,e.clientX,e.clientY)}},style:{width:nn[2]+"px",height:nn[3]+"px",opacity:nn[5],objectFit:4===nr?void 0:nn[7],transform:eO?"rotate("+eO+"deg)":void 0,transition:nr>2?ni+", opacity "+ei+"ms ease, height "+(nr<4?ei/2:nr>4?ei:0)+"ms "+eo:void 0}};return r.createElement("div",{className:"PhotoView__PhotoWrap"+(ea?" "+ea:""),style:ec,onMouseDown:!u&&ep?ne:void 0,onTouchStart:u&&ep?function(e){return ne(e.touches[0])}:void 0},r.createElement("div",{className:"PhotoView__PhotoBox",style:{transform:"matrix("+nt+", 0, 0, "+nt+", "+nn[0]+", "+nn[1]+")",transition:eZ||eG?void 0:ni,willChange:ep?"transform":void 0}},G?r.createElement(X,o({src:G,loaded:eT,broken:eR},no,{onPhotoLoad:function(e){eb(o({}
1,e,e.loaded&&k(e.naturalWidth||0,e.naturalHeight||0,eO)))},loadingElement:es,brokenElement:eu})):J&&J({attrs:no,scale:nt,rotate:eO})))}var A={x:0,touched:!1,pause:!1,lastCX:void 0,lastCY:void 0,bg:void 0,lastBg:void 0,overlay:!0,minimal:!0,scale:1,rotate:0};function O(e){var n,t,i,o,a=e.loop,s=void 0===a?3:a,v=e.speed,m=e.easing,_=e.photoClosable,y=e.maskClosable,C=void 0===y||y,j=e.maskOpacity,k=void 0===j?1:j,E=e.pullClosable,N=void 0===E||E,M=e.bannerVisible,P=void 0===M||M,Y=e.overlayRender,S=e.toolbarRender,T=e.className,R=e.maskClassName,W=e.photoClassName,X=e.photoWrapClassName,Z=e.loadingElement,O=e.brokenElement,I=e.images,H=e.index,L=e.onIndexChange,F=e.visible,B=e.onClose,D=e.afterClose,z=e.portalContainer,q=c(A),U=q[0],K=q[1],G=(0,r.useState)(0),J=G[0],Q=G[1],$=U.x,ee=U.touched,en=U.pause,et=U.lastCX,er=U.lastCY,ei=U.bg,eo=void 0===ei?k:ei,ea=U.lastBg,el=U.overlay,ec=U.minimal,es=U.scale,eu=U.rotate,ed=U.onScale,ev=U.onRotate,ef=e.hasOwnProperty("index"),eh=ef?void 0===H?0:H:J,em=ef?L:Q,ep=(0,r.useRef)(eh),eg=I.length,ex=I[eh],ew="boolean"==typeof s?s:eg>s,eb=(n=(0,r.useReducer)(function(e){return!e},!1)[1],t=(0,r.useRef)(0),o=(i=function(e,n){var i=(0,r.useRef)(e);function o(e){i.current=e}return(0,r.useMemo)(function(){F?(o(F),t.current=1):t.current=2},[e]),[i.current,o]}(F))[1],[i[0],t.current,function(){n(),2===t.current&&(o(!1),D&&D()),t.current=0}]),e_=eb[0],ey=eb[1],eC=eb[2];f(function(){if(e_)return K({pause:!0,x:-(eh*(innerWidth+20))}),void(ep.current=eh);K(A)},[e_]);var ej=l({close:function(e){ev&&ev(0),K({overlay:!0,lastBg:eo}),B(e)},changeIndex:function(e,n){void 0===n&&(n=!1);var t=ew?ep.current+(e-eh):e,r=eg-1,i=d(t,0,r),o=ew?t:i;K({touched:!1,lastCX:void 0,lastCY:void 0,x:-(innerWidth+20)*o,pause:n}),ep.current=o,em&&em(ew?e<0?r:e>r?0:e:i)}}),ek=ej.close,eE=ej.changeIndex;function eN(e){return e?ek():K({overlay:!el})}function eM(){K({x:-(innerWidth+20)*eh,lastCX:void 0,lastCY:void 0,pause:!0}),ep.current=eh}function eP(e,n,t,r){"x"===e?function(e){if(void 0!==et){var n=e-et,t=n;!ew&&(0===eh&&n>0||eh===eg-1&&n<0)&&(t=n/2),K({touched:!0,lastCX:et,x:-(innerWidth+20)*ep.current+t,pause:!1})}else K({touched:!0,lastCX:e,x:$,pause:!1})}(n):"y"===e&&function(e,n){if(void 0!==er){var t=null===k?null:d(k,.01,k-Math.abs(e-er)/100/4);K({touched:!0,lastCY:er,bg:1===n?t:k,minimal:1===n})}else K({touched:!0,lastCY:e,bg:eo,minimal:!0})}(t,r)}function eY(e,n){var t=e-(null!=et?et:e),r=!1;if(t<-40)eE(eh+1);else if(t>40)eE(eh-1);else{var i=-(innerWidth+20)*ep.current;Math.abs(n-(null!=er?er:n))>100&&ec&&N&&(r=!0,ek()),K({touched:!1,x:i,lastCX:void 0,lastCY:void 0,bg:k,overlay:!!r||el})}}h("keydown",function(e){if(F)switch(e.key){case"ArrowLeft":eE(eh-1,!0);break;case"ArrowRight":eE(eh+1,!0);break;case"Escape":ek()}});var eS=(0,r.useMemo)(function(){var e=I.length;
1return ew?I.concat(I).concat(I).slice(e+eh-1,e+eh+2):I.slice(Math.max(eh-1,0),Math.min(eh+2,e+1))},[I,eh,ew]);if(!e_)return null;var eT=el&&!ey,eR=F?eo:ea,eW=ed&&ev&&{images:I,index:eh,visible:F,onClose:ek,onIndexChange:eE,overlayVisible:eT,overlay:ex&&ex.overlay,scale:es,rotate:eu,onScale:ed,onRotate:ev},eX=v?v(ey):400,eZ=m?m(ey):"cubic-bezier(0.25, 0.8, 0.25, 1)",eV=v?v(3):600,eA=m?m(3):"cubic-bezier(0.25, 0.8, 0.25, 1)";return r.createElement(p,{className:"PhotoView-Portal"+(eT?"":" PhotoView-Slider__clean")+(F?"":" PhotoView-Slider__willClose")+(T?" "+T:""),role:"dialog",onClick:function(e){return e.stopPropagation()},container:z},F&&r.createElement(b,null),r.createElement("div",{className:"PhotoView-Slider__Backdrop"+(R?" "+R:"")+(1===ey?" PhotoView-Slider__fadeIn":2===ey?" PhotoView-Slider__fadeOut":""),style:{background:eR?"rgba(0, 0, 0, "+eR+")":void 0,transitionTimingFunction:eZ,transitionDuration:(ee?0:eX)+"ms",animationDuration:eX+"ms"},onAnimationEnd:eC}),P&&r.createElement("div",{className:"PhotoView-Slider__BannerWrap"},r.createElement("div",{className:"PhotoView-Slider__Counter"},eh+1," / ",eg),r.createElement("div",{className:"PhotoView-Slider__BannerRight"},S&&eW&&S(eW),r.createElement(g,{className:"PhotoView-Slider__toolbarIcon",onClick:ek}))),eS.map(function(e,n){var t=ew||0!==eh?ep.current-1+n:eh+n;return r.createElement(V,{key:ew?e.key+"/"+e.src+"/"+t:e.key,item:e,speed:eX,easing:eZ,visible:F,onReachMove:eP,onReachUp:eY,onPhotoTap:function(){return eN(_)},onMaskTap:function(){return eN(C)},wrapClassName:X,className:W,style:{left:(innerWidth+20)*t+"px",transform:"translate3d("+$+"px, 0px, 0)",transition:ee||en?void 0:"transform "+eV+"ms "+eA},loadingElement:Z,brokenElement:O,onPhotoResize:eM,isActive:ep.current===t,expose:K})}),!u&&P&&r.createElement(r.Fragment,null,(ew||0!==eh)&&r.createElement("div",{className:"PhotoView-Slider__ArrowLeft",onClick:function(){return eE(eh-1,!0)}},r.createElement(x,null)),(ew||eh+1<eg)&&r.createElement("div",{className:"PhotoView-Slider__ArrowRight",onClick:function(){return eE(eh+1,!0)}},r.createElement(w,null))),Y&&eW&&r.createElement("div",{className:"PhotoView-Slider__Overlay"},Y(eW)))}var I=["children","onIndexChange","onVisibleChange"],H={images:[],visible:!1,index:0};function L(e){var n=e.children,t=e.onIndexChange,i=e.onVisibleChange,u=a(e,I),d=c(H),v=d[0],f=d[1],h=(0,r.useRef)(0),m=v.images,p=v.visible,g=v.index,x=l({nextId:function(){return h.current+=1},update:function(e){var n=m.findIndex(function(n){return n.key===e.key});if(n>-1){var t=m.slice();return t.splice(n,1,e),void f({images:t})}f(function(n){return{images:n.images.concat(e)}})},remove:function(e){f(function(n){var t=n.images.filter(function(n){return n.key!==e});return{images:t,index:Math.min(t.length-1,g)}})},show:function(e){var n=m.findIndex(function(n){return n.key===e});f({visible:!0,index:n}),i&&i(!0,n,v)}}),w=l({close:function(){f({visible:!1}),i&&i(!1,g,v)},changeIndex:function(e){f({index:e}),t&&t(e,v)}}),b=(0,r.useMemo)(function(){return o({},v,x)},[v,x]);return r.createElement(s.Provider,{value:b},n,r.createElement(O,o({images:m,visible:p,index:g,onIndexChange:w.changeIndex,onClose:w.close},u)))}var F=function(e){var n,t=e.src,i=e.render,a=e.overlay,c=e.width,u=e.height,d=e.triggers,v=void 0===d?["onClick"]:d,f=e.children,h=(0,r.useContext)(s),m=((n=(0,r.useRef)({sign:!1,fn:void 0}).current).sign||(n.sign=!0,n.fn=h.nextId()),n.fn),p=(0,r.useRef)(null);(0,r.useImperativeHandle)(null==f?void 0:f.ref,function(){return p.current}),(0,r.useEffect)(function(){return function(){h.remove(m)}},[]);var g=l({render:function(e){return i&&i(e)},show:function(e,n){h.show(m),function(e,n){if(f){var t=f.props[e];t&&t(n)}}(e,n)}}),x=(0,r.useMemo)(function(){var e={};return v.forEach(function(n){e[n]=g.show.bind(null,n)}),e},[]);return(0,r.useEffect)(function(){h.update({key:m,src:t,originRef:p,render:g.render,overlay:a,width:c,height:u})},[t]),f?r.Children.only((0,r.cloneElement)(f,o({},x,{ref:p}))):null}}}]);

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.