├── .gitignore
├── .shopifyignore
├── .theme-check.yml
├── LICENSE
├── README.md
├── assets
├── .gitkeep
├── password.css.liquid
├── theme.css.liquid
└── theme.js
├── config
├── settings_data.json
└── settings_schema.json
├── dev
├── .scss-lint.yml
├── gulpfile.js
├── js
│ └── common.js
├── package-lock.json
├── package.json
└── scss
│ ├── mixins
│ ├── _helpers.scss
│ └── _type.scss
│ ├── partials
│ ├── _base.scss
│ ├── _type.scss
│ └── _variables.scss
│ ├── password.scss.liquid
│ ├── sections
│ ├── _footer.scss
│ ├── _header.scss
│ └── _main-password.scss
│ ├── snippets
│ └── .gitkeep
│ └── theme.scss.liquid
├── layout
├── password.liquid
└── theme.liquid
├── locales
└── en.default.json
├── sections
├── .gitkeep
├── footer.liquid
├── header.liquid
├── main-404.liquid
├── main-article.liquid
├── main-blog.liquid
├── main-cart.liquid
├── main-collection.liquid
├── main-list-collections.liquid
├── main-page.liquid
├── main-password.liquid
├── main-product.liquid
└── main-search.liquid
├── snippets
└── .gitkeep
└── templates
├── 404.json
├── article.json
├── blog.json
├── cart.json
├── collection.json
├── customers
├── account.liquid
├── activate_account.liquid
├── addresses.liquid
├── login.liquid
├── order.liquid
├── register.liquid
└── reset_password.liquid
├── gift_card.liquid
├── index.json
├── list-collections.json
├── page.json
├── password.json
├── product.json
└── search.json
/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore all files starting with . or ~
2 | .*
3 | ~*
4 |
5 | # ignore project files/directories
6 | node_modules/
7 |
8 | # ignore OS generated files
9 | ehthumbs.db
10 | Thumbs.db
11 |
12 | # ignore Editor files
13 | *.sublime-project
14 | *.sublime-workspace
15 | *.komodoproject
16 |
17 | # ignore log files and databases
18 | *.log
19 | *.sql
20 | *.sqlite
21 |
22 | # ignore compiled files
23 | *.com
24 | *.class
25 | *.dll
26 | *.exe
27 | *.o
28 | *.so
29 |
30 | # ignore packaged files
31 | *.7z
32 | *.dmg
33 | *.gz
34 | *.iso
35 | *.jar
36 | *.rar
37 | *.tar
38 | *.zip
39 |
40 | # -------------------------
41 | # BEGIN Whitelisted Files
42 | # -------------------------
43 |
44 | # track these files, if they exist
45 | !.gitignore
46 | !.gitkeep
47 | !.editorconfig
48 | !README.md
49 | !CHANGELOG.md
50 | !composer.json
51 | !.scss-lint.yml
52 | !.shopifyignore
53 | !.theme-check.yml
54 |
--------------------------------------------------------------------------------
/.shopifyignore:
--------------------------------------------------------------------------------
1 | .git/*
2 | .gitignore
3 | .idea
4 | dev/*
--------------------------------------------------------------------------------
/.theme-check.yml:
--------------------------------------------------------------------------------
1 | root: .
2 |
3 | extends: :nothing
4 |
5 | require: []
6 |
7 | include_categories: []
8 |
9 | exclude_categories: []
10 |
11 | ignore:
12 | - node_modules/*
13 |
14 | ConvertIncludeToRender:
15 | enabled: true
16 | ignore: []
17 |
18 | LiquidTag:
19 | enabled: true
20 | ignore: []
21 | min_consecutive_statements: 5
22 |
23 | MissingTemplate:
24 | enabled: true
25 | ignore: []
26 | ignore_missing: []
27 |
28 | NestedSnippet:
29 | enabled: true
30 | ignore: []
31 | max_nesting_level: 3
32 |
33 | RequiredLayoutThemeObject:
34 | enabled: true
35 | ignore: []
36 |
37 | SpaceInsideBraces:
38 | enabled: true
39 | ignore: []
40 |
41 | SyntaxError:
42 | enabled: true
43 | ignore: []
44 |
45 | TemplateLength:
46 | enabled: true
47 | ignore: []
48 | max_length: 500
49 | # Exclude content of {% schema %} in line count
50 | exclude_schema: true
51 | # Exclude content of {% stylesheet %} in line count
52 | exclude_stylesheet: true
53 | # Exclude content of {% javascript %} in line count
54 | exclude_javascript: true
55 |
56 | UnknownFilter:
57 | enabled: true
58 | ignore: []
59 |
60 | UnusedAssign:
61 | enabled: true
62 | ignore: []
63 |
64 | UnusedSnippet:
65 | enabled: true
66 | ignore: []
67 |
68 | MatchingSchemaTranslations:
69 | enabled: true
70 | ignore: []
71 |
72 | MatchingTranslations:
73 | enabled: true
74 | ignore: []
75 |
76 | DefaultLocale:
77 | enabled: true
78 | ignore: []
79 |
80 | TranslationKeyExists:
81 | enabled: true
82 | ignore: []
83 |
84 | ValidHTMLTranslation:
85 | enabled: true
86 | ignore: []
87 |
88 | ValidJson:
89 | enabled: true
90 | ignore: []
91 |
92 | ValidSchema:
93 | enabled: true
94 | ignore: []
95 |
96 | MissingRequiredTemplateFiles:
97 | enabled: true
98 | ignore: []
99 |
100 | UndefinedObject:
101 | enabled: true
102 | ignore: []
103 | exclude_snippets: true
104 |
105 | RequiredDirectories:
106 | enabled: true
107 | ignore: []
108 |
109 | DeprecatedFilter:
110 | enabled: true
111 | ignore: []
112 |
113 | DeprecateLazysizes:
114 | enabled: true
115 | ignore: []
116 |
117 | DeprecateBgsizes:
118 | enabled: true
119 | ignore: []
120 |
121 | MissingEnableComment:
122 | enabled: true
123 | ignore: []
124 |
125 | ParserBlockingJavaScript:
126 | enabled: true
127 | ignore: []
128 |
129 | ParserBlockingScriptTag:
130 | enabled: true
131 | ignore: []
132 |
133 | AssetSizeJavaScript:
134 | enabled: false
135 | threshold_in_bytes: 10_000
136 | ignore: []
137 |
138 | AssetSizeCSS:
139 | enabled: false
140 | threshold_in_bytes: 100_000
141 | ignore: []
142 |
143 | AssetSizeCSSStylesheetTag:
144 | enabled: false
145 | threshold_in_bytes: 100_000
146 | ignore: []
147 |
148 | ImgWidthAndHeight:
149 | enabled: true
150 | ignore: []
151 |
152 | RemoteAsset:
153 | enabled: true
154 | ignore: []
155 |
156 | AssetUrlFilters:
157 | enabled: true
158 | ignore: []
159 |
160 | ContentForHeaderModification:
161 | enabled: true
162 | ignore: []
163 |
164 | ImgLazyLoading:
165 | enabled: true
166 | ignore: []
167 |
168 | HtmlParsingError:
169 | enabled: true
170 | ignore: []
171 |
172 | AssetSizeAppBlockJavaScript:
173 | enabled: false
174 | ignore: []
175 | threshold_in_bytes: 10_000
176 |
177 | AssetSizeAppBlockCSS:
178 | enabled: false
179 | ignore: []
180 | threshold_in_bytes: 100_000
181 |
182 | AppBlockValidTags:
183 | enabled: false
184 | ignore: []
185 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 | {one line to give the program's name and a brief idea of what it does.}
635 | Copyright (C) {year} {name of author}
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | {project} Copyright (C) {year} {fullname}
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Gulp + Shopify
2 |
3 | Version: 2.0.3
4 |
5 | ## Author
6 |
7 | Jase Warner ( [https://jase.io](https://jase.io "Jase Warner’s website") )
8 |
9 | > If this project has been a helping hand to you, feel free to [give this grateful developer a coffee](https://www.buymeacoffee.com/jasewarner/) ☕️
10 |
11 | ## Synopsis
12 |
13 | **Update:** 2021/09/15 – This project has been updated to support Shopify CLI and [Online Store 2.0](https://www.shopify.com/partners/blog/shopify-online-store "Online Store 2.0 article") features.
14 |
15 | *Gulp + Shopify* is for Developers wishing to use [Gulp.js](http://gulpjs.com/ "Gulp.js website") in combination with [Shopify CLI](https://shopify.dev/themes/tools/cli "Shopify CLI page") to develop Shopify themes – a tidy solution to the problem with Shopify not allowing sub-directories within the `assets` directory.
16 |
17 | The theme is packaged with Gulp for watching and compiling assets in the `dev` directory, including SCSS, JS, images, and fonts. When modified, said assets are moved across to the `assets` directory.
18 |
19 | A selection of helpful mixins is also included, most of which are featured in [this useful article](http://zerosixthree.se/8-sass-mixins-you-must-have-in-your-toolbox/ "Mixins article") by [@seb_ekstrom](https://twitter.com/seb_ekstrom "@seb_ekstrom on Twitter").
20 |
21 | You may also write your JavaScript in ES6 – The Gulp scripts task uses [Babel](https://babeljs.io/ "Babel website"), so you can use the latest syntax without worrying about browser support.
22 |
23 | The theme Liquid and JSON files are all blank canvases – zero faffing, meaning you can crack on with the build right away.
24 |
25 | The theme includes the Bootstrap 5 grid and reboot scss files. These can be removed in `theme.scss.liquid` and `password.scss.liquid`, or, if you so wish, you may add more Bootstrap SCSS files using @import via `./node_modules/bootstrap/scss/`.
26 |
27 | ## Installation
28 |
29 | ### Gulp.js
30 |
31 | Clone the repo into your project root.
32 |
33 | In Terminal `cd` into the `dev` directory and install the Gulp packages (if you haven’t already installed Gulp, you’ll need to [do so](https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md "Gulp installation") first):
34 |
35 | `npm install`
36 |
37 | Once you have installed the packages, in Terminal, run `gulp` and then `gulp watch`.
38 |
39 | Any changes to the SCSS files in `dev/sass/` will be reflected in `theme.css.liquid` and/or `password.css.liquid` in `assets`.
40 |
41 | Any alterations to the JS files in `dev/js/` will be concatenated and uglified in `assets` to `theme.js`.
42 |
43 | Images added to `dev/image` will be copied across to the `assets` directory. Similarly, any fonts added to `dev/font` will be copied across to `assets`.
44 |
45 | ### Shopify CLI
46 |
47 | To get Shopify CLI up and running, follow the instructions [here](https://shopify.dev/themes/tools/cli/installation "Shopify CLI installation instructions").
48 |
49 | To get started on your theme, follow [these instructions](https://shopify.dev/themes/tools/cli/getting-started "Shopify CLI usage instructions").
50 |
51 | > Important: Unfortunately the Shopify CLI hot reload feature fires too soon for Shopify to serve any updated assets, such as CSS or JS. I’ve only been working with Shopify CLI for a couple of weeks now, so maybe I’ve missed something, but I’m finding that a manual reload (delayed by a second or two) is still required after every change.
52 |
53 | ## Features
54 |
55 | The Gulp build features the following helpful packages:
56 |
57 | * [gulp-autoprefixer](https://github.com/sindresorhus/gulp-autoprefixer "gulp-autoprefixer GitHub page")
58 | * [gulp-babel](https://github.com/babel/gulp-babel "gulp-babel GitHub page")
59 | * [gulp-concat](https://github.com/contra/gulp-concat "gulp-concat GitHub page")
60 | * [gulp-rename](https://github.com/hparra/gulp-rename "gulp-rename GitHub page")
61 | * [gulp-replace](https://github.com/lazd/gulp-replace "gulp-replace GitHub page")
62 | * [gulp-sass](https://github.com/dlmanning/gulp-sass "gulp-sass GitHub page")
63 | * [gulp-uglify](https://github.com/terinjokes/gulp-uglify "gulp-uglify GitHub page")
64 | * [gulp-scss-lint](https://github.com/juanfran/gulp-scss-lint "gulp-scss-lint GitHub page")
65 |
66 | ## Credits
67 |
68 | * [Gulp.js](http://gulpjs.com/ "Gulp.js website")
69 | * [Shopify CLI](https://shopify.dev/themes/tools/cli "Shopify CLI page")
70 | * [SASS / SCSS](http://sass-lang.com/ "SASS website")
71 |
--------------------------------------------------------------------------------
/assets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/assets/.gitkeep
--------------------------------------------------------------------------------
/assets/theme.js:
--------------------------------------------------------------------------------
1 | "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function e(i,o,u){function c(r,t){if(!o[r]){if(!i[r]){var n="function"==typeof require&&require;if(!t&&n)return n(r,!0);if(f)return f(r,!0);t=new Error("Cannot find module '"+r+"'");throw t.code="MODULE_NOT_FOUND",t}n=o[r]={exports:{}};i[r][0].call(n.exports,function(t){var n=i[r][1][t];return c(n||t)},n,n.exports,e,i,o,u)}return o[r].exports}for(var f="function"==typeof require&&require,t=0;tu;)o.call(t,e=i[u++])&&n.push(e);return n}},{78:78,81:81,82:82}],33:[function(t,n,r){function v(t,n,r){var e,i,o,u=t&v.F,c=t&v.G,f=t&v.P,a=t&v.B,s=c?p:t&v.S?p[n]||(p[n]={}):(p[n]||{})[b],l=c?d:d[n]||(d[n]={}),h=l[b]||(l[b]={});for(e in r=c?n:r)i=((o=!u&&s&&void 0!==s[e])?s:r)[e],o=a&&o?m(i,p):f&&"function"==typeof i?m(Function.call,i):i,s&&g(s,e,i,t&v.U),l[e]!=i&&y(l,e,o),f&&h[e]!=i&&(h[e]=i)}var p=t(40),d=t(23),y=t(42),g=t(94),m=t(25),b="prototype";p.core=d,v.F=1,v.G=2,v.S=4,v.P=8,v.B=16,v.W=32,v.U=64,v.R=128,n.exports=v},{23:23,25:25,40:40,42:42,94:94}],34:[function(t,n,r){var e=t(128)("match");n.exports=function(n){var r=/./;try{"/./"[n](r)}catch(t){try{return r[e]=!1,!"/./"[n](r)}catch(t){}}return!0}},{128:128}],35:[function(t,n,r){n.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],36:[function(t,n,r){var u=t(42),c=t(94),f=t(35),a=t(28),s=t(128);n.exports=function(n,t,r){var e=s(n),r=r(a,e,""[n]),i=r[0],o=r[1];f(function(){var t={};return t[e]=function(){return 7},7!=""[n](t)})&&(c(String.prototype,n,i),u(RegExp.prototype,e,2==t?function(t,n){return o.call(t,this,n)}:function(t){return o.call(t,this)}))}},{128:128,28:28,35:35,42:42,94:94}],37:[function(t,n,r){var e=t(7);n.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},{7:7}],38:[function(t,n,r){var p=t(49),d=t(51),y=t(118),g=t(25),m=t(128)("isConcatSpreadable");n.exports=function t(n,r,e,i,o,u,c,f){for(var a,s,l=o,h=0,v=!!c&&g(c,f,3);hdocument.F=Object<\/script>"),t.close(),a=t.F;n--;)delete a[f][u[n]];return a()};t.exports=Object.create||function(t,n){var r;return null!==t?(e[f]=i(t),r=new e,e[f]=null,r[c]=t):r=a(),void 0===n?r:o(r,n)}},{102:102,30:30,31:31,43:43,7:7,73:73}],72:[function(t,n,r){var e=t(7),i=t(44),o=t(120),u=Object.defineProperty;r.f=t(29)?Object.defineProperty:function(t,n,r){if(e(t),n=o(n,!0),e(r),i)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},{120:120,29:29,44:44,7:7}],73:[function(t,n,r){var u=t(72),c=t(7),f=t(81);n.exports=t(29)?Object.defineProperties:function(t,n){c(t);for(var r,e=f(n),i=e.length,o=0;oi;)!u(e,r=n[i++])||~f(o,r)||o.push(r);return o}},{102:102,11:11,117:117,41:41}],81:[function(t,n,r){var e=t(80),i=t(31);n.exports=Object.keys||function(t){return e(t,i)}},{31:31,80:80}],82:[function(t,n,r){r.f={}.propertyIsEnumerable},{}],83:[function(t,n,r){var i=t(33),o=t(23),u=t(35);n.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],e={};e[t]=n(r),i(i.S+i.F*u(function(){r(1)}),"Object",e)}},{23:23,33:33,35:35}],84:[function(t,n,r){var f=t(81),a=t(117),s=t(82).f;n.exports=function(c){return function(t){for(var n,r=a(t),e=f(r),i=e.length,o=0,u=[];o>>0||(o.test(t)?16:10))}:e},{111:111,112:112,40:40}],88:[function(t,n,r){var e=t(89),a=t(46),s=t(3);n.exports=function(){for(var i=s(this),o=arguments.length,u=Array(o),t=0,c=e._,f=!1;t"+t+""+n+">"}var i=t(33),o=t(35),u=t(28),c=/"/g;n.exports=function(n,t){var r={};r[n]=t(e),i(i.P+i.F*o(function(){var t=""[n]('"');return t!==t.toLowerCase()||3n&&(i=i.slice(0,n)),e?i+t:t+i}},{110:110,118:118,28:28}],110:[function(t,n,r){var i=t(116),o=t(28);n.exports=function(t){var n=String(o(this)),r="",e=i(t);if(e<0||e==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(n+=n))1&e&&(r+=n);return r}},{116:116,28:28}],111:[function(t,n,r){function e(t,n,r){var e={},i=u(function(){return!!c[t]()||" "!=" "[t]()}),n=e[t]=i?n(s):c[t];r&&(e[r]=n),o(o.P+o.F*i,"String",e)}var o=t(33),i=t(28),u=t(35),c=t(112),t="["+c+"]",f=RegExp("^"+t+t+"*"),a=RegExp(t+t+"*$"),s=e.trim=function(t,n){return t=String(i(t)),1&n&&(t=t.replace(f,"")),t=2&n?t.replace(a,""):t};n.exports=e},{112:112,28:28,33:33,35:35}],112:[function(t,n,r){n.exports="\t\n\v\f\r \u2028\u2029\ufeff"},{}],113:[function(t,n,r){function e(){var t,n=+this;g.hasOwnProperty(n)&&(t=g[n],delete g[n],t())}function i(t){e.call(t.data)}var o,u=t(25),c=t(46),f=t(43),a=t(30),s=t(40),l=s.process,h=s.setImmediate,v=s.clearImmediate,p=s.MessageChannel,d=s.Dispatch,y=0,g={},m="onreadystatechange";h&&v||(h=function(t){for(var n=[],r=1;r>1,a=23===n?S(2,-24)-S(2,-77):0,s=0,l=t<0||0===t&&1/t<0?1:0;for((t=V(t))!=t||t===b?(i=t!=t?1:0,e=r):(e=B(z(t)/Y),t*(o=S(2,-e))<1&&(e--,o*=2),2<=(t+=1<=e+f?a/o:a*S(2,1-f))*o&&(e++,o/=2),r<=e+f?(i=0,e=r):1<=e+f?(i=(t*o-1)*S(2,n),e+=f):(i=t*S(2,f-1)*S(2,n),e=0));8<=n;u[s++]=255&i,i/=256,n-=8);for(e=e<>1,c=i-7,f=r-1,i=t[f--],a=127&i;for(i>>=7;0>=-c,c+=n;0>8&255]}function j(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function q(t){return O(t,52,8)}function J(t){return O(t,23,4)}function N(t,n,r){U(t[v],n,{get:function(){return this[r]}})}function I(t,n,r,e){r=s(+r);if(r+n>t[_])throw m(p);var i=t[x]._b,r=r+t[E],t=i.slice(r,r+n);return e?t:t.reverse()}function L(t,n,r,e,i,o){r=s(+r);if(r+n>t[_])throw m(p);for(var u=t[x]._b,c=r+t[E],f=e(+i),a=0;aK;)(T=R[K++])in d||o(d,T,w[T]);C||(c.constructor=d)}var a=new y(new d(2)),H=y[v].setInt8;a.setInt8(0,2147483648),a.setInt8(1,2147483649),!a.getInt8(0)&&a.getInt8(1)||u(y[v],{setInt8:function(t,n){H.call(this,t,n<<24>>24)},setUint8:function(t,n){H.call(this,t,n<<24>>24)}},!0)}else d=function(t){f(this,d,l);t=s(t);this._b=W.call(Array(t),0),this[_]=t},y=function(t,n,r){f(this,y,h),f(t,d,h);var e=t[_],n=D(n);if(n<0||e>24},getUint8:function(t){return I(this,1,t)[0]},getInt16:function(t){t=I(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=I(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return P(I(this,4,t,arguments[1]))},getUint32:function(t){return P(I(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return M(I(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return M(I(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){L(this,1,t,F,n)},setUint8:function(t,n){L(this,1,t,F,n)},setInt16:function(t,n){L(this,2,t,A,n,arguments[2])},setUint16:function(t,n){L(this,2,t,A,n,arguments[2])},setInt32:function(t,n){L(this,4,t,j,n,arguments[2])},setUint32:function(t,n){L(this,4,t,j,n,arguments[2])},setFloat32:function(t,n){L(this,4,t,J,n,arguments[2])},setFloat64:function(t,n){L(this,8,t,q,n,arguments[2])}});t(d,l),t(y,h),o(y[v],i.VIEW,!0),n[l]=d,n[h]=y},{101:101,115:115,116:116,118:118,123:123,29:29,35:35,40:40,42:42,6:6,60:60,72:72,77:77,9:9,93:93}],123:[function(t,n,r){for(var e,i=t(40),o=t(42),t=t(124),u=t("typed_array"),c=t("view"),t=!(!i.ArrayBuffer||!i.DataView),f=t,a=0,s="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");a<9;)(e=i[s[a++]])?(o(e.prototype,u,!0),o(e.prototype,c,!0)):f=!1;n.exports={ABV:t,CONSTR:f,TYPED:u,VIEW:c}},{124:124,40:40,42:42}],124:[function(t,n,r){var e=0,i=Math.random();n.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+i).toString(36))}},{}],125:[function(t,n,r){var e=t(51);n.exports=function(t,n){if(e(t)&&t._t===n)return t;throw TypeError("Incompatible receiver, "+n+" required!")}},{51:51}],126:[function(t,n,r){var e=t(40),i=t(23),o=t(60),u=t(127),c=t(72).f;n.exports=function(t){var n=i.Symbol||(i.Symbol=!o&&e.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},{127:127,23:23,40:40,60:60,72:72}],127:[function(t,n,r){r.f=t(128)},{128:128}],128:[function(t,n,r){var e=t(103)("wks"),i=t(124),o=t(40).Symbol,u="function"==typeof o;(n.exports=function(t){return e[t]||(e[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=e},{103:103,124:124,40:40}],129:[function(t,n,r){var e=t(17),i=t(128)("iterator"),o=t(58);n.exports=t(23).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[e(t)]}},{128:128,17:17,23:23,58:58}],130:[function(t,n,r){var e=t(33),i=t(95)(/[\\^$*+?.()|[\]{}]/g,"\\$&");e(e.S,"RegExp",{escape:function(t){return i(t)}})},{33:33,95:95}],131:[function(t,n,r){var e=t(33);e(e.P,"Array",{copyWithin:t(8)}),t(5)("copyWithin")},{33:33,5:5,8:8}],132:[function(t,n,r){var e=t(33),i=t(12)(4);e(e.P+e.F*!t(105)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},{105:105,12:12,33:33}],133:[function(t,n,r){var e=t(33);e(e.P,"Array",{fill:t(9)}),t(5)("fill")},{33:33,5:5,9:9}],134:[function(t,n,r){var e=t(33),i=t(12)(2);e(e.P+e.F*!t(105)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},{105:105,12:12,33:33}],135:[function(t,n,r){var e=t(33),i=t(12)(6),o="findIndex",u=!0;o in[]&&Array(1)[o](function(){u=!1}),e(e.P+e.F*u,"Array",{findIndex:function(t){return i(this,t,1=t.length?(this._t=void 0,i(1)):i(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),o.Arguments=o.Array,e("keys"),e("values"),e("entries")},{117:117,5:5,55:55,57:57,58:58}],142:[function(t,n,r){var e=t(33),i=t(117),o=[].join;e(e.P+e.F*(t(47)!=Object||!t(105)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},{105:105,117:117,33:33,47:47}],143:[function(t,n,r){var e=t(33),i=t(117),o=t(116),u=t(118),c=[].lastIndexOf,f=!!c&&1/[1].lastIndexOf(1,-0)<0;e(e.P+e.F*(f||!t(105)(c)),"Array",{lastIndexOf:function(t){if(f)return c.apply(this,arguments)||0;var n=i(this),r=u(n.length),e=r-1;for((e=1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{33:33}],166:[function(t,n,r){var t=t(33),e=Math.exp;t(t.S,"Math",{cosh:function(t){return(e(t=+t)+e(-t))/2}})},{33:33}],167:[function(t,n,r){var e=t(33),t=t(61);e(e.S+e.F*(t!=Math.expm1),"Math",{expm1:t})},{33:33,61:61}],168:[function(t,n,r){var e=t(33);e(e.S,"Math",{fround:t(62)})},{33:33,62:62}],169:[function(t,n,r){var t=t(33),f=Math.abs;t(t.S,"Math",{hypot:function(t,n){for(var r,e,i=0,o=0,u=arguments.length,c=0;o>>16)*i+e*(r&n>>>16)<<16>>>0)}})},{33:33,35:35}],171:[function(t,n,r){t=t(33);t(t.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{33:33}],172:[function(t,n,r){var e=t(33);e(e.S,"Math",{log1p:t(63)})},{33:33,63:63}],173:[function(t,n,r){t=t(33);t(t.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},{33:33}],174:[function(t,n,r){var e=t(33);e(e.S,"Math",{sign:t(65)})},{33:33,65:65}],175:[function(t,n,r){var e=t(33),i=t(61),o=Math.exp;e(e.S+e.F*t(35)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{33:33,35:35,61:61}],176:[function(t,n,r){var e=t(33),i=t(61),o=Math.exp;e(e.S,"Math",{tanh:function(t){var n=i(t=+t),r=i(-t);return n==1/0?1:r==1/0?-1:(n-r)/(o(t)+o(-t))}})},{33:33,61:61}],177:[function(t,n,r){t=t(33);t(t.S,"Math",{trunc:function(t){return(0x;x++)o(d,b=S[x])&&!o(w,b)&&h(w,b,l(d,b));(w.prototype=y).constructor=w,t(94)(i,p,w)}},{111:111,120:120,18:18,29:29,35:35,40:40,41:41,45:45,71:71,72:72,75:75,77:77,94:94}],179:[function(t,n,r){t=t(33);t(t.S,"Number",{EPSILON:Math.pow(2,-52)})},{33:33}],180:[function(t,n,r){var e=t(33),i=t(40).isFinite;e(e.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},{33:33,40:40}],181:[function(t,n,r){var e=t(33);e(e.S,"Number",{isInteger:t(50)})},{33:33,50:50}],182:[function(t,n,r){t=t(33);t(t.S,"Number",{isNaN:function(t){return t!=t}})},{33:33}],183:[function(t,n,r){var e=t(33),i=t(50),o=Math.abs;e(e.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},{33:33,50:50}],184:[function(t,n,r){t=t(33);t(t.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{33:33}],185:[function(t,n,r){t=t(33);t(t.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{33:33}],186:[function(t,n,r){var e=t(33),t=t(86);e(e.S+e.F*(Number.parseFloat!=t),"Number",{parseFloat:t})},{33:33,86:86}],187:[function(t,n,r){var e=t(33),t=t(87);e(e.S+e.F*(Number.parseInt!=t),"Number",{parseInt:t})},{33:33,87:87}],188:[function(t,n,r){function u(t,n){for(var r=-1,e=n;++r<6;)e+=t*v[r],v[r]=e%1e7,e=o(e/1e7)}function c(t){for(var n=6,r=0;0<=--n;)r+=v[n],v[n]=o(r/t),r=r%t*1e7}function f(){for(var t,n=6,r="";0<=--n;)""===r&&0!==n&&0===v[n]||(t=String(v[n]),r=""===r?t:r+h.call("0",7-t.length)+t);return r}function a(t,n,r){return 0===n?r:n%2==1?a(t,n-1,r*t):a(t*t,n/2,r)}var e=t(33),s=t(116),l=t(4),h=t(110),i=1..toFixed,o=Math.floor,v=[0,0,0,0,0,0],p="Number.toFixed: incorrect invocation!";e(e.P+e.F*(!!i&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0))||!t(35)(function(){i.call({})})),"Number",{toFixed:function(t){var n,r,e=l(this,p),t=s(t),i="",o="0";if(t<0||20r;){i=e=a=f=c=u=void 0;var e,i,o=h[r++],u=n?o.ok:o.fail,c=o.resolve,f=o.reject,a=o.domain;try{u?(n||(2==s._h&&p(s),s._h=1),!0===u?e=t:(a&&a.enter(),e=u(t),a&&a.exit()),e===o.promise?f(O("Promise-chain cycle")):(i=N(e))?i.call(e,c,f):c(e)):f(t)}catch(t){f(t)}}s._c=[],s._n=!1,l&&!s._h&&v(s)}))},L=function t(n){if(1==n._h)return!1;for(var r,e=n._a||n._c,i=0;e.length>i;)if((r=e[i++]).fail||!t(r.promise))return!1;return!0},T=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),I(n,!0))};s||(P=function(t){y(this,P,E,"_h"),d(t),n.call(this);try{t(a(i,this,1),a(T,this,1))}catch(t){T.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(93)(P.prototype,{then:function(t,n){var r=A(m(this,P));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=F?M.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&I(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),u=function(){var t=new n;this.promise=t,this.resolve=a(i,t,1),this.reject=a(T,t,1)},S.f=A=function(t){return j(P,t)?new u:o(t)}),l(l.G+l.W+l.F*!s,{Promise:P}),r(101)(P,E),r(100)(E),c=r(23)[E],l(l.S+l.F*!s,E,{reject:function(t){var n=A(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(t||!s),E,{resolve:function(t){return t instanceof P&&j(t.constructor,this)?t:_(this,t)}}),l(l.S+l.F*!(s&&r(56)(function(t){P.all(t).catch(e)})),E,{all:function(t){var u=this,n=A(u),c=n.resolve,f=n.reject,r=x(function(){var e=[],i=0,o=1;g(t,!1,function(t){var n=i++,r=!1;e.push(void 0),o++,u.resolve(t).then(function(t){r||(r=!0,e[n]=t,--o||c(e))},f)}),--o||c(e)});return r.e&&f(r.v),n.promise},race:function(t){var n=this,r=A(n),e=r.reject,i=x(function(){g(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return i.e&&e(i.v),r.promise}})},{100:100,101:101,104:104,113:113,128:128,17:17,23:23,25:25,3:3,33:33,39:39,40:40,51:51,56:56,6:6,60:60,68:68,69:69,90:90,91:91,93:93}],210:[function(t,n,r){var e=t(33),i=t(3),o=t(7),u=(t(40).Reflect||{}).apply,c=Function.apply;e(e.S+e.F*!t(35)(function(){u(function(){})}),"Reflect",{apply:function(t,n,r){t=i(t),r=o(r);return u?u(t,n,r):c.call(t,n,r)}})},{3:3,33:33,35:35,40:40,7:7}],211:[function(t,n,r){var e=t(33),i=t(71),o=t(3),u=t(7),c=t(51),f=t(35),a=t(16),s=(t(40).Reflect||{}).construct,l=f(function(){function t(){}return!(s(function(){},[],t)instanceof t)}),h=!f(function(){s(function(){})});e(e.S+e.F*(l||h),"Reflect",{construct:function(t,n){o(t),u(n);var r=arguments.length<3?t:o(arguments[2]);if(h&&!l)return s(t,n,r);if(t==r){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var e=[null];return e.push.apply(e,n),new(a.apply(t,e))}e=r.prototype,r=i(c(e)?e:Object.prototype),e=Function.apply.call(t,r,n);return c(e)?e:r}})},{16:16,3:3,33:33,35:35,40:40,51:51,7:7,71:71}],212:[function(t,n,r){var e=t(72),i=t(33),o=t(7),u=t(120);i(i.S+i.F*t(35)(function(){Reflect.defineProperty(e.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,n,r){o(t),n=u(n,!0),o(r);try{return e.f(t,n,r),!0}catch(t){return!1}}})},{120:120,33:33,35:35,7:7,72:72}],213:[function(t,n,r){var e=t(33),i=t(75).f,o=t(7);e(e.S,"Reflect",{deleteProperty:function(t,n){var r=i(o(t),n);return!(r&&!r.configurable)&&delete t[n]}})},{33:33,7:7,75:75}],214:[function(t,n,r){function e(t){this._t=o(t),this._i=0;var n,r=this._k=[];for(n in t)r.push(n)}var i=t(33),o=t(7);t(54)(e,"Object",function(){var t,n=this._k;do{if(this._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[this._i++])in this._t));return{value:t,done:!1}}),i(i.S,"Reflect",{enumerate:function(t){return new e(t)}})},{33:33,54:54,7:7}],215:[function(t,n,r){var e=t(75),i=t(33),o=t(7);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return e.f(o(t),n)}})},{33:33,7:7,75:75}],216:[function(t,n,r){var e=t(33),i=t(79),o=t(7);e(e.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},{33:33,7:7,79:79}],217:[function(t,n,r){var o=t(75),u=t(79),c=t(41),e=t(33),f=t(51),a=t(7);e(e.S,"Reflect",{get:function t(n,r){var e,i=arguments.length<3?n:arguments[2];return a(n)===i?n[r]:(e=o.f(n,r))?c(e,"value")?e.value:void 0!==e.get?e.get.call(i):void 0:f(e=u(n))?t(e,r,i):void 0}})},{33:33,41:41,51:51,7:7,75:75,79:79}],218:[function(t,n,r){t=t(33);t(t.S,"Reflect",{has:function(t,n){return n in t}})},{33:33}],219:[function(t,n,r){var e=t(33),i=t(7),o=Object.isExtensible;e(e.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},{33:33,7:7}],220:[function(t,n,r){var e=t(33);e(e.S,"Reflect",{ownKeys:t(85)})},{33:33,85:85}],221:[function(t,n,r){var e=t(33),i=t(7),o=Object.preventExtensions;e(e.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},{33:33,7:7}],222:[function(t,n,r){var e=t(33),i=t(99);i&&e(e.S,"Reflect",{setPrototypeOf:function(t,n){i.check(t,n);try{return i.set(t,n),!0}catch(t){return!1}}})},{33:33,99:99}],223:[function(t,n,r){var u=t(72),c=t(75),f=t(79),a=t(41),e=t(33),s=t(92),l=t(7),h=t(51);e(e.S,"Reflect",{set:function t(n,r,e){var i=arguments.length<4?n:arguments[3],o=c.f(l(n),r);if(!o){if(h(n=f(n)))return t(n,r,e,i);o=s(0)}return a(o,"value")?!(!1===o.writable||!h(i)||((n=c.f(i,r)||s(0)).value=e,u.f(i,r,n),0)):void 0!==o.set&&(o.set.call(i,e),!0)}})},{33:33,41:41,51:51,7:7,72:72,75:75,79:79,92:92}],224:[function(t,n,r){var e=t(40),o=t(45),i=t(72).f,u=t(77).f,c=t(52),f=t(37),a=p=e.RegExp,s=p.prototype,l=/a/g,h=/a/g,v=new p(l)!==l;if(t(29)&&(!v||t(35)(function(){return h[t(128)("match")]=!1,p(l)!=l||p(h)==h||"/a/i"!=p(l,"i")}))){for(var p=function(t,n){var r=this instanceof p,e=c(t),i=void 0===n;return!r&&e&&t.constructor===p&&i?t:o(v?new a(e&&!i?t.source:t,n):a((e=t instanceof p)?t.source:t,e&&i?f.call(t):n),r?this:s,p)},d=u(a),y=0;d.length>y;)!function(n){n in p||i(p,n,{configurable:!0,get:function(){return a[n]},set:function(t){a[n]=t}})}(d[y++]);(s.constructor=p).prototype=s,t(94)(e,"RegExp",p)}t(100)("RegExp")},{100:100,128:128,29:29,35:35,37:37,40:40,45:45,52:52,72:72,77:77,94:94}],225:[function(t,n,r){t(29)&&"g"!=/./g.flags&&t(72).f(RegExp.prototype,"flags",{configurable:!0,get:t(37)})},{29:29,37:37,72:72}],226:[function(t,n,r){t(36)("match",1,function(e,i,t){return[function(t){var n=e(this),r=null==t?void 0:t[i];return void 0!==r?r.call(t,n):new RegExp(t)[i](String(n))},t]})},{36:36}],227:[function(t,n,r){t(36)("replace",2,function(i,o,u){return[function(t,n){var r=i(this),e=null==t?void 0:t[o];return void 0!==e?e.call(t,r,n):u.call(String(r),t,n)},u]})},{36:36}],228:[function(t,n,r){t(36)("search",1,function(e,i,t){return[function(t){var n=e(this),r=null==t?void 0:t[i];return void 0!==r?r.call(t,n):new RegExp(t)[i](String(n))},t]})},{36:36}],229:[function(n,t,r){n(36)("split",2,function(i,o,u){var v,p=n(52),d=u,y=[].push,t="split",g="length",m="lastIndex";return"c"=="abbc"[t](/(b)*/)[1]||4!="test"[t](/(?:)/,-1)[g]||2!="ab"[t](/(?:ab)*/)[g]||4!="."[t](/(.?)(.?)/)[g]||1<"."[t](/()()/)[g]||""[t](/.?/)[g]?(v=void 0===/()??/.exec("")[1],u=function(t,n){var r=String(this);if(void 0===t&&0===n)return[];if(!p(t))return d.call(r,t,n);var e,i,o,u,c,f=[],a=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,l=void 0===n?4294967295:n>>>0,h=new RegExp(t.source,a+"g");for(v||(e=new RegExp("^"+h.source+"$(?!\\s)",a));(i=h.exec(r))&&!(s<(o=i.index+i[0][g])&&(f.push(r.slice(s,i.index)),!v&&1=l));)h[m]===i.index&&h[m]++;return s===r[g]?!u&&h.test("")||f.push(""):f.push(r.slice(s)),f[g]>l?f.slice(0,l):f}):"0"[t](void 0,0)[g]&&(u=function(t,n){return void 0===t&&0===n?[]:d.call(this,t,n)}),[function(t,n){var r=i(this),e=null==t?void 0:t[o];return void 0!==e?e.call(t,r,n):u.call(String(r),t,n)},u]})},{36:36,52:52}],230:[function(n,t,r){n(225);function e(t){n(94)(RegExp.prototype,c,t,!0)}var i=n(7),o=n(37),u=n(29),c="toString",f=/./[c];n(35)(function(){return"/a/b"!=f.call({source:"a",flags:"b"})})?e(function(){var t=i(this);return"/".concat(t.source,"/","flags"in t?t.flags:!u&&t instanceof RegExp?o.call(t):void 0)}):f.name!=c&&e(function(){return f.call(this)})},{225:225,29:29,35:35,37:37,7:7,94:94}],231:[function(t,n,r){var e=t(19),i=t(125);n.exports=t(22)("Set",function(t){return function(){return t(this,0>10),n%1024+56320))}return r.join("")}})},{114:114,33:33}],242:[function(t,n,r){var e=t(33),i=t(107),o="includes";e(e.P+e.F*t(34)(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,1=t.length?{value:void 0,done:!0}:(t=e(t,n),this._i+=t.length,{value:t,done:!1})})},{106:106,55:55}],245:[function(t,n,r){t(108)("link",function(n){return function(t){return n(this,"a","href",t)}})},{108:108}],246:[function(t,n,r){var e=t(33),u=t(117),c=t(118);e(e.S,"String",{raw:function(t){for(var n=u(t.raw),r=c(n.length),e=arguments.length,i=[],o=0;oi;)f(F,n=r[i++])||n==M||n==D||e.push(n);return e}function u(t){for(var n,r=t===j,e=X(r?A:g(t)),i=[],o=0;e.length>o;)!f(F,n=e[o++])||r&&!f(j,n)||i.push(F[n]);return i}var c=t(40),f=t(41),a=t(29),s=t(33),l=t(94),D=t(66).KEY,h=t(35),v=t(103),p=t(101),G=t(124),d=t(128),U=t(127),W=t(126),V=t(59),B=t(32),z=t(49),y=t(7),g=t(117),m=t(120),b=t(92),w=t(71),Y=t(76),q=t(75),J=t(72),K=t(81),H=q.f,S=J.f,X=Y.f,x=c.Symbol,_=c.JSON,E=_&&_.stringify,O="prototype",M=d("_hidden"),$=d("toPrimitive"),Z={}.propertyIsEnumerable,P=v("symbol-registry"),F=v("symbols"),A=v("op-symbols"),j=Object[O],v="function"==typeof x,N=c.QObject,I=!N||!N[O]||!N[O].findChild,L=a&&h(function(){return 7!=w(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=H(j,n);e&&delete j[n],S(t,n,r),e&&t!==j&&S(j,n,e)}:S,T=v&&"symbol"==_typeof(x.iterator)?function(t){return"symbol"==_typeof(t)}:function(t){return t instanceof x},R=function(t,n,r){return t===j&&R(A,n,r),y(t),n=m(n,!0),y(r),f(F,n)?(r.enumerable?(f(t,M)&&t[M][n]&&(t[M][n]=!1),r=w(r,{enumerable:b(0,!1)})):(f(t,M)||S(t,M,b(1,{})),t[M][n]=!0),L(t,n,r)):S(t,n,r)};v||(l((x=function(){if(this instanceof x)throw TypeError("Symbol is not a constructor!");var r=G(0tt;)d(Q[tt++]);for(var nt=K(d.store),rt=0;nt.length>rt;)W(nt[rt++]);s(s.S+s.F*!v,"Symbol",{for:function(t){return f(P,t+="")?P[t]:P[t]=x(t)},keyFor:function(t){if(T(t))return V(P,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){I=!0},useSimple:function(){I=!1}}),s(s.S+s.F*!v,"Object",{create:function(t,n){return void 0===n?w(t):r(w(t),n)},defineProperty:R,defineProperties:r,getOwnPropertyDescriptor:i,getOwnPropertyNames:o,getOwnPropertySymbols:u}),_&&s(s.S+s.F*(!v||h(function(){var t=x();return"[null]"!=E([t])||"{}"!=E({a:t})||"{}"!=E(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!T(t)){for(var r,n=[t],e=1;e>>=0,r>>>=0;return(n>>>0)+(e>>>0)+((t&r|(t|r)&~(t+r>>>0))>>>31)|0}})},{33:33}],282:[function(t,n,r){t=t(33);t(t.S,"Math",{imulh:function(t,n){var t=+t,n=+n,r=65535&t,e=65535&n,t=t>>16,n=n>>16,e=(t*e>>>0)+(r*e>>>16);return t*n+(e>>16)+((r*n>>>0)+(65535&e)>>16)}})},{33:33}],283:[function(t,n,r){t=t(33);t(t.S,"Math",{isubh:function(t,n,r,e){t>>>=0,r>>>=0;return(n>>>0)-(e>>>0)-((~t&r|~(t^r)&t-r>>>0)>>>31)|0}})},{33:33}],284:[function(t,n,r){t=t(33);t(t.S,"Math",{RAD_PER_DEG:180/Math.PI})},{33:33}],285:[function(t,n,r){var t=t(33),e=Math.PI/180;t(t.S,"Math",{radians:function(t){return t*e}})},{33:33}],286:[function(t,n,r){var e=t(33);e(e.S,"Math",{scale:t(64)})},{33:33,64:64}],287:[function(t,n,r){t=t(33);t(t.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:0>>16,n=n>>>16,e=(t*e>>>0)+(r*e>>>16);return t*n+(e>>>16)+((r*n>>>0)+(65535&e)>>>16)}})},{33:33}],289:[function(t,n,r){var e=t(33),i=t(119),o=t(3),u=t(72);t(29)&&e(e.P+t(74),"Object",{__defineGetter__:function(t,n){u.f(i(this),t,{get:o(n),enumerable:!0,configurable:!0})}})},{119:119,29:29,3:3,33:33,72:72,74:74}],290:[function(t,n,r){var e=t(33),i=t(119),o=t(3),u=t(72);t(29)&&e(e.P+t(74),"Object",{__defineSetter__:function(t,n){u.f(i(this),t,{set:o(n),enumerable:!0,configurable:!0})}})},{119:119,29:29,3:3,33:33,72:72,74:74}],291:[function(t,n,r){var e=t(33),i=t(84)(!0);e(e.S,"Object",{entries:function(t){return i(t)}})},{33:33,84:84}],292:[function(t,n,r){var e=t(33),f=t(85),a=t(117),s=t(75),l=t(24);e(e.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,r,e=a(t),i=s.f,o=f(e),u={},c=0;o.length>c;)void 0!==(r=i(e,n=o[c++]))&&l(u,n,r);return u}})},{117:117,24:24,33:33,75:75,85:85}],293:[function(t,n,r){var e=t(33),i=t(119),o=t(120),u=t(79),c=t(75).f;t(29)&&e(e.P+t(74),"Object",{__lookupGetter__:function(t){var n,r=i(this),e=o(t,!0);do{if(n=c(r,e))return n.get}while(r=u(r))}})},{119:119,120:120,29:29,33:33,74:74,75:75,79:79}],294:[function(t,n,r){var e=t(33),i=t(119),o=t(120),u=t(79),c=t(75).f;t(29)&&e(e.P+t(74),"Object",{__lookupSetter__:function(t){var n,r=i(this),e=o(t,!0);do{if(n=c(r,e))return n.set}while(r=u(r))}})},{119:119,120:120,29:29,33:33,74:74,75:75,79:79}],295:[function(t,n,r){var e=t(33),i=t(84)(!1);e(e.S,"Object",{values:function(t){return i(t)}})},{33:33,84:84}],296:[function(t,n,r){function i(t){return null==t?void 0:v(t)}function o(t){var n=t._c;n&&(t._c=void 0,n())}function u(t){return void 0===t._o}function c(t){u(t)||(t._o=void 0,o(t))}function e(n,t){p(n),this._c=void 0,this._o=n,n=new w(this);try{var r=t(n),e=r;null!=r&&("function"==typeof r.unsubscribe?r=function(){e.unsubscribe()}:v(r),this._c=r)}catch(t){return void n.error(t)}u(this)&&o(this)}var f=t(33),a=t(40),s=t(23),l=t(68)(),h=t(128)("observable"),v=t(3),p=t(7),d=t(6),y=t(93),g=t(42),m=t(39),b=m.RETURN,w=(e.prototype=y({},{unsubscribe:function(){c(this)}}),function(t){this._s=t}),S=(w.prototype=y({},{next:function(t){var n=this._s;if(!u(n)){var r=n._o;try{var e=i(r.next);if(e)return e.call(r,t)}catch(t){try{c(n)}finally{throw t}}}},error:function(t){var n=this._s;if(u(n))throw t;var r=n._o;n._o=void 0;try{var e=i(r.error);if(!e)throw t;t=e.call(r,t)}catch(t){try{o(n)}finally{throw t}}return o(n),t},complete:function(t){var n=this._s;if(!u(n)){var r=n._o;n._o=void 0;try{var e=i(r.complete);t=e?e.call(r,t):void 0}catch(t){try{o(n)}finally{throw t}}return o(n),t}}}),function(t){d(this,S,"Observable","_f")._f=v(t)});y(S.prototype,{subscribe:function(t){return new e(t,this._f)},forEach:function(e){var i=this;return new(s.Promise||a.Promise)(function(t,n){v(e);var r=i.subscribe({next:function(t){try{return e(t)}catch(t){n(t),r.unsubscribe()}},error:n,complete:t})})}}),y(S,{from:function(t){var n,r="function"==typeof this?this:S,e=i(p(t)[h]);return e?(n=p(e.call(t))).constructor===r?n:new r(function(t){return n.subscribe(t)}):new r(function(n){var r=!1;return l(function(){if(!r){try{if(m(t,!1,function(t){if(n.next(t),r)return b})===b)return}catch(t){if(r)throw t;return void n.error(t)}n.complete()}}),function(){r=!0}})},of:function(){for(var t=0,n=arguments.length,e=Array(n);t {
26 | return gulp.src(srcSCSS)
27 | .pipe(scssLint());
28 | });
29 |
30 | /**
31 | * SCSS task
32 | */
33 | gulp.task(`scss`, gulp.series(`scss-lint`, () => {
34 | return gulp.src(`scss/*.scss.liquid`)
35 | .pipe(sass({ outputStyle: `expanded` }).on(`error`, sass.logError))
36 | .pipe(autoprefixer({ cascade : false }))
37 | .pipe(rename((path) => {
38 | path.basename = path.basename.replace(`.scss`, `.css`)
39 | path.extname = `.liquid`;
40 | }))
41 | .pipe(replace(`"{{`, "{{"))
42 | .pipe(replace(`}}"`, "}}"))
43 | .pipe(cleanCss())
44 | .pipe(gulp.dest(assetsDir));
45 | }));
46 |
47 | /**
48 | * JS task
49 | *
50 | * Note: use npm to install libraries and add them below, like the babel-polyfill example
51 | */
52 | const jsFiles = [
53 | `./node_modules/babel-polyfill/dist/polyfill.js`,
54 | srcJS,
55 | ];
56 |
57 | gulp.task(`js`, () => {
58 | return gulp.src(jsFiles)
59 | .pipe(babel({
60 | presets: [`@babel/env`]
61 | }))
62 | .pipe(concat(`theme.js`))
63 | .pipe(uglify())
64 | .pipe(gulp.dest(assetsDir));
65 | });
66 |
67 | /**
68 | * Images task
69 | */
70 | gulp.task(`images`, () => {
71 | return gulp.src(`images/**`)
72 | .pipe(changed(assetsDir)) // ignore unchanged files
73 | .pipe(gulp.dest(assetsDir))
74 | });
75 |
76 | /**
77 | * Fonts task
78 | */
79 | gulp.task(`fonts`, () => {
80 | return gulp.src(`fonts/**`)
81 | .pipe(changed(assetsDir)) // ignore unchanged files
82 | .pipe(gulp.dest(assetsDir))
83 | });
84 |
85 | /**
86 | * Watch task
87 | */
88 | gulp.task(`watch`, () => {
89 | gulp.watch(srcSCSS, gulp.series(`scss`));
90 | gulp.watch(srcJS, gulp.series(`js`));
91 | gulp.watch(`images/*.{jpg,jpeg,png,gif,svg}`, gulp.series(`images`));
92 | gulp.watch(`fonts/*.{eot,svg,ttf,woff,woff2}`, gulp.series(`fonts`));
93 | });
94 |
95 | /**
96 | * Default task
97 | */
98 | gulp.task(`default`, gulp.series(`scss`, `js`, `images`, `fonts`));
99 |
--------------------------------------------------------------------------------
/dev/js/common.js:
--------------------------------------------------------------------------------
1 | document.addEventListener('DOMContentLoaded', () => {
2 |
3 | /**
4 | * Fixes vh unit in touch devices
5 | *
6 | * @since 1.0
7 | */
8 | const setupVh = () => {
9 |
10 | const setVh = () => {
11 |
12 | // get the viewport height and we multiple it by 1% to get a value for a vh unit
13 | let vh = window.innerHeight * 0.01;
14 |
15 | // set the value in the --vh custom property to the root of the document
16 | document.documentElement.style.setProperty(`--vh`, `${vh}px`);
17 |
18 | }
19 |
20 | setVh();
21 | window.addEventListener(`resize`, setVh, false);
22 |
23 | }
24 |
25 | /**
26 | * Chocks away!
27 | */
28 | setupVh();
29 |
30 | });
31 |
--------------------------------------------------------------------------------
/dev/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "theme-name",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "Jase Warner",
10 | "license": "ISC",
11 | "devDependencies": {
12 | "@babel/core": "^7.18.5",
13 | "@babel/preset-env": "^7.18.2",
14 | "bootstrap": "^5.1.3",
15 | "gulp": "^5.0.0",
16 | "gulp-autoprefixer": "^8.0.0",
17 | "gulp-babel": "^8.0.0",
18 | "gulp-changed": "^4.0.2",
19 | "gulp-clean-css": "^4.3.0",
20 | "gulp-concat": "^2.6.0",
21 | "gulp-rename": "^2.0.0",
22 | "gulp-replace": "^1.0.0",
23 | "gulp-sass": "^5.1.0",
24 | "gulp-scss-lint": "^1.0.0",
25 | "gulp-uglify": "^3.0.1",
26 | "node-sass": "^9.0.0"
27 | },
28 | "dependencies": {
29 | "babel-polyfill": "^6.26.0"
30 | },
31 | "browserslist": [
32 | "defaults"
33 | ]
34 | }
35 |
--------------------------------------------------------------------------------
/dev/scss/mixins/_helpers.scss:
--------------------------------------------------------------------------------
1 | // --------------------------------------------------
2 | // font size
3 |
4 | @function calculate-rem($size) {
5 | $rem-size: $size / 16px;
6 | @return $rem-size * 1rem;
7 | }
8 |
9 | @mixin font-size($size) {
10 | font-size: calculate-rem($size);
11 | }
12 |
13 | // --------------------------------------------------
14 | // svg background image
15 |
16 | $image-path: '{{ asset_url }}' !default;
17 |
18 | @mixin background-svg($name, $size: false) {
19 | background-image: url( #{'{{ "#{$name}.svg" | asset_url }}'} );
20 |
21 | @if ($size) {
22 | background-size: $size;
23 | }
24 | }
25 |
26 | // --------------------------------------------------
27 | // fonts
28 |
29 | //scss-lint:disable all
30 | @mixin font-file($asset-font-name) {
31 | src: url('{{ "#{$asset-font-name}.eot" | asset_url }}');
32 | src: url('{{ "#{$asset-font-name}.eot" | asset_url }}?#iefix') format("embedded-opentype"),
33 | url('{{ "#{$asset-font-name}.woff" | asset_url }}') format("woff"),
34 | url('{{ "#{$asset-font-name}.ttf" | asset_url }}') format("truetype"),
35 | url('{{ "#{$asset-font-name}.svg" | asset_url }}') format("svg");
36 | }
37 | //scss-lint:enable all
38 |
39 | // --------------------------------------------------
40 | // aspect ratio
41 | // e.g. @include aspect-ratio(16,9);
42 | // expects child to have class of `.content` (could be replaced with a wildcard `*`)
43 |
44 | @mixin aspect-ratio($width, $height) {
45 | position: relative;
46 |
47 | &::before {
48 | content: '';
49 | display: block;
50 | padding-top: ($height / $width) * 100%;
51 | width: 100%;
52 | }
53 |
54 | > .content {
55 | bottom: 0;
56 | left: 0;
57 | position: absolute;
58 | right: 0;
59 | top: 0;
60 | }
61 | }
62 |
63 | // --------------------------------------------------
64 | // links
65 |
66 | @mixin make-link($normal: $link-color, $hover: $link-hover-color, $active: $link-active-color) {
67 | color: $normal;
68 |
69 | &:hover {
70 | color: $hover;
71 | }
72 |
73 | &:active {
74 | color: $active;
75 | }
76 | }
77 |
78 | // --------------------------------------------------
79 | // viewport height fix
80 | // this fixes issue where address bar in touch devices messes `vh` up
81 |
82 | //scss-lint:disable all
83 | @mixin vh-height-min($height: 100) {
84 | min-height: #{$height}vh; // fallback for browsers that do not support Custom Props
85 | min-height: calc(var(--vh) * #{$height});
86 | }
87 |
88 | @mixin vh-height($height: 100) {
89 | height: #{$height}vh; // fallback for browsers that do not support Custom Props
90 | height: calc(var(--vh) * #{$height});
91 | }
92 | //scss-lint:enable all
93 |
--------------------------------------------------------------------------------
/dev/scss/mixins/_type.scss:
--------------------------------------------------------------------------------
1 | @mixin h1() {
2 | // styles
3 | }
4 |
5 | @mixin h2() {
6 | // styles
7 | }
8 |
9 | @mixin h3() {
10 | // styles
11 | }
12 |
13 | @mixin h4() {
14 | // styles
15 | }
16 |
17 | @mixin h5() {
18 | // styles
19 | }
20 |
21 | @mixin h6() {
22 | // styles
23 | }
24 |
25 | @mixin p() {
26 | // styles
27 | }
28 |
--------------------------------------------------------------------------------
/dev/scss/partials/_base.scss:
--------------------------------------------------------------------------------
1 | html {
2 | height: 100%;
3 | }
4 |
5 | body {
6 | -moz-osx-font-smoothing: grayscale;
7 | -webkit-font-smoothing: antialiased;
8 | min-height: 100%;
9 | }
10 |
--------------------------------------------------------------------------------
/dev/scss/partials/_type.scss:
--------------------------------------------------------------------------------
1 | h1,
2 | .h1 {
3 | @include h1();
4 | }
5 |
6 | h2,
7 | .h2 {
8 | @include h2();
9 | }
10 |
11 | h3,
12 | .h3 {
13 | @include h3();
14 | }
15 |
16 | h4,
17 | .h4 {
18 | @include h4();
19 | }
20 |
21 | h5,
22 | .h5 {
23 | @include h5();
24 | }
25 |
26 | h6,
27 | .h6 {
28 | @include h6();
29 | }
30 |
31 | p,
32 | .p {
33 | @include p();
34 | }
35 |
--------------------------------------------------------------------------------
/dev/scss/partials/_variables.scss:
--------------------------------------------------------------------------------
1 | // --------------------------------------------------
2 | // colours
3 |
4 | $color-black: #000;
5 | $color-grey: #ccc;
6 | $color-white: #fff;
7 |
8 | // links
9 |
10 | $link-color: $color-black;
11 | $link-hover-color: lighten($link-color, 5);
12 | $link-active-color: lighten($link-color, 10);
13 |
--------------------------------------------------------------------------------
/dev/scss/password.scss.liquid:
--------------------------------------------------------------------------------
1 | // --------------------------------------------------
2 | // variables (replace Bootstrap variable defaults)
3 |
4 | @import 'partials/variables';
5 |
6 | // --------------------------------------------------
7 | // bootstrap
8 |
9 | @import '../node_modules/bootstrap/scss/bootstrap-reboot';
10 | @import '../node_modules/bootstrap/scss/bootstrap-grid';
11 | @import '../node_modules/bootstrap/scss/bootstrap-utilities';
12 |
13 | // --------------------------------------------------
14 | // mixins
15 |
16 | @import 'mixins/helpers';
17 | @import 'mixins/type';
18 |
19 | // --------------------------------------------------
20 | // partials
21 |
22 | @import 'partials/base';
23 | @import 'partials/type';
24 |
25 | // --------------------------------------------------
26 | // sections
27 |
28 | @import 'sections/main-password';
29 |
--------------------------------------------------------------------------------
/dev/scss/sections/_footer.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/dev/scss/sections/_footer.scss
--------------------------------------------------------------------------------
/dev/scss/sections/_header.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/dev/scss/sections/_header.scss
--------------------------------------------------------------------------------
/dev/scss/sections/_main-password.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/dev/scss/sections/_main-password.scss
--------------------------------------------------------------------------------
/dev/scss/snippets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/dev/scss/snippets/.gitkeep
--------------------------------------------------------------------------------
/dev/scss/theme.scss.liquid:
--------------------------------------------------------------------------------
1 | // --------------------------------------------------
2 | // variables (replace Bootstrap variable defaults)
3 |
4 | @import 'partials/variables';
5 |
6 | // --------------------------------------------------
7 | // bootstrap
8 |
9 | @import '../node_modules/bootstrap/scss/bootstrap-reboot';
10 | @import '../node_modules/bootstrap/scss/bootstrap-grid';
11 | @import '../node_modules/bootstrap/scss/bootstrap-utilities';
12 |
13 | // --------------------------------------------------
14 | // mixins
15 |
16 | @import 'mixins/helpers';
17 | @import 'mixins/type';
18 |
19 | // --------------------------------------------------
20 | // partials
21 |
22 | @import 'partials/base';
23 | @import 'partials/type';
24 |
25 | // --------------------------------------------------
26 | // sections
27 |
28 | @import 'sections/header';
29 | @import 'sections/footer';
30 |
31 | // --------------------------------------------------
32 | // snippets
33 |
--------------------------------------------------------------------------------
/layout/password.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {{ shop.name }}
9 |
10 | {% if page_description %}
11 |
12 | {% endif %}
13 |
14 |
15 |
16 |
17 | {% if settings.favicon != blank and settings.favicon contains '.png' %}
18 |
19 | {% elsif settings.favicon != blank and settings.favicon contains '.ico' %}
20 |
21 | {% endif %}
22 |
23 | {{ content_for_header }}
24 |
25 | {{ 'password.css' | asset_url | stylesheet_tag }}
26 |
27 |
28 |
29 |
30 | {{ content_for_layout }}
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/layout/theme.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{ page_title }}{% unless page_title contains shop.name %} – {{ shop.name }}{% endunless %}
8 |
9 | {% if page_description %}
10 |
11 | {% endif %}
12 |
13 |
14 |
15 |
16 | {% if settings.favicon != blank and settings.favicon contains '.png' %}
17 |
18 | {% elsif settings.favicon != blank and settings.favicon contains '.ico' %}
19 |
20 | {% endif %}
21 |
22 | {{ content_for_header }}
23 |
24 | {{ 'theme.css' | asset_url | stylesheet_tag }}
25 |
26 |
27 |
29 | {% section 'header' %}
30 |
31 | {{ content_for_layout }}
32 |
33 | {% section 'footer' %}
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/locales/en.default.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/sections/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/.gitkeep
--------------------------------------------------------------------------------
/sections/footer.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/footer.liquid
--------------------------------------------------------------------------------
/sections/header.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/header.liquid
--------------------------------------------------------------------------------
/sections/main-404.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/main-404.liquid
--------------------------------------------------------------------------------
/sections/main-article.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/main-article.liquid
--------------------------------------------------------------------------------
/sections/main-blog.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/main-blog.liquid
--------------------------------------------------------------------------------
/sections/main-cart.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/main-cart.liquid
--------------------------------------------------------------------------------
/sections/main-collection.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/main-collection.liquid
--------------------------------------------------------------------------------
/sections/main-list-collections.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/main-list-collections.liquid
--------------------------------------------------------------------------------
/sections/main-page.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/main-page.liquid
--------------------------------------------------------------------------------
/sections/main-password.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/main-password.liquid
--------------------------------------------------------------------------------
/sections/main-product.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/main-product.liquid
--------------------------------------------------------------------------------
/sections/main-search.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/sections/main-search.liquid
--------------------------------------------------------------------------------
/snippets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/snippets/.gitkeep
--------------------------------------------------------------------------------
/templates/404.json:
--------------------------------------------------------------------------------
1 | {
2 | "sections": {
3 | "main": {
4 | "type": "main-404",
5 | "settings": {}
6 | }
7 | },
8 | "order": [
9 | "main"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/templates/article.json:
--------------------------------------------------------------------------------
1 | {
2 | "sections": {
3 | "main": {
4 | "type": "main-article",
5 | "settings": {}
6 | }
7 | },
8 | "order": [
9 | "main"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/templates/blog.json:
--------------------------------------------------------------------------------
1 | {
2 | "sections": {
3 | "main": {
4 | "type": "main-blog",
5 | "settings": {}
6 | }
7 | },
8 | "order": [
9 | "main"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/templates/cart.json:
--------------------------------------------------------------------------------
1 | {
2 | "sections": {
3 | "main": {
4 | "type": "main-cart",
5 | "settings": {}
6 | }
7 | },
8 | "order": [
9 | "main"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/templates/collection.json:
--------------------------------------------------------------------------------
1 | {
2 | "sections": {
3 | "main": {
4 | "type": "main-collection",
5 | "settings": {}
6 | }
7 | },
8 | "order": [
9 | "main"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/templates/customers/account.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/templates/customers/account.liquid
--------------------------------------------------------------------------------
/templates/customers/activate_account.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/templates/customers/activate_account.liquid
--------------------------------------------------------------------------------
/templates/customers/addresses.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/templates/customers/addresses.liquid
--------------------------------------------------------------------------------
/templates/customers/login.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/templates/customers/login.liquid
--------------------------------------------------------------------------------
/templates/customers/order.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/templates/customers/order.liquid
--------------------------------------------------------------------------------
/templates/customers/register.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/templates/customers/register.liquid
--------------------------------------------------------------------------------
/templates/customers/reset_password.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/templates/customers/reset_password.liquid
--------------------------------------------------------------------------------
/templates/gift_card.liquid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jasewarner/gulp-shopify/6ed71dd03274d760a13c730fe9a4d57443f8fef8/templates/gift_card.liquid
--------------------------------------------------------------------------------
/templates/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "sections": {},
3 | "order": []
4 | }
5 |
--------------------------------------------------------------------------------
/templates/list-collections.json:
--------------------------------------------------------------------------------
1 | {
2 | "sections": {
3 | "main": {
4 | "type": "main-list-collections",
5 | "settings": {}
6 | }
7 | },
8 | "order": [
9 | "main"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/templates/page.json:
--------------------------------------------------------------------------------
1 | {
2 | "sections": {
3 | "main": {
4 | "type": "main-page",
5 | "settings": {}
6 | }
7 | },
8 | "order": [
9 | "main"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/templates/password.json:
--------------------------------------------------------------------------------
1 | {
2 | "layout": "password",
3 | "sections": {
4 | "main": {
5 | "type": "main-password",
6 | "settings": {}
7 | }
8 | },
9 | "order": [
10 | "main"
11 | ]
12 | }
--------------------------------------------------------------------------------
/templates/product.json:
--------------------------------------------------------------------------------
1 | {
2 | "sections": {
3 | "main": {
4 | "type": "main-product",
5 | "settings": {}
6 | }
7 | },
8 | "order": [
9 | "main"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/templates/search.json:
--------------------------------------------------------------------------------
1 | {
2 | "sections": {
3 | "main": {
4 | "type": "main-search",
5 | "settings": {}
6 | }
7 | },
8 | "order": [
9 | "main"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------