first commint

This commit is contained in:
unknown 2020-08-24 08:14:45 +03:00
commit d3c1db15d0
14 changed files with 6171 additions and 0 deletions

7
.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
/dev/*
/node_modules/*
/gulp/*
gulpfile.js
package.json
package-lock.json
README.md

632
build/index.html Normal file

File diff suppressed because one or more lines are too long

1356
build/static/css/styles.min.css vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -0,0 +1,39 @@
<svg width="139" height="44" viewBox="0 0 139 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M138.012 39.561C138.012 40.1401 137.909 40.7136 137.709 41.2487C137.509 41.7837 137.217 42.2698 136.848 42.6791C136.478 43.0884 136.04 43.413 135.558 43.6342C135.076 43.8554 134.559 43.969 134.038 43.9684H3.97942C2.92529 43.9696 1.91388 43.506 1.16763 42.6795C0.421371 41.8529 0.00137378 40.7312 0 39.561V4.41318C0.00137315 3.2424 0.421205 2.12008 1.16731 1.29265C1.91342 0.465213 2.92481 0.000303898 3.97942 0H134.037C134.559 -1.97112e-08 135.075 0.114159 135.558 0.335956C136.04 0.557753 136.478 0.882843 136.847 1.29266C137.216 1.70248 137.509 2.18899 137.709 2.72442C137.908 3.25984 138.011 3.83369 138.011 4.41318L138.012 39.561Z" fill="white"/>
<path d="M45.1407 7.39257C45.1407 7.13892 45.0478 6.93774 44.8619 6.78905C44.6782 6.63817 44.4191 6.56273 44.0845 6.56273C43.8046 6.56273 43.5696 6.64036 43.3793 6.79561C43.1913 6.94868 43.0973 7.13892 43.0973 7.36633H42.4675C42.4675 7.11268 42.5364 6.88526 42.6741 6.68409C42.8141 6.48292 43.0087 6.32658 43.258 6.21506C43.5073 6.10135 43.7828 6.0445 44.0845 6.0445C44.6181 6.0445 45.0324 6.16476 45.3276 6.40529C45.6228 6.64364 45.7704 6.97601 45.7704 7.40241C45.7704 7.62326 45.7027 7.82443 45.5671 8.00592C45.4315 8.18742 45.2424 8.33064 44.9996 8.4356C45.5616 8.62365 45.8426 8.99648 45.8426 9.55407C45.8426 9.98266 45.683 10.3227 45.3637 10.5741C45.0445 10.8256 44.6181 10.9513 44.0845 10.9513C43.7675 10.9513 43.4788 10.8956 43.2186 10.7841C42.9606 10.6704 42.7594 10.5096 42.6151 10.3019C42.4708 10.0942 42.3986 9.84708 42.3986 9.56063H43.0284C43.0284 9.8121 43.1279 10.022 43.3269 10.1904C43.5258 10.3566 43.7784 10.4397 44.0845 10.4397C44.4278 10.4397 44.7012 10.3599 44.9045 10.2002C45.1101 10.0406 45.2128 9.82959 45.2128 9.56719C45.2128 9.00741 44.8663 8.72205 44.1731 8.71112H43.5827V8.19288H44.1698C44.4891 8.18632 44.7307 8.11416 44.8947 7.9764C45.0587 7.83864 45.1407 7.64403 45.1407 7.39257ZM49.3161 9.63935H47.3153L46.866 10.8857H46.2165L48.0402 6.1101H48.5912L50.4182 10.8857H49.772L49.3161 9.63935ZM47.5056 9.12111H49.1291L48.3157 6.88745L47.5056 9.12111ZM54.0229 6.62833H51.7203V10.8857H51.0873V6.1101H54.0229V6.62833ZM55.43 9.01616V10.8857H54.8002V6.1101H56.5616C57.0842 6.1101 57.4931 6.24348 57.7883 6.51025C58.0857 6.77703 58.2344 7.13017 58.2344 7.56969C58.2344 8.03326 58.0889 8.39077 57.7981 8.64224C57.5095 8.89152 57.0951 9.01616 56.555 9.01616H55.43ZM55.43 8.5012H56.5616C56.8983 8.5012 57.1563 8.42248 57.3356 8.26504C57.5149 8.10542 57.6046 7.87582 57.6046 7.57625C57.6046 7.29198 57.5149 7.06457 57.3356 6.89401C57.1563 6.72345 56.9103 6.63489 56.5976 6.62833H55.43V8.5012ZM60.6779 8.88168L61.7767 6.1101H62.5082L60.819 10.0887C60.7053 10.3424 60.5992 10.5228 60.5008 10.6299C60.4024 10.7349 60.2865 10.8158 60.1531 10.8726C60.0219 10.9273 59.8568 10.9546 59.6579 10.9546C59.4851 10.9546 59.3747 10.9448 59.3266 10.9251L59.3463 10.4265L59.6447 10.4397C59.8743 10.4397 60.0449 10.3292 60.1564 10.1084L60.2384 9.93783L60.3631 9.64591L58.7362 6.1101H59.4414L60.6779 8.88168ZM65.7127 7.39257C65.7127 7.13892 65.6198 6.93774 65.4339 6.78905C65.2502 6.63817 64.9911 6.56273 64.6565 6.56273C64.3767 6.56273 64.1416 6.64036 63.9514 6.79561C63.7633 6.94868 63.6693 7.13892 63.6693 7.36633H63.0395C63.0395 7.11268 63.1084 6.88526 63.2462 6.68409C63.3861 6.48292 63.5807 6.32658 63.83 6.21506C64.0793 6.10135 64.3548 6.0445 64.6565 6.0445C65.1901 6.0445 65.6045 6.16476 65.8997 6.40529C66.1949 6.64364 66.3425 6.97601 66.3425 7.40241C66.3425 7.62326 66.2747 7.82443 66.1391 8.00592C66.0035 8.18742 65.8144 8.33064 65.5717 8.4356C66.1336 8.62365 66.4146 8.99648 66.4146 9.55407C66.4146 9.98266 66.255 10.3227 65.9357 10.5741C65.6165 10.8256 65.1901 10.9513 64.6565 10.9513C64.3395 10.9513 64.0508 10.8956 63.7906 10.7841C63.5326 10.6704 63.3314 10.5096 63.1871 10.3019C63.0428 10.0942 62.9706 9.84708 62.9706 9.56063H63.6004C63.6004 9.8121 63.6999 10.022 63.8989 10.1904C64.0979 10.3566 64.3504 10.4397 64.6565 10.4397C64.9999 10.4397 65.2732 10.3599 65.4765 10.2002C65.6821 10.0406 65.7849 9.82959 65.7849 9.56719C65.7849 9.00741 65.4383 8.72205 64.7451 8.71112H64.1547V8.19288H64.7418C65.0611 8.18632 65.3027 8.11416 65.4667 7.9764C65.6307 7.83864 65.7127 7.64403 65.7127 7.39257ZM70.262 6.1101H70.8918V10.8857H70.262V7.20561L67.9103 10.8857H67.2772V6.1101H67.9103V9.79023L70.262 6.1101ZM75.241 6.62833H73.706V10.8857H73.0795V6.62833H71.5478V6.1101H75.241V6.62833ZM76.6121 8.0584H77.7994C78.298 8.06496 78.6872 8.19288 78.9671 8.44216C79.247 8.69144 79.3869 9.03037 79.3869 9.45895C79.3869 9.88972 79.2459 10.233 78.9638 10.4889C78.6817 10.7447 78.2969 10.877 77.8093 10.8857H75.9823V6.1101H76.6121V8.0584ZM76.6121 8.57664V10.3708H77.7633C78.076 10.3708 78.3187 10.2877 78.4915 10.1215C78.6664 9.95532 78.7539 9.73228 78.7539 9.45239C78.7539 9.18343 78.6697 8.97133 78.5013 8.81608C78.3351 8.66082 78.0979 8.58101 77.7896 8.57664H76.6121ZM85.5566 10.8857H84.9235V8.67832H82.516V10.8857H81.8863V6.1101H82.516V8.16336H84.9235V6.1101H85.5566V10.8857ZM89.3712 9.63935H87.3704L86.921 10.8857H86.2716L88.0953 6.1101H88.6463L90.4732 10.8857H89.8271L89.3712 9.63935ZM87.5606 9.12111H89.1842L88.3708 6.88745L87.5606 9.12111Z" fill="#828282"/>
<path d="M69.1282 23.2117C66.7267 23.2117 64.8255 25.0128 64.8255 27.5144C64.8255 29.9159 66.7267 31.8171 69.1282 31.8171C71.5297 31.8171 73.4309 30.016 73.4309 27.5144C73.4309 24.9128 71.5297 23.2117 69.1282 23.2117ZM69.1282 30.016C67.8274 30.016 66.7267 28.9153 66.7267 27.4143C66.7267 25.9134 67.8274 24.8127 69.1282 24.8127C70.429 24.8127 71.5297 25.8133 71.5297 27.4143C71.5297 28.9153 70.429 30.016 69.1282 30.016ZM59.8224 23.2117C57.4209 23.2117 55.5197 25.0128 55.5197 27.5144C55.5197 29.9159 57.4209 31.8171 59.8224 31.8171C62.2239 31.8171 64.1251 30.016 64.1251 27.5144C64.1251 24.9128 62.2239 23.2117 59.8224 23.2117ZM59.8224 30.016C58.5216 30.016 57.4209 28.9153 57.4209 27.4143C57.4209 25.9134 58.5216 24.8127 59.8224 24.8127C61.1232 24.8127 62.2239 25.8133 62.2239 27.4143C62.2239 28.9153 61.1232 30.016 59.8224 30.016ZM48.7154 24.5125V26.3137H53.0181C52.9181 27.3143 52.5178 28.1148 52.0175 28.6151C51.4171 29.2155 50.4165 29.9159 48.7154 29.9159C46.0138 29.9159 44.0125 27.8146 44.0125 25.1129C44.0125 22.4112 46.1138 20.3099 48.7154 20.3099C50.1163 20.3099 51.217 20.9103 52.0175 21.6107L53.3183 20.3099C52.2176 19.3093 50.8168 18.5088 48.8155 18.5088C45.2133 18.5088 42.1113 21.5107 42.1113 25.1129C42.1113 28.7152 45.2133 31.717 48.8155 31.717C50.8168 31.717 52.2176 31.1167 53.4184 29.8158C54.6191 28.6151 55.0194 26.914 55.0194 25.6132C55.0194 25.213 55.0194 24.8127 54.9193 24.5125H48.7154ZM94.1438 25.9134C93.7435 24.9128 92.7429 23.2117 90.5415 23.2117C88.3402 23.2117 86.539 24.9128 86.539 27.5144C86.539 29.9159 88.3402 31.8171 90.7416 31.8171C92.6428 31.8171 93.8436 30.6163 94.2438 29.9159L92.843 28.9153C92.3427 29.6157 91.7423 30.116 90.7416 30.116C89.741 30.116 89.1407 29.7158 88.6403 28.8152L94.3439 26.4137L94.1438 25.9134ZM88.3402 27.3143C88.3402 25.7133 89.641 24.8127 90.5415 24.8127C91.242 24.8127 91.9424 25.213 92.1425 25.7133L88.3402 27.3143ZM83.6372 31.4168H85.5384V18.909H83.6372V31.4168ZM80.6353 24.1123C80.135 23.612 79.3345 23.1117 78.3339 23.1117C76.2326 23.1117 74.2314 25.0128 74.2314 27.4143C74.2314 29.8158 76.1325 31.617 78.3339 31.617C79.3345 31.617 80.135 31.1167 80.5353 30.6163H80.6353V31.2167C80.6353 32.8177 79.7348 33.7183 78.3339 33.7183C77.2332 33.7183 76.4327 32.9178 76.2326 32.2173L74.6316 32.9178C75.1319 34.0185 76.3327 35.4193 78.434 35.4193C80.6354 35.4193 82.4365 34.1185 82.4365 31.0166V23.4118H80.6353V24.1123ZM78.434 30.016C77.1332 30.016 76.0325 28.9153 76.0325 27.4143C76.0325 25.9134 77.1332 24.8127 78.434 24.8127C79.7348 24.8127 80.7354 25.9134 80.7354 27.4143C80.7354 28.9153 79.7348 30.016 78.434 30.016ZM102.849 18.909H98.3464V31.4168H100.248V26.7139H102.849C104.951 26.7139 106.952 25.213 106.952 22.8115C106.952 20.41 104.951 18.909 102.849 18.909ZM102.949 24.9128H100.248V20.6101H102.949C104.35 20.6101 105.151 21.8108 105.151 22.7114C105.051 23.8121 104.25 24.9128 102.949 24.9128ZM114.456 23.1117C113.056 23.1117 111.655 23.712 111.154 25.0128L112.855 25.7133C113.256 25.0128 113.856 24.8127 114.557 24.8127C115.557 24.8127 116.458 25.4131 116.558 26.4137V26.5138C116.258 26.3137 115.457 26.0135 114.657 26.0135C112.855 26.0135 111.054 27.0141 111.054 28.8152C111.054 30.5163 112.555 31.617 114.156 31.617C115.457 31.617 116.057 31.0166 116.558 30.4162H116.658V31.4168H118.459V26.6138C118.259 24.4125 116.558 23.1117 114.456 23.1117ZM114.256 30.016C113.656 30.016 112.755 29.7158 112.755 28.9153C112.755 27.9147 113.856 27.6145 114.757 27.6145C115.557 27.6145 115.957 27.8146 116.458 28.0147C116.258 29.2155 115.257 30.016 114.256 30.016ZM124.763 23.4118L122.662 28.8152H122.561L120.36 23.4118H118.359L121.661 31.0166L119.76 35.2192H121.661L126.764 23.4118H124.763ZM107.952 31.4168H109.854V18.909H107.952V31.4168Z" fill="#828282"/>
<path d="M11.3922 8.90234C11.092 9.20253 10.9919 9.70284 10.9919 10.3032V32.417C10.9919 33.0174 11.1921 33.5177 11.4923 33.8179L11.5923 33.9179L24.0001 21.5102V21.3101L11.3922 8.90234Z" fill="url(#paint0_linear)"/>
<path d="M28.0027 25.7123L23.9001 21.6098V21.3096L28.0027 17.207L28.1028 17.3071L33.0058 20.1088C34.4067 20.9093 34.4067 22.2102 33.0058 23.0107L28.0027 25.7123Z" fill="url(#paint1_linear)"/>
<path d="M28.1025 25.6128L23.8999 21.4102L11.3921 33.918C11.8924 34.4183 12.5928 34.4183 13.4934 34.018L28.1025 25.6128Z" fill="url(#paint2_linear)"/>
<path d="M28.1025 17.2074L13.4934 8.90217C12.5928 8.40186 11.8924 8.50192 11.3921 9.00224L23.8999 21.41L28.1025 17.2074Z" fill="url(#paint3_linear)"/>
<path opacity="0.2" d="M28.0024 25.5127L13.4934 33.7178C12.6929 34.2181 11.9925 34.1181 11.4922 33.7178L11.3921 33.8179L11.4922 33.9179C11.9925 34.3182 12.6929 34.4182 13.4934 33.9179L28.0024 25.5127Z" fill="black"/>
<path opacity="0.2" d="M11.3922 33.7178C11.092 33.4176 10.9919 32.9173 10.9919 32.317V32.417C10.9919 33.0174 11.1921 33.5177 11.4923 33.8179V33.7178H11.3922ZM33.0057 22.711L28.0026 25.5127L28.1026 25.6128L33.0057 22.811C33.7061 22.4108 34.0063 21.9105 34.0063 21.4102C34.0063 21.9105 33.606 22.3107 33.0057 22.711Z" fill="black"/>
<path opacity="0.2" d="M13.4935 9.0029L33.0057 20.1098C33.606 20.5101 34.0063 20.9103 34.0063 21.4106C34.0063 20.9103 33.7061 20.41 33.0057 20.0098L13.4935 8.90283C12.0926 8.10234 10.9919 8.70271 10.9919 10.3037V10.4038C10.9919 8.90283 12.0926 8.2024 13.4935 9.0029Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear" x1="22.7993" y1="10.1131" x2="6.00583" y2="26.9056" gradientUnits="userSpaceOnUse">
<stop stop-color="#00A0FF"/>
<stop offset="0.007" stop-color="#00A1FF"/>
<stop offset="0.26" stop-color="#00BEFF"/>
<stop offset="0.512" stop-color="#00D2FF"/>
<stop offset="0.76" stop-color="#00DFFF"/>
<stop offset="1" stop-color="#00E3FF"/>
</linearGradient>
<linearGradient id="paint1_linear" x1="34.841" y1="21.4107" x2="10.6289" y2="21.4107" gradientUnits="userSpaceOnUse">
<stop stop-color="#FFE000"/>
<stop offset="0.409" stop-color="#FFBD00"/>
<stop offset="0.775" stop-color="#FFA500"/>
<stop offset="1" stop-color="#FF9C00"/>
</linearGradient>
<linearGradient id="paint2_linear" x1="25.8281" y1="23.7076" x2="3.0559" y2="46.4798" gradientUnits="userSpaceOnUse">
<stop stop-color="#FF3A44"/>
<stop offset="1" stop-color="#C31162"/>
</linearGradient>
<linearGradient id="paint3_linear" x1="8.28715" y1="1.5736" x2="18.4565" y2="11.7429" gradientUnits="userSpaceOnUse">
<stop stop-color="#32A071"/>
<stop offset="0.069" stop-color="#2DA771"/>
<stop offset="0.476" stop-color="#15CF74"/>
<stop offset="0.801" stop-color="#06E775"/>
<stop offset="1" stop-color="#00F076"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -0,0 +1,3 @@
<svg width="29" height="29" viewBox="0 0 29 29" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M23.8356 14.5C23.8356 9.33562 19.6644 5.14783 14.5 5.14783C9.33562 5.14783 5.14783 9.33562 5.14783 14.5C5.14783 19.6644 9.33562 23.8356 14.5 23.8356C19.6644 23.8356 23.8356 19.6644 23.8356 14.5ZM23.6701 3.87329C22.8259 3.87329 22.1638 4.55194 22.1638 5.37957C22.1638 6.20719 22.8259 6.88584 23.6701 6.88584C24.4977 6.88584 25.1764 6.20719 25.1764 5.37957C25.1764 4.55194 24.4977 3.87329 23.6701 3.87329ZM6.85274 1.72146H22.1473C24.9777 1.72146 27.2785 4.02226 27.2785 6.85274V22.1473C27.2785 24.9777 24.9777 27.2785 22.1473 27.2785H6.85274C4.02226 27.2785 1.72146 24.9777 1.72146 22.1473V6.85274C1.72146 4.02226 4.02226 1.72146 6.85274 1.72146ZM22.1473 0H6.85274C3.09532 0 0 3.07877 0 6.85274V22.1473C0 25.9047 3.09532 29 6.85274 29H22.1473C25.9212 29 29 25.9047 29 22.1473V6.85274C29 3.07877 25.9212 0 22.1473 0ZM7.10103 14.5C7.10103 10.4115 10.4115 7.08448 14.5 7.08448C18.5885 7.08448 21.899 10.4115 21.899 14.5C21.899 18.5885 18.5885 21.899 14.5 21.899C10.4115 21.899 7.10103 18.5885 7.10103 14.5Z" fill="#828282"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

View File

@ -0,0 +1,4 @@
<svg width="29" height="29" viewBox="0 0 29 29" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.85274 1.72146H22.1473C24.9777 1.72146 27.2785 4.02226 27.2785 6.85274V22.1473C27.2785 24.9777 24.9777 27.2785 22.1473 27.2785H6.85274C4.02226 27.2785 1.72146 24.9777 1.72146 22.1473V6.85274C1.72146 4.02226 4.02226 1.72146 6.85274 1.72146ZM22.1473 0H6.85274C3.09532 0 0 3.07877 0 6.85274V22.1473C0 25.9047 3.09532 29 6.85274 29H22.1473C25.9212 29 29 25.9047 29 22.1473V6.85274C29 3.07877 25.9212 0 22.1473 0Z" fill="#828282"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M23.8548 8.91357C23.5897 8.71506 22.6309 8.71506 21.6824 8.71506C20.7134 8.73596 19.7547 8.73596 19.5201 8.82999C19.3161 8.90312 18.8572 10.0524 18.2554 11.2435C17.5618 12.5704 16.7255 13.8659 16.1849 13.845C15.4914 13.845 15.6546 11.651 15.7056 10.0315C15.7158 8.96581 15.5526 8.62103 15.3996 8.52699C15.0324 8.26579 14.0329 8.01504 14.0329 8.01504C14.0329 8.01504 11.0139 7.78519 10.5855 9.12253C11.1669 9.19567 12.1562 9.01805 11.7686 13.145C11.738 13.354 11.3096 15.0466 9.90214 12.7584C9.55536 12.1838 8.20904 8.73596 7.73988 8.71506C6.18958 8.68372 4.64947 8.61058 4.11911 8.91357C3.60914 9.21656 4.78207 11.5883 6.77094 14.754C8.37223 17.366 10.0857 19.3825 13.0435 19.8944C13.6045 19.9467 15.0426 20.0094 15.5118 19.79C15.8178 19.6332 15.4302 17.3974 16.4909 17.1675C16.9499 17.0839 18.7552 19.5183 19.4385 19.79C19.8465 19.9571 20.7542 20.0303 21.6824 19.9885C22.6921 19.9571 23.8344 20.093 23.9466 19.3825C24.1914 17.8362 20.897 15.8197 20.8052 14.8689C20.7236 14.1794 22.0088 12.9152 22.6615 11.9435C23.4673 10.7733 24.3546 9.36284 23.8548 8.91357Z" fill="#828282"/>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

4047
build/static/js/jquery-3.3.1.min.js vendored Normal file

File diff suppressed because it is too large Load Diff

1
build/static/js/libs.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(a,b){"function"==typeof define&&define.amd?define([],function(){return a.svg4everybody=b()}):"object"==typeof module&&module.exports?module.exports=b():a.svg4everybody=b()}(this,function(){function a(a,b,c){if(c){var d=document.createDocumentFragment(),e=!b.hasAttribute("viewBox")&&c.getAttribute("viewBox");e&&b.setAttribute("viewBox",e);for(var f=c.cloneNode(!0);f.childNodes.length;)d.appendChild(f.firstChild);a.appendChild(d)}}function b(b){b.onreadystatechange=function(){if(4===b.readyState){var c=b._cachedDocument;c||(c=b._cachedDocument=document.implementation.createHTMLDocument(""),c.body.innerHTML=b.responseText,b._cachedTarget={}),b._embeds.splice(0).map(function(d){var e=b._cachedTarget[d.id];e||(e=b._cachedTarget[d.id]=c.getElementById(d.id)),a(d.parent,d.svg,e)})}},b.onreadystatechange()}function c(c){function e(){for(var c=0;c<o.length;){var h=o[c],i=h.parentNode,j=d(i),k=h.getAttribute("xlink:href")||h.getAttribute("href");if(!k&&g.attributeName&&(k=h.getAttribute(g.attributeName)),j&&k){if(f)if(!g.validate||g.validate(k,j,h)){i.removeChild(h);var l=k.split("#"),q=l.shift(),r=l.join("#");if(q.length){var s=m[q];s||(s=m[q]=new XMLHttpRequest,s.open("GET",q),s.send(),s._embeds=[]),s._embeds.push({parent:i,svg:j,id:r}),b(s)}else a(i,j,document.getElementById(r))}else++c,++p}else++c}(!o.length||o.length-p>0)&&n(e,67)}var f,g=Object(c),h=/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/,i=/\bAppleWebKit\/(\d+)\b/,j=/\bEdge\/12\.(\d+)\b/,k=/\bEdge\/.(\d+)\b/,l=window.top!==window.self;f="polyfill"in g?g.polyfill:h.test(navigator.userAgent)||(navigator.userAgent.match(j)||[])[1]<10547||(navigator.userAgent.match(i)||[])[1]<537||k.test(navigator.userAgent)&&l;var m={},n=window.requestAnimationFrame||setTimeout,o=document.getElementsByTagName("use"),p=0;f&&e()}function d(a){for(var b=a;"svg"!==b.nodeName.toLowerCase()&&(b=b.parentNode););return b}return c});

76
build/static/js/main.js Normal file
View File

@ -0,0 +1,76 @@
"use strict";
if (window.matchMedia("(max-width: 954px)").matches) {
var popup_filter = document.getElementById('popup-filter');
var cart_x = document.getElementById('cartx');
var html_tag = document.getElementsByTagName('html')[0];
var priceblock = document.getElementsByClassName('priceblock')[0];
var popup = document.getElementsByClassName('popup')[0];
priceblock.onclick = function () {
// блюрим и запрещаем управление сайтом
html_tag.classList.toggle('open-modal');
popup.classList.toggle('open-popup');
cart_x.classList.toggle('side-open');
};
}
new Glide('.glide', {
type: 'carousel',
startAt: 0,
perView: 3,
gap: 40,
rewindDuration: 2000,
animationDuration: 1000,
breakpoints: {
1200: {
perView: 1
},
640: {
perView: 1
}
}
}).mount(); // forEach IE 11
if ('NodeList' in window && !NodeList.prototype.forEach) {
console.info('polyfill for IE11');
NodeList.prototype.forEach = function (callback, thisArg) {
thisArg = thisArg || window;
for (var i = 0; i < this.length; i++) {
callback.call(thisArg, this[i], i, this);
}
};
} // closest IE 11
(function () {
if (!Element.prototype.closest) {
Element.prototype.closest = function (css) {
var node = this;
while (node) {
if (node.matches(css)) return node;else node = node.parentElement;
}
return null;
};
}
})(); // matches IE 11
(function () {
if (!Element.prototype.matches) {
Element.prototype.matches = Element.prototype.matchesSelector || Element.prototype.webkitMatchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector;
}
})(); //Array.form IE 11
if (!Array.from) {
Array.from = function (object) {
'use strict';
return [].slice.call(object);
};
}