PageSourceSearch

https://static.sketchfab.com/static/builds/web/dist/d8fde3df6fb2cbd8ecdf88b4acd952ef-v2.js

js sketchfab.com collected 2026-09-24 08:24:50 UTC 5,315 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksketchfab=self.webpackChunksketchfab||[]).push([[1366],{YfsX:(e,c,a)=>{a.r(c),a.d(c,{default:()=>Z});var s,o,t,i,r,n,l,d,u=a("NQ1V"),m=a("sQwH"),h=a("3Z9q"),p=a("IDtV"),v=a("YpOo"),b=a("rEmB");function C(e,c){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);c&&(s=s.filter((function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable}))),a.push.apply(a,s)}return a}function k(e){for(var c=1;c<arguments.length;c++){var a=null!=arguments[c]?arguments[c]:{};c%2?C(Object(a),!0).forEach((function(c){(0,u.Z)(e,c,a[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):C(Object(a)).forEach((function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(a,c))}))}return e}function y({checked:e,onClick:c}){return(0,m.Z)("div",{className:"option"},void 0,(0,m.Z)("div",{className:"title",onClick:c},void 0,(0,m.Z)("div",{className:"form-checkbox-wrapper"},void 0,(0,m.Z)("input",{id:"standard",className:"form-checkbox",type:"checkbox",name:"standard",checked:e}),s||(s=(0,m.Z)("label",{className:"form-checkbox-actor",htmlFor:"standard"}))),o||(o=(0,m.Z)("h2",{},void 0,(0,m.Z)("label",{htmlFor:"standard"},void 0,"Free Standard")))),t||(t=(0,m.Z)("p",{className:"description"},void 0,"Others can use your work worldwide, commercially or not, and in all types of derivative works.")))}function f({label:e,description:c,checked:a,onClick:s,disabled:o,value:t}){return(0,m.Z)("div",{className:"option"},void 0,(0,m.Z)("div",{className:"title",onClick:()=>{!o&&s&&s(!a)}},void 0,(0,m.Z)("div",{className:"form-checkbox-wrapper"},void 0,(0,m.Z)("input",{id:t,className:"form-checkbox",type:"checkbox",name:t,checked:a,disabled:o}),i||(i=(0,m.Z)("label",{className:"form-checkbox-actor"}))),(0,m.Z)("h2",{},void 0,(0,m.Z)("label",{},void 0,e))),(0,m.Z)("p",{className:"description"},void 0,c))}const N={type:"cc",ccClauses:{Attribution:!0,NoDerivs:!1,NonCommercial:!1,ShareAlike:!1}};const Z=(0,p.Z)((function({freeLicenses:e,selectedLicense:c,popup:a}){const[s,o]=h.useState(null!=c&&c.ccClauses?{type:"cc",ccClauses:{Attribution:!0,ShareAlike:c.ccClauses.includes("ShareAlike"),NoDerivs:c.ccClauses.includes("NoDerivs"),NonCommercial:c.ccClauses.includes("NonCommercial")}}:{type:"standard"});return(0,m.Z)(v.Z,{className:"c-popup-licenses",title:"Choose a Free License",onClose:()=>a.cancel(),footer:(0,m.Z)(h.Fragment,{},void 0,(0,m.Z)("button",{onClick:a.cancel,className:"button btn-medium btn-tertiary",type:"reset"},void 0,"Cancel"),(0,m.Z)("button",{onClick:()=>a.continue(function(e,c){switch(c.type){case"standard":return e.find((e=>!e.isCc&&"free-st"===e.slug));case"cc":{const a=Object.entries(c.ccClauses).reduce(((e,[c,a])=>a?e.concat(c):e),[]).sort();return e.find((e=>e.ccClauses&&(0,b.Z)(a,e.ccClauses.sort())))}default:console.error("The license you are trying to choose is not valid")}}(e,s)),className:"button btn-medium btn-primary",type:"submit"},void 0,"Select"))},void 0,(0,m.Z)("div",{className:"license-info","data-license":"standard"},void 0,r||(r=(0,m.Z)("h3",{},void 0,"Standard")),(0,m.Z)(y,{checked:"standard"===s.type,onClick:()=>o({type:"standard"})})),(0,m.Z)("div",{className:"license-info","data-license":"cc"},void 0,n||(n=(0,m.Z)("h3",{},void 0,"Creative Commons")),l||(l=(0,m.Z)("p",{},void 0,(0,m.Z)("strong",{},void 0,"Note:")," NoAI tagging"," ",(0,m.Z)("a",{href:"https://creativecommons.org/faq/#what-if-i-have-received-cc-licensed-material-with-additional-restrictions",target:"_blank",className:"skfb-link"},void 0,"may not be compatible with CC licenses."))),d||(d=(0,m.Z)("p",{},void 0,"Select what others can and can't do with your model:")),(0,m.Z)(f,{label:"Attribution",description:"Others can distribute, remix, tweak, and build upon your work as long as they credit you for the original creation.",checked:"cc"===s.type,disabled:"cc"===s.type,value:"Attribution",onClick:()=>{o(N)}}),(0,m.Z)(f,{value:"NonCommercial",label:"Non Commercial",description:"Others can not use your work commercially.",checked:"cc"===s.type&&Boolean(s.ccClauses.NonCommercial),onClick:()=>{o((e=>"cc"!==e.type?k(k({},N),{},{ccClauses:k(k({},N.ccClauses),{},{NonCommercial:!0})}):k(k({},e),{},{ccClauses:k(k({},e.ccClauses),{},{NonCommercial:!e.ccClauses.NonCommercial})})))}},"NonCommercial"),(0,m.Z)(f,{value:"NoDerivs",label:"No derivatives",description:"Others can redistribute as long as it is passed along unchanged and in whole.",checked:"cc"===s.type&&Boolean(s.ccClauses.NoDerivs),onClick:()=>{o((e=>"cc"!==e.type?k(k({},N),{},{ccClauses:k(k({},N.ccClauses),{},{NoDerivs:!0})}):k(k({},e),{},{ccClauses:k(k({},e.ccClauses),{},{NoDerivs:!e.ccClauses.NoDerivs,ShareAlike:!1})})))}},"NoDerivs"),(0,m.Z)(f,{value:"ShareAlike",label:"Share alike",description:"Others can remix, tweak, and build upon your work as long as they license their new creations under the identical terms.",checked:"cc"===s.type&&Boolean(s.ccClauses.ShareAlike),onClick:()=>{o((e=>"cc"!==e.type?k(k({},N),{},{ccClauses:k(k({},N.ccClauses),{},{ShareAlike:!0})}):k(k({},e),{},{ccClauses:k(k({},e.ccClauses),{},{ShareAlike:!e.ccClauses.ShareAlike,NoDerivs:!1})})))}},"ShareAlike")))}),{shouldRejectOnCancel:!0})}}]);
2//# sourceMappingURL=d8fde3df6fb2cbd8ecdf88b4acd952ef-v2.js.map

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.