├── .gitignore ├── .next ├── build-manifest.json ├── cache │ ├── autodll-webpack-plugin │ │ ├── development_instance_0_b1399d37354688630a5361d26ec6706f │ │ │ ├── dll.manifest.json │ │ │ ├── dll_4b8bef20edde04f98d3f.js │ │ │ ├── dll_4b8bef20edde04f98d3f.js.map │ │ │ └── stats.json │ │ └── package.json.hash │ └── next-babel-loader │ │ ├── 001101f89a3a1d308947f96eeec7d872.json │ │ ├── 001154f11b50280495f0e105fdf731e9.json │ │ ├── 009c0586c7d3a0628b81a3b4887061a5.json │ │ ├── 012dfbc261a8c1ed174d58548e20610c.json │ │ ├── 0192afb2d047f534d25807cb88f48f13.json │ │ ├── 01a556af9404b3df97e68350f1713566.json │ │ ├── 01b6f4c4d80a16d5b3d38c3d6b90bf26.json │ │ ├── 01c5fbd7a63d5d4bd5ddcd350987d508.json │ │ ├── 01d445c7f64753a9c475baaf219ff99e.json │ │ ├── 0371794a0676727e13717d4cce3b06a6.json │ │ ├── 04223f1449fbee0e4756504cb0b347d5.json │ │ ├── 04977a9bd6224be73851d7877a14e29c.json │ │ ├── 0527560f776f6d3124a10b9c4455ee9d.json │ │ ├── 056118822e7816b03b0bbd0101f198ca.json │ │ ├── 05876488fae0db830575911737d5c458.json │ │ ├── 058e0f7c8e6c53c56f8e927af96bc933.json │ │ ├── 05b92b6fc71acc8dc3d80b9e99641033.json │ │ ├── 05e8fb2987f288ca158c2ec83c8bb811.json │ │ ├── 06a3689a505d665b870d4993fd73658c.json │ │ ├── 06bd8d3ede2fe21664d872aa49b5f2d5.json │ │ ├── 06e9a5eb491d90c8feac015414af6102.json │ │ ├── 076889c6a51e48af086d5bf418cb79e3.json │ │ ├── 0781036b93ea87ae045fd4c5f74d83fc.json │ │ ├── 08e79b13f7207997e584962fe063be68.json │ │ ├── 08f89a483519ca3604a2d34ca1fe630a.json │ │ ├── 092843c1c66f4719ec87a0fc9f00989d.json │ │ ├── 093337e733a10b3c094749ea7249ee92.json │ │ ├── 093ac928898539e2eff2ada1f8009bae.json │ │ ├── 09fd869b98751aafb7d193ed01d512a9.json │ │ ├── 09fed29b5651229ddb154c34573c13b4.json │ │ ├── 0a85b96997a75a9621979db7db909d5c.json │ │ ├── 0b1c8687568f832db59313c3ee5427c7.json │ │ ├── 0b3d2624a66ea1932683b37686422121.json │ │ ├── 0b57f3969b11e427a635572e5b28a88b.json │ │ ├── 0bc869bda2f56bc905df1c648d6b6d46.json │ │ ├── 0c33f051884868731321f37002c84d14.json │ │ ├── 0cbe6bb3fa276f3265124f711733c400.json │ │ ├── 0cf1e4b7478101b7adcabe5902a88d4e.json │ │ ├── 0d09922633063d4cda9021f7a4b26397.json │ │ ├── 0d23cec316e3361b1fcfad2ed546bf61.json │ │ ├── 0d5dcd9fa282657258b4ba7cf6ecb861.json │ │ ├── 0da9312bd819269a26563a2c4f00e519.json │ │ ├── 0dd45519ea49ad4a70a024cedfdd4f77.json │ │ ├── 0ddba1a5788cd0edc8a96a5a336b8f82.json │ │ ├── 0df3888cd022f0d115e29dd23f546d3e.json │ │ ├── 0e5247a19e9998a48670bca45e467f28.json │ │ ├── 0f81b01e2dc7d1326a6c62c23f6986c3.json │ │ ├── 1020f69d5764056d85b9efdd72ba0d2a.json │ │ ├── 10612388eb14bc78a8494e2810ff1321.json │ │ ├── 10d1ced47bfddf010ab30e3071d73536.json │ │ ├── 10f0e0284785298a1cd53ea15e2f8da6.json │ │ ├── 1224bef07375029266f99bec69eb87a9.json │ │ ├── 12608380888ef7965d2ac2eb146e1db3.json │ │ ├── 126ddd5f1f9724d4d9ef3c6562b4a792.json │ │ ├── 126e230c8d0378c6c7d05312a6971590.json │ │ ├── 12ce2bf6323783a7e570f404afd925e4.json │ │ ├── 12e3d6a5efa1f0cf8a118a60060c2f88.json │ │ ├── 13580b5e8286f98dcc578884d0989c26.json │ │ ├── 13ae6268e4c90a5176dd4e46b7a0e11c.json │ │ ├── 144420ef6c652e32785a0d62c4c49633.json │ │ ├── 1460fe886166fb58b3cee1b5ebc5c747.json │ │ ├── 14d252a9c7978b324811be16611f1e87.json │ │ ├── 14d36f8a4946d01b39164dbc6ac79183.json │ │ ├── 15420195a47d32b658af47fdf791b00d.json │ │ ├── 16725386f6d2a62cd4ea3b2fce0b79af.json │ │ ├── 170e7bfa70d2da62725f31fb1d17b90a.json │ │ ├── 1748944468a239ecede85f9aa56ba4c7.json │ │ ├── 178715d951f4196aea1918ddcd7261f5.json │ │ ├── 179eb3e0766af3c8c6e771d0d97fb228.json │ │ ├── 17a2bb0a60e0fa88d803d1d935851f21.json │ │ ├── 18640b2276aa216490bc7823cb48fe88.json │ │ ├── 18f0ded502b30f9fda77b0fc8018f90c.json │ │ ├── 199f0ef677e58cbf6482ebea5ebdf140.json │ │ ├── 1a1c49bc3a9bb9aeef52a501f5808665.json │ │ ├── 1a7c5b4ecd74d17d07b45a53a0727e03.json │ │ ├── 1ac47428e2b57a522eedb9ee2bf79b64.json │ │ ├── 1acae66ef3266eca1443881cf0b82dda.json │ │ ├── 1baac6ffd7c265121c89cb7aa4c32150.json │ │ ├── 1c01162fa764c63947491f5ba12bfd9e.json │ │ ├── 1c3c4dca95d0184e5e997a1c1bad5833.json │ │ ├── 1c67b57bc4f6f4e6a6bfc2e11928e9fe.json │ │ ├── 1ccdf1aa9421e3708fe44bc6ba6877d6.json │ │ ├── 1cde7a60bb947744923b95c8758b0162.json │ │ ├── 1da2e317ff81b93d46f472cde584889a.json │ │ ├── 1dadd2775dbf48901b29062d0fcda32c.json │ │ ├── 1e167d6129aa6c7fdf3c8b9323e31f44.json │ │ ├── 1e8a25b7fa872bf3221847ac0bf7f1e4.json │ │ ├── 1ec612340647a2cef8c93c6dbb914936.json │ │ ├── 1f92ed6c021a06dc8d8d671e2e90d41d.json │ │ ├── 2023c453b3295e12dd48c135592f0704.json │ │ ├── 206c4e596c753374e33af90fd09894f0.json │ │ ├── 20f62e46e0483bcef12afdb68a719320.json │ │ ├── 21175aa75290337b544de4f0e965f1fa.json │ │ ├── 21a69c559f1204730dae49f79472d4ba.json │ │ ├── 226aa639457ef07e1faf5019727126c7.json │ │ ├── 229625c2865b481f76fb9e351d03a41c.json │ │ ├── 2298317a5c4ab5e54687b4dabb6c0dff.json │ │ ├── 22a285ac5d823f9a7bb8e6a88e2a975f.json │ │ ├── 22bc9602479b554daf847d1b73197373.json │ │ ├── 232c7b71cb19e502c7815edfdcb81554.json │ │ ├── 251857dacf218f6e0669c26da9e5ea4d.json │ │ ├── 251cf049de4d0078afd691586547ee57.json │ │ ├── 2574a541706d9f80253ca6c9dbf28f78.json │ │ ├── 25952ba8486dfd2fccf2fd4701eff468.json │ │ ├── 25d1a5a26f73970af6e3fd063355ad59.json │ │ ├── 2658f7f610be96902ed14462d1c3f55f.json │ │ ├── 271dbc100b6ee0437f901d42b2180622.json │ │ ├── 276c1bb6f85a44e56297c8e8b09d7b42.json │ │ ├── 27caef3bb872aa05357d6fa10ee7ff36.json │ │ ├── 288e1a55f03bbbf06de8fa5ad460bb6e.json │ │ ├── 29491101ae4c5dd18d7988558de4ee9d.json │ │ ├── 2988b0f84e738a592ccfe7a5fdbb63ea.json │ │ ├── 29bc8cdb0a04b9e54d77377a3d21ad04.json │ │ ├── 2af6a0beceea268c50b59170f48f898f.json │ │ ├── 2b0845db4f447be46baaacca9c70d107.json │ │ ├── 2b878bdf671faf662c11e05c5d2a5272.json │ │ ├── 2b91e6655db51d240b39dcbe3f2d6d75.json │ │ ├── 2bc5a1ecd0da269539b08f94045dc415.json │ │ ├── 2c2b7ac2b98b294659f1415047d9c866.json │ │ ├── 2c609ae26d81d2b55f490dc4b18838c4.json │ │ ├── 2e84a6389f16f494a5d9a7c92b1e541d.json │ │ ├── 2efc5cc266f205f07dcfd57f3d929617.json │ │ ├── 2f117df44d020f152cb4681323082fcd.json │ │ ├── 2f6907b26c2fcd16da613a0cd479c07f.json │ │ ├── 2f8305497686e2d0228b6aec741255b7.json │ │ ├── 30116f4f79d6e2d22a51009950bb6f34.json │ │ ├── 301cca0c6dc11f46c3aa794c5e33a3ac.json │ │ ├── 302debae06d07cabfab28bc44081b15d.json │ │ ├── 30b70a69fa10d8e6d041ee4e4de511cf.json │ │ ├── 30d33a18727ddb9e963aadee47801546.json │ │ ├── 3113d272b45613673ad8d1830f3176ea.json │ │ ├── 31c3c29f53a4140714259b249dcd89f4.json │ │ ├── 31c43337bed6c4889d5cfe75d20acadc.json │ │ ├── 325f0b2d2e7b767dc1cb1c4b3e8d265f.json │ │ ├── 326965cd2a549f9fb10ef6d0f6baccf3.json │ │ ├── 3393998b0dacd0f31da5f81734840c3c.json │ │ ├── 339b043a5178051df9e1985f3d314e3d.json │ │ ├── 33c61f3c534a7fcf519da0864b7e90f6.json │ │ ├── 33f1af9c3a74b57d3b451238d47a3867.json │ │ ├── 33f4930ae7ecd9e3bd38b6b7639cc90a.json │ │ ├── 34511ee3c43ab703af59a7ba7f9378f5.json │ │ ├── 3463fe702a5b855c8cf43b380bdc25e2.json │ │ ├── 349b6943e73b55b3f0d78cd205d4ca3a.json │ │ ├── 34ad74b8c5502e85f4fa28bf234bf55d.json │ │ ├── 3508d779b1322d69dc0701bb99924571.json │ │ ├── 358a7318738395cc6d6070afb57eb7f4.json │ │ ├── 35ebfcdf78fa60a62830f73ee159134f.json │ │ ├── 3612390554271118f6b506b9c085e2a1.json │ │ ├── 3680a5f5bc781bd944bdd434fdb719cb.json │ │ ├── 372d11094f038cdcd88696dc27849fa4.json │ │ ├── 375e7e1998b4a0af99efd8a086a8f75d.json │ │ ├── 397e840b464aab0d1d204ec5d899faf6.json │ │ ├── 398880ce156fc96e20883c871ec4bcc5.json │ │ ├── 39ac36ef1430ed0573a5706bade41b75.json │ │ ├── 39acae4f1b3e9dd005566f830594d844.json │ │ ├── 3a4872a41219c74b38f99d1e10b8ec54.json │ │ ├── 3a74577efce6f62ea8c4ac2009c3b9ea.json │ │ ├── 3a997d4a0fea7140068fd24fa1f21b0b.json │ │ ├── 3aa8f313041bb566ee573af622c23f3d.json │ │ ├── 3ada8ea0ccc976d3ab7ca5820b5f68a4.json │ │ ├── 3b4ad5eed09819308129019970f1f0d0.json │ │ ├── 3b4c64b4fce44b85b29ea970c3184724.json │ │ ├── 3ba0d9eaccc14b6051404ccba8f69166.json │ │ ├── 3c1996edc7a66b3a66330ecf8a2f2449.json │ │ ├── 3c30207d65d8615e2a12da2140e28fcd.json │ │ ├── 3c93f79c67fd67fac83a88a75562c19e.json │ │ ├── 3d39fa7ea9e93dba1fd186ebb69807c2.json │ │ ├── 3e38241bf8220c1655149c881eb24e1a.json │ │ ├── 3e440d7a024c6726d4f5a2fedde6b975.json │ │ ├── 3e703d6532a4a3c615a45b8878eab6ae.json │ │ ├── 3eac6129db54c972db654bd7be8dfb5a.json │ │ ├── 3ebfea14f16612bd77652e76c5f170ae.json │ │ ├── 3ed3965b1f9231b050ca2ba6e3f34adb.json │ │ ├── 3f004f21a4eabe8135ad7c40c24b454c.json │ │ ├── 405433b1490f631d370327aebafab8cf.json │ │ ├── 409ef4b5674ed205f6a01c0c0f064715.json │ │ ├── 4148e3b5b507ec1198889d8a887cca20.json │ │ ├── 41730e92d5f13d35bf959cabe096ea2b.json │ │ ├── 423704e5d05b0eaac59a08c65d5ff7fc.json │ │ ├── 426a803d7d8bd5fa34b172eef1548cab.json │ │ ├── 4289d7ae319be842ae66dc514f68e75f.json │ │ ├── 4328f7d41410378f97df27bcb3e0f6ef.json │ │ ├── 432ffe6f86bd300e539d1e1ff87d86d2.json │ │ ├── 433a19349f65acd117d1858c2371b584.json │ │ ├── 43b1f89bb0d8a6c1c575c9682a48b734.json │ │ ├── 4426a64363f843cb764dbc055d3d53ed.json │ │ ├── 442adbe89b1f4cb4d040b33cc622992e.json │ │ ├── 44f3fd9469a4af4636a1066729b3e86e.json │ │ ├── 451d8c7701fe4fb8098c08ef37e30f9c.json │ │ ├── 4565d39428556cf4f8ef462f54ccea60.json │ │ ├── 4598d44b0ff689dff68afb79efeb24e0.json │ │ ├── 46342f3c996921ef835e97eae09b4637.json │ │ ├── 466b0218f5f19aeed75ba0225a0dc2aa.json │ │ ├── 4696dfdf023252c29c95b512578f349b.json │ │ ├── 46e5fd643ced3d27e914c8864d56c3cf.json │ │ ├── 46ed88577e8550b00842333296ecacb4.json │ │ ├── 47357dacba3c8971fc958c2ea306aa37.json │ │ ├── 48199cc47d04128cbbbeb2199db33626.json │ │ ├── 48b8ce133d486782510c65c9338d1297.json │ │ ├── 49233a1c25d5bc4a2ed383ace19400b1.json │ │ ├── 494255a47d5fd8a54990aa460897afa4.json │ │ ├── 496c796b776ee5a84680bf575d642315.json │ │ ├── 49a00c17153c8e99ad21d03a8381b80e.json │ │ ├── 49bf87993bf599df0e93235a553c7a57.json │ │ ├── 49e6a86e780a2138aa2d09f5ad765820.json │ │ ├── 49fc7f06403d959118c6b03c7e42d9b7.json │ │ ├── 4a50748a07ace98fa69a5dcc27de2086.json │ │ ├── 4a685168f757d233eb4ec2c425601bdc.json │ │ ├── 4ac41a7b8ee3af32c2d4bc76ac7b08dd.json │ │ ├── 4af1442df9a76b89ac1cea18147a5a6d.json │ │ ├── 4c2af244f37901e43a54d92f442bc242.json │ │ ├── 4c5d0b25eeb747cad6600928a060eb8f.json │ │ ├── 4c6c1bee49ebe95e39b6b30f165bb723.json │ │ ├── 4cc788dc4c1473dd6413064cf0f5d5bc.json │ │ ├── 4d349221bf9f426f96a164d8dc791131.json │ │ ├── 4df7aaf5397ac418d3391e7f58a61af9.json │ │ ├── 4e52023cc4c7325434d6a093802be3c8.json │ │ ├── 4e874a4f5c0c27ac8e6b949de893ad2c.json │ │ ├── 4e94364387d32d7ee49ad95cbb601333.json │ │ ├── 4ea616fc5dea5f36747ff7f9b9bd1ed0.json │ │ ├── 4eda5e3b6574a4e3e3dd59b53401eab7.json │ │ ├── 4ef7efd97f4379527d7b322707b1f758.json │ │ ├── 4f14737da3e1eb09ebc2dae431b83391.json │ │ ├── 4f19a2241812a5fded57130e08596d8b.json │ │ ├── 4f1e038587ce2260b2c55a8293fd4558.json │ │ ├── 4f3b41dba3e1fda5b6cb02501d37cad1.json │ │ ├── 4fcb8d793160b22b8e72672d9c16ff80.json │ │ ├── 505a2765886ce83c6e83ad3040e1ccfa.json │ │ ├── 505bcb0b14acc5ff8373eadd9be41c4b.json │ │ ├── 514f57f54113facfa639e50068ec6d0d.json │ │ ├── 51631c18188323aeeed42aa6e64ff622.json │ │ ├── 51ae517bf08be0fe2a04638f16a5f484.json │ │ ├── 528855d89b41670abf7854512a4aa27c.json │ │ ├── 52a576804333074e3f5ae011283ca542.json │ │ ├── 52fd990112152e1a3657e7d9bb9a58bc.json │ │ ├── 5330989b5e461449660afbfacb27062a.json │ │ ├── 53cf76658fde1120413efabe12412aad.json │ │ ├── 53dd067abe9b1977cafffa57c15c7e5f.json │ │ ├── 5501382f3768c56f61ac56f854758332.json │ │ ├── 553c01bd9d1443cd2779a1b52da0cd1b.json │ │ ├── 55c60cab755d9195615737d2bf4533b6.json │ │ ├── 56876cd7446c6b2b265fa40499880cc0.json │ │ ├── 56cc33088a766d916207d9871e5a31d4.json │ │ ├── 56f7fe6a7536f8265248e362c4385626.json │ │ ├── 5711aa6343ab4ff71334a05ca023cf60.json │ │ ├── 57910655799126d52bfdf1872d0470e4.json │ │ ├── 5791fc9a80a23ffdf6990618f6faba26.json │ │ ├── 584a4223df9476ced0c6793b42c9a80d.json │ │ ├── 58cc38db3851c8e71a9e337a31f4914f.json │ │ ├── 59b80722bef571bf0f36313a63aba71a.json │ │ ├── 5a69a925355005d33bdfc1a090041ac6.json │ │ ├── 5a7a40f14cd4bf8708b415bbbde629b3.json │ │ ├── 5b746cf212f3154c227b7a4dc82605d3.json │ │ ├── 5bb042bae64a7d5040061733fe832d65.json │ │ ├── 5bddc1fd241edea22265bba8babdda94.json │ │ ├── 5ce534c50594874c53f94d57cd73d19e.json │ │ ├── 5d04da4efcc8dd3775ee0bd9aec9edf0.json │ │ ├── 5d08731019dbc9179b8866e52e1cdfa9.json │ │ ├── 5d0d6e9e1124dadaa6dc7c3e9a8b513d.json │ │ ├── 5d247b4aa7f7f1af981a6d400aceffb9.json │ │ ├── 5d61d4885b2c7d88bca584330273fca9.json │ │ ├── 5d8316fcba97d3cc8e28c25101aaaf48.json │ │ ├── 5def902827c664a2e956adb536260c32.json │ │ ├── 5e066da61b18473ffe689c41762a4e28.json │ │ ├── 5e260f4bd5d1a0fc5475912ff366b991.json │ │ ├── 5e66846494bd7ea799f6102fe67cf35b.json │ │ ├── 6045a64e90550ecfd4385bee77c038fe.json │ │ ├── 6063f391f11d93a153885bb973169072.json │ │ ├── 6073e9b2383fd5784a5e2d73203cd22b.json │ │ ├── 6093d27403e476586d8455842d0294f0.json │ │ ├── 615ae17834ec5b537c9a88e235167ef2.json │ │ ├── 626889299293370e7a3111e967e1e9ed.json │ │ ├── 6297d5a1e82b3c78d5168f14cc919783.json │ │ ├── 62b04b1ea8355f275d22568f8afb933f.json │ │ ├── 62d29012844fab87718b6a768064925b.json │ │ ├── 62dceed3aff148151fc5e4e04852e232.json │ │ ├── 640703496480107b8ecfe5703da5c1ba.json │ │ ├── 64312da5d05154e9e3d6558e310d4279.json │ │ ├── 647d0277d97e8f155ee8a868534e8b7d.json │ │ ├── 64b19cfadc64e7027adb836376a2c6d9.json │ │ ├── 656b87e2a30ea8182191ef18f351bb6a.json │ │ ├── 6587bdae21bc8d60f6eef9c9132f5651.json │ │ ├── 662d6339cf5f54f984a776cc5a98138f.json │ │ ├── 668fb2fc2f56d9a0714a9586d339d556.json │ │ ├── 66964b12bef7765d43f104aedd41f5dd.json │ │ ├── 66c9957d52b0dadd6d55adec02caa651.json │ │ ├── 672f841f24238c954285b5d930f942df.json │ │ ├── 67fd9373be81c0fbb505f0d85db34782.json │ │ ├── 6825ae26eb9aabe76adc680abe91ece7.json │ │ ├── 689c939e7854d1fd5fd6707d05c896f1.json │ │ ├── 689e9325bef9c4255b856fd40dc3ea1f.json │ │ ├── 6a3b58ab89496c4f6a78fae4c21db547.json │ │ ├── 6ae4a36ccf93d3d779fdb342a40e3517.json │ │ ├── 6b2ffc7b2466af246be13c63d350b64b.json │ │ ├── 6b7e236eeda995ad1405e47c87435119.json │ │ ├── 6be63588b8ad72d7ed139c40080c19d3.json │ │ ├── 6c6a1e2fbb9c601e6f1761ca91f8427e.json │ │ ├── 6cbf83e3d2f7716e463505750de904e2.json │ │ ├── 6d8c89d26b28e55d4a9bcdf26a7d45a7.json │ │ ├── 6dc92adad1debcf9835107b6086cab98.json │ │ ├── 6e6fb4e6ca46c04f4342e29c4f902dfc.json │ │ ├── 6eec4c1a0d096b9f84a7a30d98ff2360.json │ │ ├── 6fe4dc668574db60c2b71fe78af69df6.json │ │ ├── 6fee56f3b609d263dfcebea513134734.json │ │ ├── 7001c800a3486a7bff3b67171adc33c7.json │ │ ├── 7081f0c26e5f932e46c280f3558a2fc4.json │ │ ├── 7086a20f5af66db3b44794a36f9d76ef.json │ │ ├── 71113de3ef7a507cdc61c0a2b38af87e.json │ │ ├── 72336d57e876ba664d21966031b95da8.json │ │ ├── 727ea7450dec13719b6de6969206d944.json │ │ ├── 72e490f3a27136170368537b384e8fb2.json │ │ ├── 731c04254bf1df2461ae655b7708c1f0.json │ │ ├── 732622abb145f6bbf84d78234ae628c6.json │ │ ├── 736fd974ac156e07fa5d17611517a205.json │ │ ├── 73da66038ef9f87c102e98080edc172e.json │ │ ├── 74fcfe4fc5ec0896bf77b91c23c7d729.json │ │ ├── 74fd20d19a4fc1d3eebbbe139f991a58.json │ │ ├── 7539326922ed34599277bda8671f6a59.json │ │ ├── 755b0ffd0496d2888a0e42a2ce2cb18f.json │ │ ├── 75a6712b53c924e521545858aaa4ef73.json │ │ ├── 76a4c7b0931e77a3a4de27d46aaf2265.json │ │ ├── 76a8625dce4107a4cc6b2449e5d48950.json │ │ ├── 76c9b3b86d8ae9c6a9edaccaff7a98d3.json │ │ ├── 7721ae1ac164857d75d853292fa70ec6.json │ │ ├── 7723e09eb84ffa1eda7119ae8bfbdeda.json │ │ ├── 780f83a06bd460a6e4328987c4e81c43.json │ │ ├── 78133257df4f85aa9aa78708784c92a8.json │ │ ├── 78f7baba4e2ac65c05eb3d353ea3638a.json │ │ ├── 79a6c71b0c45d9bf57ad7cbd8c115f0b.json │ │ ├── 79b5695b27d3107c5edbf4d2f597fc18.json │ │ ├── 79cac406b561744188bc86db097fcb51.json │ │ ├── 7a5ce93735d0c24dc3a12b090e5b80bd.json │ │ ├── 7a63a2769ec5e186060e2a27e3f5fcd3.json │ │ ├── 7b27eabc1854bd54cbeda042cb03ea56.json │ │ ├── 7b298c747a0110cc585ad307d6542496.json │ │ ├── 7b2ef55893e1664861b36413b7a678b3.json │ │ ├── 7b55661baf9d701598866d27fe7c4e39.json │ │ ├── 7bbd7a42ac47dfc7db28f69267d583a6.json │ │ ├── 7d0a637a9b697a64725d4b99ec128ca1.json │ │ ├── 7d56cd87b16bb13844c0f6c3bf4ebb9a.json │ │ ├── 7d7d47be022c3652d61023edbce6a495.json │ │ ├── 7d8652d91d4239fdc9b73f3c54a8f5cd.json │ │ ├── 7def6a67ecfdd1b20c2296e954afc7e9.json │ │ ├── 7e97d481a9bbbd09ad53fa05f4f5b53f.json │ │ ├── 7eaefcfde7f1ba16dfb7dc3135e9abd7.json │ │ ├── 7f2734843fb8df0166e0b86b9d1c492a.json │ │ ├── 7fc6ad04b4b43d664069756b779a3868.json │ │ ├── 7fd1e08c73e7c85b9a87bc950af2735e.json │ │ ├── 8055f010f4d85273f227587ac35836bc.json │ │ ├── 812b1eb5aa024e42f02ddab68281be2c.json │ │ ├── 81afd60c3e1fb4c73953026905f0400b.json │ │ ├── 824cd5df1e4060338e7b2caaee39a5ff.json │ │ ├── 82ed730f3142aca65c3260a960798b11.json │ │ ├── 833dcf393faa7629edfca7efa761dfb2.json │ │ ├── 83434764def84feb88d86d910024d21b.json │ │ ├── 83d9ab15365d7e39441e2253be872b0f.json │ │ ├── 8422f71bef7ab70bbd30489057c1cfce.json │ │ ├── 84c254abcde46abca84baf7351422c64.json │ │ ├── 84c3d4264d320f91310209d148fbac1b.json │ │ ├── 84eaccff90536b792151e3a0ca552109.json │ │ ├── 850063a0b5ddaf0ae510829a925e6cf2.json │ │ ├── 85f8a5d9be299949452a051142087033.json │ │ ├── 8602da430bd79f92a2248775f4b84fb1.json │ │ ├── 86047fb55bf60b3c673db749acb190b4.json │ │ ├── 868eba3436b44741b7858d5f628e53fe.json │ │ ├── 873e824a6d20bcc2bc717bfb1d0c6143.json │ │ ├── 8764225fd4d49f7f05f438f7939f9dcc.json │ │ ├── 88452e1fce053c7d19fa5cc70d2df899.json │ │ ├── 8869f1b349e2aac579e298e1110e8d3c.json │ │ ├── 88fdfbf92ed478cb9640ca35f2eb1ab1.json │ │ ├── 8aa7e1025aa993cca5f910cad0d8ea55.json │ │ ├── 8c0f4047bdfdbf15d21914f08bb6e1e0.json │ │ ├── 8c880af181cbaca62637e95e246dd6f2.json │ │ ├── 8dad28efcbe8bf774adb25e5fcb2fd8a.json │ │ ├── 8ee80262ab6772f208c061330778a775.json │ │ ├── 8f5cc78b01755856681aefc23848ba1c.json │ │ ├── 8facbcdb628dc6e0b24ac4358e874c0a.json │ │ ├── 906055067ebd49316fd20d165523a3ef.json │ │ ├── 90645b95d0273e75643fac5b15ddca92.json │ │ ├── 90fd3a7d19840bb7bf3d49b02d41d357.json │ │ ├── 911e0cd8f9b4bf17dcbe055b7b228583.json │ │ ├── 916bfedb857c843e7f2a594ced410e7a.json │ │ ├── 917b62e44d1258a72de6957402e8b731.json │ │ ├── 925a03ef325927533392b4bb2d843929.json │ │ ├── 9369bf09d33b32c7eab7500cb924d443.json │ │ ├── 937335b8572ebdc8b9a61d0b73dd0512.json │ │ ├── 937ce741a6ddda9cf550085266f8e939.json │ │ ├── 94134b634993510fd32e0ed3b446f5f4.json │ │ ├── 94377dc52fa471303d123df3ee8890ff.json │ │ ├── 94c1931042c85d4a4f2826b9183e51fe.json │ │ ├── 94d1a0fc739dcd4aafbd016766fd5bc5.json │ │ ├── 952a6c47118d4c0f440516870d0a27f9.json │ │ ├── 95415349b35ef648876b9aefd9b32601.json │ │ ├── 954ac4b6731327da699118c494fcf7da.json │ │ ├── 95a1c61d9ec2fabf8cf23b93dd132c5b.json │ │ ├── 95ad08b2793f77da69e0409a18ce49bd.json │ │ ├── 95d463e55b28fa1adefa6f9249ff210e.json │ │ ├── 95df571ff705d9a5dc6d84875fb68538.json │ │ ├── 964b0158c876603868059a5d5a88e1ec.json │ │ ├── 96a31062701e9e64dafef38f6480185c.json │ │ ├── 96dec046daf8f65d1d58841d3898acd0.json │ │ ├── 96fc3cf7c732211a16648372dea681fc.json │ │ ├── 970e8eb1a397b80166c69ef7b5bddf9d.json │ │ ├── 972f6940aa7e2a64105ab0b287964cb8.json │ │ ├── 97892a73d14685a60e07a231d930b6bc.json │ │ ├── 97b0167eb0430549d60421480457a511.json │ │ ├── 980ffeb0f8f05ae9e9dfa0b962e1a9e4.json │ │ ├── 98a6de752a6df8f73abdf6df7123a4ff.json │ │ ├── 98e3dbac5fce5e91b3f2d59a0c1a3ea9.json │ │ ├── 99382bcaee186c91d6f2230193f0f6c2.json │ │ ├── 998bd9e421cbbd3e9dabf227ac355a09.json │ │ ├── 9a87878706301c1792a1db0a89135ea4.json │ │ ├── 9ae0178a53cdb44c99b1a9cfe7cb187a.json │ │ ├── 9b07f369ca1f38a9d68c6e9a8c383580.json │ │ ├── 9c0c1973431488655ac72fc2cee2efeb.json │ │ ├── 9ca8a1748a7a92ff019bfd3ac948c2d3.json │ │ ├── 9d0536be8d55694d1099d5c3e3caa6fd.json │ │ ├── 9decb49bb576016608b3a11c67accb8e.json │ │ ├── 9df3ec6c75b6f11a16f6edabd4abdbec.json │ │ ├── 9e0757191412ad29c1e4e16c5339b897.json │ │ ├── 9e2e1f3b81362243b2042c009bbe1270.json │ │ ├── 9e48c70f40c106047d69e92e344b0fef.json │ │ ├── 9e5020223c5ccbd1d460591b304f3974.json │ │ ├── 9f0fdda0b1897e7056841d8003e541f2.json │ │ ├── 9f60e3e0efdd82f171327d0f87fdcbcb.json │ │ ├── 9fcb9fe1f097908931a25a4b17b719a9.json │ │ ├── 9fe3d4ded14e93f4fdafb8ca637c4be5.json │ │ ├── 9ff4e4366bcaf5dbbbfb4bb932370809.json │ │ ├── a05dd8498df4622a6d55c1b2ba040465.json │ │ ├── a1d67795b603a20becfe48c81b652dff.json │ │ ├── a1e6fb0f58f04dca4c4203c5ff7f1ef7.json │ │ ├── a2515c55907b338651efbf14eec17a09.json │ │ ├── a2c3edcbe2cf255add5dd964c32679da.json │ │ ├── a30c55777a1e5f05602d0715a3cb1e67.json │ │ ├── a43a5311db23fc83c3fc7dcfe11ed20f.json │ │ ├── a46063d4c1e53853feaf7be1d4c23a6d.json │ │ ├── a4656a3c50e4d90c481a7c927e96af98.json │ │ ├── a4d41c9e8d50a51d6a4bed44177f1044.json │ │ ├── a51d61c778a660a96b31903653367d1f.json │ │ ├── a58fda1716e91c23be863c54c72aedda.json │ │ ├── a614278f6f7f170bccedfef3ecc4580b.json │ │ ├── a6483177e4a01f8204281bb3d640afb5.json │ │ ├── a6bf772f77cb355a1249d848e9755c91.json │ │ ├── a6e215a3c5721c128fd8b7005260a8d1.json │ │ ├── a7c23342dc6aef000a01981065df50c8.json │ │ ├── a89e02f4a5055f4da48dd4ddc4f90521.json │ │ ├── a904f91b906f3e06c2f82b8b967408da.json │ │ ├── a91ae11d0c7f177e462e456afda0b9de.json │ │ ├── a9349f6af30523c1b134ecf75fc80cc4.json │ │ ├── a97ef662bc4e6bd32f734e4443691267.json │ │ ├── a9ba413814a0a792abdb1e5acc7f1965.json │ │ ├── a9c7dc8cacea7f16129c92d53ac4336c.json │ │ ├── aa28cf020a9206ee8da8aa284d702761.json │ │ ├── aa36d67160b925f5a3b740862c20c7b0.json │ │ ├── aa94c2d700b7a260a42d53cc52c709ca.json │ │ ├── ab703ea4020815fc7a7549868ba3c8bc.json │ │ ├── ac3781c259d334daaebf7d7714ac9365.json │ │ ├── ac442441a64821acc7f36153cd13a661.json │ │ ├── acd1df0ff9dfcff38ad28de6dcc30b2f.json │ │ ├── acf332a7ba23dc5948e03f570dc6836f.json │ │ ├── ad2501eee373d6d4da9acc4382d85e1b.json │ │ ├── adb3154da60ca7722e148fab36d3eec9.json │ │ ├── ae32771c42f5c0f227ff120479a646aa.json │ │ ├── aec181819b08416cf383dca6ef2110cc.json │ │ ├── aed5378c29de144ebef5b2531aeeae2e.json │ │ ├── af3704fde804f1117c0463d46115ba3b.json │ │ ├── af417c15698b706b8ea1b992277df891.json │ │ ├── b020eca9beab1d1c7a69b7f3d8bccbd9.json │ │ ├── b1f39a091710e9dd7140ff8f96572e9d.json │ │ ├── b2168535ed3f9bffe1dfe6888a925c81.json │ │ ├── b27345176c721d564b4a0bec3a3ac600.json │ │ ├── b2bc3fad744206d59063f576c004962b.json │ │ ├── b3a46d4d1a80e7e9ecd61a6b5f038d33.json │ │ ├── b4341e3ab6e2e385dcb0c999f41a7a55.json │ │ ├── b4898a926789cbef0bd16ed76387e93f.json │ │ ├── b5185c3ca21fd746fd4116a2547ea302.json │ │ ├── b52c1acf1d42f153ab26d5b5e115c554.json │ │ ├── b575146d134aeea4deafdf49b0ec3366.json │ │ ├── b68c9221aba49b474fe7defa9a02d9ca.json │ │ ├── b69c18b7cab66688630950945115415e.json │ │ ├── b6c2a5ab6d5d30e08ff7c39540ee7741.json │ │ ├── b7e5b989d8763f2765358c08bf95ce2e.json │ │ ├── b830de1ba544e4dc5583b74cb76a0464.json │ │ ├── b832a8b0502368046f41bed6270a4f04.json │ │ ├── b85aaadf30d21167020ff85aa8c4c238.json │ │ ├── b8ceebb77485b309b9fc99d7c6d8dcd4.json │ │ ├── b94d8fe67afc996615bbcfa236bbe39f.json │ │ ├── b9cf99aa86f755736768e1de06d88136.json │ │ ├── ba486f99593cad31acfd9c1d8dbc04fe.json │ │ ├── babfcd9ec36ec8ae686a8f99d9202d06.json │ │ ├── bac17ebce9b58c99327e5e75283b42a5.json │ │ ├── baecafadb2a53a7a5293dd1dadbbf408.json │ │ ├── bb06295b4a47f3892d3169b6795b3910.json │ │ ├── bb84d314841b67d746458fe42279b9a8.json │ │ ├── bb99b0963aaf756934b9948f6d51754b.json │ │ ├── bcfc28ef80e3eac4b9e1a5141c8e8be5.json │ │ ├── bd3e31f67a1925ea654853f906561713.json │ │ ├── bd6106d7bb79382d8fe171ac396145ac.json │ │ ├── bda01a138ddbabed3c973fc7c347112a.json │ │ ├── be1e48c3184ed59e33ee4c71b0be7ee0.json │ │ ├── be6c6ff5c70d3ca81685d2efda62c504.json │ │ ├── beaf9e3e0c68a33872be7c107219d30c.json │ │ ├── bee5ad0a21aea4d3fe54c11a045c75a4.json │ │ ├── bf49b84364c25153f49ed8ce2254a10b.json │ │ ├── c056c04d1b3e9a503f2cdda7e80cd7e9.json │ │ ├── c05bb1e14e373184698c672401e3b0d2.json │ │ ├── c07002d71c9e756db33ac9e4e87a3b34.json │ │ ├── c0ecd9276f9bac6142c9a57524f38b08.json │ │ ├── c14e43581ed0c0926e28b01f7dad2b89.json │ │ ├── c24049c97ec0c892478c65d99e20cf86.json │ │ ├── c2be600d4ad348b624485811fa548b91.json │ │ ├── c2ccd900a9c17bcd5e3a27e1ea80d072.json │ │ ├── c2d407d094c6e3f2fd51484cbd3c4eb4.json │ │ ├── c39376f06015bfcd5f0b2f1a2cacb936.json │ │ ├── c3fddb14d52eae3675f59af419ffbd74.json │ │ ├── c44ef1b0a513674b4f90360af56aad1d.json │ │ ├── c459c7e649888108d00591c3dae75615.json │ │ ├── c47d31f5b779b3cb97de129ebb4c282b.json │ │ ├── c4eeae91701f28f1f4bfb600ddb75988.json │ │ ├── c5548dd10ff62caddceaffcf21711591.json │ │ ├── c5ed8e9c90873382c5963896df94f7c5.json │ │ ├── c61464c2ebf884820524ba8c45d6e48c.json │ │ ├── c6183330382b5bc3d5c3c861c284707c.json │ │ ├── c67c502b174dcf39e119003fc8e025d0.json │ │ ├── c7e72a68d6ef9280a1f6aa3523217202.json │ │ ├── c7f9392138d6daefc0a427cffe578781.json │ │ ├── c84f0d59afc7cde143f61c068e9ace1c.json │ │ ├── c8779da125d737457c90c22794de368f.json │ │ ├── c88e15bc18914f73221efc35a51ca5e4.json │ │ ├── c8dd3639526c9755b1e5443e578de9e6.json │ │ ├── c8ff092ab79a42afc5c70b0520ddbbdb.json │ │ ├── c98bbfed4951dd834bce60608f356a7b.json │ │ ├── c98e4705177d7f2475f6bee93d8225a0.json │ │ ├── cb4ea5dc69c7c18510a42fde766678fd.json │ │ ├── cb690ba8b72dc6badcce59111b11bd76.json │ │ ├── cb8c5b1937f4fabc7a6b4d0535f4099b.json │ │ ├── cc53c61229a495ae439bd90a506c7296.json │ │ ├── cc7e30871f68a628bd4c205176682e54.json │ │ ├── cc94dcbd5b69f57e16bd94f8daaed207.json │ │ ├── cd4c335c97ec6cbbdcda1eecef69c389.json │ │ ├── cd584aeadbcf182ae2488589ee58d4a0.json │ │ ├── ce1a0e5832ec83bafe99db83721b4f2e.json │ │ ├── ce2a8e2c548cc3e16cec17cd274e4a33.json │ │ ├── cf0dbcc03cc978e3befd0cdc50b6d8e6.json │ │ ├── cf0f45affff186b2d626a44af70c329f.json │ │ ├── cf6368e7a231ac15893d77e87f6a1a68.json │ │ ├── cfaae465e5d0df815c86c1877249ea6b.json │ │ ├── cfab0815ff5c6f41244c991eccc138bb.json │ │ ├── cfb53dbe0c8b226341ac4e93c04dba85.json │ │ ├── cfd1c33acf22dd82bc1b543945dd7ba5.json │ │ ├── cffd16d32c40b13b61a5ae691b6fa534.json │ │ ├── d081aa94d26972a3d062d0f7726b9f3e.json │ │ ├── d11fe88208b2d4ef015e0c5c029892af.json │ │ ├── d13147372eb3fcf4aeff0a6529e8ff5f.json │ │ ├── d2d457cbd713532f8bcd10cabda8ee22.json │ │ ├── d34eb59e7fee90f77dae5d9ffb0c4052.json │ │ ├── d43c70e9d556c02e3ddd1551e557dd44.json │ │ ├── d443fbbc64d0d8fa7b65345c641fef9b.json │ │ ├── d4b5a3b700489dec033a584703063522.json │ │ ├── d4b98caf76e4c3d204953619a127a634.json │ │ ├── d5ea06aba311a5aa0a0315c11b485547.json │ │ ├── d61254f2de3a14bfe72c27b7cf501218.json │ │ ├── d6747a68a809326a3d10595684e3a7f3.json │ │ ├── d6c725698051135caba33988d416cc8d.json │ │ ├── d7db62264fb9822f683b9c4d79fc4f51.json │ │ ├── d84d40e4d8046d7574a63455fa684fce.json │ │ ├── d8dea77417e7af86c69b20c991569f96.json │ │ ├── d8ed497e2a509194f2709b96714446a7.json │ │ ├── d99eb217a88d57abb4dd6facd245a284.json │ │ ├── d9cebeb4093e53c273af55fc47f9c1d5.json │ │ ├── d9ec46a49fa504b5e6338e9f6559cc4f.json │ │ ├── d9f236fb417f2584c973f2a9c6f9ff1a.json │ │ ├── da4cd9da3a9eb6c83fa5abb8c43907a6.json │ │ ├── daa425d734a936c7008fa138c76fa262.json │ │ ├── dab9cc6789eccf29b3203ad5af9a8493.json │ │ ├── dad59321bf3c0ee614a785f3a2b90484.json │ │ ├── dad8243a96f680840bee0945f3fb4aca.json │ │ ├── dae4c6a5afa5451e7658934b9265c0f0.json │ │ ├── db0e2f49a112b87f7c6289f480fd2056.json │ │ ├── db1f29a2cb28041c9fb5b2bab1f469e9.json │ │ ├── db9125746c09e0f941d66bce599d1110.json │ │ ├── dbbca31856832e2dc7453dd66198e97b.json │ │ ├── dbc9979e61bc8f8c2b390f62f6f17b12.json │ │ ├── dbd433089b94bd525b89fca3ad12664f.json │ │ ├── dce55dd80864fa5759d3d9b110186ec7.json │ │ ├── dd37b247c41affdeb70206dc1dd54097.json │ │ ├── dda65d6617466ce2b20e7a0b5341dc56.json │ │ ├── de2a34a4afd060c712ab7a79b53688bd.json │ │ ├── de86e90b97c362ea283496b628683efd.json │ │ ├── de9ffd85f542e16ffa3861abfa61dd99.json │ │ ├── def91b93e8ce5b6f2b2ddc9e95df5e1b.json │ │ ├── df5b60339fc71ba7670fa4a6f82d495d.json │ │ ├── df6c7dcec2a21fa8ce66eea89c50704d.json │ │ ├── dfca60c0841fcd034904c60a0c14e2a3.json │ │ ├── e005cef3971d9f451a07edc898720e97.json │ │ ├── e04a6dc8f52fe4246aa0147d502e5478.json │ │ ├── e0569840faadda4898152e35648978f9.json │ │ ├── e0c865549541ba3650376b70ed31f624.json │ │ ├── e10dcecfb96ce6c37dc0605f6fda4ccc.json │ │ ├── e1b1787c802f5857591ff629f9e2744c.json │ │ ├── e29b9a8fdfa2a4542ddf127e461ed2b7.json │ │ ├── e2fc926ddc679fed76a0fb8c10125fc9.json │ │ ├── e31c59705a38ad3931a8532ca7cd7c32.json │ │ ├── e3f4be0af703e1520dd927e1f70ee1c9.json │ │ ├── e4a562d9ee59a7f7679cab2a7308cc83.json │ │ ├── e4d1c340d3cf1f81b232a212a44e5e30.json │ │ ├── e4f8736dd5835e460d1686782ce74a1c.json │ │ ├── e4fc0556333475eac2b7fc8d40429cab.json │ │ ├── e546ba2a4c68d6ab1f9e6c771163572e.json │ │ ├── e5716961eb358a92a4347209637e4a07.json │ │ ├── e65968412c8aa091424e2c40f73f215b.json │ │ ├── e726f152b3d69156aa372a58f534990a.json │ │ ├── e75cfde2d8a81d81aacaae5e140c7622.json │ │ ├── e7bf33a13ba7af5c6994a4aec700230b.json │ │ ├── e7ca91e416e6a7c0afb7c00a0039380d.json │ │ ├── e7dbe12668446bb6d7ada53bf356ceda.json │ │ ├── e7e2a77cbc0aa1b1f749c6037a25fdbf.json │ │ ├── e7eb14c00f6f3bfa64777304d67d89dd.json │ │ ├── e80289fe5476039f8c25ab1451115d2f.json │ │ ├── e844d7c975b1d62ee73f2c249b78dae1.json │ │ ├── e88d5dce0712de65b05fdc8348ca9cdd.json │ │ ├── e8fe67d5bd7c4235d210134f97e7314a.json │ │ ├── e923684c5a9831a256f4329af42e10c2.json │ │ ├── e973337091da2db3dd0c0a080371705f.json │ │ ├── e9bb6a7df5181207e200bc3e0c191d42.json │ │ ├── e9ffdfd8d9fff16a04675cfd292dab81.json │ │ ├── ea6e95c8268c2e3f9ae6ec2d91486ab2.json │ │ ├── eb5cb4daad32ec3b09c6e76fb6f71291.json │ │ ├── eb80dc853d496ba0d85ec86cbef0b6e1.json │ │ ├── eb86f07b117bfe455898f9023471a64e.json │ │ ├── ebf56b6c7274d3b1730b72ca71c8efc2.json │ │ ├── ec2bcd90f7dcf4bd32dddf50824451e6.json │ │ ├── ec49e1d6317799cf89209acb92d39eef.json │ │ ├── ec965de55817f25dd7ffcf3ca32296bf.json │ │ ├── ed221b11a3c1398b6de31d5b6266b1e4.json │ │ ├── ed9885cc22e6ca78c542d74d0286acdb.json │ │ ├── edac62eaa4528a7d102e6a7bb475d743.json │ │ ├── ee4eb76fd48cd2a1aea41ee62192f819.json │ │ ├── ee5a3ca991765ec7e0a4b2d2a22b4715.json │ │ ├── ee67f40b4e7aaf38d4ff540908228ec3.json │ │ ├── ee7da55d7f3e53f9fff42ff323f59bfa.json │ │ ├── ef77e582b85ec251d67de2fd874398a6.json │ │ ├── efe7cae60adcb72ce58df5c15c6636a5.json │ │ ├── f0072de095f8613b094149725ecfadef.json │ │ ├── f0237d71e1fd1dd87ef2fc02500b3236.json │ │ ├── f1ca527a8e459787689375c83748e914.json │ │ ├── f21842e471eda086e47afa299755254d.json │ │ ├── f25c21823019fd77bded81e19aa8fe71.json │ │ ├── f2a84f70853c9dc3c36f939a938e9502.json │ │ ├── f2f0d495f401bed6203cbcc97bdf0a59.json │ │ ├── f35f1fa0793a14a1e0cb565de973268e.json │ │ ├── f3b13e12883d02b2f5ec30229570924b.json │ │ ├── f3f231cb5cafbc92aaaa197a0fd9b699.json │ │ ├── f40ef46c7399aea7d1e802d6390f1a1b.json │ │ ├── f444141b2d0d5d7acfa8010d36b24765.json │ │ ├── f556bc1b39296c1c02a18ffa1f63b3b9.json │ │ ├── f572578a86b172763e2d882247da17ad.json │ │ ├── f58695ac349ebbb83786a370ac9077b7.json │ │ ├── f5af40c2f371bbb96b95bdd3082de49f.json │ │ ├── f5bf9483da675f4e9378eadb495bb118.json │ │ ├── f5f59e9f6be5bec1da2d0b3ab92daf9f.json │ │ ├── f6221c5d3ee84e7abd36f0bf2c835504.json │ │ ├── f6483b3a4702a508afcd958046c96f57.json │ │ ├── f660da602abd1dbeddc897305c84a9d5.json │ │ ├── f69f99a7861791e2ab041b8a3dbde84b.json │ │ ├── f6d7ce0fcc8dd7e3acf90dafdb7226f1.json │ │ ├── f7b738c565302c1da418311f7d50d361.json │ │ ├── f7d4897933cc662089f202f74a967f35.json │ │ ├── f83ca5b5f33a829722518067e354d37a.json │ │ ├── f894d28f0a79bb7b294a3b69a176d2f5.json │ │ ├── f90515e97c428a2045de54ff12206453.json │ │ ├── fa020847e38b02fcd5a328fab2df48bf.json │ │ ├── fa172ad4488e507daec0497c53f5e836.json │ │ ├── fa7361841c8ca8d051a67a9cb825ece6.json │ │ ├── fb61593071c309435403098549511c1a.json │ │ ├── fb7359466fc467dae7d35ab25afda62c.json │ │ ├── fbc088578d942c1111bd276b7eebb4cc.json │ │ ├── fc0d8c4ba3c96b92d99f9668b2433730.json │ │ ├── fc5da1003736c4f04a087e808af68cc7.json │ │ ├── fcb58189c832a64a4f37fc42fc0178d5.json │ │ ├── fd5a8631d331794d0d94daea6e4b01e2.json │ │ ├── fe5bb1d84b53d927be0bbf294465e369.json │ │ ├── fe82121ae662e8d183304f8834902cc6.json │ │ ├── fee54a1c467ba757905e0ab2e5d0e50d.json │ │ ├── fee96a914189362c7b0b477a64e51c69.json │ │ ├── ff5a25111f32909fde8d2833159bef92.json │ │ ├── ff74163eb5af04055e31f392943bceaa.json │ │ ├── ffd2b525c6101302986c539328fb5bfb.json │ │ ├── ffe781305e7670f8e9b43787b625f6d1.json │ │ ├── ffed657dae7e59377f5c091d49309763.json │ │ └── fff257a66f96316906dd47456c7b31c3.json ├── react-loadable-manifest.json ├── server │ ├── init-server.js │ ├── init-server.js.map │ ├── on-error-server.js │ ├── on-error-server.js.map │ ├── pages-manifest.json │ ├── ssr-module-cache.js │ └── static │ │ └── development │ │ └── pages │ │ ├── _app.js │ │ ├── _app.js.map │ │ ├── _document.js │ │ ├── _document.js.map │ │ ├── _error.js │ │ ├── _error.js.map │ │ ├── index.js │ │ └── index.js.map └── static │ ├── chunks │ ├── 0.js │ └── 0.js.map │ ├── development │ ├── _buildManifest.js │ ├── dll │ │ ├── dll_4b8bef20edde04f98d3f.js │ │ └── dll_4b8bef20edde04f98d3f.js.map │ └── pages │ │ ├── _app.js │ │ ├── _app.js.map │ │ ├── _error.js │ │ ├── _error.js.map │ │ ├── index.js │ │ └── index.js.map │ ├── runtime │ ├── amp.js │ ├── amp.js.map │ ├── main.js │ ├── main.js.map │ ├── polyfills.js │ ├── polyfills.js.map │ ├── webpack.js │ └── webpack.js.map │ └── webpack │ └── 6490f36b973f9ed539d6.hot-update.json ├── components └── ProductList.js ├── next.config.js ├── package-lock.json ├── package.json ├── pages ├── _app.js ├── index.js └── script-page.js ├── public └── test-script.js └── server.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env -------------------------------------------------------------------------------- /.next/build-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "devFiles": [ 3 | "static/development/dll/dll_4b8bef20edde04f98d3f.js", 4 | "static/development/dll/dll_4b8bef20edde04f98d3f.js.map" 5 | ], 6 | "pages": { 7 | "/": [ 8 | "static/runtime/webpack.js", 9 | "static/runtime/main.js" 10 | ], 11 | "/_app": [ 12 | "static/runtime/webpack.js", 13 | "static/runtime/main.js", 14 | "static/development/_buildManifest.js" 15 | ], 16 | "/_error": [ 17 | "static/runtime/webpack.js", 18 | "static/runtime/main.js" 19 | ], 20 | "/_polyfills": [ 21 | "static/runtime/polyfills.js", 22 | "static/runtime/polyfills.js.map" 23 | ], 24 | "/index": [ 25 | "static/runtime/webpack.js", 26 | "static/runtime/main.js" 27 | ] 28 | } 29 | } -------------------------------------------------------------------------------- /.next/cache/autodll-webpack-plugin/development_instance_0_b1399d37354688630a5361d26ec6706f/dll.manifest.json: -------------------------------------------------------------------------------- 1 | {"name":"dll_5f137288facb1107b491","content":{"./node_modules/react-dom/index.js":{"id":"./node_modules/react-dom/index.js","buildMeta":{"providedExports":true}},"./node_modules/react/cjs/react.development.js":{"id":"./node_modules/react/cjs/react.development.js","buildMeta":{"providedExports":true}},"./node_modules/next/dist/build/polyfills/object-assign.js":{"id":"./node_modules/next/dist/build/polyfills/object-assign.js","buildMeta":{"providedExports":true}},"./node_modules/prop-types/checkPropTypes.js":{"id":"./node_modules/prop-types/checkPropTypes.js","buildMeta":{"providedExports":true}},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":{"id":"./node_modules/prop-types/lib/ReactPropTypesSecret.js","buildMeta":{"providedExports":true}},"./node_modules/react/index.js":{"id":"./node_modules/react/index.js","buildMeta":{"providedExports":true}},"./node_modules/react-dom/cjs/react-dom.development.js":{"id":"./node_modules/react-dom/cjs/react-dom.development.js","buildMeta":{"providedExports":true}},"./node_modules/scheduler/index.js":{"id":"./node_modules/scheduler/index.js","buildMeta":{"providedExports":true}},"./node_modules/scheduler/cjs/scheduler.development.js":{"id":"./node_modules/scheduler/cjs/scheduler.development.js","buildMeta":{"providedExports":true}},"./node_modules/scheduler/tracing.js":{"id":"./node_modules/scheduler/tracing.js","buildMeta":{"providedExports":true}},"./node_modules/scheduler/cjs/scheduler-tracing.development.js":{"id":"./node_modules/scheduler/cjs/scheduler-tracing.development.js","buildMeta":{"providedExports":true}}}} -------------------------------------------------------------------------------- /.next/cache/autodll-webpack-plugin/package.json.hash: -------------------------------------------------------------------------------- 1 | {"name":"script-tag-app","version":"1.0.0","description":"","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","dev":"node server.js","build":"next build","start":"NODE_ENV=production node server.js"},"keywords":[],"author":"","license":"ISC","dependencies":{"@apollo/react-hooks":"^3.1.3","@koa/cors":"^3.0.0","@koa/router":"^8.0.8","@shopify/app-bridge-react":"^1.16.0","@shopify/koa-shopify-auth":"^3.1.56","@shopify/koa-shopify-graphql-proxy":"^3.3.1","@shopify/polaris":"^4.13.0","@zeit/next-css":"^1.0.1","apollo-boost":"^0.4.7","axios":"^0.19.2","dotenv":"^8.2.0","ejs":"^3.0.1","graphql":"^14.6.0","graphql-tag":"^2.10.3","isomorphic-fetch":"^2.2.1","js-cookie":"^2.2.1","koa":"^2.11.0","koa-body":"^4.1.1","koa-bodyparser":"^4.2.1","koa-cors":"0.0.16","koa-router":"^8.0.8","koa-session":"^5.13.1","koa-static":"^5.0.0","next":"^9.2.1","node-fetch":"^2.6.0","nodemon":"^2.0.2","react":"^16.12.0","react-apollo":"^3.1.3","react-dom":"^16.12.0","requirejs":"^2.3.6","store-js":"^2.0.4"},"proxy":"https://305b659c.ngrok.io","readme":"ERROR: No README data found!","_id":"script-tag-app@1.0.0"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/001154f11b50280495f0e105fdf731e9.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n}); // Identify /[param]/ in route string\n\n\nvar TEST_ROUTE = /\\/\\[[^/]+?\\](?=\\/|$)/;\n\nfunction isDynamicRoute(route) {\n return TEST_ROUTE.test(route);\n}\n\nexports.isDynamicRoute = isDynamicRoute;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/router/utils/is-dynamic.js"],"names":["exports","value","TEST_ROUTE","isDynamicRoute","route","test"],"mappings":"AAAA;;;;AACA,uBAAsBA,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C,E,CACA;;;AACA,IAAMC,UAAU,GAAG,sBAAnB;;AACA,SAASC,cAAT,CAAwBC,KAAxB,EAA+B;AAC3B,SAAOF,UAAU,CAACG,IAAX,CAAgBD,KAAhB,CAAP;AACH;;AACDJ,OAAO,CAACG,cAAR,GAAyBA,cAAzB","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Identify /[param]/ in route string\nconst TEST_ROUTE = /\\/\\[[^/]+?\\](?=\\/|$)/;\nfunction isDynamicRoute(route) {\n return TEST_ROUTE.test(route);\n}\nexports.isDynamicRoute = isDynamicRoute;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/012dfbc261a8c1ed174d58548e20610c.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n}); // Identify /[param]/ in route string\n\n\nvar TEST_ROUTE = /\\/\\[[^/]+?\\](?=\\/|$)/;\n\nfunction isDynamicRoute(route) {\n return TEST_ROUTE.test(route);\n}\n\nexports.isDynamicRoute = isDynamicRoute;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/next-server/lib/router/utils/is-dynamic.js"],"names":["exports","value","TEST_ROUTE","isDynamicRoute","route","test"],"mappings":"AAAA;;;;AACA,uBAAsBA,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C,E,CACA;;;AACA,IAAMC,UAAU,GAAG,sBAAnB;;AACA,SAASC,cAAT,CAAwBC,KAAxB,EAA+B;AAC3B,SAAOF,UAAU,CAACG,IAAX,CAAgBD,KAAhB,CAAP;AACH;;AACDJ,OAAO,CAACG,cAAR,GAAyBA,cAAzB","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Identify /[param]/ in route string\nconst TEST_ROUTE = /\\/\\[[^/]+?\\](?=\\/|$)/;\nfunction isDynamicRoute(route) {\n return TEST_ROUTE.test(route);\n}\nexports.isDynamicRoute = isDynamicRoute;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/01d445c7f64753a9c475baaf219ff99e.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker, TitleBar } from '@shopify/app-bridge-react';\n\nfunction Index() {\n const [modal, setModal] = useState(false);\n return __jsx(Page, null, __jsx(ResourcePicker, {\n resourceType: \"Product\",\n showVariants: false,\n open: modal,\n onSelection: resources => this.handleSelection(resources),\n onCancel: () => this.setState({\n open: false\n })\n }), __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products'\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["EmptyState","Layout","Page","ResourcePicker","TitleBar","Index","modal","setModal","useState","resources","handleSelection","setState","open","content"],"mappings":";;AAAA,SAASA,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;AACA,SAASC,cAAT,EAAyBC,QAAzB,QAAyC,2BAAzC;;AAGA,SAASC,KAAT,GAAiB;AAEb,QAAM,CAACC,KAAD,EAAQC,QAAR,IAAoBC,QAAQ,CAAC,KAAD,CAAlC;AAEA,SACI,MAAC,IAAD,QACI,MAAC,cAAD;AACQ,IAAA,YAAY,EAAC,SADrB;AAEQ,IAAA,YAAY,EAAE,KAFtB;AAGQ,IAAA,IAAI,EAAEF,KAHd;AAIQ,IAAA,WAAW,EAAGG,SAAD,IAAe,KAAKC,eAAL,CAAqBD,SAArB,CAJpC;AAKQ,IAAA,QAAQ,EAAE,MAAM,KAAKE,QAAL,CAAc;AAAEC,MAAAA,IAAI,EAAE;AAAR,KAAd;AALxB,IADJ,EAQI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AAAEC,MAAAA,OAAO,EAAE;AAAX,KAFZ;AAGI,IAAA,KAAK,EAAC;AAHV,KAKI,mCALJ,CADJ,CARJ,CADJ;AAoBH;;AAED,eAAeR,KAAf","sourcesContent":["import { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker, TitleBar } from '@shopify/app-bridge-react';\n\n\nfunction Index() {\n\n const [modal, setModal] = useState(false);\n\n return (\n \n this.handleSelection(resources)}\n onCancel={() => this.setState({ open: false })}\n />\n \n \n

Select Products

\n \n
\n
\n )\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/06a3689a505d665b870d4993fd73658c.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n}); // Identify /[param]/ in route string\n\nconst TEST_ROUTE = /\\/\\[[^/]+?\\](?=\\/|$)/;\n\nfunction isDynamicRoute(route) {\n return TEST_ROUTE.test(route);\n}\n\nexports.isDynamicRoute = isDynamicRoute;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/router/utils/is-dynamic.js"],"names":["Object","defineProperty","exports","value","TEST_ROUTE","isDynamicRoute","route","test"],"mappings":"AAAA;;AACAA,MAAM,CAACC,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C,E,CACA;;AACA,MAAMC,UAAU,GAAG,sBAAnB;;AACA,SAASC,cAAT,CAAwBC,KAAxB,EAA+B;AAC3B,SAAOF,UAAU,CAACG,IAAX,CAAgBD,KAAhB,CAAP;AACH;;AACDJ,OAAO,CAACG,cAAR,GAAyBA,cAAzB","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Identify /[param]/ in route string\nconst TEST_ROUTE = /\\/\\[[^/]+?\\](?=\\/|$)/;\nfunction isDynamicRoute(route) {\n return TEST_ROUTE.test(route);\n}\nexports.isDynamicRoute = isDynamicRoute;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/06bd8d3ede2fe21664d872aa49b5f2d5.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import store from 'store-js';\nexport default function handle(req, res) {\n res.end('Hello World');\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/api/test.js"],"names":["store","handle","req","res","end"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,UAAlB;AAGA,eAAe,SAASC,MAAT,CAAgBC,GAAhB,EAAqBC,GAArB,EAA0B;AACrCA,EAAAA,GAAG,CAACC,GAAJ,CAAQ,aAAR;AACH","sourcesContent":["import store from 'store-js';\n\n\nexport default function handle(req, res) {\n res.end('Hello World')\n}"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/0781036b93ea87ae045fd4c5f74d83fc.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar __importDefault = this && this.__importDefault || function (mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nconst react_1 = __importDefault(require(\"react\"));\n\nconst amp_context_1 = require(\"./amp-context\");\n\nfunction isInAmpMode({\n ampFirst = false,\n hybrid = false,\n hasQuery = false\n} = {}) {\n return ampFirst || hybrid && hasQuery;\n}\n\nexports.isInAmpMode = isInAmpMode;\n\nfunction useAmp() {\n // Don't assign the context value to a variable to save bytes\n return isInAmpMode(react_1.default.useContext(amp_context_1.AmpStateContext));\n}\n\nexports.useAmp = useAmp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/next-server/lib/amp.js"],"names":["__importDefault","mod","__esModule","Object","defineProperty","exports","value","react_1","require","amp_context_1","isInAmpMode","ampFirst","hybrid","hasQuery","useAmp","default","useContext","AmpStateContext"],"mappings":"AAAA;;AACA,IAAIA,eAAe,GAAI,QAAQ,KAAKA,eAAd,IAAkC,UAAUC,GAAV,EAAe;AACnE,SAAQA,GAAG,IAAIA,GAAG,CAACC,UAAZ,GAA0BD,GAA1B,GAAgC;AAAE,eAAWA;AAAb,GAAvC;AACH,CAFD;;AAGAE,MAAM,CAACC,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,MAAMC,OAAO,GAAGP,eAAe,CAACQ,OAAO,CAAC,OAAD,CAAR,CAA/B;;AACA,MAAMC,aAAa,GAAGD,OAAO,CAAC,eAAD,CAA7B;;AACA,SAASE,WAAT,CAAqB;AAAEC,EAAAA,QAAQ,GAAG,KAAb;AAAoBC,EAAAA,MAAM,GAAG,KAA7B;AAAoCC,EAAAA,QAAQ,GAAG;AAA/C,IAA0D,EAA/E,EAAmF;AAC/E,SAAOF,QAAQ,IAAKC,MAAM,IAAIC,QAA9B;AACH;;AACDR,OAAO,CAACK,WAAR,GAAsBA,WAAtB;;AACA,SAASI,MAAT,GAAkB;AACd;AACA,SAAOJ,WAAW,CAACH,OAAO,CAACQ,OAAR,CAAgBC,UAAhB,CAA2BP,aAAa,CAACQ,eAAzC,CAAD,CAAlB;AACH;;AACDZ,OAAO,CAACS,MAAR,GAAiBA,MAAjB","sourcesContent":["\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst react_1 = __importDefault(require(\"react\"));\nconst amp_context_1 = require(\"./amp-context\");\nfunction isInAmpMode({ ampFirst = false, hybrid = false, hasQuery = false, } = {}) {\n return ampFirst || (hybrid && hasQuery);\n}\nexports.isInAmpMode = isInAmpMode;\nfunction useAmp() {\n // Don't assign the context value to a variable to save bytes\n return isInAmpMode(react_1.default.useContext(amp_context_1.AmpStateContext));\n}\nexports.useAmp = useAmp;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/092843c1c66f4719ec87a0fc9f00989d.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
;\n // console.log('data', data)\n return __jsx(\"div\", null, __jsx(\"p\", null, \"hello\"));\n}\n\nexport default ProductList;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ProductList"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,MAAMC,kBAAkB,GAAGR,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA/B;;AA6BA,SAASS,WAAT,GAAuB;AAEnB;AAEA;AACA;AAEA;AAEA,SACI,mBACI,yBADJ,CADJ;AAKH;;AAED,eAAeA,WAAf","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
;\n\n // console.log('data', data)\n\n return (\n
\n

hello

\n
\n )\n}\n\nexport default ProductList;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/093ac928898539e2eff2ada1f8009bae.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ResourceListWithProducts() {\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
;\n // console.log('data', data)\n return __jsx(\"div\", null, __jsx(\"p\", null, \"hello\"));\n}\n\nexport default ResourceListWithProducts;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ResourceListWithProducts"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,MAAMC,kBAAkB,GAAGR,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA/B;;AA6BA,SAASS,wBAAT,GAAoC;AAEhC;AAEA;AACA;AAEA;AAEA,SACI,mBACI,yBADJ,CADJ;AAKH;;AAED,eAAeA,wBAAf","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ResourceListWithProducts() {\n\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
;\n\n // console.log('data', data)\n\n return (\n
\n

hello

\n
\n )\n}\n\nexport default ResourceListWithProducts;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/0df3888cd022f0d115e29dd23f546d3e.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import _classCallCheck from \"@babel/runtime-corejs2/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime-corejs2/helpers/esm/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime-corejs2/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime-corejs2/helpers/esm/getPrototypeOf\";\nimport _inherits from \"@babel/runtime-corejs2/helpers/esm/inherits\";\nimport React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\nvar MyApp =\n/*#__PURE__*/\nfunction (_App) {\n _inherits(MyApp, _App);\n\n function MyApp() {\n _classCallCheck(this, MyApp);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(MyApp).apply(this, arguments));\n }\n\n _createClass(MyApp, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n Component = _this$props.Component,\n pageProps = _this$props.pageProps;\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps)));\n }\n }]);\n\n return MyApp;\n}(App);\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","translations","MyApp","props","Component","pageProps"],"mappings":";;;;;;;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;;IAIMC,K;;;;;;;;;;;;;6BACK;AAAA,wBAC0B,KAAKC,KAD/B;AAAA,UACCC,SADD,eACCA,SADD;AAAA,UACYC,SADZ,eACYA,SADZ;AAGP,aACE,MAAC,KAAD,CAAO,QAAP,QACE,MAAC,IAAD,QACE,kCADF,EAEE;AAAM,QAAA,OAAO,EAAC;AAAd,QAFF,CADF,EAKE,MAAC,WAAD;AAAa,QAAA,IAAI,EAAEJ;AAAnB,SACE,MAAC,SAAD,EAAeI,SAAf,CADF,CALF,CADF;AAWD;;;;EAfiBP,G;;AAkBpB,eAAeI,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/10d1ced47bfddf010ab30e3071d73536.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker } from '@shopify/app-bridge-react';\n\nfunction Index() {\n const {\n 0: modal,\n 1: setModal\n } = useState({\n open: false\n });\n return __jsx(Page, null, __jsx(ResourcePicker, {\n resourceType: \"Product\",\n showVariants: false,\n open: modal.open,\n onCancel: () => setModal({\n open: false\n })\n }), __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products',\n onAction: () => setModal({\n open: true\n })\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","useState","EmptyState","Layout","Page","ResourcePicker","Index","modal","setModal","open","content","onAction"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,QAAhB,QAAgC,OAAhC;AACA,SAASC,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;AACA,SAASC,cAAT,QAA+B,2BAA/B;;AAGA,SAASC,KAAT,GAAiB;AAEb,QAAM;AAAA,OAACC,KAAD;AAAA,OAAQC;AAAR,MAAoBP,QAAQ,CAAC;AAAEQ,IAAAA,IAAI,EAAE;AAAR,GAAD,CAAlC;AAGA,SACI,MAAC,IAAD,QACI,MAAC,cAAD;AACI,IAAA,YAAY,EAAC,SADjB;AAEI,IAAA,YAAY,EAAE,KAFlB;AAGI,IAAA,IAAI,EAAEF,KAAK,CAACE,IAHhB;AAII,IAAA,QAAQ,EAAE,MAAMD,QAAQ,CAAC;AAAEC,MAAAA,IAAI,EAAE;AAAR,KAAD;AAJ5B,IADJ,EAOI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AACJC,MAAAA,OAAO,EAAE,iBADL;AAEJC,MAAAA,QAAQ,EAAE,MAAMH,QAAQ,CAAC;AAAEC,QAAAA,IAAI,EAAE;AAAR,OAAD;AAFpB,KAFZ;AAMI,IAAA,KAAK,EAAC;AANV,KAQI,mCARJ,CADJ,CAPJ,CADJ;AAuBH;;AAED,eAAeH,KAAf","sourcesContent":["import React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker } from '@shopify/app-bridge-react';\n\n\nfunction Index() {\n\n const [modal, setModal] = useState({ open: false })\n\n\n return (\n \n setModal({ open: false })}\n />\n \n setModal({ open: true })\n }}\n image=\"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n >\n

Select Products

\n \n
\n
\n )\n\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/126e230c8d0378c6c7d05312a6971590.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"'use strict';\n\nvar ansiRegex = require('ansi-regex')();\n\nmodule.exports = function (str) {\n return typeof str === 'string' ? str.replace(ansiRegex, '') : str;\n};","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/babel-code-frame/node_modules/strip-ansi/index.js"],"names":["ansiRegex","require","module","exports","str","replace"],"mappings":"AAAA;;AACA,IAAIA,SAAS,GAAGC,OAAO,CAAC,YAAD,CAAP,EAAhB;;AAEAC,MAAM,CAACC,OAAP,GAAiB,UAAUC,GAAV,EAAe;AAC/B,SAAO,OAAOA,GAAP,KAAe,QAAf,GAA0BA,GAAG,CAACC,OAAJ,CAAYL,SAAZ,EAAuB,EAAvB,CAA1B,GAAuDI,GAA9D;AACA,CAFD","sourcesContent":["'use strict';\nvar ansiRegex = require('ansi-regex')();\n\nmodule.exports = function (str) {\n\treturn typeof str === 'string' ? str.replace(ansiRegex, '') : str;\n};\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/16725386f6d2a62cd4ea3b2fce0b79af.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nconst React = __importStar(require(\"react\"));\n\nexports.RouterContext = React.createContext(null);","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/router-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","defineProperty","exports","value","React","require","RouterContext","createContext"],"mappings":"AAAA;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd,EAAmB,IAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAC5ED,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOAE,MAAM,CAACG,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,MAAMC,KAAK,GAAGX,YAAY,CAACY,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,aAAR,GAAwBF,KAAK,CAACG,aAAN,CAAoB,IAApB,CAAxB","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.RouterContext = React.createContext(null);\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/1ac47428e2b57a522eedb9ee2bf79b64.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nconst React = __importStar(require(\"react\"));\n\nexports.HeadManagerContext = React.createContext(null);","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/head-manager-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","defineProperty","exports","value","React","require","HeadManagerContext","createContext"],"mappings":"AAAA;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd,EAAmB,IAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAC5ED,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOAE,MAAM,CAACG,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,MAAMC,KAAK,GAAGX,YAAY,CAACY,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,kBAAR,GAA6BF,KAAK,CAACG,aAAN,CAAoB,IAApB,CAA7B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.HeadManagerContext = React.createContext(null);\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/1ccdf1aa9421e3708fe44bc6ba6877d6.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\nvar __importDefault = this && this.__importDefault || function (mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar react_1 = __importDefault(require(\"react\"));\n\nvar amp_context_1 = require(\"./amp-context\");\n\nfunction isInAmpMode() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$ampFirst = _ref.ampFirst,\n ampFirst = _ref$ampFirst === void 0 ? false : _ref$ampFirst,\n _ref$hybrid = _ref.hybrid,\n hybrid = _ref$hybrid === void 0 ? false : _ref$hybrid,\n _ref$hasQuery = _ref.hasQuery,\n hasQuery = _ref$hasQuery === void 0 ? false : _ref$hasQuery;\n\n return ampFirst || hybrid && hasQuery;\n}\n\nexports.isInAmpMode = isInAmpMode;\n\nfunction useAmp() {\n // Don't assign the context value to a variable to save bytes\n return isInAmpMode(react_1[\"default\"].useContext(amp_context_1.AmpStateContext));\n}\n\nexports.useAmp = useAmp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/next-server/lib/amp.js"],"names":["__importDefault","mod","__esModule","exports","value","react_1","require","amp_context_1","isInAmpMode","ampFirst","hybrid","hasQuery","useAmp","useContext","AmpStateContext"],"mappings":"AAAA;;;;AACA,IAAIA,eAAe,GAAI,QAAQ,KAAKA,eAAd,IAAkC,UAAUC,GAAV,EAAe;AACnE,SAAQA,GAAG,IAAIA,GAAG,CAACC,UAAZ,GAA0BD,GAA1B,GAAgC;AAAE,eAAWA;AAAb,GAAvC;AACH,CAFD;;AAGA,uBAAsBE,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAMC,OAAO,GAAGL,eAAe,CAACM,OAAO,CAAC,OAAD,CAAR,CAA/B;;AACA,IAAMC,aAAa,GAAGD,OAAO,CAAC,eAAD,CAA7B;;AACA,SAASE,WAAT,GAAmF;AAAA,iFAAJ,EAAI;AAAA,2BAA5DC,QAA4D;AAAA,MAA5DA,QAA4D,8BAAjD,KAAiD;AAAA,yBAA1CC,MAA0C;AAAA,MAA1CA,MAA0C,4BAAjC,KAAiC;AAAA,2BAA1BC,QAA0B;AAAA,MAA1BA,QAA0B,8BAAf,KAAe;;AAC/E,SAAOF,QAAQ,IAAKC,MAAM,IAAIC,QAA9B;AACH;;AACDR,OAAO,CAACK,WAAR,GAAsBA,WAAtB;;AACA,SAASI,MAAT,GAAkB;AACd;AACA,SAAOJ,WAAW,CAACH,OAAO,WAAP,CAAgBQ,UAAhB,CAA2BN,aAAa,CAACO,eAAzC,CAAD,CAAlB;AACH;;AACDX,OAAO,CAACS,MAAR,GAAiBA,MAAjB","sourcesContent":["\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst react_1 = __importDefault(require(\"react\"));\nconst amp_context_1 = require(\"./amp-context\");\nfunction isInAmpMode({ ampFirst = false, hybrid = false, hasQuery = false, } = {}) {\n return ampFirst || (hybrid && hasQuery);\n}\nexports.isInAmpMode = isInAmpMode;\nfunction useAmp() {\n // Don't assign the context value to a variable to save bytes\n return isInAmpMode(react_1.default.useContext(amp_context_1.AmpStateContext));\n}\nexports.useAmp = useAmp;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/22bc9602479b554daf847d1b73197373.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import _taggedTemplateLiteral from \"@babel/runtime-corejs2/helpers/esm/taggedTemplateLiteral\";\n\nfunction _templateObject() {\n var data = _taggedTemplateLiteral([\"\\n query getProducts($ids: [ID!]!) {\\n nodes(ids: $ids) {\\n ... on Product {\\n title\\n handle\\n id\\n images(first: 1) {\\n edges {\\n node {\\n originalSrc\\n altText\\n }\\n }\\n }\\n variants(first: 1) {\\n edges {\\n node {\\n price\\n id\\n }\\n }\\n }\\n }\\n }\\n }\\n\"]);\n\n _templateObject = function _templateObject() {\n return data;\n };\n\n return data;\n}\n\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nvar GET_PRODUCTS_BY_ID = gql(_templateObject());","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID"],"mappings":";;;;;;;;;;;;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,IAAMC,kBAAkB,GAAGR,GAAH,mBAAxB","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/2b0845db4f447be46baaacca9c70d107.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\nclass MyApp extends App {\n render() {\n const {\n Component,\n pageProps\n } = this.props;\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps)));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","translations","MyApp","render","Component","pageProps","props"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;;AAEA,MAAMC,KAAN,SAAoBJ,GAApB,CAAwB;AACtBK,EAAAA,MAAM,GAAG;AACP,UAAM;AAAEC,MAAAA,SAAF;AAAaC,MAAAA;AAAb,QAA2B,KAAKC,KAAtC;AACA,WACE,MAAC,KAAD,CAAO,QAAP,QACE,MAAC,IAAD,QACE,kCADF,EAEE;AAAM,MAAA,OAAO,EAAC;AAAd,MAFF,CADF,EAKE,MAAC,WAAD;AAAa,MAAA,IAAI,EAAEL;AAAnB,OACE,MAAC,SAAD,EAAeI,SAAf,CADF,CALF,CADF;AAWD;;AAdqB;;AAiBxB,eAAeH,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n return (\n \n \n Sample App\n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/2b878bdf671faf662c11e05c5d2a5272.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/client/dev/noop.js"],"names":[],"mappings":"AAAA","sourcesContent":["\"use strict\";"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/2f8305497686e2d0228b6aec741255b7.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\n\nvar Index = function Index() {\n return __jsx(\"div\", null, __jsx(\"p\", null, \"Sample app using React and Next.js\"));\n};\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["Index"],"mappings":";;;AAAA,IAAMA,KAAK,GAAG,SAARA,KAAQ;AAAA,SACZ,mBACE,sDADF,CADY;AAAA,CAAd;;AAMA,eAAeA,KAAf","sourcesContent":["const Index = () => (\n
\n

Sample app using React and Next.js

\n
\n);\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/30116f4f79d6e2d22a51009950bb6f34.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker } from '@shopify/app-bridge-react';\n\nfunction Index() {\n var _useState = useState({\n open: false\n }),\n modal = _useState[0],\n setModal = _useState[1];\n\n return __jsx(Page, null, __jsx(ResourcePicker, {\n resourceType: \"Product\",\n showVariants: false,\n open: modal.open,\n onCancel: function onCancel() {\n return setModal({\n open: false\n });\n }\n }), __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products'\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","useState","EmptyState","Layout","Page","ResourcePicker","Index","open","modal","setModal","content"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,QAAhB,QAAgC,OAAhC;AACA,SAASC,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;AACA,SAASC,cAAT,QAA+B,2BAA/B;;AAEA,SAASC,KAAT,GAAiB;AAAA,kBAEaL,QAAQ,CAAC;AAAEM,IAAAA,IAAI,EAAE;AAAR,GAAD,CAFrB;AAAA,MAENC,KAFM;AAAA,MAECC,QAFD;;AAKb,SACI,MAAC,IAAD,QACI,MAAC,cAAD;AACI,IAAA,YAAY,EAAC,SADjB;AAEI,IAAA,YAAY,EAAE,KAFlB;AAGI,IAAA,IAAI,EAAED,KAAK,CAACD,IAHhB;AAII,IAAA,QAAQ,EAAE;AAAA,aAAME,QAAQ,CAAC;AAAEF,QAAAA,IAAI,EAAE;AAAR,OAAD,CAAd;AAAA;AAJd,IADJ,EAOI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AACJG,MAAAA,OAAO,EAAE;AADL,KAFZ;AAKI,IAAA,KAAK,EAAC;AALV,KAOI,mCAPJ,CADJ,CAPJ,CADJ;AAsBH;;AAED,eAAeJ,KAAf","sourcesContent":["import React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker } from '@shopify/app-bridge-react';\n\nfunction Index() {\n\n const [modal, setModal] = useState({ open: false })\n\n\n return (\n \n setModal({ open: false })}\n />\n \n \n

Select Products

\n \n
\n
\n )\n\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/326965cd2a549f9fb10ef6d0f6baccf3.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"'use strict';\n\nvar ansiRegex = require('ansi-regex');\n\nvar stripAnsi = function stripAnsi(string) {\n return typeof string === 'string' ? string.replace(ansiRegex(), '') : string;\n};\n\nmodule.exports = stripAnsi;\nmodule.exports[\"default\"] = stripAnsi;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/strip-ansi/index.js"],"names":["ansiRegex","require","stripAnsi","string","replace","module","exports"],"mappings":"AAAA;;AACA,IAAMA,SAAS,GAAGC,OAAO,CAAC,YAAD,CAAzB;;AAEA,IAAMC,SAAS,GAAG,SAAZA,SAAY,CAAAC,MAAM;AAAA,SAAI,OAAOA,MAAP,KAAkB,QAAlB,GAA6BA,MAAM,CAACC,OAAP,CAAeJ,SAAS,EAAxB,EAA4B,EAA5B,CAA7B,GAA+DG,MAAnE;AAAA,CAAxB;;AAEAE,MAAM,CAACC,OAAP,GAAiBJ,SAAjB;AACAG,MAAM,CAACC,OAAP,cAAyBJ,SAAzB","sourcesContent":["'use strict';\nconst ansiRegex = require('ansi-regex');\n\nconst stripAnsi = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;\n\nmodule.exports = stripAnsi;\nmodule.exports.default = stripAnsi;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/3463fe702a5b855c8cf43b380bdc25e2.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nconst React = __importStar(require(\"react\"));\n\nexports.AmpStateContext = React.createContext({});","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/next-server/lib/amp-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","defineProperty","exports","value","React","require","AmpStateContext","createContext"],"mappings":"AAAA;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd,EAAmB,IAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAC5ED,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOAE,MAAM,CAACG,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,MAAMC,KAAK,GAAGX,YAAY,CAACY,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,eAAR,GAA0BF,KAAK,CAACG,aAAN,CAAoB,EAApB,CAA1B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.AmpStateContext = React.createContext({});\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/358a7318738395cc6d6070afb57eb7f4.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"'use strict';\n\nvar _Object$assign = require(\"@babel/runtime-corejs2/core-js/object/assign\");\n\nmodule.exports = function (options) {\n options = _Object$assign({\n onlyFirst: false\n }, options);\n var pattern = [\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:[a-zA-Z\\\\d]*(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\", '(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))'].join('|');\n return new RegExp(pattern, options.onlyFirst ? undefined : 'g');\n};","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/strip-ansi/node_modules/ansi-regex/index.js"],"names":["module","exports","options","onlyFirst","pattern","join","RegExp","undefined"],"mappings":"AAAA;;;;AAEAA,MAAM,CAACC,OAAP,GAAiB,UAAAC,OAAO,EAAI;AAC3BA,EAAAA,OAAO,GAAG,eAAc;AACvBC,IAAAA,SAAS,EAAE;AADY,GAAd,EAEPD,OAFO,CAAV;AAIA,MAAME,OAAO,GAAG,CACf,6FADe,EAEf,0DAFe,EAGdC,IAHc,CAGT,GAHS,CAAhB;AAKA,SAAO,IAAIC,MAAJ,CAAWF,OAAX,EAAoBF,OAAO,CAACC,SAAR,GAAoBI,SAApB,GAAgC,GAApD,CAAP;AACA,CAXD","sourcesContent":["'use strict';\n\nmodule.exports = options => {\n\toptions = Object.assign({\n\t\tonlyFirst: false\n\t}, options);\n\n\tconst pattern = [\n\t\t'[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:[a-zA-Z\\\\d]*(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)',\n\t\t'(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))'\n\t].join('|');\n\n\treturn new RegExp(pattern, options.onlyFirst ? undefined : 'g');\n};\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/398880ce156fc96e20883c871ec4bcc5.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nconst React = __importStar(require(\"react\"));\n\nexports.HeadManagerContext = React.createContext(null);","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/next-server/lib/head-manager-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","defineProperty","exports","value","React","require","HeadManagerContext","createContext"],"mappings":"AAAA;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd,EAAmB,IAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAC5ED,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOAE,MAAM,CAACG,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,MAAMC,KAAK,GAAGX,YAAY,CAACY,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,kBAAR,GAA6BF,KAAK,CAACG,aAAN,CAAoB,IAApB,CAA7B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.HeadManagerContext = React.createContext(null);\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/3ada8ea0ccc976d3ab7ca5820b5f68a4.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ResourceListWithProducts() {\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
\n // console.log('data', data)\n return __jsx(\"div\", null, __jsx(\"p\", null, \"hello\"));\n}\n\nexport default ResourceListWithProducts;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ResourceListWithProducts"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,MAAMC,kBAAkB,GAAGR,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA/B;;AA6BA,SAASS,wBAAT,GAAoC;AAEhC;AAEA;AACA;AAEA;AAEA,SACI,mBACI,yBADJ,CADJ;AAKH;;AAED,eAAeA,wBAAf","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ResourceListWithProducts() {\n\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
\n\n // console.log('data', data)\n\n return (\n
\n

hello

\n
\n )\n}\n\nexport default ResourceListWithProducts;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/3c30207d65d8615e2a12da2140e28fcd.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\nclass MyApp extends App {\n render() {\n const {\n Component,\n pageProps\n } = this.props;\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps)));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","translations","MyApp","render","Component","pageProps","props"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;;AAGA,MAAMC,KAAN,SAAoBJ,GAApB,CAAwB;AACpBK,EAAAA,MAAM,GAAG;AACL,UAAM;AAAEC,MAAAA,SAAF;AAAaC,MAAAA;AAAb,QAA2B,KAAKC,KAAtC;AAEA,WACI,MAAC,KAAD,CAAO,QAAP,QACI,MAAC,IAAD,QACI,kCADJ,EAEI;AAAM,MAAA,OAAO,EAAC;AAAd,MAFJ,CADJ,EAKQ,MAAC,WAAD;AAAa,MAAA,IAAI,EAAEL;AAAnB,OACI,MAAC,SAAD,EAAeI,SAAf,CADJ,CALR,CADJ;AAWH;;AAfmB;;AAkBxB,eAAeH,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/3e440d7a024c6726d4f5a2fedde6b975.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\n\nfunction ScriptPage() {\n return __jsx(\"div\", null, __jsx(\"h1\", null, \"Hello this is Script Page\"));\n}\n\nexport default ScriptPage;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/script-page.js"],"names":["ScriptPage"],"mappings":";;;AAAA,SAASA,UAAT,GAAsB;AAClB,SACI,mBACI,8CADJ,CADJ;AAKH;;AAED,eAAeA,UAAf","sourcesContent":["function ScriptPage() {\n return (\n
\n

Hello this is Script Page

\n
\n )\n}\n\nexport default ScriptPage;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/4289d7ae319be842ae66dc514f68e75f.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nconst React = __importStar(require(\"react\"));\n\nexports.DocumentContext = React.createContext(null);","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/next-server/lib/document-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","defineProperty","exports","value","React","require","DocumentContext","createContext"],"mappings":"AAAA;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd,EAAmB,IAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAC5ED,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOAE,MAAM,CAACG,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,MAAMC,KAAK,GAAGX,YAAY,CAACY,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,eAAR,GAA0BF,KAAK,CAACG,aAAN,CAAoB,IAApB,CAA1B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.DocumentContext = React.createContext(null);\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/46e5fd643ced3d27e914c8864d56c3cf.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.rewriteStacktrace = rewriteStacktrace;\nvar filenameRE = /\\(([^)]+\\.js):(\\d+):(\\d+)\\)$/;\n\nfunction rewriteStacktrace(e, distDir) {\n if (!e || typeof e.stack !== 'string') {\n return;\n }\n\n var lines = e.stack.split('\\n');\n var result = lines.map(function (line) {\n return rewriteTraceLine(line, distDir);\n });\n e.stack = result.join('\\n');\n}\n\nfunction rewriteTraceLine(trace, distDir) {\n var m = trace.match(filenameRE);\n\n if (m == null) {\n return trace;\n }\n\n var filename = m[1];\n var filenameLink = filename.replace(distDir, '/_next/development').replace(/\\\\/g, '/');\n trace = trace.replace(filename, filenameLink);\n return trace;\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/client/dev/error-overlay/source-map-support.js"],"names":["exports","__esModule","rewriteStacktrace","filenameRE","e","distDir","stack","lines","split","result","map","line","rewriteTraceLine","join","trace","m","match","filename","filenameLink","replace"],"mappings":"AAAA;;AAAaA,OAAO,CAACC,UAAR,GAAmB,IAAnB;AAAwBD,OAAO,CAACE,iBAAR,GAA0BA,iBAA1B;AAA4C,IAAIC,UAAU,GAAC,8BAAf;;AAA8C,SAASD,iBAAT,CAA2BE,CAA3B,EAA6BC,OAA7B,EAAqC;AAAC,MAAG,CAACD,CAAD,IAAI,OAAOA,CAAC,CAACE,KAAT,KAAiB,QAAxB,EAAiC;AAAC;AAAQ;;AAAA,MAAIC,KAAK,GAACH,CAAC,CAACE,KAAF,CAAQE,KAAR,CAAc,IAAd,CAAV;AAA8B,MAAIC,MAAM,GAACF,KAAK,CAACG,GAAN,CAAU,UAAAC,IAAI,EAAE;AAAC,WAAOC,gBAAgB,CAACD,IAAD,EAAMN,OAAN,CAAvB;AAAuC,GAAxD,CAAX;AAAqED,EAAAA,CAAC,CAACE,KAAF,GAAQG,MAAM,CAACI,IAAP,CAAY,IAAZ,CAAR;AAA2B;;AAAA,SAASD,gBAAT,CAA0BE,KAA1B,EAAgCT,OAAhC,EAAwC;AAAC,MAAIU,CAAC,GAACD,KAAK,CAACE,KAAN,CAAYb,UAAZ,CAAN;;AAA8B,MAAGY,CAAC,IAAE,IAAN,EAAW;AAAC,WAAOD,KAAP;AAAc;;AAAA,MAAIG,QAAQ,GAACF,CAAC,CAAC,CAAD,CAAd;AAAkB,MAAIG,YAAY,GAACD,QAAQ,CAACE,OAAT,CAAiBd,OAAjB,EAAyB,oBAAzB,EAA+Cc,OAA/C,CAAuD,KAAvD,EAA6D,GAA7D,CAAjB;AAAmFL,EAAAA,KAAK,GAACA,KAAK,CAACK,OAAN,CAAcF,QAAd,EAAuBC,YAAvB,CAAN;AAA2C,SAAOJ,KAAP;AAAc","sourcesContent":["\"use strict\";exports.__esModule=true;exports.rewriteStacktrace=rewriteStacktrace;var filenameRE=/\\(([^)]+\\.js):(\\d+):(\\d+)\\)$/;function rewriteStacktrace(e,distDir){if(!e||typeof e.stack!=='string'){return;}var lines=e.stack.split('\\n');var result=lines.map(line=>{return rewriteTraceLine(line,distDir);});e.stack=result.join('\\n');}function rewriteTraceLine(trace,distDir){var m=trace.match(filenameRE);if(m==null){return trace;}var filename=m[1];var filenameLink=filename.replace(distDir,'/_next/development').replace(/\\\\/g,'/');trace=trace.replace(filename,filenameLink);return trace;}"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/4af1442df9a76b89ac1cea18147a5a6d.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\n\nfunction Index() {\n return __jsx(\"div\", null, __jsx(\"p\", null, \"Hello\"));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["Index"],"mappings":";;;AAAA,SAASA,KAAT,GAAiB;AACb,SACI,mBACI,yBADJ,CADJ;AAKH;;AAED,eAAeA,KAAf","sourcesContent":["function Index() {\n return(\n
\n

Hello

\n
\n )\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/4d349221bf9f426f96a164d8dc791131.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar route_matcher_1 = require(\"./route-matcher\");\n\nexports.getRouteMatcher = route_matcher_1.getRouteMatcher;\n\nvar route_regex_1 = require(\"./route-regex\");\n\nexports.getRouteRegex = route_regex_1.getRouteRegex;\n\nvar sorted_routes_1 = require(\"./sorted-routes\");\n\nexports.getSortedRoutes = sorted_routes_1.getSortedRoutes;\n\nvar is_dynamic_1 = require(\"./is-dynamic\");\n\nexports.isDynamicRoute = is_dynamic_1.isDynamicRoute;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/router/utils/index.js"],"names":["Object","defineProperty","exports","value","route_matcher_1","require","getRouteMatcher","route_regex_1","getRouteRegex","sorted_routes_1","getSortedRoutes","is_dynamic_1","isDynamicRoute"],"mappings":"AAAA;;AACAA,MAAM,CAACC,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAIC,eAAe,GAAGC,OAAO,CAAC,iBAAD,CAA7B;;AACAH,OAAO,CAACI,eAAR,GAA0BF,eAAe,CAACE,eAA1C;;AACA,IAAIC,aAAa,GAAGF,OAAO,CAAC,eAAD,CAA3B;;AACAH,OAAO,CAACM,aAAR,GAAwBD,aAAa,CAACC,aAAtC;;AACA,IAAIC,eAAe,GAAGJ,OAAO,CAAC,iBAAD,CAA7B;;AACAH,OAAO,CAACQ,eAAR,GAA0BD,eAAe,CAACC,eAA1C;;AACA,IAAIC,YAAY,GAAGN,OAAO,CAAC,cAAD,CAA1B;;AACAH,OAAO,CAACU,cAAR,GAAyBD,YAAY,CAACC,cAAtC","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar route_matcher_1 = require(\"./route-matcher\");\nexports.getRouteMatcher = route_matcher_1.getRouteMatcher;\nvar route_regex_1 = require(\"./route-regex\");\nexports.getRouteRegex = route_regex_1.getRouteRegex;\nvar sorted_routes_1 = require(\"./sorted-routes\");\nexports.getSortedRoutes = sorted_routes_1.getSortedRoutes;\nvar is_dynamic_1 = require(\"./is-dynamic\");\nexports.isDynamicRoute = is_dynamic_1.isDynamicRoute;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/4ea616fc5dea5f36747ff7f9b9bd1ed0.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.rewriteStacktrace = rewriteStacktrace;\nvar filenameRE = /\\(([^)]+\\.js):(\\d+):(\\d+)\\)$/;\n\nfunction rewriteStacktrace(e, distDir) {\n if (!e || typeof e.stack !== 'string') {\n return;\n }\n\n var lines = e.stack.split('\\n');\n var result = lines.map(function (line) {\n return rewriteTraceLine(line, distDir);\n });\n e.stack = result.join('\\n');\n}\n\nfunction rewriteTraceLine(trace, distDir) {\n var m = trace.match(filenameRE);\n\n if (m == null) {\n return trace;\n }\n\n var filename = m[1];\n var filenameLink = filename.replace(distDir, '/_next/development').replace(/\\\\/g, '/');\n trace = trace.replace(filename, filenameLink);\n return trace;\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/client/dev/error-overlay/source-map-support.js"],"names":["exports","__esModule","rewriteStacktrace","filenameRE","e","distDir","stack","lines","split","result","map","line","rewriteTraceLine","join","trace","m","match","filename","filenameLink","replace"],"mappings":"AAAA;;AAAaA,OAAO,CAACC,UAAR,GAAmB,IAAnB;AAAwBD,OAAO,CAACE,iBAAR,GAA0BA,iBAA1B;AAA4C,IAAIC,UAAU,GAAC,8BAAf;;AAA8C,SAASD,iBAAT,CAA2BE,CAA3B,EAA6BC,OAA7B,EAAqC;AAAC,MAAG,CAACD,CAAD,IAAI,OAAOA,CAAC,CAACE,KAAT,KAAiB,QAAxB,EAAiC;AAAC;AAAQ;;AAAA,MAAIC,KAAK,GAACH,CAAC,CAACE,KAAF,CAAQE,KAAR,CAAc,IAAd,CAAV;AAA8B,MAAIC,MAAM,GAACF,KAAK,CAACG,GAAN,CAAU,UAAAC,IAAI,EAAE;AAAC,WAAOC,gBAAgB,CAACD,IAAD,EAAMN,OAAN,CAAvB;AAAuC,GAAxD,CAAX;AAAqED,EAAAA,CAAC,CAACE,KAAF,GAAQG,MAAM,CAACI,IAAP,CAAY,IAAZ,CAAR;AAA2B;;AAAA,SAASD,gBAAT,CAA0BE,KAA1B,EAAgCT,OAAhC,EAAwC;AAAC,MAAIU,CAAC,GAACD,KAAK,CAACE,KAAN,CAAYb,UAAZ,CAAN;;AAA8B,MAAGY,CAAC,IAAE,IAAN,EAAW;AAAC,WAAOD,KAAP;AAAc;;AAAA,MAAIG,QAAQ,GAACF,CAAC,CAAC,CAAD,CAAd;AAAkB,MAAIG,YAAY,GAACD,QAAQ,CAACE,OAAT,CAAiBd,OAAjB,EAAyB,oBAAzB,EAA+Cc,OAA/C,CAAuD,KAAvD,EAA6D,GAA7D,CAAjB;AAAmFL,EAAAA,KAAK,GAACA,KAAK,CAACK,OAAN,CAAcF,QAAd,EAAuBC,YAAvB,CAAN;AAA2C,SAAOJ,KAAP;AAAc","sourcesContent":["\"use strict\";exports.__esModule=true;exports.rewriteStacktrace=rewriteStacktrace;var filenameRE=/\\(([^)]+\\.js):(\\d+):(\\d+)\\)$/;function rewriteStacktrace(e,distDir){if(!e||typeof e.stack!=='string'){return;}var lines=e.stack.split('\\n');var result=lines.map(line=>{return rewriteTraceLine(line,distDir);});e.stack=result.join('\\n');}function rewriteTraceLine(trace,distDir){var m=trace.match(filenameRE);if(m==null){return trace;}var filename=m[1];var filenameLink=filename.replace(distDir,'/_next/development').replace(/\\\\/g,'/');trace=trace.replace(filename,filenameLink);return trace;}"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/4eda5e3b6574a4e3e3dd59b53401eab7.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport gql from 'graphql-tag'; // import { useQuery } from '@apollo/react-hooks';\n\nimport { Query } from 'react-apollo';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
;\n // console.log('data', data)\n return __jsx(\"div\", null, __jsx(\"p\", null, \"hello from ProductList\"));\n}\n\nexport default ProductList;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","Query","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ProductList"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,aAAhB,C,CACA;;AACA,SAAQC,KAAR,QAAoB,cAApB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,MAAMC,kBAAkB,GAAGR,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA/B;;AA6BA,SAASS,WAAT,GAAuB;AAEnB;AAEA;AACA;AAEA;AAEA,SACI,mBACI,0CADJ,CADJ;AAKH;;AAED,eAAeA,WAAf","sourcesContent":["import gql from 'graphql-tag';\n// import { useQuery } from '@apollo/react-hooks';\nimport {Query} from 'react-apollo'\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
;\n\n // console.log('data', data)\n\n return (\n
\n

hello from ProductList

\n
\n )\n}\n\nexport default ProductList;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/4f19a2241812a5fded57130e08596d8b.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\n\nconst Index = () => __jsx(\"div\", null, __jsx(\"p\", null, \"Sample app using React and Next.js\"));\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["Index"],"mappings":";;;AAAA,MAAMA,KAAK,GAAG,MACZ,mBACE,sDADF,CADF;;AAMA,eAAeA,KAAf","sourcesContent":["const Index = () => (\n
\n

Sample app using React and Next.js

\n
\n);\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/553c01bd9d1443cd2779a1b52da0cd1b.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"export default function handle(req, res) {\n res.end('Hello World');\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/api/test.js"],"names":["handle","req","res","end"],"mappings":"AAAA,eAAe,SAASA,MAAT,CAAgBC,GAAhB,EAAqBC,GAArB,EAA0B;AACrCA,EAAAA,GAAG,CAACC,GAAJ,CAAQ,aAAR;AACD","sourcesContent":["export default function handle(req, res) {\n res.end('Hello World')\n }"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/58cc38db3851c8e71a9e337a31f4914f.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\n\nfunction Index() {\n return __jsx(Page, null, __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products'\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["EmptyState","Layout","Page","Index","content"],"mappings":";;AAAA,SAASA,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;;AAIA,SAASC,KAAT,GAAiB;AACb,SACI,MAAC,IAAD,QACI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AAAEC,MAAAA,OAAO,EAAE;AAAX,KAFZ;AAGI,IAAA,KAAK,EAAC;AAHV,KAKI,mCALJ,CADJ,CADJ,CADJ;AAaH;;AAED,eAAeD,KAAf","sourcesContent":["import { EmptyState, Layout, Page } from '@shopify/polaris';\n\n\n\nfunction Index() {\n return (\n \n \n \n

Select Products

\n \n
\n
\n )\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/5bddc1fd241edea22265bba8babdda94.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker, TitleBar } from '@shopify/app-bridge-react';\n\nfunction Index() {\n const {\n 0: modal,\n 1: setModal\n } = useState(false);\n return __jsx(Page, null, __jsx(ResourcePicker, {\n resourceType: \"Product\",\n showVariants: false,\n open: modal,\n onSelection: resources => this.handleSelection(resources),\n onCancel: () => this.setState({\n open: false\n })\n }), __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products'\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","useState","EmptyState","Layout","Page","ResourcePicker","TitleBar","Index","modal","setModal","resources","handleSelection","setState","open","content"],"mappings":";AAAA,OAAOA,KAAP,IAAeC,QAAf,QAA8B,OAA9B;AACA,SAASC,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;AACA,SAASC,cAAT,EAAyBC,QAAzB,QAAyC,2BAAzC;;AAGA,SAASC,KAAT,GAAiB;AAEb,QAAM;AAAA,OAACC,KAAD;AAAA,OAAQC;AAAR,MAAoBR,QAAQ,CAAC,KAAD,CAAlC;AAEA,SACI,MAAC,IAAD,QACI,MAAC,cAAD;AACQ,IAAA,YAAY,EAAC,SADrB;AAEQ,IAAA,YAAY,EAAE,KAFtB;AAGQ,IAAA,IAAI,EAAEO,KAHd;AAIQ,IAAA,WAAW,EAAGE,SAAD,IAAe,KAAKC,eAAL,CAAqBD,SAArB,CAJpC;AAKQ,IAAA,QAAQ,EAAE,MAAM,KAAKE,QAAL,CAAc;AAAEC,MAAAA,IAAI,EAAE;AAAR,KAAd;AALxB,IADJ,EAQI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AAAEC,MAAAA,OAAO,EAAE;AAAX,KAFZ;AAGI,IAAA,KAAK,EAAC;AAHV,KAKI,mCALJ,CADJ,CARJ,CADJ;AAoBH;;AAED,eAAeP,KAAf","sourcesContent":["import React, {useState} from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker, TitleBar } from '@shopify/app-bridge-react';\n\n\nfunction Index() {\n\n const [modal, setModal] = useState(false);\n\n return (\n \n this.handleSelection(resources)}\n onCancel={() => this.setState({ open: false })}\n />\n \n \n

Select Products

\n \n
\n
\n )\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/5d61d4885b2c7d88bca584330273fca9.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport { Provider } from '@shopify/app-bridge-react';\nimport Cookies from 'js-cookie';\n\nclass MyApp extends App {\n render() {\n const {\n Component,\n pageProps\n } = this.props;\n const config = {\n apiKey: API_KEY,\n shopOrigin: Cookies.get(\"shopOrigin\"),\n forceRedirect: true\n };\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(Provider, {\n config: config\n }, __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps))));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","translations","Provider","Cookies","MyApp","render","Component","pageProps","props","config","apiKey","API_KEY","shopOrigin","get","forceRedirect"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;AACA,SAASC,QAAT,QAAyB,2BAAzB;AACA,OAAOC,OAAP,MAAoB,WAApB;;AAGA,MAAMC,KAAN,SAAoBN,GAApB,CAAwB;AACpBO,EAAAA,MAAM,GAAG;AACL,UAAM;AAAEC,MAAAA,SAAF;AAAaC,MAAAA;AAAb,QAA2B,KAAKC,KAAtC;AACA,UAAMC,MAAM,GAAG;AAAEC,MAAAA,MAAM,EAAEC,OAAV;AAAmBC,MAAAA,UAAU,EAAET,OAAO,CAACU,GAAR,CAAY,YAAZ,CAA/B;AAA0DC,MAAAA,aAAa,EAAE;AAAzE,KAAf;AAEA,WACI,MAAC,KAAD,CAAO,QAAP,QACI,MAAC,IAAD,QACI,kCADJ,EAEI;AAAM,MAAA,OAAO,EAAC;AAAd,MAFJ,CADJ,EAKI,MAAC,QAAD;AAAU,MAAA,MAAM,EAAEL;AAAlB,OACI,MAAC,WAAD;AAAa,MAAA,IAAI,EAAER;AAAnB,OACI,MAAC,SAAD,EAAeM,SAAf,CADJ,CADJ,CALJ,CADJ;AAaH;;AAlBmB;;AAqBxB,eAAeH,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport { Provider } from '@shopify/app-bridge-react';\nimport Cookies from 'js-cookie';\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n const config = { apiKey: API_KEY, shopOrigin: Cookies.get(\"shopOrigin\"), forceRedirect: true };\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/5d8316fcba97d3cc8e28c25101aaaf48.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"'use strict';\n\nvar ansiRegex = require('ansi-regex');\n\nvar stripAnsi = function stripAnsi(string) {\n return typeof string === 'string' ? string.replace(ansiRegex(), '') : string;\n};\n\nmodule.exports = stripAnsi;\nmodule.exports[\"default\"] = stripAnsi;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/strip-ansi/index.js"],"names":["ansiRegex","require","stripAnsi","string","replace","module","exports"],"mappings":"AAAA;;AACA,IAAMA,SAAS,GAAGC,OAAO,CAAC,YAAD,CAAzB;;AAEA,IAAMC,SAAS,GAAG,SAAZA,SAAY,CAAAC,MAAM;AAAA,SAAI,OAAOA,MAAP,KAAkB,QAAlB,GAA6BA,MAAM,CAACC,OAAP,CAAeJ,SAAS,EAAxB,EAA4B,EAA5B,CAA7B,GAA+DG,MAAnE;AAAA,CAAxB;;AAEAE,MAAM,CAACC,OAAP,GAAiBJ,SAAjB;AACAG,MAAM,CAACC,OAAP,cAAyBJ,SAAzB","sourcesContent":["'use strict';\nconst ansiRegex = require('ansi-regex');\n\nconst stripAnsi = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;\n\nmodule.exports = stripAnsi;\nmodule.exports.default = stripAnsi;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/626889299293370e7a3111e967e1e9ed.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar React = __importStar(require(\"react\")); // @ts-ignore for some reason the React types don't like this, but it's correct.\n\n\nexports.LoadableContext = React.createContext(null);","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/loadable-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","exports","value","React","require","LoadableContext","createContext"],"mappings":"AAAA;;;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd;AAAmB,QAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAA3D;AACjBD,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOA,uBAAsBK,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAMC,KAAK,GAAGV,YAAY,CAACW,OAAO,CAAC,OAAD,CAAR,CAA1B,C,CACA;;;AACAH,OAAO,CAACI,eAAR,GAA0BF,KAAK,CAACG,aAAN,CAAoB,IAApB,CAA1B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\n// @ts-ignore for some reason the React types don't like this, but it's correct.\nexports.LoadableContext = React.createContext(null);\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/647d0277d97e8f155ee8a868534e8b7d.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport { Provider } from '@shopify/app-bridge-react';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport Cookies from 'js-cookie';\n\nclass MyApp extends App {\n render() {\n const {\n Component,\n pageProps\n } = this.props;\n const config = {\n apiKey: API_KEY,\n shopOrigin: Cookies.get('shopOrigin'),\n forceRedirect: true\n };\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(Provider, {\n config: config\n }, __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps))));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","Provider","translations","Cookies","MyApp","render","Component","pageProps","props","config","apiKey","API_KEY","shopOrigin","get","forceRedirect"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,SAASC,QAAT,QAAyB,2BAAzB;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;AACA,OAAOC,OAAP,MAAoB,WAApB;;AAGA,MAAMC,KAAN,SAAoBN,GAApB,CAAwB;AACpBO,EAAAA,MAAM,GAAG;AACL,UAAM;AAAEC,MAAAA,SAAF;AAAaC,MAAAA;AAAb,QAA2B,KAAKC,KAAtC;AACA,UAAMC,MAAM,GAAG;AAAEC,MAAAA,MAAM,EAAEC,OAAV;AAAmBC,MAAAA,UAAU,EAAET,OAAO,CAACU,GAAR,CAAY,YAAZ,CAA/B;AAA0DC,MAAAA,aAAa,EAAE;AAAzE,KAAf;AAEA,WACI,MAAC,KAAD,CAAO,QAAP,QACI,MAAC,IAAD,QACI,kCADJ,EAEI;AAAM,MAAA,OAAO,EAAC;AAAd,MAFJ,CADJ,EAKI,MAAC,QAAD;AAAU,MAAA,MAAM,EAAEL;AAAlB,OACI,MAAC,WAAD;AAAa,MAAA,IAAI,EAAEP;AAAnB,OACI,MAAC,SAAD,EAAeK,SAAf,CADJ,CADJ,CALJ,CADJ;AAaH;;AAlBmB;;AAqBxB,eAAeH,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport { Provider } from '@shopify/app-bridge-react'\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport Cookies from 'js-cookie';\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n const config = { apiKey: API_KEY, shopOrigin: Cookies.get('shopOrigin'), forceRedirect: true }\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/64b19cfadc64e7027adb836376a2c6d9.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport { Provider } from '@shopify/app-bridge-react';\nimport Cookies from 'js-cookie';\n\nclass MyApp extends App {\n render() {\n const {\n Component,\n pageProps\n } = this.props;\n const config = {\n apiKey: API_KEY,\n shopOrigin: Cookies.get(\"shopOrigin\"),\n forceRedirect: true\n };\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(Provider, {\n config: config\n }, __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps))));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","translations","Provider","Cookies","MyApp","render","Component","pageProps","props","config","apiKey","API_KEY","shopOrigin","get","forceRedirect"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;AACA,SAASC,QAAT,QAAyB,2BAAzB;AACA,OAAOC,OAAP,MAAoB,WAApB;;AAIA,MAAMC,KAAN,SAAoBN,GAApB,CAAwB;AACpBO,EAAAA,MAAM,GAAG;AACL,UAAM;AAAEC,MAAAA,SAAF;AAAaC,MAAAA;AAAb,QAA2B,KAAKC,KAAtC;AACA,UAAMC,MAAM,GAAG;AAAEC,MAAAA,MAAM,EAAEC,OAAV;AAAmBC,MAAAA,UAAU,EAAET,OAAO,CAACU,GAAR,CAAY,YAAZ,CAA/B;AAA0DC,MAAAA,aAAa,EAAE;AAAzE,KAAf;AAEA,WACI,MAAC,KAAD,CAAO,QAAP,QACI,MAAC,IAAD,QACI,kCADJ,EAEI;AAAM,MAAA,OAAO,EAAC;AAAd,MAFJ,CADJ,EAKI,MAAC,QAAD;AAAU,MAAA,MAAM,EAAEL;AAAlB,OACI,MAAC,WAAD;AAAa,MAAA,IAAI,EAAER;AAAnB,OACI,MAAC,SAAD,EAAeM,SAAf,CADJ,CADJ,CALJ,CADJ;AAaH;;AAlBmB;;AAqBxB,eAAeH,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport { Provider } from '@shopify/app-bridge-react';\nimport Cookies from 'js-cookie';\n\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n const config = { apiKey: API_KEY, shopOrigin: Cookies.get(\"shopOrigin\"), forceRedirect: true };\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/668fb2fc2f56d9a0714a9586d339d556.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport { Provider } from '@shopify/app-bridge-react';\nimport Cookies from 'js-cookie';\n\nclass MyApp extends App {\n render() {\n const {\n Component,\n pageProps\n } = this.props;\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps)));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","translations","Provider","Cookies","MyApp","render","Component","pageProps","props"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;AACA,SAASC,QAAT,QAAyB,2BAAzB;AACA,OAAOC,OAAP,MAAoB,WAApB;;AAIA,MAAMC,KAAN,SAAoBN,GAApB,CAAwB;AACtBO,EAAAA,MAAM,GAAG;AACP,UAAM;AAAEC,MAAAA,SAAF;AAAaC,MAAAA;AAAb,QAA2B,KAAKC,KAAtC;AAEA,WACE,MAAC,KAAD,CAAO,QAAP,QACE,MAAC,IAAD,QACE,kCADF,EAEE;AAAM,MAAA,OAAO,EAAC;AAAd,MAFF,CADF,EAKE,MAAC,WAAD;AAAa,MAAA,IAAI,EAAEP;AAAnB,OACE,MAAC,SAAD,EAAeM,SAAf,CADF,CALF,CADF;AAWD;;AAfqB;;AAkBxB,eAAeH,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport { Provider } from '@shopify/app-bridge-react';\nimport Cookies from 'js-cookie';\n\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n \n return (\n \n \n Sample App\n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/6b7e236eeda995ad1405e47c87435119.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import _taggedTemplateLiteral from \"@babel/runtime-corejs2/helpers/esm/taggedTemplateLiteral\";\nimport React from \"react\";\nvar __jsx = React.createElement;\n\nfunction _templateObject() {\n var data = _taggedTemplateLiteral([\"\\n query getProducts($ids: [ID!]!) {\\n nodes(ids: $ids) {\\n ... on Product {\\n title\\n handle\\n descriptionHtml\\n id\\n images(first: 1) {\\n edges {\\n node {\\n originalSrc\\n altText\\n }\\n }\\n }\\n variants(first: 1) {\\n edges {\\n node {\\n price\\n id\\n }\\n }\\n }\\n }\\n }\\n }\\n\"]);\n\n _templateObject = function _templateObject() {\n return data;\n };\n\n return data;\n}\n\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nvar GET_PRODUCTS_BY_ID = gql(_templateObject());\n\nfunction ProductList() {\n return __jsx(\"div\", null, __jsx(\"h1\", null, \"Hello from Product List\"));\n}\n\nexport default ProductList;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ProductList"],"mappings":";;;;;;;;;;;;;;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,IAAMC,kBAAkB,GAAGR,GAAH,mBAAxB;;AA6BA,SAASS,WAAT,GAAuB;AAGnB,SACI,mBACI,4CADJ,CADJ;AAKH;;AAED,eAAeA,WAAf","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n\n\n return(\n
\n

Hello from Product List

\n
\n )\n}\n\nexport default ProductList;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/6cbf83e3d2f7716e463505750de904e2.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar runtimeConfig;\n\nexports[\"default\"] = function () {\n return runtimeConfig;\n};\n\nfunction setConfig(configValue) {\n runtimeConfig = configValue;\n}\n\nexports.setConfig = setConfig;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/next-server/lib/runtime-config.js"],"names":["exports","value","runtimeConfig","setConfig","configValue"],"mappings":"AAAA;;;;AACA,uBAAsBA,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAIC,aAAJ;;AACAF,OAAO,WAAP,GAAkB,YAAM;AACpB,SAAOE,aAAP;AACH,CAFD;;AAGA,SAASC,SAAT,CAAmBC,WAAnB,EAAgC;AAC5BF,EAAAA,aAAa,GAAGE,WAAhB;AACH;;AACDJ,OAAO,CAACG,SAAR,GAAoBA,SAApB","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nlet runtimeConfig;\nexports.default = () => {\n return runtimeConfig;\n};\nfunction setConfig(configValue) {\n runtimeConfig = configValue;\n}\nexports.setConfig = setConfig;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/79a6c71b0c45d9bf57ad7cbd8c115f0b.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nrequire(\"__next_polyfill__fetch\");\n\nrequire(\"url-polyfill\");\n\nObject.assign = require('__next_polyfill__object_assign');","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/client/polyfills.js"],"names":["require","Object","assign"],"mappings":"AAAA;;AAAaA,OAAO,CAAC,wBAAD,CAAP;;AAAkCA,OAAO,CAAC,cAAD,CAAP;;AAAwBC,MAAM,CAACC,MAAP,GAAcF,OAAO,CAAC,gCAAD,CAArB","sourcesContent":["\"use strict\";require(\"__next_polyfill__fetch\");require(\"url-polyfill\");Object.assign=require('__next_polyfill__object_assign');"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/7eaefcfde7f1ba16dfb7dc3135e9abd7.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport qgl from 'graphql-tag';\nimport { useQuery, useMutation } from '@apollo/react-hooks';\nconst CREATE_SCRIPT_TAG = gql`\n mutation scriptTagCreate($input: ScriptTagInput!) {\n scriptTagCreate(input: $input) {\n scriptTag {\n id\n }\n userErrors {\n field\n message\n }\n }\n }\n`;\n\nfunction ScriptPage() {\n return __jsx(\"div\", null, __jsx(\"h1\", null, \"Hello this is Script Page\"));\n}\n\nexport default ScriptPage;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/script-page.js"],"names":["qgl","useQuery","useMutation","CREATE_SCRIPT_TAG","gql","ScriptPage"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,EAAmBC,WAAnB,QAAsC,qBAAtC;AAGA,MAAMC,iBAAiB,GAAGC,GAAI;;;;;;;;;;;;CAA9B;;AAeA,SAASC,UAAT,GAAsB;AAClB,SACI,mBACI,8CADJ,CADJ;AAKH;;AAED,eAAeA,UAAf","sourcesContent":["import qgl from 'graphql-tag';\nimport { useQuery, useMutation } from '@apollo/react-hooks';\n\n\nconst CREATE_SCRIPT_TAG = gql`\n mutation scriptTagCreate($input: ScriptTagInput!) {\n scriptTagCreate(input: $input) {\n scriptTag {\n id\n }\n userErrors {\n field\n message\n }\n }\n }\n`;\n\n\nfunction ScriptPage() {\n return (\n
\n

Hello this is Script Page

\n
\n )\n}\n\nexport default ScriptPage;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/82ed730f3142aca65c3260a960798b11.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar runtimeConfig;\n\nexports[\"default\"] = function () {\n return runtimeConfig;\n};\n\nfunction setConfig(configValue) {\n runtimeConfig = configValue;\n}\n\nexports.setConfig = setConfig;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/runtime-config.js"],"names":["exports","value","runtimeConfig","setConfig","configValue"],"mappings":"AAAA;;;;AACA,uBAAsBA,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAIC,aAAJ;;AACAF,OAAO,WAAP,GAAkB,YAAM;AACpB,SAAOE,aAAP;AACH,CAFD;;AAGA,SAASC,SAAT,CAAmBC,WAAnB,EAAgC;AAC5BF,EAAAA,aAAa,GAAGE,WAAhB;AACH;;AACDJ,OAAO,CAACG,SAAR,GAAoBA,SAApB","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nlet runtimeConfig;\nexports.default = () => {\n return runtimeConfig;\n};\nfunction setConfig(configValue) {\n runtimeConfig = configValue;\n}\nexports.setConfig = setConfig;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/8422f71bef7ab70bbd30489057c1cfce.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\n\nfunction Index() {\n return __jsx(Page, null, __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products'\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","useState","EmptyState","Layout","Page","Index","content"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,QAAhB,QAAgC,OAAhC;AACA,SAASC,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;;AAGA,SAASC,KAAT,GAAiB;AAGb,SACI,MAAC,IAAD,QACI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AACJC,MAAAA,OAAO,EAAE;AADL,KAFZ;AAKI,IAAA,KAAK,EAAC;AALV,KAOI,mCAPJ,CADJ,CADJ,CADJ;AAgBH;;AAED,eAAeD,KAAf","sourcesContent":["import React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\n\n\nfunction Index() {\n\n\n return (\n \n \n \n

Select Products

\n \n
\n
\n )\n\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/8f5cc78b01755856681aefc23848ba1c.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker } from '@shopify/app-bridge-react';\n\nfunction Index() {\n const {\n 0: modal,\n 1: setModal\n } = useState({\n open: false\n });\n return __jsx(Page, null, __jsx(ResourcePicker, {\n resourceType: \"Product\",\n showVariants: false,\n open: modal.open,\n onCancel: () => setModal({\n open: false\n })\n }), __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products'\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","useState","EmptyState","Layout","Page","ResourcePicker","Index","modal","setModal","open","content"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,QAAhB,QAAgC,OAAhC;AACA,SAASC,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;AACA,SAASC,cAAT,QAA+B,2BAA/B;;AAEA,SAASC,KAAT,GAAiB;AAEb,QAAM;AAAA,OAACC,KAAD;AAAA,OAAQC;AAAR,MAAoBP,QAAQ,CAAC;AAAEQ,IAAAA,IAAI,EAAE;AAAR,GAAD,CAAlC;AAGA,SACI,MAAC,IAAD,QACI,MAAC,cAAD;AACI,IAAA,YAAY,EAAC,SADjB;AAEI,IAAA,YAAY,EAAE,KAFlB;AAGI,IAAA,IAAI,EAAEF,KAAK,CAACE,IAHhB;AAII,IAAA,QAAQ,EAAE,MAAMD,QAAQ,CAAC;AAAEC,MAAAA,IAAI,EAAE;AAAR,KAAD;AAJ5B,IADJ,EAOI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AACJC,MAAAA,OAAO,EAAE;AADL,KAFZ;AAKI,IAAA,KAAK,EAAC;AALV,KAOI,mCAPJ,CADJ,CAPJ,CADJ;AAsBH;;AAED,eAAeJ,KAAf","sourcesContent":["import React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker } from '@shopify/app-bridge-react';\n\nfunction Index() {\n\n const [modal, setModal] = useState({ open: false })\n\n\n return (\n \n setModal({ open: false })}\n />\n \n \n

Select Products

\n \n
\n
\n )\n\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/916bfedb857c843e7f2a594ced410e7a.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar React = __importStar(require(\"react\"));\n\nexports.HeadManagerContext = React.createContext(null);","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/next-server/lib/head-manager-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","exports","value","React","require","HeadManagerContext","createContext"],"mappings":"AAAA;;;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd;AAAmB,QAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAA3D;AACjBD,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOA,uBAAsBK,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAMC,KAAK,GAAGV,YAAY,CAACW,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,kBAAR,GAA6BF,KAAK,CAACG,aAAN,CAAoB,IAApB,CAA7B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.HeadManagerContext = React.createContext(null);\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/925a03ef325927533392b4bb2d843929.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nconst React = __importStar(require(\"react\"));\n\nexports.AmpStateContext = React.createContext({});","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/amp-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","defineProperty","exports","value","React","require","AmpStateContext","createContext"],"mappings":"AAAA;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd,EAAmB,IAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAC5ED,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOAE,MAAM,CAACG,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,MAAMC,KAAK,GAAGX,YAAY,CAACY,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,eAAR,GAA0BF,KAAK,CAACG,aAAN,CAAoB,EAApB,CAA1B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.AmpStateContext = React.createContext({});\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/94377dc52fa471303d123df3ee8890ff.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar React = __importStar(require(\"react\"));\n\nexports.RouterContext = React.createContext(null);","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/router-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","exports","value","React","require","RouterContext","createContext"],"mappings":"AAAA;;;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd;AAAmB,QAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAA3D;AACjBD,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOA,uBAAsBK,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAMC,KAAK,GAAGV,YAAY,CAACW,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,aAAR,GAAwBF,KAAK,CAACG,aAAN,CAAoB,IAApB,CAAxB","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.RouterContext = React.createContext(null);\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/954ac4b6731327da699118c494fcf7da.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar React = __importStar(require(\"react\"));\n\nexports.AmpStateContext = React.createContext({});","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/next-server/lib/amp-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","exports","value","React","require","AmpStateContext","createContext"],"mappings":"AAAA;;;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd;AAAmB,QAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAA3D;AACjBD,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOA,uBAAsBK,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAMC,KAAK,GAAGV,YAAY,CAACW,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,eAAR,GAA0BF,KAAK,CAACG,aAAN,CAAoB,EAApB,CAA1B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.AmpStateContext = React.createContext({});\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/980ffeb0f8f05ae9e9dfa0b962e1a9e4.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"export default function handle(req, res) {\n res.end('Hello World');\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/api/test.js"],"names":["handle","req","res","end"],"mappings":"AAEA,eAAe,SAASA,MAAT,CAAgBC,GAAhB,EAAqBC,GAArB,EAA0B;AACrCA,EAAAA,GAAG,CAACC,GAAJ,CAAQ,aAAR;AACH","sourcesContent":["\n\nexport default function handle(req, res) {\n res.end('Hello World')\n}"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/98e3dbac5fce5e91b3f2d59a0c1a3ea9.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport { Provider } from '@shopify/app-bridge-react';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport Cookies from 'js-cookie';\n\nclass MyApp extends App {\n render() {\n const {\n Component,\n pageProps\n } = this.props;\n const config = {\n apiKey: process.env.API_KEY,\n shopOrigin: Cookies.get('shopOrigin'),\n forceRedirect: true\n };\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(Provider, {\n config: config\n }, __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps))));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","Provider","translations","Cookies","MyApp","render","Component","pageProps","props","config","apiKey","process","env","API_KEY","shopOrigin","get","forceRedirect"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,SAASC,QAAT,QAAyB,2BAAzB;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;AACA,OAAOC,OAAP,MAAoB,WAApB;;AAIA,MAAMC,KAAN,SAAoBN,GAApB,CAAwB;AACpBO,EAAAA,MAAM,GAAG;AACL,UAAM;AAAEC,MAAAA,SAAF;AAAaC,MAAAA;AAAb,QAA2B,KAAKC,KAAtC;AACA,UAAMC,MAAM,GAAG;AAAEC,MAAAA,MAAM,EAAEC,OAAO,CAACC,GAAR,CAAYC,OAAtB;AAA+BC,MAAAA,UAAU,EAAEX,OAAO,CAACY,GAAR,CAAY,YAAZ,CAA3C;AAAsEC,MAAAA,aAAa,EAAE;AAArF,KAAf;AAEA,WACI,MAAC,KAAD,CAAO,QAAP,QACI,MAAC,IAAD,QACI,kCADJ,EAEI;AAAM,MAAA,OAAO,EAAC;AAAd,MAFJ,CADJ,EAKI,MAAC,QAAD;AAAU,MAAA,MAAM,EAAEP;AAAlB,OACI,MAAC,WAAD;AAAa,MAAA,IAAI,EAAEP;AAAnB,OACI,MAAC,SAAD,EAAeK,SAAf,CADJ,CADJ,CALJ,CADJ;AAaH;;AAlBmB;;AAqBxB,eAAeH,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport { Provider } from '@shopify/app-bridge-react'\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport Cookies from 'js-cookie';\n\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n const config = { apiKey: process.env.API_KEY, shopOrigin: Cookies.get('shopOrigin'), forceRedirect: true }\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/9b07f369ca1f38a9d68c6e9a8c383580.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
;\n // console.log('data', data)\n return __jsx(\"div\", null, __jsx(\"p\", null, \"hello from ProductList\"));\n}\n\nexport default ProductList;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ProductList"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,MAAMC,kBAAkB,GAAGR,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA/B;;AA6BA,SAASS,WAAT,GAAuB;AAEnB;AAEA;AACA;AAEA;AAEA,SACI,mBACI,0CADJ,CADJ;AAKH;;AAED,eAAeA,WAAf","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
;\n\n // console.log('data', data)\n\n return (\n
\n

hello from ProductList

\n
\n )\n}\n\nexport default ProductList;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/9decb49bb576016608b3a11c67accb8e.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\n\nfunction ScriptPage() {\n return __jsx(\"div\", null, __jsx(\"h1\", null, \"Hello this is Script Page\"));\n}\n\nexport default ScriptPage;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/script-page.js"],"names":["ScriptPage"],"mappings":";;;AAAA,SAASA,UAAT,GAAsB;AAClB,SACI,mBACI,8CADJ,CADJ;AAKH;;AAED,eAAeA,UAAf","sourcesContent":["function ScriptPage() {\n return (\n
\n

Hello this is Script Page

\n
\n )\n}\n\nexport default ScriptPage;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/9e48c70f40c106047d69e92e344b0fef.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\nclass MyApp extends App {\n render() {\n const {\n Component,\n pageProps\n } = this.props;\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps)));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","translations","MyApp","render","Component","pageProps","props"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;;AAIA,MAAMC,KAAN,SAAoBJ,GAApB,CAAwB;AACtBK,EAAAA,MAAM,GAAG;AACP,UAAM;AAAEC,MAAAA,SAAF;AAAaC,MAAAA;AAAb,QAA2B,KAAKC,KAAtC;AAEA,WACE,MAAC,KAAD,CAAO,QAAP,QACE,MAAC,IAAD,QACE,kCADF,EAEE;AAAM,MAAA,OAAO,EAAC;AAAd,MAFF,CADF,EAKE,MAAC,WAAD;AAAa,MAAA,IAAI,EAAEL;AAAnB,OACE,MAAC,SAAD,EAAeI,SAAf,CADF,CALF,CADF;AAWD;;AAfqB;;AAkBxB,eAAeH,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/9f60e3e0efdd82f171327d0f87fdcbcb.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import _classCallCheck from \"@babel/runtime-corejs2/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime-corejs2/helpers/esm/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime-corejs2/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime-corejs2/helpers/esm/getPrototypeOf\";\nimport _inherits from \"@babel/runtime-corejs2/helpers/esm/inherits\";\nimport React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\nvar MyApp =\n/*#__PURE__*/\nfunction (_App) {\n _inherits(MyApp, _App);\n\n function MyApp() {\n _classCallCheck(this, MyApp);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(MyApp).apply(this, arguments));\n }\n\n _createClass(MyApp, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n Component = _this$props.Component,\n pageProps = _this$props.pageProps;\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps)));\n }\n }]);\n\n return MyApp;\n}(App);\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","translations","MyApp","props","Component","pageProps"],"mappings":";;;;;;;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;;IAEMC,K;;;;;;;;;;;;;6BACK;AAAA,wBAC0B,KAAKC,KAD/B;AAAA,UACCC,SADD,eACCA,SADD;AAAA,UACYC,SADZ,eACYA,SADZ;AAEP,aACE,MAAC,KAAD,CAAO,QAAP,QACE,MAAC,IAAD,QACE,kCADF,EAEE;AAAM,QAAA,OAAO,EAAC;AAAd,QAFF,CADF,EAKE,MAAC,WAAD;AAAa,QAAA,IAAI,EAAEJ;AAAnB,SACE,MAAC,SAAD,EAAeI,SAAf,CADF,CALF,CADF;AAWD;;;;EAdiBP,G;;AAiBpB,eAAeI,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n return (\n \n \n Sample App\n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/a2515c55907b338651efbf14eec17a09.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nrequire(\"__next_polyfill__fetch\");\n\nrequire(\"url-polyfill\");\n\nObject.assign = require('__next_polyfill__object_assign');","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/client/polyfills.js"],"names":["require","Object","assign"],"mappings":"AAAA;;AAAaA,OAAO,CAAC,wBAAD,CAAP;;AAAkCA,OAAO,CAAC,cAAD,CAAP;;AAAwBC,MAAM,CAACC,MAAP,GAAcF,OAAO,CAAC,gCAAD,CAArB","sourcesContent":["\"use strict\";require(\"__next_polyfill__fetch\");require(\"url-polyfill\");Object.assign=require('__next_polyfill__object_assign');"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/a614278f6f7f170bccedfef3ecc4580b.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\n\nconst Index = () => __jsx(\"div\", null, __jsx(\"p\", null, \"Sample app using React and Next.js\"));\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["Index"],"mappings":";;;AAAA,MAAMA,KAAK,GAAG,MACV,mBACE,sDADF,CADJ;;AAME,eAAeA,KAAf","sourcesContent":["const Index = () => (\n
\n

Sample app using React and Next.js

\n
\n );\n \n export default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/acd1df0ff9dfcff38ad28de6dcc30b2f.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.displayContent = displayContent;\n\nfunction displayContent(callback) {\n // This is the fallback helper that removes Next.js' no-FOUC styles when\n // CSS mode is enabled. This only really activates if you haven't created\n // _any_ styles in your application yet.\n ;\n (window.requestAnimationFrame || setTimeout)(function () {\n for (var x = document.querySelectorAll('[data-next-hide-fouc]'), i = x.length; i--;) {\n x[i].parentNode.removeChild(x[i]);\n }\n\n if (callback) {\n callback();\n }\n });\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/client/dev/fouc.js"],"names":["exports","__esModule","displayContent","callback","window","requestAnimationFrame","setTimeout","x","document","querySelectorAll","i","length","parentNode","removeChild"],"mappings":"AAAA;;AAAaA,OAAO,CAACC,UAAR,GAAmB,IAAnB;AAAwBD,OAAO,CAACE,cAAR,GAAuBA,cAAvB;;AAAsC,SAASA,cAAT,CAAwBC,QAAxB,EAAiC;AAAC;AAC7G;AACA;AACA;AAAC,GAACC,MAAM,CAACC,qBAAP,IAA8BC,UAA/B,EAA2C,YAAU;AAAC,SAAI,IAAIC,CAAC,GAACC,QAAQ,CAACC,gBAAT,CAA0B,uBAA1B,CAAN,EAAyDC,CAAC,GAACH,CAAC,CAACI,MAAjE,EAAwED,CAAC,EAAzE,GAA6E;AAACH,MAAAA,CAAC,CAACG,CAAD,CAAD,CAAKE,UAAL,CAAgBC,WAAhB,CAA4BN,CAAC,CAACG,CAAD,CAA7B;AAAmC;;AAAA,QAAGP,QAAH,EAAY;AAACA,MAAAA,QAAQ;AAAI;AAAC,GAAjM;AAAoM","sourcesContent":["\"use strict\";exports.__esModule=true;exports.displayContent=displayContent;function displayContent(callback){// This is the fallback helper that removes Next.js' no-FOUC styles when\n// CSS mode is enabled. This only really activates if you haven't created\n// _any_ styles in your application yet.\n;(window.requestAnimationFrame||setTimeout)(function(){for(var x=document.querySelectorAll('[data-next-hide-fouc]'),i=x.length;i--;){x[i].parentNode.removeChild(x[i]);}if(callback){callback();}});}"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/ad2501eee373d6d4da9acc4382d85e1b.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nlet runtimeConfig;\n\nexports.default = () => {\n return runtimeConfig;\n};\n\nfunction setConfig(configValue) {\n runtimeConfig = configValue;\n}\n\nexports.setConfig = setConfig;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/runtime-config.js"],"names":["Object","defineProperty","exports","value","runtimeConfig","default","setConfig","configValue"],"mappings":"AAAA;;AACAA,MAAM,CAACC,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;AACA,IAAIC,aAAJ;;AACAF,OAAO,CAACG,OAAR,GAAkB,MAAM;AACpB,SAAOD,aAAP;AACH,CAFD;;AAGA,SAASE,SAAT,CAAmBC,WAAnB,EAAgC;AAC5BH,EAAAA,aAAa,GAAGG,WAAhB;AACH;;AACDL,OAAO,CAACI,SAAR,GAAoBA,SAApB","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nlet runtimeConfig;\nexports.default = () => {\n return runtimeConfig;\n};\nfunction setConfig(configValue) {\n runtimeConfig = configValue;\n}\nexports.setConfig = setConfig;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/b1f39a091710e9dd7140ff8f96572e9d.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import _taggedTemplateLiteral from \"@babel/runtime-corejs2/helpers/esm/taggedTemplateLiteral\";\nimport React from \"react\";\nvar __jsx = React.createElement;\n\nfunction _templateObject() {\n var data = _taggedTemplateLiteral([\"\\n query getProducts($ids: [ID!]!) {\\n nodes(ids: $ids) {\\n ... on Product {\\n title\\n handle\\n id\\n images(first: 1) {\\n edges {\\n node {\\n originalSrc\\n altText\\n }\\n }\\n }\\n variants(first: 1) {\\n edges {\\n node {\\n price\\n id\\n }\\n }\\n }\\n }\\n }\\n }\\n\"]);\n\n _templateObject = function _templateObject() {\n return data;\n };\n\n return data;\n}\n\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nvar GET_PRODUCTS_BY_ID = gql(_templateObject());\n\nfunction ProductList() {\n return __jsx(\"div\", null, __jsx(\"h1\", null, \"Hello from ProductList\"));\n}\n\nexport default ProductList;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ProductList"],"mappings":";;;;;;;;;;;;;;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,IAAMC,kBAAkB,GAAGR,GAAH,mBAAxB;;AA4BA,SAASS,WAAT,GAAuB;AAEnB,SACI,mBACI,2CADJ,CADJ;AAKH;;AAED,eAAeA,WAAf","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n\n return (\n
\n

Hello from ProductList

\n
\n )\n}\n\nexport default ProductList;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/b2bc3fad744206d59063f576c004962b.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n return __jsx(\"div\", null, __jsx(\"h1\", null, \"Hello from ProductList\"));\n}\n\nexport default ProductList;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ProductList"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,MAAMC,kBAAkB,GAAGR,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAA/B;;AA4BA,SAASS,WAAT,GAAuB;AAEnB,SACI,mBACI,2CADJ,CADJ;AAKH;;AAED,eAAeA,WAAf","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n\n return (\n
\n

Hello from ProductList

\n
\n )\n}\n\nexport default ProductList;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/b3a46d4d1a80e7e9ecd61a6b5f038d33.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport { Provider } from '@shopify/app-bridge-react';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport Cookies from 'js-cookie';\n\nclass MyApp extends App {\n render() {\n const {\n Component,\n pageProps\n } = this.props;\n const config = {\n apiKey: API_KEY,\n shopOrigin: Cookies.get('shopOrigin'),\n forceRedirect: true\n };\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(Provider, {\n config: config\n }, __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps))));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","Provider","translations","Cookies","MyApp","render","Component","pageProps","props","config","apiKey","API_KEY","shopOrigin","get","forceRedirect"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,SAASC,QAAT,QAAyB,2BAAzB;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;AACA,OAAOC,OAAP,MAAoB,WAApB;;AAIA,MAAMC,KAAN,SAAoBN,GAApB,CAAwB;AACpBO,EAAAA,MAAM,GAAG;AACL,UAAM;AAAEC,MAAAA,SAAF;AAAaC,MAAAA;AAAb,QAA2B,KAAKC,KAAtC;AACA,UAAMC,MAAM,GAAG;AAAEC,MAAAA,MAAM,EAAEC,OAAV;AAAmBC,MAAAA,UAAU,EAAET,OAAO,CAACU,GAAR,CAAY,YAAZ,CAA/B;AAA0DC,MAAAA,aAAa,EAAE;AAAzE,KAAf;AAEA,WACI,MAAC,KAAD,CAAO,QAAP,QACI,MAAC,IAAD,QACI,kCADJ,EAEI;AAAM,MAAA,OAAO,EAAC;AAAd,MAFJ,CADJ,EAKI,MAAC,QAAD;AAAU,MAAA,MAAM,EAAEL;AAAlB,OACI,MAAC,WAAD;AAAa,MAAA,IAAI,EAAEP;AAAnB,OACI,MAAC,SAAD,EAAeK,SAAf,CADJ,CADJ,CALJ,CADJ;AAaH;;AAlBmB;;AAqBxB,eAAeH,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport { Provider } from '@shopify/app-bridge-react'\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport Cookies from 'js-cookie';\n\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n const config = { apiKey: API_KEY, shopOrigin: Cookies.get('shopOrigin'), forceRedirect: true }\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/b4341e3ab6e2e385dcb0c999f41a7a55.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\n\nfunction Index() {\n return __jsx(Page, null, __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products'\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["EmptyState","Layout","Page","Index","content"],"mappings":";;AAAA,SAASA,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;;AAIA,SAASC,KAAT,GAAiB;AACb,SACI,MAAC,IAAD,QACI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AAAEC,MAAAA,OAAO,EAAE;AAAX,KAFZ;AAGI,IAAA,KAAK,EAAC;AAHV,KAKI,mCALJ,CADJ,CADJ,CADJ;AAaH;;AAED,eAAeD,KAAf","sourcesContent":["import { EmptyState, Layout, Page } from '@shopify/polaris';\n\n\n\nfunction Index() {\n return (\n \n \n \n

Select Products

\n \n
\n
\n )\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/b6c2a5ab6d5d30e08ff7c39540ee7741.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.displayContent = displayContent;\n\nfunction displayContent(callback) {\n // This is the fallback helper that removes Next.js' no-FOUC styles when\n // CSS mode is enabled. This only really activates if you haven't created\n // _any_ styles in your application yet.\n ;\n (window.requestAnimationFrame || setTimeout)(function () {\n for (var x = document.querySelectorAll('[data-next-hide-fouc]'), i = x.length; i--;) {\n x[i].parentNode.removeChild(x[i]);\n }\n\n if (callback) {\n callback();\n }\n });\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/client/dev/fouc.js"],"names":["exports","__esModule","displayContent","callback","window","requestAnimationFrame","setTimeout","x","document","querySelectorAll","i","length","parentNode","removeChild"],"mappings":"AAAA;;AAAaA,OAAO,CAACC,UAAR,GAAmB,IAAnB;AAAwBD,OAAO,CAACE,cAAR,GAAuBA,cAAvB;;AAAsC,SAASA,cAAT,CAAwBC,QAAxB,EAAiC;AAAC;AAC7G;AACA;AACA;AAAC,GAACC,MAAM,CAACC,qBAAP,IAA8BC,UAA/B,EAA2C,YAAU;AAAC,SAAI,IAAIC,CAAC,GAACC,QAAQ,CAACC,gBAAT,CAA0B,uBAA1B,CAAN,EAAyDC,CAAC,GAACH,CAAC,CAACI,MAAjE,EAAwED,CAAC,EAAzE,GAA6E;AAACH,MAAAA,CAAC,CAACG,CAAD,CAAD,CAAKE,UAAL,CAAgBC,WAAhB,CAA4BN,CAAC,CAACG,CAAD,CAA7B;AAAmC;;AAAA,QAAGP,QAAH,EAAY;AAACA,MAAAA,QAAQ;AAAI;AAAC,GAAjM;AAAoM","sourcesContent":["\"use strict\";exports.__esModule=true;exports.displayContent=displayContent;function displayContent(callback){// This is the fallback helper that removes Next.js' no-FOUC styles when\n// CSS mode is enabled. This only really activates if you haven't created\n// _any_ styles in your application yet.\n;(window.requestAnimationFrame||setTimeout)(function(){for(var x=document.querySelectorAll('[data-next-hide-fouc]'),i=x.length;i--;){x[i].parentNode.removeChild(x[i]);}if(callback){callback();}});}"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/b7e5b989d8763f2765358c08bf95ce2e.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React from 'react';\n\nfunction Index() {\n return __jsx(\"div\", null, __jsx(\"p\", null, \"test\"));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","Index"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;AAEA,SAASC,KAAT,GAAiB;AACb,SACI,mBACI,wBADJ,CADJ;AAKH;;AAED,eAAeA,KAAf","sourcesContent":["import React from 'react';\n\nfunction Index() {\n return (\n
\n

test

\n
\n )\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/b8ceebb77485b309b9fc99d7c6d8dcd4.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker, TitleBar } from '@shopify/app-bridge-react';\n\nfunction Index() {\n var _this = this;\n\n var _useState = useState({\n open: false\n }),\n modal = _useState[0],\n setModal = _useState[1];\n\n return __jsx(Page, null, __jsx(ResourcePicker, {\n resourceType: \"Product\",\n showVariants: false,\n open: modal.open // onSelection={(resources) => this.handleSelection(resources)}\n ,\n onCancel: function onCancel() {\n return _this.setModal({\n open: false\n });\n }\n }), __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products'\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","useState","EmptyState","Layout","Page","ResourcePicker","TitleBar","Index","open","modal","setModal","content"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,QAAhB,QAAgC,OAAhC;AACA,SAASC,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;AACA,SAASC,cAAT,EAAyBC,QAAzB,QAAyC,2BAAzC;;AAGA,SAASC,KAAT,GAAiB;AAAA;;AAAA,kBAEaN,QAAQ,CAAC;AAAEO,IAAAA,IAAI,EAAE;AAAR,GAAD,CAFrB;AAAA,MAENC,KAFM;AAAA,MAECC,QAFD;;AAIb,SACI,MAAC,IAAD,QACI,MAAC,cAAD;AACI,IAAA,YAAY,EAAC,SADjB;AAEI,IAAA,YAAY,EAAE,KAFlB;AAGI,IAAA,IAAI,EAAED,KAAK,CAACD,IAHhB,CAII;AAJJ;AAKI,IAAA,QAAQ,EAAE;AAAA,aAAM,KAAI,CAACE,QAAL,CAAc;AAAEF,QAAAA,IAAI,EAAE;AAAR,OAAd,CAAN;AAAA;AALd,IADJ,EAQI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AAAEG,MAAAA,OAAO,EAAE;AAAX,KAFZ;AAGI,IAAA,KAAK,EAAC;AAHV,KAKI,mCALJ,CADJ,CARJ,CADJ;AAqBH;;AAED,eAAeJ,KAAf","sourcesContent":["import React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker, TitleBar } from '@shopify/app-bridge-react';\n\n\nfunction Index() {\n\n const [modal, setModal] = useState({ open: false });\n\n return (\n \n this.handleSelection(resources)}\n onCancel={() => this.setModal({ open: false })}\n />\n \n \n

Select Products

\n \n
\n
\n )\n\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/b94d8fe67afc996615bbcfa236bbe39f.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nconst React = __importStar(require(\"react\"));\n\nexports.DocumentContext = React.createContext(null);","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/document-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","defineProperty","exports","value","React","require","DocumentContext","createContext"],"mappings":"AAAA;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd,EAAmB,IAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAC5ED,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOAE,MAAM,CAACG,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,MAAMC,KAAK,GAAGX,YAAY,CAACY,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,eAAR,GAA0BF,KAAK,CAACG,aAAN,CAAoB,IAApB,CAA1B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.DocumentContext = React.createContext(null);\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/b9cf99aa86f755736768e1de06d88136.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var store = require('store');\n\nexport default function handle(req, res) {\n res.end('Hello World');\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/api/test.js"],"names":["store","require","handle","req","res","end"],"mappings":"AAAA,IAAIA,KAAK,GAAGC,OAAO,CAAC,OAAD,CAAnB;;AAEA,eAAe,SAASC,MAAT,CAAgBC,GAAhB,EAAqBC,GAArB,EAA0B;AACrCA,EAAAA,GAAG,CAACC,GAAJ,CAAQ,aAAR;AACH","sourcesContent":["var store = require('store')\n\nexport default function handle(req, res) {\n res.end('Hello World')\n}"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/ba486f99593cad31acfd9c1d8dbc04fe.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"'use strict';\n\nvar _Object$assign = require(\"@babel/runtime-corejs2/core-js/object/assign\");\n\nmodule.exports = function (options) {\n options = _Object$assign({\n onlyFirst: false\n }, options);\n var pattern = [\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:[a-zA-Z\\\\d]*(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\", '(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))'].join('|');\n return new RegExp(pattern, options.onlyFirst ? undefined : 'g');\n};","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/strip-ansi/node_modules/ansi-regex/index.js"],"names":["module","exports","options","onlyFirst","pattern","join","RegExp","undefined"],"mappings":"AAAA;;;;AAEAA,MAAM,CAACC,OAAP,GAAiB,UAAAC,OAAO,EAAI;AAC3BA,EAAAA,OAAO,GAAG,eAAc;AACvBC,IAAAA,SAAS,EAAE;AADY,GAAd,EAEPD,OAFO,CAAV;AAIA,MAAME,OAAO,GAAG,CACf,6FADe,EAEf,0DAFe,EAGdC,IAHc,CAGT,GAHS,CAAhB;AAKA,SAAO,IAAIC,MAAJ,CAAWF,OAAX,EAAoBF,OAAO,CAACC,SAAR,GAAoBI,SAApB,GAAgC,GAApD,CAAP;AACA,CAXD","sourcesContent":["'use strict';\n\nmodule.exports = options => {\n\toptions = Object.assign({\n\t\tonlyFirst: false\n\t}, options);\n\n\tconst pattern = [\n\t\t'[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:[a-zA-Z\\\\d]*(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)',\n\t\t'(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))'\n\t].join('|');\n\n\treturn new RegExp(pattern, options.onlyFirst ? undefined : 'g');\n};\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/baecafadb2a53a7a5293dd1dadbbf408.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import _taggedTemplateLiteral from \"@babel/runtime-corejs2/helpers/esm/taggedTemplateLiteral\";\nimport React from \"react\";\nvar __jsx = React.createElement;\n\nfunction _templateObject() {\n var data = _taggedTemplateLiteral([\"\\n mutation scriptTagCreate($input: ScriptTagInput!) {\\n scriptTagCreate(input: $input) {\\n scriptTag {\\n id\\n }\\n userErrors {\\n field\\n message\\n }\\n }\\n }\\n\"]);\n\n _templateObject = function _templateObject() {\n return data;\n };\n\n return data;\n}\n\nimport qgl from 'graphql-tag';\nimport { useQuery, useMutation } from '@apollo/react-hooks';\nvar CREATE_SCRIPT_TAG = gql(_templateObject());\n\nfunction ScriptPage() {\n return __jsx(\"div\", null, __jsx(\"h1\", null, \"Hello this is Script Page\"));\n}\n\nexport default ScriptPage;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/script-page.js"],"names":["qgl","useQuery","useMutation","CREATE_SCRIPT_TAG","gql","ScriptPage"],"mappings":";;;;;;;;;;;;;;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,EAAmBC,WAAnB,QAAsC,qBAAtC;AAGA,IAAMC,iBAAiB,GAAGC,GAAH,mBAAvB;;AAeA,SAASC,UAAT,GAAsB;AAClB,SACI,mBACI,8CADJ,CADJ;AAKH;;AAED,eAAeA,UAAf","sourcesContent":["import qgl from 'graphql-tag';\nimport { useQuery, useMutation } from '@apollo/react-hooks';\n\n\nconst CREATE_SCRIPT_TAG = gql`\n mutation scriptTagCreate($input: ScriptTagInput!) {\n scriptTagCreate(input: $input) {\n scriptTag {\n id\n }\n userErrors {\n field\n message\n }\n }\n }\n`;\n\n\nfunction ScriptPage() {\n return (\n
\n

Hello this is Script Page

\n
\n )\n}\n\nexport default ScriptPage;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/bb84d314841b67d746458fe42279b9a8.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"'use strict';\n\nmodule.exports = function () {\n return /[\\u001b\\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g;\n};","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/ansi-regex/index.js"],"names":["module","exports"],"mappings":"AAAA;;AACAA,MAAM,CAACC,OAAP,GAAiB,YAAY;AAC5B,SAAO,6EAAP;AACA,CAFD","sourcesContent":["'use strict';\nmodule.exports = function () {\n\treturn /[\\u001b\\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g;\n};\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/bb99b0963aaf756934b9948f6d51754b.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\nvar __importDefault = this && this.__importDefault || function (mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar react_1 = __importDefault(require(\"react\"));\n\nvar amp_context_1 = require(\"./amp-context\");\n\nfunction isInAmpMode() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$ampFirst = _ref.ampFirst,\n ampFirst = _ref$ampFirst === void 0 ? false : _ref$ampFirst,\n _ref$hybrid = _ref.hybrid,\n hybrid = _ref$hybrid === void 0 ? false : _ref$hybrid,\n _ref$hasQuery = _ref.hasQuery,\n hasQuery = _ref$hasQuery === void 0 ? false : _ref$hasQuery;\n\n return ampFirst || hybrid && hasQuery;\n}\n\nexports.isInAmpMode = isInAmpMode;\n\nfunction useAmp() {\n // Don't assign the context value to a variable to save bytes\n return isInAmpMode(react_1[\"default\"].useContext(amp_context_1.AmpStateContext));\n}\n\nexports.useAmp = useAmp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/amp.js"],"names":["__importDefault","mod","__esModule","exports","value","react_1","require","amp_context_1","isInAmpMode","ampFirst","hybrid","hasQuery","useAmp","useContext","AmpStateContext"],"mappings":"AAAA;;;;AACA,IAAIA,eAAe,GAAI,QAAQ,KAAKA,eAAd,IAAkC,UAAUC,GAAV,EAAe;AACnE,SAAQA,GAAG,IAAIA,GAAG,CAACC,UAAZ,GAA0BD,GAA1B,GAAgC;AAAE,eAAWA;AAAb,GAAvC;AACH,CAFD;;AAGA,uBAAsBE,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAMC,OAAO,GAAGL,eAAe,CAACM,OAAO,CAAC,OAAD,CAAR,CAA/B;;AACA,IAAMC,aAAa,GAAGD,OAAO,CAAC,eAAD,CAA7B;;AACA,SAASE,WAAT,GAAmF;AAAA,iFAAJ,EAAI;AAAA,2BAA5DC,QAA4D;AAAA,MAA5DA,QAA4D,8BAAjD,KAAiD;AAAA,yBAA1CC,MAA0C;AAAA,MAA1CA,MAA0C,4BAAjC,KAAiC;AAAA,2BAA1BC,QAA0B;AAAA,MAA1BA,QAA0B,8BAAf,KAAe;;AAC/E,SAAOF,QAAQ,IAAKC,MAAM,IAAIC,QAA9B;AACH;;AACDR,OAAO,CAACK,WAAR,GAAsBA,WAAtB;;AACA,SAASI,MAAT,GAAkB;AACd;AACA,SAAOJ,WAAW,CAACH,OAAO,WAAP,CAAgBQ,UAAhB,CAA2BN,aAAa,CAACO,eAAzC,CAAD,CAAlB;AACH;;AACDX,OAAO,CAACS,MAAR,GAAiBA,MAAjB","sourcesContent":["\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst react_1 = __importDefault(require(\"react\"));\nconst amp_context_1 = require(\"./amp-context\");\nfunction isInAmpMode({ ampFirst = false, hybrid = false, hasQuery = false, } = {}) {\n return ampFirst || (hybrid && hasQuery);\n}\nexports.isInAmpMode = isInAmpMode;\nfunction useAmp() {\n // Don't assign the context value to a variable to save bytes\n return isInAmpMode(react_1.default.useContext(amp_context_1.AmpStateContext));\n}\nexports.useAmp = useAmp;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/bee5ad0a21aea4d3fe54c11a045c75a4.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport { Provider } from '@shopify/app-bridge-react';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport Cookies from 'js-cookie';\n\nclass MyApp extends App {\n render() {\n const {\n Component,\n pageProps\n } = this.props;\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps)));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","Provider","translations","Cookies","MyApp","render","Component","pageProps","props"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,SAAQC,QAAR,QAAuB,2BAAvB;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;AACA,OAAOC,OAAP,MAAoB,WAApB;;AAIA,MAAMC,KAAN,SAAoBN,GAApB,CAAwB;AACtBO,EAAAA,MAAM,GAAG;AACP,UAAM;AAAEC,MAAAA,SAAF;AAAaC,MAAAA;AAAb,QAA2B,KAAKC,KAAtC;AAEA,WACE,MAAC,KAAD,CAAO,QAAP,QACE,MAAC,IAAD,QACE,kCADF,EAEE;AAAM,MAAA,OAAO,EAAC;AAAd,MAFF,CADF,EAKE,MAAC,WAAD;AAAa,MAAA,IAAI,EAAEN;AAAnB,OACE,MAAC,SAAD,EAAeK,SAAf,CADF,CALF,CADF;AAWD;;AAfqB;;AAkBxB,eAAeH,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport {Provider} from '@shopify/app-bridge-react'\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport Cookies from 'js-cookie';\n\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/c2be600d4ad348b624485811fa548b91.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\n\nfunction Index() {\n return __jsx(Page, null, __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products'\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","useState","EmptyState","Layout","Page","Index","content"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,QAAhB,QAAgC,OAAhC;AACA,SAASC,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;;AAGA,SAASC,KAAT,GAAiB;AAGb,SACI,MAAC,IAAD,QACI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AACJC,MAAAA,OAAO,EAAE;AADL,KAFZ;AAKI,IAAA,KAAK,EAAC;AALV,KAOI,mCAPJ,CADJ,CADJ,CADJ;AAgBH;;AAED,eAAeD,KAAf","sourcesContent":["import React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\n\n\nfunction Index() {\n\n\n return (\n \n \n \n

Select Products

\n \n
\n
\n )\n\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/c2d407d094c6e3f2fd51484cbd3c4eb4.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nfunction getRouteMatcher(routeRegex) {\n const {\n re,\n groups\n } = routeRegex;\n return pathname => {\n const routeMatch = re.exec(pathname);\n\n if (!routeMatch) {\n return false;\n }\n\n const decode = decodeURIComponent;\n const params = {};\n Object.keys(groups).forEach(slugName => {\n const g = groups[slugName];\n const m = routeMatch[g.pos];\n\n if (m !== undefined) {\n params[slugName] = ~m.indexOf('/') ? m.split('/').map(entry => decode(entry)) : g.repeat ? [decode(m)] : decode(m);\n }\n });\n return params;\n };\n}\n\nexports.getRouteMatcher = getRouteMatcher;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/router/utils/route-matcher.js"],"names":["Object","defineProperty","exports","value","getRouteMatcher","routeRegex","re","groups","pathname","routeMatch","exec","decode","decodeURIComponent","params","keys","forEach","slugName","g","m","pos","undefined","indexOf","split","map","entry","repeat"],"mappings":"AAAA;;AACAA,MAAM,CAACC,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,SAASC,eAAT,CAAyBC,UAAzB,EAAqC;AACjC,QAAM;AAAEC,IAAAA,EAAF;AAAMC,IAAAA;AAAN,MAAiBF,UAAvB;AACA,SAAQG,QAAD,IAAc;AACjB,UAAMC,UAAU,GAAGH,EAAE,CAACI,IAAH,CAAQF,QAAR,CAAnB;;AACA,QAAI,CAACC,UAAL,EAAiB;AACb,aAAO,KAAP;AACH;;AACD,UAAME,MAAM,GAAGC,kBAAf;AACA,UAAMC,MAAM,GAAG,EAAf;AACAb,IAAAA,MAAM,CAACc,IAAP,CAAYP,MAAZ,EAAoBQ,OAApB,CAA6BC,QAAD,IAAc;AACtC,YAAMC,CAAC,GAAGV,MAAM,CAACS,QAAD,CAAhB;AACA,YAAME,CAAC,GAAGT,UAAU,CAACQ,CAAC,CAACE,GAAH,CAApB;;AACA,UAAID,CAAC,KAAKE,SAAV,EAAqB;AACjBP,QAAAA,MAAM,CAACG,QAAD,CAAN,GAAmB,CAACE,CAAC,CAACG,OAAF,CAAU,GAAV,CAAD,GACbH,CAAC,CAACI,KAAF,CAAQ,GAAR,EAAaC,GAAb,CAAiBC,KAAK,IAAIb,MAAM,CAACa,KAAD,CAAhC,CADa,GAEbP,CAAC,CAACQ,MAAF,GACI,CAACd,MAAM,CAACO,CAAD,CAAP,CADJ,GAEIP,MAAM,CAACO,CAAD,CAJhB;AAKH;AACJ,KAVD;AAWA,WAAOL,MAAP;AACH,GAnBD;AAoBH;;AACDX,OAAO,CAACE,eAAR,GAA0BA,eAA1B","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getRouteMatcher(routeRegex) {\n const { re, groups } = routeRegex;\n return (pathname) => {\n const routeMatch = re.exec(pathname);\n if (!routeMatch) {\n return false;\n }\n const decode = decodeURIComponent;\n const params = {};\n Object.keys(groups).forEach((slugName) => {\n const g = groups[slugName];\n const m = routeMatch[g.pos];\n if (m !== undefined) {\n params[slugName] = ~m.indexOf('/')\n ? m.split('/').map(entry => decode(entry))\n : g.repeat\n ? [decode(m)]\n : decode(m);\n }\n });\n return params;\n };\n}\nexports.getRouteMatcher = getRouteMatcher;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/c44ef1b0a513674b4f90360af56aad1d.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var store = require('store');\n\nexport default function handle(req, res) {\n res.end(store.get('ids'));\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/api/test.js"],"names":["store","require","handle","req","res","end","get"],"mappings":"AAAA,IAAIA,KAAK,GAAGC,OAAO,CAAC,OAAD,CAAnB;;AAEA,eAAe,SAASC,MAAT,CAAgBC,GAAhB,EAAqBC,GAArB,EAA0B;AACrCA,EAAAA,GAAG,CAACC,GAAJ,CAAQL,KAAK,CAACM,GAAN,CAAU,KAAV,CAAR;AACH","sourcesContent":["var store = require('store')\n\nexport default function handle(req, res) {\n res.end(store.get('ids'))\n}"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/c47d31f5b779b3cb97de129ebb4c282b.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ResourceListWithProducts() {\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
\n // console.log('data', data)\n return __jsx(\"div\", null, __jsx(\"h1\", null, \"These are the products selected\"));\n}\n\nexport default ResourceListWithProducts;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ResourceListWithProducts"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,MAAMC,kBAAkB,GAAGR,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA/B;;AA6BA,SAASS,wBAAT,GAAoC;AAEhC;AAEA;AACA;AAEA;AAEA,SACI,mBACI,oDADJ,CADJ;AAKH;;AAED,eAAeA,wBAAf","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ResourceListWithProducts() {\n\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
\n\n // console.log('data', data)\n\n return (\n
\n

These are the products selected

\n
\n )\n}\n\nexport default ResourceListWithProducts;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/c6183330382b5bc3d5c3c861c284707c.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar route_matcher_1 = require(\"./route-matcher\");\n\nexports.getRouteMatcher = route_matcher_1.getRouteMatcher;\n\nvar route_regex_1 = require(\"./route-regex\");\n\nexports.getRouteRegex = route_regex_1.getRouteRegex;\n\nvar sorted_routes_1 = require(\"./sorted-routes\");\n\nexports.getSortedRoutes = sorted_routes_1.getSortedRoutes;\n\nvar is_dynamic_1 = require(\"./is-dynamic\");\n\nexports.isDynamicRoute = is_dynamic_1.isDynamicRoute;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/router/utils/index.js"],"names":["exports","value","route_matcher_1","require","getRouteMatcher","route_regex_1","getRouteRegex","sorted_routes_1","getSortedRoutes","is_dynamic_1","isDynamicRoute"],"mappings":"AAAA;;;;AACA,uBAAsBA,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAIC,eAAe,GAAGC,OAAO,CAAC,iBAAD,CAA7B;;AACAH,OAAO,CAACI,eAAR,GAA0BF,eAAe,CAACE,eAA1C;;AACA,IAAIC,aAAa,GAAGF,OAAO,CAAC,eAAD,CAA3B;;AACAH,OAAO,CAACM,aAAR,GAAwBD,aAAa,CAACC,aAAtC;;AACA,IAAIC,eAAe,GAAGJ,OAAO,CAAC,iBAAD,CAA7B;;AACAH,OAAO,CAACQ,eAAR,GAA0BD,eAAe,CAACC,eAA1C;;AACA,IAAIC,YAAY,GAAGN,OAAO,CAAC,cAAD,CAA1B;;AACAH,OAAO,CAACU,cAAR,GAAyBD,YAAY,CAACC,cAAtC","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar route_matcher_1 = require(\"./route-matcher\");\nexports.getRouteMatcher = route_matcher_1.getRouteMatcher;\nvar route_regex_1 = require(\"./route-regex\");\nexports.getRouteRegex = route_regex_1.getRouteRegex;\nvar sorted_routes_1 = require(\"./sorted-routes\");\nexports.getSortedRoutes = sorted_routes_1.getSortedRoutes;\nvar is_dynamic_1 = require(\"./is-dynamic\");\nexports.isDynamicRoute = is_dynamic_1.isDynamicRoute;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/c8779da125d737457c90c22794de368f.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\nclass MyApp extends App {\n render() {\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps)));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","translations","MyApp","render","pageProps"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;;AAGA,MAAMC,KAAN,SAAoBJ,GAApB,CAAwB;AACpBK,EAAAA,MAAM,GAAG;AAEL,WACI,MAAC,KAAD,CAAO,QAAP,QACI,MAAC,IAAD,QACI,kCADJ,EAEI;AAAM,MAAA,OAAO,EAAC;AAAd,MAFJ,CADJ,EAKQ,MAAC,WAAD;AAAa,MAAA,IAAI,EAAEF;AAAnB,OACI,MAAC,SAAD,EAAeG,SAAf,CADJ,CALR,CADJ;AAWH;;AAdmB;;AAiBxB,eAAeF,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\n\nclass MyApp extends App {\n render() {\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/cb690ba8b72dc6badcce59111b11bd76.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\n\nfunction Index() {\n return __jsx(\"div\", null, __jsx(\"p\", null, \"Hello\"));\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["Index"],"mappings":";;;AAAA,SAASA,KAAT,GAAiB;AACb,SACI,mBACI,yBADJ,CADJ;AAKH","sourcesContent":["function Index() {\n return(\n
\n

Hello

\n
\n )\n}"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/ce1a0e5832ec83bafe99db83721b4f2e.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
;\n console.log('data', data);\n return __jsx(\"div\", null, __jsx(\"p\", null, \"hello\"));\n}\n\nexport default ProductList;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ProductList","console","log","data"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,MAAMC,kBAAkB,GAAGR,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA/B;;AA6BA,SAASS,WAAT,GAAuB;AAEnB;AAEA;AACA;AAEAC,EAAAA,OAAO,CAACC,GAAR,CAAY,MAAZ,EAAoBC,IAApB;AAEA,SACI,mBACI,yBADJ,CADJ;AAKH;;AAED,eAAeH,WAAf","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
;\n\n console.log('data', data)\n\n return (\n
\n

hello

\n
\n )\n}\n\nexport default ProductList;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/ce2a8e2c548cc3e16cec17cd274e4a33.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/client/dev/noop.js"],"names":[],"mappings":"AAAA","sourcesContent":["\"use strict\";"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/cfab0815ff5c6f41244c991eccc138bb.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar __importDefault = this && this.__importDefault || function (mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nconst react_1 = __importDefault(require(\"react\"));\n\nconst amp_context_1 = require(\"./amp-context\");\n\nfunction isInAmpMode({\n ampFirst = false,\n hybrid = false,\n hasQuery = false\n} = {}) {\n return ampFirst || hybrid && hasQuery;\n}\n\nexports.isInAmpMode = isInAmpMode;\n\nfunction useAmp() {\n // Don't assign the context value to a variable to save bytes\n return isInAmpMode(react_1.default.useContext(amp_context_1.AmpStateContext));\n}\n\nexports.useAmp = useAmp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/amp.js"],"names":["__importDefault","mod","__esModule","Object","defineProperty","exports","value","react_1","require","amp_context_1","isInAmpMode","ampFirst","hybrid","hasQuery","useAmp","default","useContext","AmpStateContext"],"mappings":"AAAA;;AACA,IAAIA,eAAe,GAAI,QAAQ,KAAKA,eAAd,IAAkC,UAAUC,GAAV,EAAe;AACnE,SAAQA,GAAG,IAAIA,GAAG,CAACC,UAAZ,GAA0BD,GAA1B,GAAgC;AAAE,eAAWA;AAAb,GAAvC;AACH,CAFD;;AAGAE,MAAM,CAACC,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,MAAMC,OAAO,GAAGP,eAAe,CAACQ,OAAO,CAAC,OAAD,CAAR,CAA/B;;AACA,MAAMC,aAAa,GAAGD,OAAO,CAAC,eAAD,CAA7B;;AACA,SAASE,WAAT,CAAqB;AAAEC,EAAAA,QAAQ,GAAG,KAAb;AAAoBC,EAAAA,MAAM,GAAG,KAA7B;AAAoCC,EAAAA,QAAQ,GAAG;AAA/C,IAA0D,EAA/E,EAAmF;AAC/E,SAAOF,QAAQ,IAAKC,MAAM,IAAIC,QAA9B;AACH;;AACDR,OAAO,CAACK,WAAR,GAAsBA,WAAtB;;AACA,SAASI,MAAT,GAAkB;AACd;AACA,SAAOJ,WAAW,CAACH,OAAO,CAACQ,OAAR,CAAgBC,UAAhB,CAA2BP,aAAa,CAACQ,eAAzC,CAAD,CAAlB;AACH;;AACDZ,OAAO,CAACS,MAAR,GAAiBA,MAAjB","sourcesContent":["\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst react_1 = __importDefault(require(\"react\"));\nconst amp_context_1 = require(\"./amp-context\");\nfunction isInAmpMode({ ampFirst = false, hybrid = false, hasQuery = false, } = {}) {\n return ampFirst || (hybrid && hasQuery);\n}\nexports.isInAmpMode = isInAmpMode;\nfunction useAmp() {\n // Don't assign the context value to a variable to save bytes\n return isInAmpMode(react_1.default.useContext(amp_context_1.AmpStateContext));\n}\nexports.useAmp = useAmp;\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/d9f236fb417f2584c973f2a9c6f9ff1a.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import store from 'store-js';\nexport default function handle(req, res) {\n res.end('Hello World');\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/api/test.js"],"names":["store","handle","req","res","end"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,UAAlB;AAEA,eAAe,SAASC,MAAT,CAAgBC,GAAhB,EAAqBC,GAArB,EAA0B;AACrCA,EAAAA,GAAG,CAACC,GAAJ,CAAQ,aAAR;AACH","sourcesContent":["import store from 'store-js';\n\nexport default function handle(req, res) {\n res.end('Hello World')\n}"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/db1f29a2cb28041c9fb5b2bab1f469e9.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React from 'react';\n\nfunction Index() {\n return __jsx(\"div\", null, __jsx(\"p\", null, \"test\"));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","Index"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;AAGA,SAASC,KAAT,GAAiB;AACb,SACI,mBACI,wBADJ,CADJ;AAKH;;AAED,eAAeA,KAAf","sourcesContent":["import React from 'react';\n\n\nfunction Index() {\n return (\n
\n

test

\n
\n )\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/db9125746c09e0f941d66bce599d1110.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\n\nfunction Index() {\n return __jsx(\"div\", null, __jsx(\"p\", null, \"Hello\"));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["Index"],"mappings":";;;AAAA,SAASA,KAAT,GAAiB;AACb,SACI,mBACI,yBADJ,CADJ;AAKH;;AAED,eAAeA,KAAf","sourcesContent":["function Index() {\n return(\n
\n

Hello

\n
\n )\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/dda65d6617466ce2b20e7a0b5341dc56.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\n\nfunction Index() {\n return __jsx(\"div\", null, __jsx(\"p\", null, \"Hello\"));\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["Index"],"mappings":";;;AAAA,SAASA,KAAT,GAAiB;AACb,SACI,mBACI,yBADJ,CADJ;AAKH","sourcesContent":["function Index() {\n return(\n
\n

Hello

\n
\n )\n}"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/def91b93e8ce5b6f2b2ddc9e95df5e1b.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import _classCallCheck from \"@babel/runtime-corejs2/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime-corejs2/helpers/esm/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime-corejs2/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime-corejs2/helpers/esm/getPrototypeOf\";\nimport _inherits from \"@babel/runtime-corejs2/helpers/esm/inherits\";\nimport React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\nvar MyApp =\n/*#__PURE__*/\nfunction (_App) {\n _inherits(MyApp, _App);\n\n function MyApp() {\n _classCallCheck(this, MyApp);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(MyApp).apply(this, arguments));\n }\n\n _createClass(MyApp, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n Component = _this$props.Component,\n pageProps = _this$props.pageProps;\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps)));\n }\n }]);\n\n return MyApp;\n}(App);\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","translations","MyApp","props","Component","pageProps"],"mappings":";;;;;;;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;;IAGMC,K;;;;;;;;;;;;;6BACO;AAAA,wBAC4B,KAAKC,KADjC;AAAA,UACGC,SADH,eACGA,SADH;AAAA,UACcC,SADd,eACcA,SADd;AAGL,aACI,MAAC,KAAD,CAAO,QAAP,QACI,MAAC,IAAD,QACI,kCADJ,EAEI;AAAM,QAAA,OAAO,EAAC;AAAd,QAFJ,CADJ,EAKQ,MAAC,WAAD;AAAa,QAAA,IAAI,EAAEJ;AAAnB,SACI,MAAC,SAAD,EAAeI,SAAf,CADJ,CALR,CADJ;AAWH;;;;EAfeP,G;;AAkBpB,eAAeI,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/df5b60339fc71ba7670fa4a6f82d495d.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar React = __importStar(require(\"react\"));\n\nexports.RouterContext = React.createContext(null);","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/Udemy Courses/shopify-script-tag-app-course/node_modules/next/dist/next-server/lib/router-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","exports","value","React","require","RouterContext","createContext"],"mappings":"AAAA;;;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd;AAAmB,QAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAA3D;AACjBD,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOA,uBAAsBK,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAMC,KAAK,GAAGV,YAAY,CAACW,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,aAAR,GAAwBF,KAAK,CAACG,aAAN,CAAoB,IAApB,CAAxB","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.RouterContext = React.createContext(null);\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/e04a6dc8f52fe4246aa0147d502e5478.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import store from 'store-js';\nexport default function handle(req, res) {\n res.end(store.get('ids'));\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/api/test.js"],"names":["store","handle","req","res","end","get"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,UAAlB;AAEA,eAAe,SAASC,MAAT,CAAgBC,GAAhB,EAAqBC,GAArB,EAA0B;AACrCA,EAAAA,GAAG,CAACC,GAAJ,CAAQJ,KAAK,CAACK,GAAN,CAAU,KAAV,CAAR;AACH","sourcesContent":["import store from 'store-js';\n\nexport default function handle(req, res) {\n res.end(store.get('ids'))\n}"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/e29b9a8fdfa2a4542ddf127e461ed2b7.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React from 'react';\n\nfunction Index() {\n return __jsx(\"div\", null, __jsx(\"p\", null, \"test\"));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","Index"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;AAGA,SAASC,KAAT,GAAiB;AACb,SACI,mBACI,wBADJ,CADJ;AAKH;;AAED,eAAeA,KAAf","sourcesContent":["import React from 'react';\n\n\nfunction Index() {\n return (\n
\n

test

\n
\n )\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/e75cfde2d8a81d81aacaae5e140c7622.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nconst GET_PRODUCTS_BY_ID = gql`\nquery getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ResourceListWithProducts() {\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
\n // console.log('data', data)\n return __jsx(\"div\", null, __jsx(\"h1\", null, \"These are the products selected\"));\n}\n\nexport default ResourceListWithProducts;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ResourceList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ResourceListWithProducts"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,MAAMC,kBAAkB,GAAGR,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAA/B;;AA4BA,SAASS,wBAAT,GAAoC;AAEhC;AAEA;AACA;AAEA;AAEA,SACI,mBACI,oDADJ,CADJ;AAKH;;AAED,eAAeA,wBAAf","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\nquery getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ResourceListWithProducts() {\n\n // const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } })\n\n // if (loading) return
Loading...
;\n // if (error) return
{error.message}
\n\n // console.log('data', data)\n\n return (\n
\n

These are the products selected

\n
\n )\n}\n\nexport default ResourceListWithProducts;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/e7bf33a13ba7af5c6994a4aec700230b.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nconst React = __importStar(require(\"react\")); // @ts-ignore for some reason the React types don't like this, but it's correct.\n\n\nexports.LoadableContext = React.createContext(null);","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/loadable-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","defineProperty","exports","value","React","require","LoadableContext","createContext"],"mappings":"AAAA;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd,EAAmB,IAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAC5ED,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOAE,MAAM,CAACG,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,MAAMC,KAAK,GAAGX,YAAY,CAACY,OAAO,CAAC,OAAD,CAAR,CAA1B,C,CACA;;;AACAH,OAAO,CAACI,eAAR,GAA0BF,KAAK,CAACG,aAAN,CAAoB,IAApB,CAA1B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\n// @ts-ignore for some reason the React types don't like this, but it's correct.\nexports.LoadableContext = React.createContext(null);\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/e80289fe5476039f8c25ab1451115d2f.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker } from '@shopify/app-bridge-react';\n\nfunction Index() {\n const {\n 0: modal,\n 1: setModal\n } = useState({\n open: false\n });\n return __jsx(Page, null, __jsx(ResourcePicker, {\n resourceType: \"Product\",\n showVariants: false,\n open: modal.open,\n onCancel: () => setModal({\n open: false\n })\n }), __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products',\n onAction: () => setModal({\n open: true\n })\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","useState","EmptyState","Layout","Page","ResourcePicker","Index","modal","setModal","open","content","onAction"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,QAAhB,QAAgC,OAAhC;AACA,SAASC,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;AACA,SAASC,cAAT,QAA+B,2BAA/B;;AAEA,SAASC,KAAT,GAAiB;AAEb,QAAM;AAAA,OAACC,KAAD;AAAA,OAAQC;AAAR,MAAoBP,QAAQ,CAAC;AAAEQ,IAAAA,IAAI,EAAE;AAAR,GAAD,CAAlC;AAGA,SACI,MAAC,IAAD,QACI,MAAC,cAAD;AACI,IAAA,YAAY,EAAC,SADjB;AAEI,IAAA,YAAY,EAAE,KAFlB;AAGI,IAAA,IAAI,EAAEF,KAAK,CAACE,IAHhB;AAII,IAAA,QAAQ,EAAE,MAAMD,QAAQ,CAAC;AAAEC,MAAAA,IAAI,EAAE;AAAR,KAAD;AAJ5B,IADJ,EAOI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AACJC,MAAAA,OAAO,EAAE,iBADL;AAEJC,MAAAA,QAAQ,EAAE,MAAMH,QAAQ,CAAC;AAAEC,QAAAA,IAAI,EAAE;AAAR,OAAD;AAFpB,KAFZ;AAMI,IAAA,KAAK,EAAC;AANV,KAQI,mCARJ,CADJ,CAPJ,CADJ;AAuBH;;AAED,eAAeH,KAAf","sourcesContent":["import React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker } from '@shopify/app-bridge-react';\n\nfunction Index() {\n\n const [modal, setModal] = useState({ open: false })\n\n\n return (\n \n setModal({ open: false })}\n />\n \n setModal({ open: true })\n }}\n image=\"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n >\n

Select Products

\n \n
\n
\n )\n\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/e9ffdfd8d9fff16a04675cfd292dab81.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport { Provider } from '@shopify/app-bridge-react';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport Cookies from 'js-cookie';\n\nclass MyApp extends App {\n render() {\n const {\n Component,\n pageProps\n } = this.props;\n const config = {\n apiKey: API_KEY,\n shopOrigin: Cookies.get(\"shopOrigin\"),\n forceRedirect: true\n };\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(Provider, {\n config: config\n }, __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps))));\n }\n\n}\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","Provider","translations","Cookies","MyApp","render","Component","pageProps","props","config","apiKey","API_KEY","shopOrigin","get","forceRedirect"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,SAASC,QAAT,QAAyB,2BAAzB;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;AACA,OAAOC,OAAP,MAAoB,WAApB;;AAGA,MAAMC,KAAN,SAAoBN,GAApB,CAAwB;AACpBO,EAAAA,MAAM,GAAG;AACL,UAAM;AAAEC,MAAAA,SAAF;AAAaC,MAAAA;AAAb,QAA2B,KAAKC,KAAtC;AACA,UAAMC,MAAM,GAAG;AAAEC,MAAAA,MAAM,EAAEC,OAAV;AAAmBC,MAAAA,UAAU,EAAET,OAAO,CAACU,GAAR,CAAY,YAAZ,CAA/B;AAA0DC,MAAAA,aAAa,EAAE;AAAzE,KAAf;AAEA,WACI,MAAC,KAAD,CAAO,QAAP,QACI,MAAC,IAAD,QACI,kCADJ,EAEI;AAAM,MAAA,OAAO,EAAC;AAAd,MAFJ,CADJ,EAKI,MAAC,QAAD;AAAU,MAAA,MAAM,EAAEL;AAAlB,OACI,MAAC,WAAD;AAAa,MAAA,IAAI,EAAEP;AAAnB,OACI,MAAC,SAAD,EAAeK,SAAf,CADJ,CADJ,CALJ,CADJ;AAaH;;AAlBmB;;AAqBxB,eAAeH,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport { Provider } from '@shopify/app-bridge-react';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\nimport Cookies from 'js-cookie';\n\n\nclass MyApp extends App {\n render() {\n const { Component, pageProps } = this.props;\n const config = { apiKey: API_KEY, shopOrigin: Cookies.get(\"shopOrigin\"), forceRedirect: true };\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/eb5cb4daad32ec3b09c6e76fb6f71291.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar React = __importStar(require(\"react\"));\n\nexports.HeadManagerContext = React.createContext(null);","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/head-manager-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","exports","value","React","require","HeadManagerContext","createContext"],"mappings":"AAAA;;;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd;AAAmB,QAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAA3D;AACjBD,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOA,uBAAsBK,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAMC,KAAK,GAAGV,YAAY,CAACW,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,kBAAR,GAA6BF,KAAK,CAACG,aAAN,CAAoB,IAApB,CAA7B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.HeadManagerContext = React.createContext(null);\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/ec2bcd90f7dcf4bd32dddf50824451e6.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n return __jsx(\"div\", null, __jsx(\"h1\", null, \"Hello from Product List\"));\n}\n\nexport default ProductList;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID","ProductList"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,MAAMC,kBAAkB,GAAGR,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA/B;;AA6BA,SAASS,WAAT,GAAuB;AAGnB,SACI,mBACI,4CADJ,CADJ;AAKH;;AAED,eAAeA,WAAf","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n descriptionHtml\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n\nfunction ProductList() {\n\n\n return(\n
\n

Hello from Product List

\n
\n )\n}\n\nexport default ProductList;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/f444141b2d0d5d7acfa8010d36b24765.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"\"use strict\";\n\nvar _Object$defineProperty = require(\"@babel/runtime-corejs2/core-js/object/define-property\");\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\n\n_Object$defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar React = __importStar(require(\"react\"));\n\nexports.AmpStateContext = React.createContext({});","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/node_modules/next/dist/next-server/lib/amp-context.js"],"names":["__importStar","mod","__esModule","result","k","Object","hasOwnProperty","call","exports","value","React","require","AmpStateContext","createContext"],"mappings":"AAAA;;;;AACA,IAAIA,YAAY,GAAI,QAAQ,KAAKA,YAAd,IAA+B,UAAUC,GAAV,EAAe;AAC7D,MAAIA,GAAG,IAAIA,GAAG,CAACC,UAAf,EAA2B,OAAOD,GAAP;AAC3B,MAAIE,MAAM,GAAG,EAAb;AACA,MAAIF,GAAG,IAAI,IAAX,EAAiB,KAAK,IAAIG,CAAT,IAAcH,GAAd;AAAmB,QAAII,MAAM,CAACC,cAAP,CAAsBC,IAAtB,CAA2BN,GAA3B,EAAgCG,CAAhC,CAAJ,EAAwCD,MAAM,CAACC,CAAD,CAAN,GAAYH,GAAG,CAACG,CAAD,CAAf;AAA3D;AACjBD,EAAAA,MAAM,CAAC,SAAD,CAAN,GAAoBF,GAApB;AACA,SAAOE,MAAP;AACH,CAND;;AAOA,uBAAsBK,OAAtB,EAA+B,YAA/B,EAA6C;AAAEC,EAAAA,KAAK,EAAE;AAAT,CAA7C;;AACA,IAAMC,KAAK,GAAGV,YAAY,CAACW,OAAO,CAAC,OAAD,CAAR,CAA1B;;AACAH,OAAO,CAACI,eAAR,GAA0BF,KAAK,CAACG,aAAN,CAAoB,EAApB,CAA1B","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst React = __importStar(require(\"react\"));\nexports.AmpStateContext = React.createContext({});\n"]},"metadata":{},"sourceType":"script"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/f5f59e9f6be5bec1da2d0b3ab92daf9f.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import _classCallCheck from \"@babel/runtime-corejs2/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime-corejs2/helpers/esm/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime-corejs2/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime-corejs2/helpers/esm/getPrototypeOf\";\nimport _inherits from \"@babel/runtime-corejs2/helpers/esm/inherits\";\nimport React from \"react\";\nvar __jsx = React.createElement;\nimport App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\nvar MyApp =\n/*#__PURE__*/\nfunction (_App) {\n _inherits(MyApp, _App);\n\n function MyApp() {\n _classCallCheck(this, MyApp);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(MyApp).apply(this, arguments));\n }\n\n _createClass(MyApp, [{\n key: \"render\",\n value: function render() {\n return __jsx(React.Fragment, null, __jsx(Head, null, __jsx(\"title\", null, \"Sample App\"), __jsx(\"meta\", {\n charSet: \"utf-8\"\n })), __jsx(AppProvider, {\n i18n: translations\n }, __jsx(Component, pageProps)));\n }\n }]);\n\n return MyApp;\n}(App);\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/_app.js"],"names":["App","Head","AppProvider","translations","MyApp","pageProps"],"mappings":";;;;;;;AAAA,OAAOA,GAAP,MAAgB,UAAhB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,kBAA5B;AACA,OAAO,6BAAP;AACA,OAAOC,YAAP,MAAyB,kCAAzB;;IAGMC,K;;;;;;;;;;;;;6BACO;AAEL,aACI,MAAC,KAAD,CAAO,QAAP,QACI,MAAC,IAAD,QACI,kCADJ,EAEI;AAAM,QAAA,OAAO,EAAC;AAAd,QAFJ,CADJ,EAKQ,MAAC,WAAD;AAAa,QAAA,IAAI,EAAED;AAAnB,SACI,MAAC,SAAD,EAAeE,SAAf,CADJ,CALR,CADJ;AAWH;;;;EAdeL,G;;AAiBpB,eAAeI,KAAf","sourcesContent":["import App from 'next/app';\nimport Head from 'next/head';\nimport { AppProvider } from '@shopify/polaris';\nimport '@shopify/polaris/styles.css';\nimport translations from '@shopify/polaris/locales/en.json';\n\n\nclass MyApp extends App {\n render() {\n\n return (\n \n \n Sample App\n \n \n \n \n \n \n );\n }\n}\n\nexport default MyApp;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/f660da602abd1dbeddc897305c84a9d5.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React from 'react';\n\nfunction Index() {\n return __jsx(\"div\", null, __jsx(\"p\", null, \"test\"));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","Index"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;AAEA,SAASC,KAAT,GAAiB;AACb,SACI,mBACI,wBADJ,CADJ;AAKH;;AAED,eAAeA,KAAf","sourcesContent":["import React from 'react';\n\nfunction Index() {\n return (\n
\n

test

\n
\n )\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/fbc088578d942c1111bd276b7eebb4cc.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/components/ProductList.js"],"names":["gql","useQuery","Card","ResourceList","Stack","TextStyle","Thumbnail","store","GET_PRODUCTS_BY_ID"],"mappings":"AAAA,OAAOA,GAAP,MAAgB,aAAhB;AACA,SAASC,QAAT,QAAyB,qBAAzB;AACA,SAASC,IAAT,EAAeC,YAAf,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+CC,SAA/C,QAAgE,kBAAhE;AACA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,MAAMC,kBAAkB,GAAGR,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAA/B","sourcesContent":["import gql from 'graphql-tag';\nimport { useQuery } from '@apollo/react-hooks';\nimport { Card, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris';\nimport store from 'store-js';\n\nconst GET_PRODUCTS_BY_ID = gql`\n query getProducts($ids: [ID!]!) {\n nodes(ids: $ids) {\n ... on Product {\n title\n handle\n id\n images(first: 1) {\n edges {\n node {\n originalSrc\n altText\n }\n }\n }\n variants(first: 1) {\n edges {\n node {\n price\n id\n }\n }\n }\n }\n }\n }\n`;\n"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/fc5da1003736c4f04a087e808af68cc7.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"var __jsx = React.createElement;\nimport React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker, TitleBar } from '@shopify/app-bridge-react';\n\nfunction Index() {\n const {\n 0: modal,\n 1: setModal\n } = useState({\n open: false\n });\n return __jsx(Page, null, __jsx(ResourcePicker, {\n resourceType: \"Product\",\n showVariants: false,\n open: modal.open // onSelection={(resources) => this.handleSelection(resources)}\n ,\n onCancel: () => this.setModal({\n open: false\n })\n }), __jsx(Layout, null, __jsx(EmptyState, {\n heading: \"Manage your inventory transfers\",\n action: {\n content: 'Select Products'\n },\n image: \"https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg\"\n }, __jsx(\"p\", null, \"Select Products\"))));\n}\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["React","useState","EmptyState","Layout","Page","ResourcePicker","TitleBar","Index","modal","setModal","open","content"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,QAAhB,QAAgC,OAAhC;AACA,SAASC,UAAT,EAAqBC,MAArB,EAA6BC,IAA7B,QAAyC,kBAAzC;AACA,SAASC,cAAT,EAAyBC,QAAzB,QAAyC,2BAAzC;;AAGA,SAASC,KAAT,GAAiB;AAEb,QAAM;AAAA,OAACC,KAAD;AAAA,OAAQC;AAAR,MAAoBR,QAAQ,CAAC;AAAES,IAAAA,IAAI,EAAE;AAAR,GAAD,CAAlC;AAEA,SACI,MAAC,IAAD,QACI,MAAC,cAAD;AACI,IAAA,YAAY,EAAC,SADjB;AAEI,IAAA,YAAY,EAAE,KAFlB;AAGI,IAAA,IAAI,EAAEF,KAAK,CAACE,IAHhB,CAII;AAJJ;AAKI,IAAA,QAAQ,EAAE,MAAM,KAAKD,QAAL,CAAc;AAAEC,MAAAA,IAAI,EAAE;AAAR,KAAd;AALpB,IADJ,EAQI,MAAC,MAAD,QACI,MAAC,UAAD;AACI,IAAA,OAAO,EAAC,iCADZ;AAEI,IAAA,MAAM,EAAE;AAAEC,MAAAA,OAAO,EAAE;AAAX,KAFZ;AAGI,IAAA,KAAK,EAAC;AAHV,KAKI,mCALJ,CADJ,CARJ,CADJ;AAqBH;;AAED,eAAeJ,KAAf","sourcesContent":["import React, { useState } from 'react';\nimport { EmptyState, Layout, Page } from '@shopify/polaris';\nimport { ResourcePicker, TitleBar } from '@shopify/app-bridge-react';\n\n\nfunction Index() {\n\n const [modal, setModal] = useState({ open: false });\n\n return (\n \n this.handleSelection(resources)}\n onCancel={() => this.setModal({ open: false })}\n />\n \n \n

Select Products

\n \n
\n
\n )\n\n}\n\nexport default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/fee54a1c467ba757905e0ab2e5d0e50d.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\n\nvar Index = function Index() {\n return __jsx(\"div\", null, __jsx(\"p\", null, \"Sample app using React and Next.js\"));\n};\n\nexport default Index;","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/index.js"],"names":["Index"],"mappings":";;;AAAA,IAAMA,KAAK,GAAG,SAARA,KAAQ;AAAA,SACV,mBACE,sDADF,CADU;AAAA,CAAd;;AAME,eAAeA,KAAf","sourcesContent":["const Index = () => (\n
\n

Sample app using React and Next.js

\n
\n );\n \n export default Index;"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/cache/next-babel-loader/ffe781305e7670f8e9b43787b625f6d1.json: -------------------------------------------------------------------------------- 1 | {"ast":null,"code":"import store from 'store-js';\nconsole.log(store.get('ids'));\nexport default function handle(req, res) {\n res.end('Hello World');\n}","map":{"version":3,"sources":["/Users/iskandarkurbanov/Desktop/script-tag-app/pages/api/test.js"],"names":["store","console","log","get","handle","req","res","end"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,UAAlB;AAEAC,OAAO,CAACC,GAAR,CAAYF,KAAK,CAACG,GAAN,CAAU,KAAV,CAAZ;AAEA,eAAe,SAASC,MAAT,CAAgBC,GAAhB,EAAqBC,GAArB,EAA0B;AACrCA,EAAAA,GAAG,CAACC,GAAJ,CAAQ,aAAR;AACH","sourcesContent":["import store from 'store-js';\n\nconsole.log(store.get('ids'))\n\nexport default function handle(req, res) {\n res.end('Hello World')\n}"]},"metadata":{},"sourceType":"module"} -------------------------------------------------------------------------------- /.next/react-loadable-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "./dev/noop": [ 3 | { 4 | "id": "./node_modules/next/dist/client/dev/noop.js", 5 | "name": "./node_modules/next/dist/client/dev/noop.js", 6 | "file": "static/chunks/0.js", 7 | "publicPath": "static/chunks/0.js" 8 | } 9 | ] 10 | } -------------------------------------------------------------------------------- /.next/server/pages-manifest.json: -------------------------------------------------------------------------------- 1 | {"/_app":"static/development/pages/_app.js","/_document":"static/development/pages/_document.js","/_error":"static/development/pages/_error.js","/index":"static/development/pages/index.js","/":"static/development/pages/index.js"} -------------------------------------------------------------------------------- /.next/server/ssr-module-cache.js: -------------------------------------------------------------------------------- 1 | 2 | /* This cache is used by webpack for instantiated modules */ 3 | module.exports = {} 4 | -------------------------------------------------------------------------------- /.next/static/chunks/0.js: -------------------------------------------------------------------------------- 1 | (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ 2 | 3 | /***/ "./node_modules/next/dist/client/dev/noop.js": 4 | /*!***************************************************!*\ 5 | !*** ./node_modules/next/dist/client/dev/noop.js ***! 6 | \***************************************************/ 7 | /*! no static exports found */ 8 | /***/ (function(module, exports, __webpack_require__) { 9 | 10 | "use strict"; 11 | 12 | 13 | /***/ }) 14 | 15 | }]); 16 | //# sourceMappingURL=0.js.map -------------------------------------------------------------------------------- /.next/static/chunks/0.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"static/chunks/0.js","sources":[],"mappings":";;;;;;;;;;;;;;A","sourceRoot":""} -------------------------------------------------------------------------------- /.next/static/development/_buildManifest.js: -------------------------------------------------------------------------------- 1 | self.__BUILD_MANIFEST = {};self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB() -------------------------------------------------------------------------------- /.next/static/webpack/6490f36b973f9ed539d6.hot-update.json: -------------------------------------------------------------------------------- 1 | {"h":"4a03526b851e8164580a","c":{}} -------------------------------------------------------------------------------- /components/ProductList.js: -------------------------------------------------------------------------------- 1 | import gql from 'graphql-tag'; 2 | import { useQuery } from '@apollo/react-hooks'; 3 | import { Card, Button, ResourceList, Stack, TextStyle, Thumbnail } from '@shopify/polaris'; 4 | import store from 'store-js'; 5 | 6 | const GET_PRODUCTS_BY_ID = gql` 7 | query getProducts($ids: [ID!]!) { 8 | nodes(ids: $ids) { 9 | ... on Product { 10 | title 11 | handle 12 | id 13 | images(first: 1) { 14 | edges { 15 | node { 16 | originalSrc 17 | altText 18 | } 19 | } 20 | } 21 | variants(first: 1) { 22 | edges { 23 | node { 24 | price 25 | id 26 | } 27 | } 28 | } 29 | } 30 | } 31 | } 32 | `; 33 | 34 | function ProductList() { 35 | 36 | const { loading, error, data } = useQuery(GET_PRODUCTS_BY_ID, { variables: { ids: store.get('ids') } }) 37 | 38 | 39 | if (loading) return
Loading...
40 | if (error) return
{error.message}
41 | 42 | return ( 43 | <> 44 | 45 | { 50 | const media = ( 51 | 59 | ); 60 | const price = item.variants.edges[0].node.price; 61 | return ( 62 | 67 | 68 | 69 |

70 | 71 | {item.title} 72 | 73 |

74 |
75 | 76 |

${price}

77 |
78 |
79 |
80 | ) 81 | }} 82 | /> 83 |
84 | 85 | ) 86 | } 87 | 88 | export default ProductList; -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config(); 2 | 3 | const webpack = require('webpack'); 4 | 5 | const apiKey = JSON.stringify(process.env.SHOPIFY_API_KEY); 6 | 7 | module.exports = { 8 | webpack: (config) => { 9 | const env = { API_KEY: apiKey }; 10 | config.plugins.push(new webpack.DefinePlugin(env)); 11 | return config; 12 | } 13 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "script-tag-app", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "server.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1", 8 | "dev": "node server.js", 9 | "build": "next build", 10 | "start": "NODE_ENV=production node server.js" 11 | }, 12 | "keywords": [], 13 | "author": "", 14 | "license": "ISC", 15 | "dependencies": { 16 | "@apollo/react-hooks": "^3.1.3", 17 | "@koa/cors": "^3.0.0", 18 | "@koa/router": "^8.0.8", 19 | "@shopify/app-bridge-react": "^1.16.0", 20 | "@shopify/koa-shopify-auth": "^3.1.56", 21 | "@shopify/koa-shopify-graphql-proxy": "^3.3.1", 22 | "@shopify/polaris": "^4.13.0", 23 | "@zeit/next-css": "^1.0.1", 24 | "apollo-boost": "^0.4.7", 25 | "axios": "^0.19.2", 26 | "dotenv": "^8.2.0", 27 | "ejs": "^3.0.1", 28 | "graphql": "^14.6.0", 29 | "graphql-tag": "^2.10.3", 30 | "isomorphic-fetch": "^2.2.1", 31 | "js-cookie": "^2.2.1", 32 | "koa": "^2.11.0", 33 | "koa-body": "^4.1.1", 34 | "koa-bodyparser": "^4.2.1", 35 | "koa-cors": "0.0.16", 36 | "koa-router": "^8.0.8", 37 | "koa-session": "^5.13.1", 38 | "koa-static": "^5.0.0", 39 | "next": "^9.2.1", 40 | "node-fetch": "^2.6.0", 41 | "nodemon": "^2.0.2", 42 | "react": "^16.12.0", 43 | "react-apollo": "^3.1.3", 44 | "react-dom": "^16.12.0", 45 | "requirejs": "^2.3.6", 46 | "store-js": "^2.0.4" 47 | }, 48 | "proxy": "https://305b659c.ngrok.io" 49 | } 50 | -------------------------------------------------------------------------------- /pages/_app.js: -------------------------------------------------------------------------------- 1 | import App from 'next/app'; 2 | import Head from 'next/head'; 3 | import { AppProvider } from '@shopify/polaris'; 4 | import { Provider } from '@shopify/app-bridge-react' 5 | import '@shopify/polaris/styles.css'; 6 | import translations from '@shopify/polaris/locales/en.json'; 7 | import Cookies from 'js-cookie'; 8 | import ApolloClient from 'apollo-boost'; 9 | import { ApolloProvider } from 'react-apollo'; 10 | 11 | const client = new ApolloClient({ 12 | fetchOptions: { 13 | credentials: 'include' 14 | } 15 | }); 16 | 17 | 18 | class MyApp extends App { 19 | render() { 20 | const { Component, pageProps } = this.props; 21 | const config = { apiKey: API_KEY, shopOrigin: Cookies.get('shopOrigin'), forceRedirect: true } 22 | 23 | return ( 24 | 25 | 26 | Sample App 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | ); 38 | } 39 | } 40 | 41 | export default MyApp; -------------------------------------------------------------------------------- /pages/index.js: -------------------------------------------------------------------------------- 1 | import React, { useState } from 'react'; 2 | import { EmptyState, Layout, Page } from '@shopify/polaris'; 3 | import { ResourcePicker, TitleBar } from '@shopify/app-bridge-react'; 4 | import store from 'store-js'; 5 | import ProductList from '../components/ProductList'; 6 | import axios from 'axios'; 7 | 8 | function Index() { 9 | 10 | const [modal, setModal] = useState({ open: false }) 11 | const emptyState = !store.get('ids'); 12 | 13 | function handleSelection(resources) { 14 | const idsFromResources = resources.selection.map((product) => product.id); 15 | setModal({ open: false }); 16 | store.set('ids', idsFromResources) 17 | 18 | const selectedProducts = resources.selection; 19 | 20 | deleteApiData(); 21 | 22 | selectedProducts.map(product => makeApiCall(product)); 23 | } 24 | 25 | function deleteApiData() { 26 | const url = '/api/products'; 27 | 28 | axios.delete(url); 29 | } 30 | 31 | async function makeApiCall(products) { 32 | const url = '/api/products'; 33 | 34 | axios.post(url, products) 35 | .then(result => console.log(result)) 36 | .catch(error => console.log(error)) 37 | } 38 | 39 | 40 | return ( 41 | 42 | setModal({ open: true }) 46 | }} 47 | /> 48 | setModal({ open: false })} 53 | onSelection={(resources) => handleSelection(resources)} 54 | /> 55 | {emptyState ? 56 | 57 | setModal({ open: true }) 62 | }} 63 | image="https://cdn.shopify.com/s/files/1/0757/9955/files/empty-state.svg" 64 | > 65 |

Select Products

66 |
67 |
68 | : 69 | 70 | } 71 |
72 | ) 73 | 74 | } 75 | 76 | export default Index; 77 | -------------------------------------------------------------------------------- /public/test-script.js: -------------------------------------------------------------------------------- 1 | const script = document.createElement("script"); 2 | script.src = "https://code.jquery.com/jquery-3.4.1.min.js"; 3 | script.type = "text/javascript"; 4 | script.onreadystatechange = handler; 5 | script.onload = handler; 6 | document.getElementsByTagName("head")[0].appendChild(script); 7 | 8 | 9 | function handler() { 10 | 11 | const body = $('body'); 12 | 13 | body.css({ 14 | 'position': 'relative' 15 | }) 16 | 17 | const shop = Shopify.shop; 18 | 19 | 20 | const makeApp = products => { 21 | 22 | const bestSellerContainer = $( 23 | `
24 |

Our Best Sellers

25 | ${products.map(item => { 26 | return ` 27 | 28 | 29 |
30 |

${item.title}

31 |

${item.variants[0].price}

32 |
33 |
34 | ` 35 | }).join('') 36 | } 37 |
` 38 | ) 39 | .css({ 40 | 'position': 'fixed', 41 | 'background-color': '#ffffff', 42 | 'padding': '10px', 43 | 'border': '1px solid black', 44 | 'bottom': '80px', 45 | 'right': '25px', 46 | 'height': '400px', 47 | 'width': '350px', 48 | 'display': 'none' 49 | }) 50 | 51 | const bestSellerButton = $('').attr('src', 'https://cdn.shopify.com/s/files/1/0325/3174/2765/files/bestseller-button-trans.png?v=1584741923') 52 | .css({ 53 | 'position': 'fixed', 54 | 'width': '150px', 55 | 'bottom': '20px', 56 | 'right': '20px', 57 | 'cursor': 'pointer' 58 | }) 59 | 60 | body.append(bestSellerButton); 61 | body.append(bestSellerContainer); 62 | 63 | bestSellerButton.click(() => { 64 | bestSellerContainer.slideToggle(); 65 | }) 66 | } 67 | 68 | 69 | fetch( 70 | `https://cors-anywhere.herokuapp.com/https://b056b7566d2b.ngrok.io/api/products?shop=${shop}` 71 | ) 72 | .then((res) => res.json()) 73 | .then((data) => { 74 | makeApp(data.data); 75 | console.log(data); 76 | }) 77 | .catch((error) => console.log(error)); 78 | 79 | 80 | } -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- 1 | require('isomorphic-fetch'); 2 | const dotenv = require('dotenv'); 3 | const Koa = require('koa'); 4 | const KoaRouter = require('koa-router'); 5 | const next = require('next'); 6 | const { default: createShopifyAuth } = require('@shopify/koa-shopify-auth'); 7 | const { verifyRequest } = require('@shopify/koa-shopify-auth'); 8 | const session = require('koa-session'); 9 | const koaBody = require('koa-body') 10 | 11 | 12 | dotenv.config(); 13 | const { default: graphQLProxy } = require('@shopify/koa-shopify-graphql-proxy'); 14 | const { ApiVersion } = require('@shopify/koa-shopify-graphql-proxy'); 15 | 16 | 17 | const port = parseInt(process.env.PORT, 10) || 3000; 18 | const dev = process.env.NODE_ENV !== 'production'; 19 | const app = next({ dev }); 20 | const handle = app.getRequestHandler(); 21 | 22 | const { SHOPIFY_API_SECRET_KEY, SHOPIFY_API_KEY } = process.env; 23 | 24 | const server = new Koa(); 25 | const router = new KoaRouter(); 26 | 27 | var products = []; 28 | 29 | router.get('/api/products', async (ctx) => { 30 | try { 31 | ctx.body = { 32 | status: 'success', 33 | data: products 34 | } 35 | } catch (error) { 36 | console.log(error) 37 | } 38 | }) 39 | 40 | router.post('/api/products', koaBody(), async (ctx) => { 41 | try { 42 | const body = ctx.request.body; 43 | await products.push(body) 44 | ctx.body = "Item Added" 45 | } catch (error) { 46 | console.log(error) 47 | } 48 | }) 49 | 50 | router.delete('/api/products', koaBody(), async (ctx) => { 51 | try { 52 | products = []; 53 | ctx.body = "All items deleted!" 54 | } catch (error) { 55 | console.log(error) 56 | } 57 | }) 58 | 59 | // Router Middleware 60 | server.use(router.allowedMethods()); 61 | server.use(router.routes()); 62 | 63 | app.prepare().then(() => { 64 | 65 | 66 | server.use(session({ sameSite: 'none', secure: true }, server)); 67 | server.keys = [SHOPIFY_API_SECRET_KEY]; 68 | 69 | server.use( 70 | createShopifyAuth({ 71 | apiKey: SHOPIFY_API_KEY, 72 | secret: SHOPIFY_API_SECRET_KEY, 73 | scopes: [ 74 | 'read_products', 75 | 'write_products', 76 | 'read_script_tags', 77 | 'write_script_tags' 78 | ], 79 | afterAuth(ctx) { 80 | const { shop, accessToken } = ctx.session; 81 | ctx.cookies.set('shopOrigin', shop, { 82 | httpOnly: false, 83 | secure: true, 84 | sameSite: 'none' 85 | }); 86 | ctx.redirect('/'); 87 | }, 88 | }), 89 | ); 90 | 91 | server.use(graphQLProxy({ version: ApiVersion.October19 })) 92 | server.use(verifyRequest()); 93 | 94 | 95 | 96 | server.use(async (ctx) => { 97 | await handle(ctx.req, ctx.res); 98 | ctx.respond = false; 99 | ctx.res.statusCode = 200; 100 | }); 101 | 102 | server.listen(port, () => { 103 | console.log(`> Ready on http://localhost:${port}`); 104 | }); 105 | 106 | }); 107 | --------------------------------------------------------------------------------