PageSourceSearch

https://apremont85.fr/_nuxt/9401803.js

js apremont85.fr collected 2026-09-25 07:35:48 UTC 13,111 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[55,258],{1018:function(t,e,n){t.exports={}},1720:function(t,e,n){"use strict";n(1018)},1909:function(t,e,n){"use strict";n.r(e);n(13),n(56),n(14),n(33),n(22),n(156),n(11),n(20),n(21),n(7),n(3),n(15);var r=n(4),o=n(42);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var l={props:{title:{type:String,required:!0},description:{type:String,default:""},date:{type:String,required:!0},files:{type:Array,required:!0}},data:function(){return{showFiles:!1}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(o.c)("parameter",{getIconStyle:"getIconStyle"})),methods:{toggleShowFiles:function(){this.showFiles=!this.showFiles}}},d=l,f=(n(1720),n(41)),component=Object(f.a)(d,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"file-card"},[e("div",{staticClass:"site-title-font font-weight-medium",staticStyle:{"font-size":"15pt !important"}},[t._v("\n      "+t._s(t.title)+"\n    ")]),t._v(" "),e("div",{staticClass:"mt-4"},[t._v("\n      "+t._s(t.$dayjs(t.date).locale("fr").format("DD MMMM YYYY"))+"\n    ")]),t._v(" "),t.description.length>0?e("div",{staticClass:"site-content-font mt-3"},[e("div",{domProps:{innerHTML:t._s(t.description)}})]):t._e(),t._v(" "),t.files.length>0?e("div",{staticClass:"mt-4"},[e("div",{staticClass:"download-button",on:{click:t.toggleShowFiles}},[e("div",{staticClass:"download-icon-container"},[e("i",{class:"".concat(t.getIconStyle," fa-arrow-down-to-line")})]),t._v(" "),t._m(0)]),t._v(" "),t.showFiles?e("div",{staticClass:"mt-2"},t._l(t.files,(function(n){return e("div",{key:n.id},[e("a",{staticClass:"link link-none",attrs:{href:"".concat(t.$config.baseURL,"image/").concat(n.name),target:"_blank"}},[n.name.endsWith(".pdf")?e("i",{class:"".concat(t.getIconStyle," fa-file-pdf")}):e("i",{class:"".concat(t.getIconStyle," fa-file")}),t._v("\n            "+t._s(n.name.slice(8))+"\n          ")])])})),0):t._e()]):t._e()])])}),[function(){var t=this._self._c;return t("div",{staticClass:"site-content-font ml-2"},[this._v("\n          Télécharger\n          "),t("div",{staticClass:"accent-subline"})])}],!1,null,"4998f7aa",null);e.default=component.exports},2756:function(t,e,n){"use strict";n.r(e);var r={components:{textFilesList:n(2757).default},data:function(){return{component:{idComponent:75,id:3369,component:{id:75,slug:"text-files-list",imageModel:null,defaultConfig:{listConfiguration:{name:"Configuration de la liste",type:"JSON",order:100,default:'{"listName":"","id":"","page":1,"nbItem":10,"mapping":[{"keyElem":"","keyList":"title","default":"title"},{ "keyElem":"","keyList":"date","default": "date"},{ "keyElem":"","keyList":"description","default": "description"},{ "keyElem":"","keyList":"files","default": "files"}]}',hideFromAdmin:!0}},config:{listConfiguration:'{\n  "listName": "comptes-rendus-municipaux",\n  "id": "apremont",\n  "page": 1,\n  "nbItem": 10,\n  "mapping": [\n    {\n      "keyElem": "titre",\n      "keyList": "title",\n      "default": "title"\n    },\n    {\n      "keyElem": "date",\n      "keyList": "date",\n      "default": "date"\n    },\n    {\n      "keyElem": "",\n      "keyList": "description",\n      "default": "description"\n    },\n    {\n      "keyElem": "compte_rendu",\n      "keyList": "files",\n      "default": "files"\n    }\n  ]\n}'},name:"Liste de texte et de fichiers",description:""},order:0,isValid:!0,type:"COMPONENT",parameters:{mobile:{inCard:!1,inContainer:!0,width:0,height:0,maxWidth:0,maxHeight:0,verticalAlign:"NO_ALIGN",horizontalAlign:"CENTER",hide:!1,css:"",block:{width:0,height:0,maxWidth:0,maxHeight:0,verticalAlign:"NO_ALIGN",horizontalAlign:"CENTER",css:"",nbColumn:0},padding:{id:21355,top:!1,bottom:!1,left:!1,right:!1},margin:{id:21356,top:!1,bottom:!1,left:!1,right:!1},transition:{id:44914,timingFunction:"NONE",cbX1:0,cbX2:0,cbY1:0,cbY2:0,duration:.5,delay:0,comingFrom:"NONE",opacity:!1,property:"POSITION"},background:{id:10691,type:"NO_BACKGROUND",color:"#FFFFFF",shape:"NONE",config:{},fullWidth:!0,positionX:"NONE",positionY:"NONE",size:"NONE",repeat:"NONE",height:0,colorType:"FULL",color2:"",color3:""}},computer:{inCard:!1,inContainer:!0,width:0,height:0,maxWidth:0,maxHeight:0,verticalAlign:"NO_ALIGN",horizontalAlign:"CENTER",hide:!1,css:"",block:{width:0,height:0,maxWidth:0,maxHeight:0,verticalAlign:"NO_ALIGN",horizontalAlign:"CENTER",css:"",nbColumn:0},padding:{id:21357,top:!1,bottom:!1,left:!1,right:!1},margin:{id:21358,top:!1,bottom:!1,left:!1,right:!1},transition:{id:44915,timingFunction:"NONE",cbX1:0,cbX2:0,cbY1:0,cbY2:0,duration:.5,delay:0,comingFrom:"NONE",opacity:!1,property:"POSITION"},background:{id:10692,type:"NO_BACKGROUND",color:"#FFFFFF",shape:"NONE",config:{},fullWidth:!0,positionX:"NONE",positionY:"NONE",size:"NONE",repeat:"NONE",height:0,colorType:"FULL",color2:"",color3:""}}}}}}},o=(n(4047),n(41)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"d-relative wrapper-dynamic-component-background-uwk81"},[e("div",{staticClass:"component-alignment-uwk81"},[e("textFilesList",{staticClass:"component-class-uwk81 dynamic-component dynamic-component-3369",attrs:{config:t.component.component.config}})],1)]),t._v(" "),e("div",{staticClass:"hidden"})])}),[],!1,null,"360cb89f",null);e.default=component.exports},2757:function(t,e,n){"use strict";n.r(e);var r=n(553),o=n(552),c=(n(14),n(13),n(20),n(21),n(15),n(4)),l=n(10),d=(n(11),n(7),n(3),n(64),n(42)),f=n(578),m=n(1909);function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?h(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var O={components:{Pagination:f.default,FilesCard:m.default},props:{config:{type:Object,default:null}},fetch:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,0===t.getElementPagination(t.uniqueId).total&&(t.setElementPaginationPage({route:t.uniqueId,page:parseInt(t.listConfiguration.page,10)}),t.setElementPaginationNbItem({route:t.uniqueId,nbItem:parseInt(t.listConfiguration.nbItem,10)})),n={page:t.getElementPagination(t.uniqueId).filters.page,nbItem:t.getElementPagination(t.uniqueId).filters.nbItem},n=Object.assign(n,t.buildFilters),e.next=6,t.getElementItems({route:t.getListRoute,routeId:t.uniqueId,options:n});case 6:t.buildList(),e.next=12;break;case 9:throw e.prev=9,e.t0=e.catch(0),new Error(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))()},data:function(){return{defaultRoute:"",elements:[]}},computed:y(y(y({},Object(d.c)("element",{getElementList:"getElementList",getElementPagination:"getElementPagination"})),Object(d.c)("parameter",{getIconStyle:"getIconStyle",cssVariables:"cssVariables"})),{},{listConfiguration:function(){return void 0===this.config.listConfiguration?null:JSON.parse(this.config.listConfiguration)},buildFilters:function(){if(void 0===this.listConfiguration.filter)return{};for(var t={},i=0;i<this.listConfiguration.filter.length;i++)t[this.listConfiguration.filter[i].key]={type:"equal",value:this.listConfiguration.filter[i].value};return t},list:function(){return this.getElementList(this.uniqueId)},getListRoute:function(){return null===this.listConfiguration?this.defaultRoute:this.listConfiguration.listName},uniqueId:function(){return"".concat(this.getListRoute,"_").concat(this.config.id)},getNbPage:function(){return Math.ceil(this.getElementPagination(this.uniqueId).total/this.getElementPagination(this.uniqueId).filters.nbItem)}}),methods:y(y({},Object(d.b)("element",["getElementItems","setElementPaginationPage","setElementPaginationNbItem"])),{},{getElementPath:function(element){return"/element/".concat(this.getListRoute,"/").concat(this.$convertNameToUrl(element[this.getObjectKey("title")]),"/").concat(element.id)},buildList:function(){this.elements=JSON.parse(JSON.stringify(this.getElementList(this.uniqueId)))},updatePage:function(t){this.setElementPaginationPage({route:this.uniqueId,page:t}),this.$fetch()},getObjectKey:function(t){var e=null===this.listConfiguration?[]:this.listConfiguration.mapping;return this.$listKeyMapping(t,e)}})},v=n(41),component=Object(v.a)(O,(function(){var t=this,e=t._self._c;return e("div",[e(o.a,{staticClass:"my-0"},t._l(t.elements,(function(n){return e(r.a,{key:"".concat(t.config.id,"_").concat(n.id),attrs:{cols:"12"}},[e("files-card",{attrs:{title:n[t.getObjectKey("title")],description:n[t.getObjectKey("description")]||"",date:n[t.getObjectKey("date")],files:n[t.getObjectKey("files")]}})],1)})),1),t._v(" "),e(o.a,{staticClass:"my-0"},[e(r.a,{staticClass:"pt-0"},[e("pagination",{attrs:{"style-card":!1,"active-color":t.cssVariables["--primary"],"nb-page":t.getNbPage,"current-page":t.getElementPagination(t.uniqueId).filters.page},on:{"update-page":t.updatePage}})],1)],1)],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{Pagination:n(578).default})},3417:function(t,e,n){t.exports={}},4047:function(t,e,n){"use strict";n(3417)},577:function(t,e,n){t.exports={}},578:function(t,e,n){"use strict";n.r(e);var r=n(571),o=n(552),c=(n(14),n(13),n(11),n(20),n(21),n(7),n(3),n(15),n(4)),l=(n(152),n(42));function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?d(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var m={props:{nbPage:{type:Number,required:!0},currentPage:{type:Number,default:1},activeColor:{type:String,default:"#49636E"},styleCard:{type:Boolean,default:!0},randomId:{type:String,default:""}},computed:f(f({},Object(l.c)("parameter",{cssVariables:"cssVariables",getIconStyle:"getIconStyle"})),{},{getStyle:function(){return this.styleCard?"style-card little-shadow":""},visiblePages:function(){for(var t=this.nbPage,e=this.currentPage,n=[],i=1;i<=t;i++)(1===i||i===t||i>=e-2&&i<=e+2)&&n.push(i);for(var r,o=[],c=0,l=n;c<l.length;c++){var d=l[c];r&&(d-r==2?o.push(r+1):d-r>2&&o.push("...")),o.push(d),r=d}return o}}),methods:{goPrev:function(){this.currentPage>1&&this.$emit("update-page",this.currentPage-1)},goNext:function(){this.currentPage<this.nbPage&&this.$emit("update-page",this.currentPage+1)},updatePage:function(t){t!==this.currentPage&&this.$emit("update-page",t)},isPrevDisabled:function(){return this.currentPage<=1},isNextDisabled:function(){return this.currentPage>=this.nbPage}}},h=(n(585),n(41)),component=Object(h.a)(m,(function(){var t=this,e=t._self._c;return e(o.a,{directives:[{name:"show",rawName:"v-show",value:t.nbPage>0,expression:"nbPage > 0"}],staticClass:"justify-center px-3 my-0"},[e("div",{class:t.getStyle},[e("div",{staticClass:"pagination-row"},[e("button",{staticClass:"pagination-arrow",attrs:{disabled:t.isPrevDisabled()},on:{click:t.goPrev}},[e(r.a,{attrs:{small:""}},[t._v(t._s("".concat(t.getIconStyle," fa-chevron-left")))])],1),t._v(" "),t._l(t.visiblePages,(function(n,r){return["..."===n?e("span",{key:"".concat(t.randomId,"_dots_").concat(r),staticClass:"pagination-dots site-content-font"},[t._v("…")]):e("button",{key:"".concat(t.randomId,"_").concat(n),class:["pagination-page","site-content-font",{"pagination-page--active":t.currentPage===n}],style:t.currentPage===n?"border-color: ".concat(t.activeColor,"; background: ").concat(t.activeColor,";"):"border-color: ".concat(t.activeColor,"; color: ").concat(t.activeColor,";"),on:{click:function(e){return t.updatePage(n)}}},[t._v("\n          "+t._s(n)+"\n        ")])]})),t._v(" "),e("button",{staticClass:"pagination-arrow",attrs:{disabled:t.isNextDisabled()},on:{click:t.goNext}},[e(r.a,{attrs:{small:""}},[t._v(t._s("".concat(t.getIconStyle," fa-chevron-right")))])],1)],2)])])}),[],!1,null,"10e3e072",null);e.default=component.exports},585:function(t,e,n){"use strict";n(577)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.