PageSourceSearch

https://fossilsketch.org/_next/static/chunks/7216-4408145a08eb6be8.js

js fossilsketch.org collected 2026-10-09 00:41:05 UTC 8,928 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7216],{1019:function(e,r,t){t.d(r,{c:function(){return I}});var n=t(2784),o=t(9378),i=t.n(o);function c(e){return null===e||"object"!==typeof e?{}:Object.keys(e).reduce(((r,t)=>{const n=e[t];return void 0!==n&&null!==n&&!1!==n&&(r[t]=n),r}),{})}function l(e){return"string"!==typeof e?[]:e.split(".")}function s(e,r){const t=l(e);if(0===t.length||"object"!==typeof r||null===r)return;let n=r[t[0]];for(let o=1;o<t.length&&void 0!==n;o+=1)n=n[t[o]];return n}function a(e){if("object"!==typeof e)return e;var r,t,n=Object.prototype.toString.call(e);if("[object Object]"===n){if(e.constructor!==Object&&"function"===typeof e.constructor)for(r in t=new e.constructor,e)e.hasOwnProperty(r)&&t[r]!==e[r]&&(t[r]=a(e[r]));else for(r in t={},e)"__proto__"===r?Object.defineProperty(t,r,{value:a(e[r]),configurable:!0,enumerable:!0,writable:!0}):t[r]=a(e[r]);return t}if("[object Array]"===n){for(r=e.length,t=Array(r);r--;)t[r]=a(e[r]);return t}return"[object Set]"===n?(t=new Set,e.forEach((function(e){t.add(a(e))})),t):"[object Map]"===n?(t=new Map,e.forEach((function(e,r){t.set(a(r),a(e))})),t):"[object Date]"===n?new Date(+e):"[object RegExp]"===n?((t=new RegExp(e.source,e.flags)).lastIndex=e.lastIndex,t):"[object DataView]"===n?new e.constructor(a(e.buffer)):"[object ArrayBuffer]"===n?e.slice(0):"Array]"===n.slice(-6)?new e.constructor(e):e}function u(e,r,t){const n=l(e);if(0===n.length)return t;const o=a(t);if(1===n.length)return o[n[0]]=r,o;let i=o[n[0]];for(let c=1;c<n.length-1;c+=1){if(void 0===i)return o;i=i[n[c]]}return i[n[n.length-1]]=r,o}function f(e){const r=c(e);return{hasErrors:Object.keys(r).length>0,errors:r}}function p(e,r,t="",n={}){return"object"!==typeof e||null===e?n:Object.keys(e).reduce(((n,o)=>{const i=e[o],c=`${""===t?"":`${t}.`}${o}`,l=s(c,r);let a=!1;return"function"===typeof i&&(n[c]=i(l,r,c)),"object"===typeof i&&Array.isArray(l)&&(a=!0,l.forEach(((e,t)=>p(i,r,`${c}.${t}`,n)))),"object"===typeof i&&"object"===typeof l&&null!==l&&(a||p(i,r,c,n)),n}),n)}function b(e,r){return f("function"===typeof e?e(r):p(e,r))}function y(e,r,t){if("string"!==typeof e)return{hasError:!1,error:null};const n=b(r,t),o=e in n.errors;return{hasError:o,error:o?n.errors[e]:null}}var h=Object.defineProperty,g=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,j=(e,r,t)=>r in e?h(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;function v(e,r){if(null===r||"object"!==typeof r)return{};const t=((e,r)=>{for(var t in r||(r={}))d.call(r,t)&&j(e,t,r[t]);if(g)for(var t of g(r))O.call(r,t)&&j(e,t,r[t]);return e})({},r);return Object.keys(r).forEach((r=>{r.includes(`${String(e)}.`)&&delete t[r]})),t}function m(e,r){const t=Object.keys(e);if("string"===typeof r){const n=t.filter((e=>e.includes(`${r}.`)));return e[r]||n.some((r=>e[r]))||!1}return t.some((r=>e[r]))}var w=Object.defineProperty,k=Object.defineProperties,E=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,A=(e,r,t)=>r in e?w(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,z=(e,r)=>{for(var t in r||(r={}))C.call(r,t)&&A(e,t,r[t]);if(S)for(var t of S(r))P.call(r,t)&&A(e,t,r[t]);return e},x=(e,r)=>k(e,E(r));function I({initialValues:e={},initialErrors:r={},initialDirty:t={},initialTouched:o={},clearInputErrorOnChange:l=!0,validateInputOnChange:a=!1,validate:f}={}){const[p,h]=(0,n.useState)(o),[g,d]=(0,n.useState)(t),[O,j]=(0,n.useState)(e),[w,k]=(0,n.useState)(c(r)),E=(0,n.useRef)(e),S=(0,n.useCallback)((()=>h({})),[]),C=e=>{(e=>{E.current=e})(e||O),d({})},P=(0,n.useCallback)((e=>k((r=>c("function"===typeof e?e(r):e)))),[]),A=(0,n.useCallback)((()=>k({})),[]),I=(0,n.useCallback)((()=>{j(e),A(),C(e),S()}),[]),D=(0,n.useCallback)(((e,r)=>P((t=>x(z({},t),{[e]:r})))),[]),T=(0,n.useCallback)((e=>P((r=>{if("string"!==typeof e)return r;const t=z({},r);return delete t[e],t}))),[]),$=(0,n.useCallback)(((e,r)=>{const t=function(e,r){return!!r&&("boolean"===typeof r?r:!!Array.isArray(r)&&r.includes(e))}(e,a);j((n=>{const o=s(e,E.current),c=!i()(o,r);d((r=>x(z({},r),{[e]:c}))),h((r=>x(z({},r),{[e]:!0})));const l=u(e,r,n);if(t){const r=y(e,f,l);r.hasError?D(e,r.error):T(e)}return l})),!t&&l&&D(e,null)}),[]),F=(0,n.useCallback)((e=>{j(e),l&&A()}),[]),_=(0,n.useCallback)(((e,r)=>j((t=>function(e,{from:r,to:t},n){const o=s(e,n);if(!Array.isArray(o))return n;const i=[...o],c=o[r];return i.splice(r,1),i.splice(t,0,c),u(e,i,n)}(e,r,t)))),[]),N=(0,n.useCallback)(((e,r)=>{j((t=>function(e,r,t){const n=s(e,t);return Array.isArray(n)?u(e,n.filter(((e,t)=>t!==r)),t):t}(e,r,t))),k((r=>v(e,r))),d((t=>v(`${String(e)}.${r}`,t)))}),[]),H=(0,n.useCallback)(((e,r,t)=>j((n=>function(e,r,t,n){const o=s(e,n);if(!Array.isArray(o))return n;const i=[...o];return i.splice("number"===typeof t?t:i.length,0,r),u(e,i,n)}(e,r,t,n)))),[]),L=(0,n.useCallback)((()=>{const e=b(f,O);return k(e.errors),e}),[O,f]),R=(0,n.useCallback)((e=>{const r=y(e,f,O);return r.hasError?D(e,r.error):T(e),r}),[O,f]),M=(0,n.useCallback)((e=>{e.preventDefault(),I()}),[]),V=(0,n.useCallback)((e=>m(g,e)),[g]),W=(0,n.useCallback)((e=>m(p,e)),[p]),B=(0,n.useCallback)((e=>e?!y(e,f,O).hasError:!b(f,O).hasErrors),[O,f]);return{values:O,errors:w,setValues:F,setErrors:P,setFieldValue:$,setFieldError:D,clearFieldError:T,clearErrors:A,reset:I,validate:L,validateField:R,reorderListItem:_,removeListItem:N,insertListItem:H,getInputProps:(e,{type:r="input",withError:t="input"===r,withFocus:n=!0}={})=>{var o;const i={onChange:(o=r=>$(e,r),e=>{if(e)if("function"===typeof e)o(e);else if("object"===typeof e&&"nativeEvent"in e){const{currentTarget:r}=e;r instanceof HTMLInputElement?"checkbox"===r.type?o(r.checked):o(r.value):(r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement)&&o(r.value)}else o(e);else o(e)})};return t&&(i.error=w[e]),"checkbox"===r?i.checked=s(e,O):i.value=s(e,O),n&&(i.onFocus=()=>h((r=>x(z({},r),{[e]:!0})))),i},onSubmit:(e,r)=>t=>{t.preventDefault();const n=L();n.hasErrors?null==r||r(n.errors,O,t):e(O,t)},onReset:M,isDirty:V,isTouched:W,setTouched:h,setDirty:d,resetTouched:S,resetDirty:C,isValid:B}}},9378:function(e){e.exports=function e(r,t){if(r===t)return!0;
1if(r&&t&&"object"==typeof r&&"object"==typeof t){if(r.constructor!==t.constructor)return!1;var n,o,i;if(Array.isArray(r)){if((n=r.length)!=t.length)return!1;for(o=n;0!==o--;)if(!e(r[o],t[o]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===t.toString();if((n=(i=Object.keys(r)).length)!==Object.keys(t).length)return!1;for(o=n;0!==o--;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=n;0!==o--;){var c=i[o];if(!e(r[c],t[c]))return!1}return!0}return r!==r&&t!==t}},9236:function(e,r,t){t.d(r,{D:function(){return E}});var n=t(2784),o=t(4761),i=t(6817),c=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,p=(e,r,t)=>r in e?c(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,b=(e,r)=>{for(var t in r||(r={}))u.call(r,t)&&p(e,t,r[t]);if(a)for(var t of a(r))f.call(r,t)&&p(e,t,r[t]);return e};function y(e,r,t){return"undefined"!==typeof e?e in t.headings.sizes?t.headings.sizes[e].fontSize:e:t.headings.sizes[r].fontSize}function h(e,r,t){return"undefined"!==typeof e&&e in t.headings.sizes?t.headings.sizes[e].lineHeight:t.headings.sizes[r].lineHeight}var g=(0,i.k)(((e,{element:r,weight:t,size:n,inline:o})=>{return{root:(i=b({},e.fn.fontStyles()),c={fontFamily:e.headings.fontFamily,fontWeight:t||e.headings.sizes[r].fontWeight||e.headings.fontWeight,fontSize:y(n,r,e),lineHeight:o?1:h(n,r,e),margin:0},l(i,s(c)))};var i,c})),d=t(5117),O=Object.defineProperty,j=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,w=(e,r,t)=>r in e?O(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;const k={order:1},E=(0,n.forwardRef)(((e,r)=>{const t=(0,o.N4)("Title",k,e),{className:i,order:c,children:l,unstyled:s,size:a,weight:u,inline:f}=t,p=((e,r)=>{var t={};for(var n in e)v.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&j)for(var n of j(e))r.indexOf(n)<0&&m.call(e,n)&&(t[n]=e[n]);return t})(t,["className","order","children","unstyled","size","weight","inline"]),{classes:b,cx:y}=g({element:`h${c}`,weight:u,size:a,inline:f},{name:"Title",unstyled:s});return[1,2,3,4,5,6].includes(c)?n.createElement(d.x,((e,r)=>{for(var t in r||(r={}))v.call(r,t)&&w(e,t,r[t]);if(j)for(var t of j(r))m.call(r,t)&&w(e,t,r[t]);return e})({component:`h${c}`,ref:r,className:y(b.root,i)},p),l):null}));E.displayName="@mantine/core/Title"}}]);

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.