PageSourceSearch

https://www.fontspace.com/dist/2433.4de98d6d418ac7ad3802.js

js fontspace.com collected 2026-09-24 07:18:27 UTC 9,655 bytes, 1 lines download raw bytes

1(self.webpackChunkfontspace_web=self.webpackChunkfontspace_web||[]).push([[2433],{1600:function(t,e,a){"use strict";a.r(e);var s=a(1601),o=a.n(s),n=a(6314),l=a.n(n)()(o());l.push([t.id,'.search-input{transition:transform .2s ease;will-change:transform;transform:scale(1);position:relative}.search-input .search-icon{position:absolute;z-index:2;left:15px;color:#9c9c9c;pointer-events:none}.search-input .search-icon::after{content:"";position:absolute;width:1px;height:80%;top:10%;left:25px;background:#e3e3e3}.search-input .search-box{border-radius:12px;border:0;line-height:30px;padding:4px 20px 4px 55px;background:#fff;color:#b3b3b3;font-size:.9rem;font-weight:600;max-width:100%;transition:tranform .2s ease}.search-input .search-box::placeholder{color:#9c9c9c}@supports(-webkit-overflow-scrolling: touch){.search-input .search-box{font-size:16px !important;padding:0 20 0 55px}}',""]),e.default=l},228:function(t,e,a){"use strict";a.r(e);var s=a(1601),o=a.n(s),n=a(6314),l=a.n(n)()(o());l.push([t.id,".tab-bar{padding:10px;background:#efefef;text-align:center;overflow-x:auto;-webkit-overflow-scrolling:touch;display:flex}.tab-bar .button{margin:0;background:rgba(255,255,255,0)}.tab-bar .button.active,.tab-bar .button.active-root{background:#000;color:#fff}.dark-mode .tab-bar{background-color:#353d4b}.dark-mode .tab-bar .button{color:#fff}@media(min-width: 600px){.tab-bar{border-radius:25px;margin-bottom:1rem;justify-content:center;overflow-x:initial}.tab-bar .button{margin:0 10px}}.my-collections svg{fill:#000}.my-collections.active-root svg{fill:#fff}",""]),e.default=l},3553:function(t,e,a){"use strict";a.r(e);var s=a(1601),o=a.n(s),n=a(6314),l=a.n(n)()(o());l.push([t.id,".all-collections-page{min-height:800px}.all-collections-page .title{margin:10px 0 30px 0;text-align:center}.all-collections-page .filter-bar{display:flex;align-items:center;padding:10px}.all-collections-page .filter-bar .simple-checkbox,.all-collections-page .filter-bar .sortby-dropdown{margin-right:1rem}.all-collections-page .filter-bar .search-input{max-width:200px}@media(min-width: 600px){.all-collections-page .title{font-size:2.5rem;margin:2rem auto;max-width:580px}.all-collections-page .filter-bar{border-radius:20px;padding:20px}}",""]),e.default=l},3149:function(t,e,a){"use strict";a.d(e,{A:function(){return l}});var s=a(181),o=a.n(s),n={props:["value","placeholder"],data(){return{searchQuery:"",focused:!1}},methods:{handleInput:o()((function(t){console.log("input",t),this.$emit("input",t)}),300)}},l=(a(6627),(0,a(4486).A)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex-center search-input"},[e("div",{staticClass:"search-icon"},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",height:"14",viewBox:"0 0 16.505 16.494"}},[e("path",{attrs:{d:"M426.811,312.25a6.71,6.71,0,1,1,1.172-1.169l.011-.014,4.49,4.472-1.192,1.192-4.474-4.481Zm-4.112-.268a5.035,5.035,0,0,0,0-10.071h0a5.035,5.035,0,0,0,0,10.071Z",transform:"translate(-415.978 -300.236)",fill:"gray"}})])]),t._v(" "),e("input",{staticClass:"search-box",attrs:{placeholder:t.placeholder},domProps:{value:t.value},on:{input:function(e){return t.handleInput(e.target.value)},focus:function(e){t.focused=!0},blur:function(e){t.focused=!1}}})])}),[],!1,null,null,null).exports)},1163:function(t,e,a){"use strict";a.d(e,{A:function(){return n}});var s=a(6986),o={components:{BarChartIcon:s.R5L,ClockIcon:s.O4,HeartIcon:s.C3E}},n=(a(1753),(0,a(4486).A)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tab-bar"},[e("router-link",{staticClass:"button",attrs:{to:{name:"new-collections"}}},[e("ClockIcon",{attrs:{size:"1.5x"}}),t._v(" New")],1),t._v(" "),e("router-link",{staticClass:"button",attrs:{to:{name:"popular-collections"}}},[e("BarChartIcon",{attrs:{size:"1.5x"}}),t._v(" Popular")],1),t._v(" "),e("router-link",{staticClass:"button my-collections",attrs:{to:{name:"my-collections"}}},[e("HeartIcon",{attrs:{size:"1.5x"}}),t._v(" My Collections")],1)],1)}),[],!1,null,null,null).exports)},2433:function(t,e,a){"use strict";a.r(e),a.d(e,{default:function(){return v}});var s=a(5353),o=a(6755),n=a.n(o),l=a(181),r=a.n(l),i=a(2217),c=a(41),u=a(3149),p=a(5578),d=a(1163),h=a(5524);const f=t=>"popular-collections"==t.name||"new-collections"==t.name?10:null,m=function({store:t,route:e,context:a}){const s=a.origin,o=e.query,l=e.hash.length?n().parse(e.hash.substring(1)):{},r=(t=>"popular-collections"==t.name?"popular":"new")(e),i={origin:s,query:o,hash:e.hash,sort:l.sort||r,min:l.min||f(e),q:l.q};return"my-collections"==e.name&&(i.user=!0),t.dispatch("searchCollections",i)};var g={components:{Dropdown:c.A,Checkbox:i.A,SearchInput:u.A,CollectionCluster:p.A,CollectionsNavBar:d.A,LazyHydrate:h.Ay},computed:{...(0,s.aH)({identity:"identity",searchResults:"collectionsResult"}),displayType(){const t=(()=>{switch(this.$route.name){case"new-collections":return"new";case"popular-collections":return"popular";case"my-collections":return"my";case"featured-collections":return"featured"}})();return t[0].toUpperCase()+t.substring(1)},records(){return this.searchResults?this.searchResults.records:[]},totalHits(){return this.searchResults?this.searchResults.totalHits:void 0},loading(){return null==this.totalHits},params(){return this.$route.hash.length?n().parse(this.$route.hash.substring(1)):{}},wildcard(){return this.params.q||""},mine(){return"my-collections"==this.$route.name}},asyncData:m,data(){return{showCollapsed:!1,pageSize:40,sortOptions:[{name:"Newest",key:"new"},{name:"Updated",key:"updated"},{name:"Popular",key:"popular"},{name:"# Fonts",key:"fonts"},{name:"Name",key:"name"}]}},methods:{selectSort(t){console.log("selectSort",t);const e={...this.params,sort:t.key};this.$router.replace({query:{},hash:n().stringify(e)})},setMinItems(t){console.log("set min",t);const e={...this.params,min:t};this.$router.replace({query:{},hash:n().stringify(e)})},handleSearchInput:r()((function(t){console.log("handleSearchInput",t);const e={...this.params,q:t};t||delete e.q,this.$router.replace({query:{},hash:n().stringify(e)})}),300),resetFilters(){this.handleSearchInput("")}
1,collectionUpdated(){this.updateData()},updateData(){console.log("AllCollectionsPage.updateData"),m({store:this.$store,route:this.$route,context:{origin:this.$endpoints.api}})},updateTitle(){switch(this.$route.name){case"my-collections":document.title="My Font Collections | FontSpace";break;case"popular-collections":document.title="Popular Font Collections | FontSpace";break;case"new-collections":document.title="New Font Collections | FontSpace"}}},mounted(){"my-collections"==this.$route.name&&this.updateData(),this.updateTitle()},watch:{$route(t,e){t.path!=e.path&&(this.updateData(),this.updateTitle())}}},v=(a(6688),(0,a(4486).A)(g,(function(){var t=this,e=t._self._c;return e("main",{staticClass:"all-collections-page container-ads banner-adjust"},[e("div",{staticClass:"container"},[e("NavigationLinks",{attrs:{active:"collections"}}),t._v(" "),e("CollectionsNavBar")],1),t._v(" "),e("div",{staticStyle:{display:"flex"}},[e("div",{staticClass:"ad-lsky"},[e("AdRightSkyscraper",{key:"adlr"+t.$store.state.adCount,attrs:{adslot:"leftrail"}})],1),t._v(" "),e("div",{staticClass:"col-shrinkable flex-distribute-vertical w-100"},[e("h1",{staticClass:"title"},[t._v("\n                "+t._s(t.displayType)+" Font Collections \n            ")]),t._v(" "),e("div",{staticClass:"content-rounded-2 filter-bar"},[t.mine?e("Dropdown",{staticClass:"sortby-dropdown",attrs:{"show-selected":!0,options:t.sortOptions,placeholder:"Sort by"},on:{updateOption:t.selectSort}}):t._e(),t._v(" "),t.mine?e("Checkbox",{staticClass:"simple-checkbox white",attrs:{title:"Only show collection title"},model:{value:t.showCollapsed,callback:function(e){t.showCollapsed=e},expression:"showCollapsed"}},[t._v("Simple")]):t._e(),t._v(" "),!t.mine&&t.identity.isAdmin?e("div",[e("input",{staticClass:"custom-input",staticStyle:{width:"60px"},attrs:{type:"number",value:"4"},on:{input:function(e){return t.setMinItems(e.target.value)}}}),t._v(" Min Items\n                ")]):t._e(),t._v(" "),e("SearchInput",{staticClass:"ml-auto",attrs:{placeholder:"Filter...",value:t.wildcard},on:{input:t.handleSearchInput}})],1),t._v(" "),t.loading?e("div",{staticClass:"text-center",staticStyle:{"min-height":"1000px"}},[e("div",{staticClass:"loader gray"},[t._v("Loading...")])]):t.records.length?[t._l(t.records,(function(a,s){return e("CollectionCluster",{key:a.id,attrs:{record:a,collapsed:t.showCollapsed,lazy:s>3,"hide-user-links":t.mine,"edit-mode":t.mine},on:{updated:t.collectionUpdated}})})),t._v(" "),t.identity.isLoggedIn?e("VirtualPager",{attrs:{"items-per-page":t.pageSize,total:t.totalHits}}):t._e()]:t.mine?e("div",{staticClass:"flex-center-hv flex-v buffer text-center"},[e("span",{staticClass:"text-huge"},[t._v("😢")]),t._v(" "),e("h3",[t._v("You don't have any collections yet.")]),t._v(" "),e("p",[t._v(" Click the + button next to fonts to create a new collection.")])]):t._e()],2),t._v(" "),e("div",{staticClass:"ad-rsky"},[e("AdRightSkyscraper",{key:"adrr"+t.$store.state.adCount,staticClass:"sticky"})],1)])])}),[],!1,null,null,null).exports)},6627:function(t,e,a){var s=a(1600);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.id,s,""]]),s.locals&&(t.exports=s.locals),(0,a(534).A)("7add2428",s,!0,{ssrId:!0})},1753:function(t,e,a){var s=a(228);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.id,s,""]]),s.locals&&(t.exports=s.locals),(0,a(534).A)("28eb01f0",s,!0,{ssrId:!0})},6688:function(t,e,a){var s=a(3553);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.id,s,""]]),s.locals&&(t.exports=s.locals),(0,a(534).A)("7ce5739a",s,!0,{ssrId:!0})}}]);

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.