{"version":3,"sources":["webpack:///./node_modules/Ceres/resources/js/src/app/components/itemList/ItemStoreSpecial.vue","webpack:///./node_modules/Ceres/resources/js/src/app/components/itemList/ItemStoreSpecial.vue?4d8f","webpack:///./node_modules/Ceres/resources/js/src/app/components/itemList/ItemStoreSpecial.vue?a82e","webpack:///./node_modules/Ceres/resources/js/src/app/helper/getSlotData.js","webpack:///node_modules/Ceres/resources/js/src/app/components/itemList/ItemStoreSpecial.vue","webpack:///resources/js/src/app/components/itemList/CategoryImageCarousel.vue","webpack:///resources/js/src/app/components/itemList/CategoryItem.vue","webpack:///./node_modules/Ceres/resources/js/src/app/components/itemList/ItemStoreSpecial.vue?8279","webpack:///./resources/js/src/app/components/itemList/CategoryImageCarousel.vue?27c1","webpack:///./resources/js/src/app/components/itemList/CategoryItem.vue?fe78","webpack:///./resources/js/src/app/components/itemList/CategoryImageCarousel.vue","webpack:///./resources/js/src/app/components/itemList/CategoryImageCarousel.vue?059e","webpack:///./resources/js/src/app/components/itemList/CategoryImageCarousel.vue?a063","webpack:///./resources/js/src/app/components/itemList/CategoryItem.vue","webpack:///./resources/js/src/app/components/itemList/CategoryItem.vue?dd9f","webpack:///./resources/js/src/app/components/itemList/CategoryItem.vue?c61b"],"names":["getSlotData","slotKey","vm","$options","slotData","hasOwnProperty","$slots","slotNode","elm","JSON","parse","textContent","text"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4F;AAC5F,gBAAgB,8FAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA,wCAAoL,CAAgB,0NAAG,EAAC,C;;;;;;;;;;;;ACAxM;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;;;;;;;;AAQO,SAASA,WAAT,CAAqBC,OAArB,EACP;AACI,SAAO,UAACC,EAAD,EACP;AACIA,MAAE,CAACC,QAAH,CAAYC,QAAZ,GAAuBF,EAAE,CAACC,QAAH,CAAYC,QAAZ,IAAwB,EAA/C;;AACA,QAAI,CAACF,EAAE,CAACC,QAAH,CAAYC,QAAZ,CAAqBC,cAArB,CAAoCJ,OAApC,CAAD,IAAiDC,EAAE,CAACI,MAAH,CAAUD,cAAV,CAAyBJ,OAAzB,CAArD,EACA;AACI,UAAMM,QAAQ,GAAGL,EAAE,CAACI,MAAH,CAAUL,OAAV,EAAmB,CAAnB,CAAjB;;AAEA,UAAIM,QAAQ,CAACC,GAAb,EACA;AACIN,UAAE,CAACC,QAAH,CAAYC,QAAZ,CAAqBH,OAArB,IAAgCQ,IAAI,CAACC,KAAL,CAAWH,QAAQ,CAACC,GAAT,CAAaG,WAAxB,CAAhC;AACH,OAHD,MAKA;AACIT,UAAE,CAACC,QAAH,CAAYC,QAAZ,CAAqBH,OAArB,IAAgCQ,IAAI,CAACC,KAAL,CAAWH,QAAQ,CAACK,IAApB,CAAhC;AACH;AACJ;;AAED,WAAOV,EAAE,CAACC,QAAH,CAAYC,QAAZ,CAAqBH,OAArB,CAAP;AACH,GAlBD;AAmBH,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACVD;AAEA;AAEA,4BAFA;AAIA,UACA,cADA,EAEA,wBAFA,EAGA,sBAHA,EAIA,mBAJA,EAKA,cALA,EAMA,YANA,EAOA,UAPA,CAJA;AAcA,MAdA,kBAeA;AACA;AACA,kBADA;AAEA,eAFA;AAGA,kBACA;AACA,qCADA;AAEA,oCAFA;AAGA,oCAHA;AAIA,gCAJA;AAKA,gDALA;AAMA;AANA,OAJA;AAYA,cACA;AACA,+DADA;AAEA,6DAFA;AAGA;AAHA;AAbA;AAmBA,GAnCA;AAqCA,YACA;AACA,YADA,sBACA;AACA;AACA,KAHA;AAKA,YALA,sBAKA;AACA;AACA,KAPA;AASA,SATA,mBASA;AACA;AACA;AAXA,GAtCA;AAoDA,SApDA,qBAqDA;AACA;AACA,GAvDA;AAyDA,WACA;AACA,0BADA,oCAEA;AACA,uGACA;AACA;AACA,OAHA,MAKA;AACA;AACA;;AAEA;AACA,KAbA;AAeA,YAfA,sBAgBA;AACA,8OACA;AACA;AACA;;AAEA,sGACA;AACA;AACA;;AAEA;AACA,KA5BA;AA8BA,qBA9BA,+BA+BA;AACA;;AAEA,mGACA;AACA;AACA,OAHA,MAKA;AACA;AACA;;AAEA,uBACA;AACA;AACA;;AAEA;AACA;AAjDA,GA1DA;AA8GA,SACA;AACA,gBADA,0BAEA;AACA;AACA;AAJA;AA/GA,G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2BA;AAEA,iCAFA;AAIA;AACA,mBACA;AACA;AADA,KAFA;AAKA,aACA;AACA;AADA,KANA;AASA,aACA;AACA;AADA,KAVA;AAaA,eACA;AACA;AADA,KAdA;AAiBA,cACA;AACA,mBADA;AAEA;AAFA,KAlBA;AAsBA,aACA;AACA,mBADA;AAEA;AAFA,KAvBA;AA2BA;AACA,mBADA;AAEA;AAFA,KA3BA;AA+BA,6BACA;AACA;AADA,KAhCA;AAmCA,oBACA;AACA;AADA,KApCA;AAuCA,cACA;AACA;AADA;AAxCA,GAJA;AAiDA,MAjDA,kBAiDA;AACA;AACA;AADA;AAGA,GArDA;AAuDA,YACA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;;AAEA;AACA,OATA;AAUA,KAZA;AAaA,oBAbA,8BAaA;AACA;AACA;AAfA,GAxDA;AA0EA,SA1EA,qBA0EA;AAAA;;AACA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA,KAJA;AAKA,GArFA;AAuFA,WACA;AACA,sBADA,gCACA;AAAA;;AACA;AACA,6BADA;AAEA,gBAFA;AAGA,wBAHA;AAIA,uCAJA;AAKA,uCALA;AAMA,kBANA;AAOA,2BAPA;AAQA,sDACA,SADA,iGAEA,SAFA,4DARA;AAYA,oBAZA,wBAYA,KAZA,EAYA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAnBA;AAoBA;AACA;AACA;AAAA;AAAA;;AACA;AAAA;AAAA;AACA;AACA;AAzBA;AA2BA,KA7BA;AA+BA,cA/BA,sBA+BA,KA/BA,EA+BA;AACA;AAEA;AACA,KAnCA;AAqCA,gBArCA,wBAqCA,KArCA,EAqCA;AACA;AAEA;AACA,KAzCA;AA2CA,iBA3CA,yBA2CA,KA3CA,EA2CA;AACA;AACA,KA7CA;AA+CA,kBA/CA,0BA+CA,KA/CA,EA+CA;AACA;AACA;AAjDA;AAxFA,G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoIA;AACA;AACA;AACA;AACA;AAEA;AACA;AAGA;AACA,cACA;AACA,8FADA;AAEA;AAFA,GAFA;AAOA,SACA;AACA,kBACA;AACA,kBADA;AAEA;AAFA,KAFA;AAOA,eACA;AACA,mBADA;AAEA;AAFA,KARA;AAYA,sBACA;AACA,kBADA;AAEA;AAFA,KAbA;AAiBA,cACA;AACA;AADA,KAlBA;AAqBA,6BACA;AACA;AADA,KAtBA;AAyBA,oBACA;AACA,kBADA;AAEA;AAFA,KA1BA;AA8BA,yBACA;AACA,kBADA;AAEA;AAFA,KA/BA;AAmCA,6BACA;AACA,mBADA;AAEA;AAFA;AApCA,GARA;AAkDA,mBACA,aADA,CAlDA;AAsDA,SAtDA,qBAsDA;AAAA;;AACA;AACA;;AACA;;AACA;;AACA;;AACA;AACA,KANA;AAOA,GA9DA;AAgEA;AAEA,UAFA,oBAEA;AACA;;AACA;AACA;AACA;;AAEA;AACA,KATA;AAWA,cAXA,wBAWA;AACA;AACA,KAbA;AAeA,sBAfA,gCAeA;AACA;AACA;AACA;;AACA;AACA,KApBA;AAsBA,QAtBA,kBAsBA;AACA;AACA,KAxBA;AA0BA,gHA1BA;AA4BA,gBA5BA,0BA4BA;AACA;AACA,KA9BA;AAgCA,SAhCA,mBAgCA;AACA;AACA,KAlCA;AAoCA,aApCA,uBAoCA;AACA;AACA,KAtCA;AAwCA,gBAxCA,0BAwCA;AACA,4CACA,oCADA,EAEA,iCAFA;AAIA,KA7CA;AA+CA,sBA/CA,gCA+CA;AACA;AACA,KAjDA;AAmDA,gBAnDA,0BAmDA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SANA,MAMA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AAAA;AAAA;AAAA;AACA;AApFA,KAsFA;AACA;AAAA;AAAA,KADA;AAEA;AAAA;AAAA;AAFA,IAtFA,CAhEA;AA4JA,MA5JA,kBA4JA;AACA;AACA,gCADA;AAEA,qBAFA;AAGA,wBAHA;AAIA,qBAJA;AAKA,sBALA;AAMA,6BANA;AAOA;AAPA;AASA,GAtKA;AAwKA,WACA;AACA,iBADA,2BACA;AACA;AACA;AACA;AACA;AACA,KANA;AAQA,gBARA,wBAQA,GARA,EAQA,IARA,EAQA,EARA,EAQA;AAIA;;AACA;AACA;AACA;;AACA;;AAEA;AACA;AACA,OAFA,MAGA;AACA;AACA;AACA,KAxBA;AA0BA,mBA1BA,6BA0BA;AAAA;;AAEA;AAEA;AAAA;AAAA;AAAA,SACA,IADA,CACA;AAEA;AAEA;;AAEA;AAEA;;AAEA;AACA;AACA;;AAKA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,OA/CA,EAgDA,KAhDA,CAgDA;AACA;AACA;AACA,OAnDA;AAoDA,KAlFA;AAoFA,cApFA,sBAoFA,IApFA,EAoFA;AAEA;;AAEA;AACA;AACA;AACA;AACA,WAFA;AAGA;AACA;AACA,WAFA;AAGA;AACA;AACA,WAFA,EAEA,GAFA;AAGA;AACA,OAZA,MAYA;AACA;AACA;AACA;AACA,WAFA;AAGA;;AACA;AACA;AACA,SAFA,EAEA,GAFA;AAGA;AAEA,KA/GA;AAiHA,0BAjHA,oCAiHA;AACA;AACA;AACA;AACA,SAFA;AAGA;AAEA;AACA;AACA,SAFA;AAIA;AACA;AACA,KA9HA;AAgIA,mBAhIA,6BAgIA;AACA;AACA,uBADA;AAEA,wBAFA;AAGA,mCAHA;AAIA;AAJA;AAMA,KAvIA;AAyIA,mBAzIA,2BAyIA,KAzIA,EAyIA;AAEA;AAEA;AACA;AACA;AAEA,KAjJA;AAmJA,kBAnJA,4BAmJA;AAEA;AACA;;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA,mBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAlBA;AAoBA;AACA,WAtBA,EAsBA,GAtBA;AAuBA;AACA,OA5BA;;AA8BA;AACA;AACA;AACA;AAzLA;AAzKA,CADA,E;;;;;;;;;;;;AC7LA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA,iBAAiB,kCAAkC;AACnD;AACA,wBAAwB,4CAA4C;AACpE;AACA;AACA;AACA,wBAAwB,mCAAmC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,gCAAgC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,aAAa,6DAA6D;AAC1E;AACA;AACA;AACA,iBAAiB,gCAAgC;AACjD;AACA;AACA;AACA,4BAA4B;AAC5B,mBAAmB;AACnB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,SAAS,oBAAoB,EAAE;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA,aAAa,6DAA6D;AAC1E;AACA;AACA;AACA,iBAAiB,gCAAgC;AACjD;AACA;AACA;AACA,4BAA4B;AAC5B,mBAAmB;AACnB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClHA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,qBAAqB,wCAAwC;AAC7D;AACA;AACA;AACA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,wCAAwC;AACvD;AACA;AACA,+BAA+B,6CAA6C;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA,uBAAuB,6CAA6C;AACpE;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,qDAAqD;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,wBAAwB;AACnD,6BAA6B,uBAAuB;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,iCAAiC;AAClE;AACA,uCAAuC,4BAA4B;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,4BAA4B;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,6CAA6C;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,qBAAqB;AACxC,qBAAqB,uBAAuB;AAC5C,uBAAuB,qDAAqD;AAC5E;AACA;AACA;AACA;AACA,0BAA0B;AAC1B,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,uBAAuB;AACpC;AACA;AACA;AACA;AACA;AACA,0BAA0B;AAC1B,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,wBAAwB;AACjD,2BAA2B,uBAAuB;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,iCAAiC;AAChE;AACA,qCAAqC,4BAA4B;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,4BAA4B;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7nBA;AAAA;AAAA;AAAA;AAAoG;AAC3B;AACL;;;AAGpE;AACsG;AACtG,gBAAgB,2GAAU;AAC1B,EAAE,2FAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA,wCAA6M,CAAgB,yPAAG,EAAC,C;;;;;;;;;;;;ACAjO;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAA2F;AAC3B;AACL;;;AAG3D;AACsG;AACtG,gBAAgB,2GAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,uFAAM;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA,wCAAoM,CAAgB,gPAAG,EAAC,C;;;;;;;;;;;;ACAxN;AAAA;AAAA;AAAA;AAAA;AAAA","file":"chunks/ceres-5.js","sourcesContent":["import { render, staticRenderFns } from \"./ItemStoreSpecial.vue?vue&type=template&id=9c9f35c6&\"\nimport script from \"./ItemStoreSpecial.vue?vue&type=script&lang=js&\"\nexport * from \"./ItemStoreSpecial.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Users/fhartwig/Sites/pp-weberbuero/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('9c9f35c6')) {\n api.createRecord('9c9f35c6', component.options)\n } else {\n api.reload('9c9f35c6', component.options)\n }\n module.hot.accept(\"./ItemStoreSpecial.vue?vue&type=template&id=9c9f35c6&\", function () {\n api.rerender('9c9f35c6', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"node_modules/Ceres/resources/js/src/app/components/itemList/ItemStoreSpecial.vue\"\nexport default component.exports","import mod from \"-!../../../../../../../babel-loader/lib/index.js!../../../../../../../vue-loader/lib/index.js??vue-loader-options!./ItemStoreSpecial.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../babel-loader/lib/index.js!../../../../../../../vue-loader/lib/index.js??vue-loader-options!./ItemStoreSpecial.vue?vue&type=script&lang=js&\"","export * from \"-!../../../../../../../vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../vue-loader/lib/index.js??vue-loader-options!./ItemStoreSpecial.vue?vue&type=template&id=9c9f35c6&\"","/**\n * Return a getter function to read json formatted data from a slot of the component.\n * This can be used to create a dynamic property for a vue component returning the parsed\n * json data from the given slot.\n * Once the data have been parsed, the result is stored on the vm options to avoid parsing the slot again.\n *\n * @param string slotKey The identifier of the slot to parse json data from\n */\nexport function getSlotData(slotKey)\n{\n return (vm) =>\n {\n vm.$options.slotData = vm.$options.slotData || {};\n if (!vm.$options.slotData.hasOwnProperty(slotKey) && vm.$slots.hasOwnProperty(slotKey))\n {\n const slotNode = vm.$slots[slotKey][0];\n\n if (slotNode.elm)\n {\n vm.$options.slotData[slotKey] = JSON.parse(slotNode.elm.textContent);\n }\n else\n {\n vm.$options.slotData[slotKey] = JSON.parse(slotNode.text);\n }\n }\n\n return vm.$options.slotData[slotKey];\n };\n}\n","<template>\n <div v-if=\"hasLabel || isBundle || isSet\" class=\"special-tags p-2\">\n \n <span v-if=\"hasLabel\" class=\"badge\" :class=\"tagClass\">\n {{ label }}\n </span>\n\n <span v-else-if=\"isBundle\" :class=\"tagClasses.itemBundle\">\n {{ $translate(\"Ceres::Template.itemBundle\") }}\n </span>\n\n <span v-else-if=\"isSet\" :class=\"tagClasses.itemSet\">\n {{ $translate(\"Ceres::Template.itemSet\") }}\n </span>\n\n </div>\n</template>\n\n<script>\nimport { isNullOrUndefined, isDefined } from \"../../helper/utils\";\n\nexport default {\n\n name: \"item-store-special\",\n\n props: [\n \"storeSpecial\",\n \"recommendedRetailPrice\",\n \"variationRetailPrice\",\n \"specialOfferPrice\",\n \"decimalCount\",\n \"bundleType\",\n \"itemType\"\n ],\n\n data()\n {\n return {\n tagClass: \"\",\n label: \"\",\n tagClasses:\n {\n 1: \"badge-offer badge-danger\",\n 2: \"badge-new badge-primary\",\n 3: \"badge-top badge-success\",\n default: \"badge-success\",\n itemBundle: \"badge badge-bundle bg-info\",\n itemSet: \"badge badge-dark\"\n },\n labels:\n {\n 1: this.$translate(\"Ceres::Template.storeSpecialOffer\"),\n 2: this.$translate(\"Ceres::Template.storeSpecialNew\"),\n 3: this.$translate(\"Ceres::Template.storeSpecialTop\")\n }\n };\n },\n\n computed:\n {\n hasLabel() {\n return this.label && this.label !== \"\";\n },\n\n isBundle() {\n return this.bundleType === \"bundle\";\n },\n\n isSet() {\n return this.itemType === \"set\";\n }\n },\n\n created()\n {\n this.initializeStoreSpecial();\n },\n\n methods:\n {\n initializeStoreSpecial()\n {\n if (!isNullOrUndefined(this.storeSpecial))\n {\n this.tagClass = this.tagClasses[this.storeSpecial.id] || this.tagClasses.default;\n }\n else\n {\n this.tagClass = this.tagClasses.default;\n }\n\n this.label = this.getLabel();\n },\n\n getLabel()\n {\n if (!isNullOrUndefined(this.storeSpecial) && this.storeSpecial.id === 1 && !isNullOrUndefined(this.recommendedRetailPrice))\n {\n return this.getPercentageSale();\n }\n\n if (isNullOrUndefined(this.storeSpecial))\n {\n return \"\";\n }\n\n return this.labels[this.storeSpecial.id] || this.storeSpecial.names.name;\n },\n\n getPercentageSale()\n {\n let percent;\n\n if (isDefined(this.specialOfferPrice))\n {\n percent = (1 - this.specialOfferPrice.unitPrice.value / this.variationRetailPrice.unitPrice.value ) * -100;\n }\n else\n {\n percent = (1 - this.variationRetailPrice.unitPrice.value / this.recommendedRetailPrice.unitPrice.value ) * -100;\n }\n\n if (percent < 0)\n {\n return percent.toFixed(this.decimalCount).replace(\".\", App.decimalSeparator) + \"%\";\n }\n\n return \"\";\n }\n },\n\n watch:\n {\n storeSpecial()\n {\n this.initializeStoreSpecial();\n }\n }\n}\n</script>\n","<template>\n <!--<a :id=\"'owl-carousel-' + _uid\" v-if=\"$_enableCarousel\" class=\"owl-carousel owl-theme\" :href=\"itemUrl\">\n <div v-for=\"(imageUrl, index) in imageUrls\" :key=\"index\">\n <lazy-img v-if=\"index === 0 && !disableLazyLoad\" ref=\"itemLazyImage\" picture-class=\"img-fluid\" :image-url=\"imageUrl.url\" :alt=\"getAltText(imageUrl)\" :title=\"getImageName(imageUrl)\"></lazy-img>\n <img v-else-if=\"index !== 0 && !disableLazyLoad\" class=\"img-fluid owl-lazy\" :data-src=\"imageUrl.url\" :alt=\"getAltText(imageUrl)\" :title=\"getImageName(imageUrl)\">\n <img v-else class=\"img-fluid\" :src=\"imageUrl.url\" :alt=\"getAltText(imageUrl)\" :title=\"getAltText(imageUrl)\">\n </div>\n </a>\n\n <a v-else :href=\"itemUrl\">\n <lazy-img v-if=\"!disableLazyLoad\" ref=\"itemLazyImage\" picture-class=\"img-fluid\" :image-url=\"imageUrls | itemImage\" :alt=\"getAltText(imageUrls[0])\" :title=\"getImageName(imageUrls[0])\"></lazy-img>\n <img v-else class=\"img-fluid\" :src=\"imageUrls | itemImage\" :alt=\"getAltText(imageUrls[0])\" :title=\"getImageName(imageUrls[0])\">\n </a>-->\n <a :id=\"'owl-carousel-' + _uid\" v-if=\"$_enableCarousel\" class=\"owl-carousel owl-theme\" :href=\"itemUrl\">\n <div v-for=\"(imageUrl, index) in imageUrls\">\n <item-lazy-img ref=\"itemLazyImage\" template=\"#vue-item-lazy-img\" v-if=\"index === 0 && !disableLazyLoad\"\n :image-url=\"imageUrl.url\" :alt=\"getAltText(imageUrl)\" :title=\"titleText\"></item-lazy-img>\n <img v-else-if=\"index !== 0 && !disableLazyLoad\" class=\"img-fluid owl-lazy\" :data-src=\"imageUrl.url\"\n :alt=\"getAltText(imageUrl)\" :title=\"titleText\">\n <img v-else class=\"img-fluid\" :src=\"imageUrl.url\" :alt=\"getAltText(imageUrl)\" :title=\"getAltText(imageUrl)\">\n </div>\n\n <div :class=\"'item-swiper-thumbs item-swiper-thumbs-' + _uid\">\n <div class=\"swiper-wrapper\">\n <div v-for=\"(imageUrl, index) in imageUrls\"\n v-bind:style=\"{ backgroundImage: 'url(' + imageUrl.url + ')' }\" class=\"swiper-slide\">\n </div>\n </div>\n </div>\n </a>\n\n <a v-else :href=\"itemUrl\">\n <item-lazy-img v-if=\"!disableLazyLoad\" ref=\"itemLazyImage\" template=\"#vue-item-lazy-img\"\n :image-url=\"imageUrls | itemImage\" :alt=\"getAltText(imageUrls[0])\" :title=\"titleText\"></item-lazy-img>\n <img v-else class=\"img-fluid\" :src=\"imageUrls | itemImage\" :alt=\"getAltText(imageUrls[0])\" :title=\"titleText\">\n\n <div :class=\"'item-swiper-thumbs item-swiper-thumbs-' + _uid\">\n <div class=\"swiper-wrapper\">\n <div v-for=\"(imageUrl, index) in imageUrls\"\n v-bind:style=\"{ backgroundImage: 'url(' + imageUrl.url + ')' }\" class=\"swiper-slide\">\n </div>\n </div>\n </div>\n </a>\n</template>\n\n<script>\n\nexport default {\n\n name: \"category-image-carousel\",\n\n props: {\n imageUrlsData:\n {\n type: Array\n },\n itemUrl:\n {\n type: String\n },\n altText:\n {\n type: String\n },\n titleText:\n {\n type: String\n },\n showDots:\n {\n type: Boolean,\n default: App.config.item.categoryShowDots\n },\n showNav:\n {\n type: Boolean,\n default: App.config.item.categoryShowNav\n },\n disableLazyLoad: {\n type: Boolean,\n default: false\n },\n disableCarouselOnMobile:\n {\n type: Boolean\n },\n enableCarousel:\n {\n type: Boolean\n },\n template:\n {\n type: String\n }\n },\n\n data() {\n return {\n $_enableCarousel: false\n };\n },\n\n computed:\n {\n imageUrls() {\n return this.imageUrlsData.sort((imageUrlA, imageUrlB) => {\n if (imageUrlA.position > imageUrlB.position) {\n return 1;\n }\n if (imageUrlA.position < imageUrlB.position) {\n return -1;\n }\n\n return 0;\n });\n },\n imageOrItemImage() {\n return this.imageUrls.length ? this.imageUrls[0].url : this.itemImage;\n }\n },\n\n mounted() {\n const isMobile = window.matchMedia(\"(max-width: 768px)\").matches;\n const shouldCarouselBeEnabled = this.enableCarousel && this.imageUrls.length > 1;\n\n this.$_enableCarousel = this.disableCarouselOnMobile && isMobile ? false : shouldCarouselBeEnabled;\n\n this.$nextTick(() => {\n if (this.$_enableCarousel) {\n this.initializeCarousel();\n }\n });\n },\n\n methods:\n {\n initializeCarousel() {\n $(\"#owl-carousel-\" + this._uid).owlCarousel({\n dots: !!this.showDots,\n items: 1,\n mouseDrag: false,\n loop: this.imageUrls.length > 1,\n lazyLoad: !this.disableLazyLoad,\n margin: 10,\n nav: !!this.showNav,\n navText: [\n `<i id=\"owl-nav-text-left-${this._uid}\" class='fa fa-chevron-left' aria-hidden='true'></i>`,\n `<i id=\"owl-nav-text-right-${this._uid}\" class='fa fa-chevron-right' aria-hidden='true'></i>`\n ],\n onTranslated(event) {\n const element = event.target.querySelector(\".owl-item.active img\");\n\n if (element && element.dataset.src && !element.src) {\n element.src = element.dataset.src;\n element.removeAttribute(\"data-src\");\n }\n },\n onInitialized: event => {\n if (this.showNav) {\n document.querySelector(`#owl-nav-text-left-${this._uid}`).parentElement.onclick = event => event.preventDefault();\n document.querySelector(`#owl-nav-text-right-${this._uid}`).parentElement.onclick = event => event.preventDefault();\n }\n }\n });\n },\n\n getAltText(image) {\n const altText = image && image.alternate ? image.alternate : this.altText;\n\n return altText;\n },\n\n getImageName(image) {\n const altText = image && image.name ? image.name : this.titleText;\n\n return altText;\n },\n\n getImageWidth(image) {\n return image && image.width ? image.width : undefined;\n },\n\n getImageHeight(image) {\n return image && image.height ? image.height : undefined;\n }\n }\n}\n</script>\n","<template>\n <article v-if=\"!isOverlay\" class=\"cmp cmp-product-thumb cmp-product-thumb--grid\"\n @mouseleave=\"loadNewImage(thumbForMain.firstImage.urlSecondPreview, '', '')\">\n <div class=\"category-item__wrapper\">\n\n <div class=\"category-item__image\" v-if=\"catIdsReverseImage\" ref=\"catImg\">\n <!-- @mouseover=\"loadThumbs()\" @mouseleave=\"loadThumbs('safari')\" -->\n <a v-if=\"newUrl !== ''\" :href=\"newUrl\" class=\"d-block\">\n <img :class=\"'category-item__image-img-0'\" :data-src=\"item.images.all[0].urlSecondPreview\"\n class=\"img-fluid category-item__image-img lazy-img\"\n src=\"https://bilder.weberbuero.de/frontend/images/shop/loading085.svg\" :alt=\"item | itemName\">\n </a>\n <a v-else :href=\"item | itemURL(false)\" class=\"d-block\">\n <img :class=\"'category-item__image-img-0'\" :data-src=\"item.images.all[0].urlSecondPreview\"\n class=\"img-fluid category-item__image-img lazy-img\"\n src=\"https://bilder.weberbuero.de/frontend/images/shop/loading085.svg\" :alt=\"item | itemName\">\n </a>\n <button class=\"btn category-item__quick-view\" @click.prevent=\"openQuickView()\">{{\n $translate(\"Weberbuero::Template.quickView\") }}</button>\n </div>\n <div v-else class=\"category-item__image\" ref=\"catImg\">\n <!-- @mouseover=\"loadThumbs()\" @mouseleave=\"loadThumbs('safari')\" -->\n <a v-if=\"newUrl !== ''\" :href=\"newUrl\" class=\"d-block\">\n <img v-for=\"(image, index) in (images).slice(0, 1)\" :data-src=\"image.urlSecondPreview\"\n :class=\"'category-item__image-img-0'\" class=\"img-fluid category-item__image-img lazy-img\"\n src=\"https://bilder.weberbuero.de/frontend/images/shop/loading085.svg\" :alt=\"item | itemName\">\n </a>\n <a v-else :href=\"item | itemURL(false)\" class=\"d-block\">\n <img v-for=\"(image, index) in (images).slice(0, 1)\" :data-src=\"image.urlSecondPreview\"\n :class=\"'category-item__image-img-0'\" class=\"img-fluid category-item__image-img lazy-img\"\n src=\"https://bilder.weberbuero.de/frontend/images/shop/loading085.svg\" :alt=\"item | itemName\">\n </a>\n <button class=\"btn category-item__quick-view\" @click.prevent=\"openQuickView()\">{{\n $translate(\"Weberbuero::Template.quickView\") }}</button>\n </div>\n\n <div class=\"category-item__content\">\n\n <div class=\"category-item__crossselling\" v-if=\"isLoading\">\n <img src=\"https://bilder.weberbuero.de/frontend/images/shop/loading085.svg\" height=\"34px\">\n </div>\n <div class=\"category-item__crossselling\"\n v-else-if=\"Array.isArray(crossseller) && crossseller.length > 0\">\n <!-- main variation -->\n <div class=\"category-item__crossselling-item d-none d-md-flex\">\n <div class=\"category-item__img-container\" :data-image=\"thumbForMain.firstImage.urlSecondPreview\"\n @mouseover=\"loadNewImage(thumbForMain.firstImage.urlSecondPreview, '', '')\">\n <a :href=\"item | itemURL(false)\" :title=\"item | itemName\">\n <div class=\"category-item__crossselling-img\"\n :style=\"'background-image: url(' + thumbForMain.thumb + ')'\"></div>\n </a>\n </div>\n </div>\n\n <div class=\"category-item__crossselling-item d-none d-md-flex\"\n :class=\"{ 'category-item__crossselling-item--last': key + 1 == 4 }\"\n v-if=\"crossseller.length > 0\" v-for=\"(cross, key) in crossseller\">\n <div class=\"category-item__img-container\" v-if=\"key + 1 < 4\"\n :data-image=\"cross.images.firstImage.urlSecondPreview\"\n @mouseover=\"loadNewImage(cross.images.firstImage.urlSecondPreview, cross.texts.urlPath, cross.item.id)\">\n <a :href=\"'/' + cross.texts.urlPath + '/a-' + cross.item.id\" :title=\"cross.texts.name1\">\n <div class=\"category-item__crossselling-img\"\n :style=\"'background-image: url(' + cross.images.thumb + ')'\"></div>\n </a>\n </div>\n <div class=\"category-item__img-container number-indicator d-flex align-items-center justify-content-center\"\n v-else-if=\"key + 1 == 4\">\n <a :href=\"item | itemURL(urlWithVariationId)\">+ {{ crossseller.length - 3 }}</a>\n </div>\n </div>\n <div class=\"d-md-none category-item__crossseller-mobile category-item__variations-indicator\">\n <img :src=\"pluginPath + '/images/icons/configurate_shape.png'\" class=\"category-item__shape\">\n {{ crossseller.length }} {{ $translate('Weberbuero::Template.itemMoreVariations') }}\n </div>\n </div>\n <div v-else-if=\"variationsCount > 1\" class=\"category-item__variations-indicator\">\n <div v-if=\"item.filter.hasChildren\">\n <img :src=\"pluginPath + '/images/icons/configurate_shape.png'\" class=\"category-item__shape\">\n {{ variationsCount }} {{ $translate('Weberbuero::Template.itemMoreVariations') }}\n </div>\n <div v-else>\n <img :src=\"pluginPath + '/images/icons/configurate_shape.png'\" class=\"category-item__shape\">\n {{ $translate('Weberbuero::Template.itemMoreVariations') }}\n </div>\n </div>\n <div v-else>\n <div class=\"category-item__crossseller-ws\">\n </div>\n </div>\n\n <a :href=\"item | itemURL\" class=\"category-item__itemname\">\n {{ item | itemName }}\n </a>\n <div class=\"prices\">\n <div class=\"price\">\n {{ item.prices.default.unitPrice.formatted | specialOffer(item.prices, \"unitPrice\", \"formatted\")\n }}\n </div>\n <div v-if=\"item.prices.rrp && item.prices.rrp.price.value > 0 && item.prices.rrp.price.value > item.prices.default.unitPrice.value\"\n class=\"price-view-port\">\n <del class=\"crossprice\" v-if=\"item.prices.specialOffer\">\n {{ item.prices.default.unitPrice.formatted | itemCrossPrice(true) }}\n </del>\n <del class=\"crossprice\" v-else>\n {{ item.prices.rrp.unitPrice.formatted | itemCrossPrice }}\n </del>\n </div>\n </div>\n <slot name=\"after-prices\"></slot>\n\n <div class=\"category-item__availability\">\n {{ item.variation.availability.names.name }}\n </div>\n </div>\n </div>\n </article>\n\n <article v-else>\n <div class=\"row\">\n <div class=\"col-4\">\n <!-- <div class=\"category-item__image\" v-if=\"catIdsReverseImage\" ref=\"catImg\"><!– @mouseover=\"loadThumbs()\" @mouseleave=\"loadThumbs('safari')\" –>-->\n <!-- <a :href=\"item | itemURL(false)\" class=\"d-block\">-->\n <!-- <img :class=\"'category-item__image-img-0'\" :data-src=\"item.images.all[0].urlSecondPreview\" class=\"img-fluid category-item__image-img lazy-img\"-->\n <!-- src=\"https://bilder.weberbuero.de/frontend/images/shop/loading085.svg\" :alt=\"item | itemName\">-->\n <!-- </a>-->\n <!-- <button class=\"btn category-item__quick-view\" @click.prevent=\"openQuickView()\">{{ $translate(\"Weberbuero::Template.quickView\") }}</button>-->\n <!-- </div>-->\n <div class=\"category-item__image\" ref=\"catImg\">\n <!-- @mouseover=\"loadThumbs()\" @mouseleave=\"loadThumbs('safari')\" -->\n <a :href=\"item | itemURL(false)\" class=\"d-block\">\n <img v-for=\"(image, index) in (item.images.all).slice(0, 1)\"\n :class=\"'category-item__image-img-0'\" class=\"img-fluid category-item__image-img\"\n :src=\"image.urlSecondPreview\" :alt=\"item | itemName\">\n </a>\n <!-- <button class=\"btn category-item__quick-view\" @click.prevent=\"openQuickView()\">{{ $translate(\"Weberbuero::Template.quickView\") }}</button>-->\n </div>\n </div>\n\n <div class=\"col-8\">\n <a :href=\"item | itemURL\" class=\"category-item__itemname\">\n {{ item | itemName }}\n </a>\n <div class=\"prices\">\n <div class=\"price\">\n {{ item.prices.default.unitPrice.formatted | specialOffer(item.prices, \"unitPrice\", \"formatted\")\n }}\n </div>\n <div v-if=\"item.prices.rrp && item.prices.rrp.price.value > 0 && item.prices.rrp.price.value > item.prices.default.price.value\"\n class=\"price-view-port\">\n\n <del class=\"crossprice\" v-if=\"item.prices.specialOffer\">\n {{ item.prices.default.unitPrice.formatted | itemCrossPrice(true) }}\n </del>\n <del class=\"crossprice\" v-else>\n {{ item.prices.rrp.unitPrice.formatted | itemCrossPrice }}\n </del>\n </div>\n </div>\n <slot name=\"after-prices\"></slot>\n\n <add-to-basket data-testing=\"item-add-to-basket\" :variation-id=\"item.variation.id\"\n :is-salable=\"!!item.filter && item.filter.isSalable\"\n :has-children=\"!!item.item && item.item.salableVariationCount > 1\"\n :interval-quantity=\"item.variation.intervalOrderQuantity || 1\"\n :minimum-quantity=\"item.variation.minimumOrderQuantity\"\n :maximum-quantity=\"!!item.variation.maximumOrderQuantity && item.variation.maximumOrderQuantity > 0 ? item.variation.maximumOrderQuantity : null\"\n :order-properties=\"item.properties.filter(function (prop) { return prop.property.isOderProperty })\"\n :has-order-properties=\"item.hasOrderProperties\"\n :has-required-order-property=\"item.hasRequiredOrderProperty\" :use-large-scale=\"false\"\n :show-quantity=\"true\" :item-url=\"item | itemURL(urlWithVariationId)\"\n :has-graduated-price=\"itemGraduatedPriceisCheapestSorting || itemGraduatedPricesalableVariationCount\"\n :has-price=\"item | hasItemDefaultPrice\" :item-type=\"item.item.itemType\" :is-overlay=\"isOverlay\">\n </add-to-basket>\n\n </div>\n </div>\n </article>\n</template>\n\n<script>\nimport { mapState } from \"vuex\";\nimport CategoryImageCarousel from \"./CategoryImageCarousel.vue\";\nimport ItemStoreSpecial from \"ceres/app/components/itemList/ItemStoreSpecial.vue\";\nimport { isNullOrUndefined } from \"ceres/app/helper/utils\";\nimport { getSlotData } from \"ceres/app/helper/getSlotData\";\n\nimport ApiService from \"ceres/app/services/ApiService\";\nimport { Swiper } from 'swiper';\n\nexport default\n {\n components:\n {\n CategoryImageCarousel,\n ItemStoreSpecial\n },\n\n props:\n {\n decimalCount:\n {\n type: Number,\n default: 0\n },\n\n isOverlay:\n {\n type: Boolean,\n default: false,\n },\n imageUrlAccessor:\n {\n type: String,\n default: \"urlMiddle\"\n },\n itemData:\n {\n type: Object\n },\n disableCarouselOnMobile:\n {\n type: Boolean\n },\n paddingClasses:\n {\n type: String,\n default: null\n },\n paddingInlineStyles:\n {\n type: String,\n default: null\n },\n forceUrlWithVariationId:\n {\n type: Boolean,\n default: false\n }\n },\n\n jsonDataFields: [\n \"itemDataRef\"\n ],\n\n mounted() {\n this.$nextTick(() => {\n this.initThumbSwiper();\n this.loadFirstImage();\n this.loadItemsIfIPadAndMDLG();\n this.loadCrossseller();\n window.dispatchEvent(new Event('resize'));\n });\n },\n\n computed:\n {\n images() {\n let img = this.item.images.all\n if (this.item.images.variation && this.item.images.variation.length) {\n img = this.item.images.variation\n }\n\n return img\n },\n\n pluginPath() {\n return App.pluginPath;\n },\n\n catIdsReverseImage() {\n if (this.currentCategory !== null) {\n return (App.weberConfig.catIdsReverseImage).split(\",\").indexOf(this.currentCategory.id) > -1\n }\n return false;\n },\n\n item() {\n return this.itemData || this.itemSlotData || this.itemDataRef;\n },\n\n itemSlotData: getSlotData('item-data'),\n\n storeSpecial() {\n return this.item.item.storeSpecial;\n },\n\n texts() {\n return this.item.texts;\n },\n\n itemPrice() {\n return this.$options.filters.specialOffer(this.item.prices.default.unitPrice.formatted, this.item.prices, \"unitPrice\", \"formatted\");\n },\n\n itemSetPrice() {\n return this.$options.filters.currency(\n this.item.prices.default.price.value,\n this.item.prices.default.currency\n );\n },\n\n urlWithVariationId() {\n return !this.$ceres.config.item.showPleaseSelect || this.$ceres.initialPleaseSelect == 0;\n },\n\n thumbForMain() {\n let firstImage = '';\n let thumb = '';\n\n for (let innerKey in this.images) {\n if (this.images[innerKey].position === 0) {\n firstImage = this.images[innerKey];\n }\n }\n\n if (firstImage === '') {\n firstImage = this.images[0];\n }\n\n for (let innerKeyProps in this.item.variationProperties) {\n if (typeof this.item.variationProperties[innerKeyProps].properties !== \"undefined\") {\n for (let innerKeyPropsInner in this.item.variationProperties[innerKeyProps].properties) {\n if (this.item.variationProperties[innerKeyProps].properties[innerKeyPropsInner].id === 10) {\n thumb = 'https://bilder.weberbuero.de/frontend/images/colors/thumbs/' + this.item.variationProperties[innerKeyProps].properties[innerKeyPropsInner].values.value + '.jpg';\n }\n }\n } else {\n if (this.item.variationProperties[innerKeyProps].property.id === 10) {\n thumb = 'https://bilder.weberbuero.de/frontend/images/colors/thumbs/' + this.item.variationProperties[innerKeyProps].values.value + '.jpg';\n }\n }\n }\n\n if (thumb === '') {\n thumb = firstImage.urlPreview;\n }\n\n return { firstImage: firstImage, thumb: thumb }\n },\n\n ...mapState({\n showNetPrices: state => state.basket.showNetPrices,\n currentCategory: state => state.navigation.currentCategory\n })\n },\n\n data() {\n return {\n loadedImagesForIPad: false,\n crossseller: [],\n variationsCount: 0,\n originalImg: \"\",\n isLoading: false,\n willLoadNewImage: false,\n newUrl: \"\",\n }\n },\n\n methods:\n {\n openQuickView() {\n this.$store.commit(\"setQuickViewItemId\", this.item.item.id);\n this.$store.commit(\"setQuickViewVariationId\", this.item.variation.id);\n this.$store.commit(\"setQuickViewCrossseller\", this.crossseller);\n document.querySelector(\"body\").classList.add(\"loading-quickview\");\n },\n\n loadNewImage(img, path, id) {\n\n\n\n this.willLoadNewImage = true;\n if (this.originalImg === \"\") {\n this.originalImg = this.$refs.catImg.children[0].children[0].src;\n }\n this.$refs.catImg.children[0].children[0].src = img;\n\n if (path !== \"\" && id !== \"\") {\n this.newUrl = '/' + path + '/a-' + id;\n }\n else {\n this.newUrl = '';\n }\n },\n\n loadCrossseller() {\n\n this.isLoading = true;\n\n ApiService.get('/rest/weberbuero/crossSellingItems', { id: this.item.item.id, withVarIds: true })\n .done(response => {\n\n for (let itemKey in response.crossseller) {\n\n let item = response.crossseller[itemKey].data;\n\n if (!isNullOrUndefined(item) && !isNullOrUndefined(item.images)) {\n\n let itemImages = item.images.all\n\n if (item.images.variation && item.images.variation.length) {\n itemImages = item.images.variation\n }\n\n\n\n\n for (let key in itemImages) {\n if (itemImages[key].position === 0) {\n item.images.firstImage = itemImages[key];\n }\n }\n\n if (isNullOrUndefined(item.images.firstImage)) {\n item.images.firstImage = itemImages[0];\n }\n\n for (let key in item.variationProperties) {\n for (let propKey in item.variationProperties[key].properties) {\n if (item.variationProperties[key].properties[propKey].id === 10) {\n item.images.thumb = 'https://bilder.weberbuero.de/frontend/images/colors/thumbs/' + item.variationProperties[key].properties[propKey].values.value + '.jpg';\n }\n }\n }\n }\n\n if (isNullOrUndefined(item.images.thumb)) {\n item.images.thumb = item.images.firstImage.urlPreview;\n }\n\n response.crossseller[itemKey] = item;\n }\n\n this.crossseller = response.crossseller;\n this.variationsCount = response.variationsCount;\n this.isLoading = false;\n })\n .catch(error => {\n this.isLoading = false;\n console.log(error)\n });\n },\n\n loadThumbs(type) {\n\n type = type = \"\";\n\n if (type === \"safari\") {\n if (!!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform) && window.matchMedia(\"(min-width: 768px)\").matches && window.matchMedia(\"(max-width: 1200px)\").matches) {\n $(this.$refs.catImg).find(\".category-item__thumbs-img\").each(function (index, item) {\n $(item).attr(\"src\", $(item)[0].dataset.src);\n });\n $(this.$refs.catImg).find(\"img\").each(function (index, item) {\n $(item).attr(\"src\", $(item)[0].dataset.src);\n });\n setTimeout(function () {\n window.dispatchEvent(new Event('resize'));\n }, 500);\n }\n } else {\n if (!this.loadedImagesForIPad) {\n $(this.$refs.catImg).find(\".category-item__thumbs-img\").each(function (index, item) {\n $(item).attr(\"src\", $(item)[0].dataset.src);\n });\n }\n setTimeout(function () {\n window.dispatchEvent(new Event('resize'));\n }, 500);\n }\n\n },\n\n loadItemsIfIPadAndMDLG() {\n if (!!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform) && window.matchMedia(\"(min-width: 768px)\").matches && window.matchMedia(\"(max-width: 1200px)\").matches) {\n $(this.$refs.catImg).find(\".category-item__thumbs-img\").each(function (index, item) {\n $(item).attr(\"src\", $(item)[0].dataset.src);\n });\n window.dispatchEvent(new Event('resize'));\n\n $(this.$refs.catImg).find(\"img\").each(function (index, item) {\n $(item).attr(\"src\", $(item)[0].dataset.src);\n });\n\n this.loadedImagesForIPad = true;\n }\n },\n\n initThumbSwiper() {\n new Swiper(this.$refs.thumbSwiper, {\n spaceBetween: 5,\n slidesPerView: 6,\n watchSlidesVisibility: true,\n watchSlidesProgress: true\n });\n },\n\n changeMainImage(event) {\n\n let href = $(event.target)[0].dataset.middleurl;\n\n $(this.$refs.receivingImgContainer1).attr('src', href);\n $(this.$refs.thumbSwiper).find(\".swiper-slide\").removeClass('active');\n $(event.target).closest(\".swiper-slide\").addClass('active');\n\n },\n\n loadFirstImage() {\n\n let lazyImages = [].slice.call($(this.$refs.catImg).find(\".lazy-img\"));\n let active = false;\n\n const lazyLoad = function () {\n if (active === false) {\n active = true;\n\n setTimeout(function () {\n lazyImages.forEach(function (lazyImage) {\n\n if (($(lazyImage).closest(\".tab-pane\").length > 0 && $(lazyImage).closest(\".tab-pane\").hasClass(\"active\")) || $(lazyImage).closest(\".tab-pane\").length == 0) {\n if ((lazyImage.getBoundingClientRect().top <= window.innerHeight && lazyImage.getBoundingClientRect().bottom >= 0) && getComputedStyle(lazyImage).display !== \"none\") {\n lazyImage.src = lazyImage.dataset.src;\n lazyImage.classList.remove(\"lazy-img\");\n\n lazyImages = lazyImages.filter(function (image) {\n return image !== lazyImage;\n });\n\n if (lazyImages.length === 0) {\n document.removeEventListener(\"scroll\", lazyLoad);\n window.removeEventListener(\"resize\", lazyLoad);\n window.removeEventListener(\"orientationchange\", lazyLoad);\n }\n }\n }\n });\n\n active = false;\n }, 200);\n }\n };\n\n document.addEventListener(\"scroll\", lazyLoad);\n window.addEventListener(\"resize\", lazyLoad);\n window.addEventListener(\"orientationchange\", lazyLoad);\n }\n }\n }\n</script>\n","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _vm.hasLabel || _vm.isBundle || _vm.isSet\n ? _c(\"div\", { staticClass: \"special-tags p-2\" }, [\n _vm.hasLabel\n ? _c(\"span\", { staticClass: \"badge\", class: _vm.tagClass }, [\n _vm._v(\"\\n \" + _vm._s(_vm.label) + \"\\n \")\n ])\n : _vm.isBundle\n ? _c(\"span\", { class: _vm.tagClasses.itemBundle }, [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$translate(\"Ceres::Template.itemBundle\")) +\n \"\\n \"\n )\n ])\n : _vm.isSet\n ? _c(\"span\", { class: _vm.tagClasses.itemSet }, [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$translate(\"Ceres::Template.itemSet\")) +\n \"\\n \"\n )\n ])\n : _vm._e()\n ])\n : _vm._e()\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _vm.$_enableCarousel\n ? _c(\n \"a\",\n {\n staticClass: \"owl-carousel owl-theme\",\n attrs: { id: \"owl-carousel-\" + _vm._uid, href: _vm.itemUrl }\n },\n [\n _vm._l(_vm.imageUrls, function(imageUrl, index) {\n return _c(\n \"div\",\n [\n index === 0 && !_vm.disableLazyLoad\n ? _c(\"item-lazy-img\", {\n ref: \"itemLazyImage\",\n refInFor: true,\n attrs: {\n template: \"#vue-item-lazy-img\",\n \"image-url\": imageUrl.url,\n alt: _vm.getAltText(imageUrl),\n title: _vm.titleText\n }\n })\n : index !== 0 && !_vm.disableLazyLoad\n ? _c(\"img\", {\n staticClass: \"img-fluid owl-lazy\",\n attrs: {\n \"data-src\": imageUrl.url,\n alt: _vm.getAltText(imageUrl),\n title: _vm.titleText\n }\n })\n : _c(\"img\", {\n staticClass: \"img-fluid\",\n attrs: {\n src: imageUrl.url,\n alt: _vm.getAltText(imageUrl),\n title: _vm.getAltText(imageUrl)\n }\n })\n ],\n 1\n )\n }),\n _vm._v(\" \"),\n _c(\n \"div\",\n { class: \"item-swiper-thumbs item-swiper-thumbs-\" + _vm._uid },\n [\n _c(\n \"div\",\n { staticClass: \"swiper-wrapper\" },\n _vm._l(_vm.imageUrls, function(imageUrl, index) {\n return _c(\"div\", {\n staticClass: \"swiper-slide\",\n style: { backgroundImage: \"url(\" + imageUrl.url + \")\" }\n })\n }),\n 0\n )\n ]\n )\n ],\n 2\n )\n : _c(\n \"a\",\n { attrs: { href: _vm.itemUrl } },\n [\n !_vm.disableLazyLoad\n ? _c(\"item-lazy-img\", {\n ref: \"itemLazyImage\",\n attrs: {\n template: \"#vue-item-lazy-img\",\n \"image-url\": _vm._f(\"itemImage\")(_vm.imageUrls),\n alt: _vm.getAltText(_vm.imageUrls[0]),\n title: _vm.titleText\n }\n })\n : _c(\"img\", {\n staticClass: \"img-fluid\",\n attrs: {\n src: _vm._f(\"itemImage\")(_vm.imageUrls),\n alt: _vm.getAltText(_vm.imageUrls[0]),\n title: _vm.titleText\n }\n }),\n _vm._v(\" \"),\n _c(\n \"div\",\n { class: \"item-swiper-thumbs item-swiper-thumbs-\" + _vm._uid },\n [\n _c(\n \"div\",\n { staticClass: \"swiper-wrapper\" },\n _vm._l(_vm.imageUrls, function(imageUrl, index) {\n return _c(\"div\", {\n staticClass: \"swiper-slide\",\n style: { backgroundImage: \"url(\" + imageUrl.url + \")\" }\n })\n }),\n 0\n )\n ]\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return !_vm.isOverlay\n ? _c(\n \"article\",\n {\n staticClass: \"cmp cmp-product-thumb cmp-product-thumb--grid\",\n on: {\n mouseleave: function($event) {\n return _vm.loadNewImage(\n _vm.thumbForMain.firstImage.urlSecondPreview,\n \"\",\n \"\"\n )\n }\n }\n },\n [\n _c(\"div\", { staticClass: \"category-item__wrapper\" }, [\n _vm.catIdsReverseImage\n ? _c(\n \"div\",\n { ref: \"catImg\", staticClass: \"category-item__image\" },\n [\n _vm.newUrl !== \"\"\n ? _c(\n \"a\",\n {\n staticClass: \"d-block\",\n attrs: { href: _vm.newUrl }\n },\n [\n _c(\"img\", {\n staticClass:\n \"img-fluid category-item__image-img lazy-img\",\n class: \"category-item__image-img-0\",\n attrs: {\n \"data-src\":\n _vm.item.images.all[0].urlSecondPreview,\n src:\n \"https://bilder.weberbuero.de/frontend/images/shop/loading085.svg\",\n alt: _vm._f(\"itemName\")(_vm.item)\n }\n })\n ]\n )\n : _c(\n \"a\",\n {\n staticClass: \"d-block\",\n attrs: { href: _vm._f(\"itemURL\")(_vm.item, false) }\n },\n [\n _c(\"img\", {\n staticClass:\n \"img-fluid category-item__image-img lazy-img\",\n class: \"category-item__image-img-0\",\n attrs: {\n \"data-src\":\n _vm.item.images.all[0].urlSecondPreview,\n src:\n \"https://bilder.weberbuero.de/frontend/images/shop/loading085.svg\",\n alt: _vm._f(\"itemName\")(_vm.item)\n }\n })\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"button\",\n {\n staticClass: \"btn category-item__quick-view\",\n on: {\n click: function($event) {\n $event.preventDefault()\n return _vm.openQuickView()\n }\n }\n },\n [\n _vm._v(\n _vm._s(\n _vm.$translate(\"Weberbuero::Template.quickView\")\n )\n )\n ]\n )\n ]\n )\n : _c(\n \"div\",\n { ref: \"catImg\", staticClass: \"category-item__image\" },\n [\n _vm.newUrl !== \"\"\n ? _c(\n \"a\",\n {\n staticClass: \"d-block\",\n attrs: { href: _vm.newUrl }\n },\n _vm._l(_vm.images.slice(0, 1), function(\n image,\n index\n ) {\n return _c(\"img\", {\n staticClass:\n \"img-fluid category-item__image-img lazy-img\",\n class: \"category-item__image-img-0\",\n attrs: {\n \"data-src\": image.urlSecondPreview,\n src:\n \"https://bilder.weberbuero.de/frontend/images/shop/loading085.svg\",\n alt: _vm._f(\"itemName\")(_vm.item)\n }\n })\n }),\n 0\n )\n : _c(\n \"a\",\n {\n staticClass: \"d-block\",\n attrs: { href: _vm._f(\"itemURL\")(_vm.item, false) }\n },\n _vm._l(_vm.images.slice(0, 1), function(\n image,\n index\n ) {\n return _c(\"img\", {\n staticClass:\n \"img-fluid category-item__image-img lazy-img\",\n class: \"category-item__image-img-0\",\n attrs: {\n \"data-src\": image.urlSecondPreview,\n src:\n \"https://bilder.weberbuero.de/frontend/images/shop/loading085.svg\",\n alt: _vm._f(\"itemName\")(_vm.item)\n }\n })\n }),\n 0\n ),\n _vm._v(\" \"),\n _c(\n \"button\",\n {\n staticClass: \"btn category-item__quick-view\",\n on: {\n click: function($event) {\n $event.preventDefault()\n return _vm.openQuickView()\n }\n }\n },\n [\n _vm._v(\n _vm._s(\n _vm.$translate(\"Weberbuero::Template.quickView\")\n )\n )\n ]\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"category-item__content\" },\n [\n _vm.isLoading\n ? _c(\"div\", { staticClass: \"category-item__crossselling\" }, [\n _c(\"img\", {\n attrs: {\n src:\n \"https://bilder.weberbuero.de/frontend/images/shop/loading085.svg\",\n height: \"34px\"\n }\n })\n ])\n : Array.isArray(_vm.crossseller) && _vm.crossseller.length > 0\n ? _c(\n \"div\",\n { staticClass: \"category-item__crossselling\" },\n [\n _c(\n \"div\",\n {\n staticClass:\n \"category-item__crossselling-item d-none d-md-flex\"\n },\n [\n _c(\n \"div\",\n {\n staticClass: \"category-item__img-container\",\n attrs: {\n \"data-image\":\n _vm.thumbForMain.firstImage.urlSecondPreview\n },\n on: {\n mouseover: function($event) {\n return _vm.loadNewImage(\n _vm.thumbForMain.firstImage\n .urlSecondPreview,\n \"\",\n \"\"\n )\n }\n }\n },\n [\n _c(\n \"a\",\n {\n attrs: {\n href: _vm._f(\"itemURL\")(_vm.item, false),\n title: _vm._f(\"itemName\")(_vm.item)\n }\n },\n [\n _c(\"div\", {\n staticClass:\n \"category-item__crossselling-img\",\n style:\n \"background-image: url(\" +\n _vm.thumbForMain.thumb +\n \")\"\n })\n ]\n )\n ]\n )\n ]\n ),\n _vm._v(\" \"),\n _vm._l(_vm.crossseller, function(cross, key) {\n return _vm.crossseller.length > 0\n ? _c(\n \"div\",\n {\n staticClass:\n \"category-item__crossselling-item d-none d-md-flex\",\n class: {\n \"category-item__crossselling-item--last\":\n key + 1 == 4\n }\n },\n [\n key + 1 < 4\n ? _c(\n \"div\",\n {\n staticClass:\n \"category-item__img-container\",\n attrs: {\n \"data-image\":\n cross.images.firstImage\n .urlSecondPreview\n },\n on: {\n mouseover: function($event) {\n return _vm.loadNewImage(\n cross.images.firstImage\n .urlSecondPreview,\n cross.texts.urlPath,\n cross.item.id\n )\n }\n }\n },\n [\n _c(\n \"a\",\n {\n attrs: {\n href:\n \"/\" +\n cross.texts.urlPath +\n \"/a-\" +\n cross.item.id,\n title: cross.texts.name1\n }\n },\n [\n _c(\"div\", {\n staticClass:\n \"category-item__crossselling-img\",\n style:\n \"background-image: url(\" +\n cross.images.thumb +\n \")\"\n })\n ]\n )\n ]\n )\n : key + 1 == 4\n ? _c(\n \"div\",\n {\n staticClass:\n \"category-item__img-container number-indicator d-flex align-items-center justify-content-center\"\n },\n [\n _c(\n \"a\",\n {\n attrs: {\n href: _vm._f(\"itemURL\")(\n _vm.item,\n _vm.urlWithVariationId\n )\n }\n },\n [\n _vm._v(\n \"+ \" +\n _vm._s(\n _vm.crossseller.length - 3\n )\n )\n ]\n )\n ]\n )\n : _vm._e()\n ]\n )\n : _vm._e()\n }),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass:\n \"d-md-none category-item__crossseller-mobile category-item__variations-indicator\"\n },\n [\n _c(\"img\", {\n staticClass: \"category-item__shape\",\n attrs: {\n src:\n _vm.pluginPath +\n \"/images/icons/configurate_shape.png\"\n }\n }),\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.crossseller.length) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Weberbuero::Template.itemMoreVariations\"\n )\n ) +\n \"\\n \"\n )\n ]\n )\n ],\n 2\n )\n : _vm.variationsCount > 1\n ? _c(\n \"div\",\n { staticClass: \"category-item__variations-indicator\" },\n [\n _vm.item.filter.hasChildren\n ? _c(\"div\", [\n _c(\"img\", {\n staticClass: \"category-item__shape\",\n attrs: {\n src:\n _vm.pluginPath +\n \"/images/icons/configurate_shape.png\"\n }\n }),\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.variationsCount) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Weberbuero::Template.itemMoreVariations\"\n )\n ) +\n \"\\n \"\n )\n ])\n : _c(\"div\", [\n _c(\"img\", {\n staticClass: \"category-item__shape\",\n attrs: {\n src:\n _vm.pluginPath +\n \"/images/icons/configurate_shape.png\"\n }\n }),\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Weberbuero::Template.itemMoreVariations\"\n )\n ) +\n \"\\n \"\n )\n ])\n ]\n )\n : _c(\"div\", [\n _c(\"div\", {\n staticClass: \"category-item__crossseller-ws\"\n })\n ]),\n _vm._v(\" \"),\n _c(\n \"a\",\n {\n staticClass: \"category-item__itemname\",\n attrs: { href: _vm._f(\"itemURL\")(_vm.item) }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm._f(\"itemName\")(_vm.item)) +\n \"\\n \"\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"prices\" }, [\n _c(\"div\", { staticClass: \"price\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"specialOffer\")(\n _vm.item.prices.default.unitPrice.formatted,\n _vm.item.prices,\n \"unitPrice\",\n \"formatted\"\n )\n ) +\n \"\\n \"\n )\n ]),\n _vm._v(\" \"),\n _vm.item.prices.rrp &&\n _vm.item.prices.rrp.price.value > 0 &&\n _vm.item.prices.rrp.price.value >\n _vm.item.prices.default.unitPrice.value\n ? _c(\"div\", { staticClass: \"price-view-port\" }, [\n _vm.item.prices.specialOffer\n ? _c(\"del\", { staticClass: \"crossprice\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"itemCrossPrice\")(\n _vm.item.prices.default.unitPrice\n .formatted,\n true\n )\n ) +\n \"\\n \"\n )\n ])\n : _c(\"del\", { staticClass: \"crossprice\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"itemCrossPrice\")(\n _vm.item.prices.rrp.unitPrice.formatted\n )\n ) +\n \"\\n \"\n )\n ])\n ])\n : _vm._e()\n ]),\n _vm._v(\" \"),\n _vm._t(\"after-prices\"),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"category-item__availability\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.item.variation.availability.names.name) +\n \"\\n \"\n )\n ])\n ],\n 2\n )\n ])\n ]\n )\n : _c(\"article\", [\n _c(\"div\", { staticClass: \"row\" }, [\n _c(\"div\", { staticClass: \"col-4\" }, [\n _c(\"div\", { ref: \"catImg\", staticClass: \"category-item__image\" }, [\n _c(\n \"a\",\n {\n staticClass: \"d-block\",\n attrs: { href: _vm._f(\"itemURL\")(_vm.item, false) }\n },\n _vm._l(_vm.item.images.all.slice(0, 1), function(image, index) {\n return _c(\"img\", {\n staticClass: \"img-fluid category-item__image-img\",\n class: \"category-item__image-img-0\",\n attrs: {\n src: image.urlSecondPreview,\n alt: _vm._f(\"itemName\")(_vm.item)\n }\n })\n }),\n 0\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"col-8\" },\n [\n _c(\n \"a\",\n {\n staticClass: \"category-item__itemname\",\n attrs: { href: _vm._f(\"itemURL\")(_vm.item) }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm._f(\"itemName\")(_vm.item)) +\n \"\\n \"\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"prices\" }, [\n _c(\"div\", { staticClass: \"price\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"specialOffer\")(\n _vm.item.prices.default.unitPrice.formatted,\n _vm.item.prices,\n \"unitPrice\",\n \"formatted\"\n )\n ) +\n \"\\n \"\n )\n ]),\n _vm._v(\" \"),\n _vm.item.prices.rrp &&\n _vm.item.prices.rrp.price.value > 0 &&\n _vm.item.prices.rrp.price.value >\n _vm.item.prices.default.price.value\n ? _c(\"div\", { staticClass: \"price-view-port\" }, [\n _vm.item.prices.specialOffer\n ? _c(\"del\", { staticClass: \"crossprice\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"itemCrossPrice\")(\n _vm.item.prices.default.unitPrice.formatted,\n true\n )\n ) +\n \"\\n \"\n )\n ])\n : _c(\"del\", { staticClass: \"crossprice\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"itemCrossPrice\")(\n _vm.item.prices.rrp.unitPrice.formatted\n )\n ) +\n \"\\n \"\n )\n ])\n ])\n : _vm._e()\n ]),\n _vm._v(\" \"),\n _vm._t(\"after-prices\"),\n _vm._v(\" \"),\n _c(\"add-to-basket\", {\n attrs: {\n \"data-testing\": \"item-add-to-basket\",\n \"variation-id\": _vm.item.variation.id,\n \"is-salable\": !!_vm.item.filter && _vm.item.filter.isSalable,\n \"has-children\":\n !!_vm.item.item && _vm.item.item.salableVariationCount > 1,\n \"interval-quantity\":\n _vm.item.variation.intervalOrderQuantity || 1,\n \"minimum-quantity\": _vm.item.variation.minimumOrderQuantity,\n \"maximum-quantity\":\n !!_vm.item.variation.maximumOrderQuantity &&\n _vm.item.variation.maximumOrderQuantity > 0\n ? _vm.item.variation.maximumOrderQuantity\n : null,\n \"order-properties\": _vm.item.properties.filter(function(\n prop\n ) {\n return prop.property.isOderProperty\n }),\n \"has-order-properties\": _vm.item.hasOrderProperties,\n \"has-required-order-property\":\n _vm.item.hasRequiredOrderProperty,\n \"use-large-scale\": false,\n \"show-quantity\": true,\n \"item-url\": _vm._f(\"itemURL\")(\n _vm.item,\n _vm.urlWithVariationId\n ),\n \"has-graduated-price\":\n _vm.itemGraduatedPriceisCheapestSorting ||\n _vm.itemGraduatedPricesalableVariationCount,\n \"has-price\": _vm._f(\"hasItemDefaultPrice\")(_vm.item),\n \"item-type\": _vm.item.item.itemType,\n \"is-overlay\": _vm.isOverlay\n }\n })\n ],\n 2\n )\n ])\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./CategoryImageCarousel.vue?vue&type=template&id=62e5025e&\"\nimport script from \"./CategoryImageCarousel.vue?vue&type=script&lang=js&\"\nexport * from \"./CategoryImageCarousel.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Users/fhartwig/Sites/pp-weberbuero/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('62e5025e')) {\n api.createRecord('62e5025e', component.options)\n } else {\n api.reload('62e5025e', component.options)\n }\n module.hot.accept(\"./CategoryImageCarousel.vue?vue&type=template&id=62e5025e&\", function () {\n api.rerender('62e5025e', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"resources/js/src/app/components/itemList/CategoryImageCarousel.vue\"\nexport default component.exports","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryImageCarousel.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryImageCarousel.vue?vue&type=script&lang=js&\"","export * from \"-!../../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryImageCarousel.vue?vue&type=template&id=62e5025e&\"","import { render, staticRenderFns } from \"./CategoryItem.vue?vue&type=template&id=8ab526e6&\"\nimport script from \"./CategoryItem.vue?vue&type=script&lang=js&\"\nexport * from \"./CategoryItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Users/fhartwig/Sites/pp-weberbuero/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('8ab526e6')) {\n api.createRecord('8ab526e6', component.options)\n } else {\n api.reload('8ab526e6', component.options)\n }\n module.hot.accept(\"./CategoryItem.vue?vue&type=template&id=8ab526e6&\", function () {\n api.rerender('8ab526e6', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"resources/js/src/app/components/itemList/CategoryItem.vue\"\nexport default component.exports","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryItem.vue?vue&type=script&lang=js&\"","export * from \"-!../../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryItem.vue?vue&type=template&id=8ab526e6&\""],"sourceRoot":""}