diff --git a/README.md b/README.md index bba1e66c..c5c212e3 100644 --- a/README.md +++ b/README.md @@ -172,9 +172,10 @@ Il ne vous reste plus qu'à initialiser les modèles de Django avec la commande python manage.py migrate -Une base de donnée pré-remplie est disponible en lançant la commande : +Une base de donnée pré-remplie est disponible en lançant les commandes : - python manage.py loaddata users root bda gestion sites accounts groups articles + python manage.py loaddata gestion sites accounts groups articles + python manage.py loaddevdata Vous êtes prêts à développer ! Lancer GestioCOF en faisant diff --git a/bda/fixtures/bda.json b/bda/fixtures/bda.json deleted file mode 100644 index bb9fd73d..00000000 --- a/bda/fixtures/bda.json +++ /dev/null @@ -1,7616 +0,0 @@ -[ -{ - "fields": { - "active": true, - "tokens": "", - "ouverture": "2016-06-14T10:00:00Z", - "fermeture": "2016-07-31T22:59:00Z", - "title": "Tirage de test 1" - }, - "model": "bda.tirage", - "pk": 1 -}, -{ - "fields": { - "active": true, - "tokens": "", - "ouverture": "2016-06-14T10:00:00Z", - "fermeture": "2016-09-01T22:59:00Z", - "title": "Tirage de test 2" - }, - "model": "bda.tirage", - "pk": 2 -}, -{ - "fields": { - "name": "Cour\u00f4", - "address": "45 rue d'Ulm, cour\u00f4" - }, - "model": "bda.salle", - "pk": 1 -}, -{ - "fields": { - "name": "K-F\u00eat", - "address": "45 rue d'Ulm, escalier C, niveau -1" - }, - "model": "bda.salle", - "pk": 2 -}, -{ - "fields": { - "name": "Th\u00e9\u00e2tre", - "address": "45 rue d'Ulm, escalier C, niveau -1" - }, - "model": "bda.salle", - "pk": 3 -}, -{ - "fields": { - "name": "Cours Pasteur", - "address": "45 rue d'Ulm, cours pasteur" - }, - "model": "bda.salle", - "pk": 4 -}, -{ - "fields": { - "name": "Salle des actes", - "address": "45 rue d'Ulm, escalier A, niveau 1" - }, - "model": "bda.salle", - "pk": 5 -}, -{ - "fields": { - "name": "Amphi Rataud", - "address": "45 rue d'Ulm, NIR, niveau PB" - }, - "model": "bda.salle", - "pk": 6 -}, -{ - "fields": { - "description": "Jazz / Funk", - "title": "Un super concert", - "price": 10.0, - "rappel_sent": null, - "location": 2, - "date": "2016-09-30T18:00:00Z", - "slots_description": "Debout", - "slots": 5, - "listing": false, - "tirage": 1 - }, - "model": "bda.spectacle", - "pk": 1 -}, -{ - "fields": { - "description": "Homemade", - "title": "Une super pi\u00e8ce", - "price": 10.0, - "rappel_sent": null, - "location": 3, - "date": "2016-09-29T14:00:00Z", - "slots_description": "Assises", - "slots": 60, - "listing": true, - "tirage": 1 - }, - "model": "bda.spectacle", - "pk": 2 -}, -{ - "fields": { - "description": "Plein air, soleil, bonne musique", - "title": "Concert pour la f\u00eate de la musique", - "price": 5.0, - "rappel_sent": null, - "location": 1, - "date": "2016-09-21T15:00:00Z", - "slots_description": "Debout, attention \u00e0 la fontaine", - "slots": 30, - "listing": false, - "tirage": 1 - }, - "model": "bda.spectacle", - "pk": 3 -}, -{ - "fields": { - "description": "Sous le regard s\u00e9v\u00e8re de Louis Pasteur", - "title": "Op\u00e9ra sans d\u00e9cors", - "price": 5.0, - "rappel_sent": null, - "location": 4, - "date": "2016-10-06T19:00:00Z", - "slots_description": "Assis sur l'herbe", - "slots": 20, - "listing": false, - "tirage": 1 - }, - "model": "bda.spectacle", - "pk": 4 -}, -{ - "fields": { - "description": "Buffet \u00e0 la fin", - "title": "Concert Trouv\u00e8re", - "price": 20.0, - "rappel_sent": null, - "location": 5, - "date": "2016-11-30T12:00:00Z", - "slots_description": "Assises", - "slots": 15, - "listing": false, - "tirage": 1 - }, - "model": "bda.spectacle", - "pk": 5 -}, -{ - "fields": { - "description": "Vive les maths", - "title": "Dessin \u00e0 la craie sur tableau noir", - "price": 10.0, - "rappel_sent": null, - "location": 6, - "date": "2016-12-15T07:00:00Z", - "slots_description": "Assises, tablette pour prendre des notes", - "slots": 30, - "listing": true, - "tirage": 2 - }, - "model": "bda.spectacle", - "pk": 6 -}, -{ - "fields": { - "description": "Une pi\u00e8ce \u00e0 un personnage", - "title": "D\u00e9cors, d\u00e9montage en musique", - "price": 0.0, - "rappel_sent": null, - "location": 3, - "date": "2016-12-26T07:00:00Z", - "slots_description": "Assises", - "slots": 20, - "listing": false, - "tirage": 2 - }, - "model": "bda.spectacle", - "pk": 7 -}, -{ - "fields": { - "description": "Annulera, annulera pas\u00a0?", - "title": "La Nuit", - "price": 27.0, - "rappel_sent": null, - "location": 1, - "date": "2016-11-14T23:00:00Z", - "slots_description": "", - "slots": 1000, - "listing": true, - "tirage": 2 - }, - "model": "bda.spectacle", - "pk": 8 -}, -{ - "fields": { - "description": "Le boum fait sa carte blanche", - "title": "Turbomix", - "price": 10.0, - "rappel_sent": null, - "location": 2, - "date": "2017-01-10T20:00:00Z", - "slots_description": "Debout les mains en l'air", - "slots": 20, - "listing": true, - "tirage": 2 - }, - "model": "bda.spectacle", - "pk": 9 -}, -{ - "fields": { - "description": "Unique repr\u00e9sentation", - "title": "Carinettes et trombone", - "price": 15.0, - "rappel_sent": null, - "location": 5, - "date": "2017-01-02T14:00:00Z", - "slots_description": "Chaises ikea", - "slots": 10, - "listing": false, - "tirage": 1 - }, - "model": "bda.spectacle", - "pk": 10 -}, -{ - "fields": { - "description": "Suivi d'une jam session", - "title": "Percussion sur rondins", - "price": 5.0, - "rappel_sent": null, - "location": 4, - "date": "2017-01-13T14:00:00Z", - "slots_description": "B\u00fbches", - "slots": 14, - "listing": true, - "tirage": 2 - }, - "model": "bda.spectacle", - "pk": 11 -}, -{ - "fields": { - "description": "\u00c9preuve sportive et artistique", - "title": "Bassin aux ernests, nage libre", - "price": 5.0, - "rappel_sent": null, - "location": 1, - "date": "2016-11-17T09:00:00Z", - "slots_description": "Humides", - "slots": 10, - "listing": false, - "tirage": 1 - }, - "model": "bda.spectacle", - "pk": 12 -}, -{ - "fields": { - "description": "Sonore", - "title": "Chant du barde", - "price": 13.0, - "rappel_sent": null, - "location": 2, - "date": "2017-02-26T07:00:00Z", - "slots_description": "Ne venez pas", - "slots": 20, - "listing": false, - "tirage": 2 - }, - "model": "bda.spectacle", - "pk": 13 -}, -{ - "fields": { - "description": "Cocorico", - "title": "Chant du coq", - "price": 4.0, - "rappel_sent": null, - "location": 1, - "date": "2016-12-17T04:00:00Z", - "slots_description": "bancs", - "slots": 15, - "listing": false, - "tirage": 2 - }, - "model": "bda.spectacle", - "pk": 14 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 1, - "paid": false - }, - "model": "bda.participant", - "pk": 1 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 1, - "paid": false - }, - "model": "bda.participant", - "pk": 2 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 2, - "paid": false - }, - "model": "bda.participant", - "pk": 3 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 2, - "paid": false - }, - "model": "bda.participant", - "pk": 4 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 3, - "paid": false - }, - "model": "bda.participant", - "pk": 5 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 3, - "paid": false - }, - "model": "bda.participant", - "pk": 6 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 4, - "paid": false - }, - "model": "bda.participant", - "pk": 7 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 4, - "paid": false - }, - "model": "bda.participant", - "pk": 8 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 5, - "paid": false - }, - "model": "bda.participant", - "pk": 9 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 5, - "paid": false - }, - "model": "bda.participant", - "pk": 10 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 6, - "paid": false - }, - "model": "bda.participant", - "pk": 11 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 6, - "paid": false - }, - "model": "bda.participant", - "pk": 12 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 7, - "paid": false - }, - "model": "bda.participant", - "pk": 13 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 7, - "paid": false - }, - "model": "bda.participant", - "pk": 14 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 8, - "paid": false - }, - "model": "bda.participant", - "pk": 15 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 8, - "paid": false - }, - "model": "bda.participant", - "pk": 16 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 9, - "paid": false - }, - "model": "bda.participant", - "pk": 17 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 9, - "paid": false - }, - "model": "bda.participant", - "pk": 18 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 10, - "paid": false - }, - "model": "bda.participant", - "pk": 19 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 10, - "paid": false - }, - "model": "bda.participant", - "pk": 20 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 11, - "paid": false - }, - "model": "bda.participant", - "pk": 21 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 11, - "paid": false - }, - "model": "bda.participant", - "pk": 22 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 12, - "paid": false - }, - "model": "bda.participant", - "pk": 23 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 12, - "paid": false - }, - "model": "bda.participant", - "pk": 24 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 13, - "paid": false - }, - "model": "bda.participant", - "pk": 25 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 13, - "paid": false - }, - "model": "bda.participant", - "pk": 26 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 14, - "paid": false - }, - "model": "bda.participant", - "pk": 27 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 14, - "paid": false - }, - "model": "bda.participant", - "pk": 28 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 15, - "paid": false - }, - "model": "bda.participant", - "pk": 29 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 15, - "paid": false - }, - "model": "bda.participant", - "pk": 30 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 16, - "paid": false - }, - "model": "bda.participant", - "pk": 31 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 16, - "paid": false - }, - "model": "bda.participant", - "pk": 32 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 17, - "paid": false - }, - "model": "bda.participant", - "pk": 33 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 17, - "paid": false - }, - "model": "bda.participant", - "pk": 34 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 18, - "paid": false - }, - "model": "bda.participant", - "pk": 35 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 18, - "paid": false - }, - "model": "bda.participant", - "pk": 36 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 19, - "paid": false - }, - "model": "bda.participant", - "pk": 37 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 19, - "paid": false - }, - "model": "bda.participant", - "pk": 38 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 20, - "paid": false - }, - "model": "bda.participant", - "pk": 39 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 20, - "paid": false - }, - "model": "bda.participant", - "pk": 40 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 21, - "paid": false - }, - "model": "bda.participant", - "pk": 41 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 21, - "paid": false - }, - "model": "bda.participant", - "pk": 42 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 22, - "paid": false - }, - "model": "bda.participant", - "pk": 43 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 22, - "paid": false - }, - "model": "bda.participant", - "pk": 44 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 23, - "paid": false - }, - "model": "bda.participant", - "pk": 45 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 23, - "paid": false - }, - "model": "bda.participant", - "pk": 46 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 24, - "paid": false - }, - "model": "bda.participant", - "pk": 47 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 24, - "paid": false - }, - "model": "bda.participant", - "pk": 48 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 25, - "paid": false - }, - "model": "bda.participant", - "pk": 49 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 25, - "paid": false - }, - "model": "bda.participant", - "pk": 50 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 26, - "paid": false - }, - "model": "bda.participant", - "pk": 51 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 26, - "paid": false - }, - "model": "bda.participant", - "pk": 52 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 27, - "paid": false - }, - "model": "bda.participant", - "pk": 53 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 27, - "paid": false - }, - "model": "bda.participant", - "pk": 54 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 28, - "paid": false - }, - "model": "bda.participant", - "pk": 55 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 28, - "paid": false - }, - "model": "bda.participant", - "pk": 56 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 29, - "paid": false - }, - "model": "bda.participant", - "pk": 57 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 29, - "paid": false - }, - "model": "bda.participant", - "pk": 58 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 30, - "paid": false - }, - "model": "bda.participant", - "pk": 59 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 30, - "paid": false - }, - "model": "bda.participant", - "pk": 60 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 31, - "paid": false - }, - "model": "bda.participant", - "pk": 61 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 31, - "paid": false - }, - "model": "bda.participant", - "pk": 62 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 32, - "paid": false - }, - "model": "bda.participant", - "pk": 63 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 32, - "paid": false - }, - "model": "bda.participant", - "pk": 64 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 33, - "paid": false - }, - "model": "bda.participant", - "pk": 65 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 33, - "paid": false - }, - "model": "bda.participant", - "pk": 66 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 34, - "paid": false - }, - "model": "bda.participant", - "pk": 67 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 34, - "paid": false - }, - "model": "bda.participant", - "pk": 68 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 35, - "paid": false - }, - "model": "bda.participant", - "pk": 69 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 35, - "paid": false - }, - "model": "bda.participant", - "pk": 70 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 36, - "paid": false - }, - "model": "bda.participant", - "pk": 71 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 36, - "paid": false - }, - "model": "bda.participant", - "pk": 72 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 37, - "paid": false - }, - "model": "bda.participant", - "pk": 73 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 37, - "paid": false - }, - "model": "bda.participant", - "pk": 74 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 38, - "paid": false - }, - "model": "bda.participant", - "pk": 75 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 38, - "paid": false - }, - "model": "bda.participant", - "pk": 76 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 39, - "paid": false - }, - "model": "bda.participant", - "pk": 77 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 39, - "paid": false - }, - "model": "bda.participant", - "pk": 78 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 40, - "paid": false - }, - "model": "bda.participant", - "pk": 79 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 40, - "paid": false - }, - "model": "bda.participant", - "pk": 80 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 41, - "paid": false - }, - "model": "bda.participant", - "pk": 81 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 41, - "paid": false - }, - "model": "bda.participant", - "pk": 82 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 42, - "paid": false - }, - "model": "bda.participant", - "pk": 83 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 42, - "paid": false - }, - "model": "bda.participant", - "pk": 84 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 43, - "paid": false - }, - "model": "bda.participant", - "pk": 85 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 43, - "paid": false - }, - "model": "bda.participant", - "pk": 86 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 44, - "paid": false - }, - "model": "bda.participant", - "pk": 87 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 44, - "paid": false - }, - "model": "bda.participant", - "pk": 88 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 45, - "paid": false - }, - "model": "bda.participant", - "pk": 89 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 45, - "paid": false - }, - "model": "bda.participant", - "pk": 90 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 46, - "paid": false - }, - "model": "bda.participant", - "pk": 91 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 46, - "paid": false - }, - "model": "bda.participant", - "pk": 92 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 47, - "paid": false - }, - "model": "bda.participant", - "pk": 93 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 47, - "paid": false - }, - "model": "bda.participant", - "pk": 94 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 48, - "paid": false - }, - "model": "bda.participant", - "pk": 95 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 48, - "paid": false - }, - "model": "bda.participant", - "pk": 96 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 49, - "paid": false - }, - "model": "bda.participant", - "pk": 97 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 49, - "paid": false - }, - "model": "bda.participant", - "pk": 98 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 50, - "paid": false - }, - "model": "bda.participant", - "pk": 99 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 50, - "paid": false - }, - "model": "bda.participant", - "pk": 100 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 51, - "paid": false - }, - "model": "bda.participant", - "pk": 101 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 51, - "paid": false - }, - "model": "bda.participant", - "pk": 102 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 52, - "paid": false - }, - "model": "bda.participant", - "pk": 103 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 52, - "paid": false - }, - "model": "bda.participant", - "pk": 104 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 53, - "paid": false - }, - "model": "bda.participant", - "pk": 105 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 53, - "paid": false - }, - "model": "bda.participant", - "pk": 106 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 54, - "paid": false - }, - "model": "bda.participant", - "pk": 107 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 54, - "paid": false - }, - "model": "bda.participant", - "pk": 108 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 55, - "paid": false - }, - "model": "bda.participant", - "pk": 109 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 55, - "paid": false - }, - "model": "bda.participant", - "pk": 110 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 56, - "paid": false - }, - "model": "bda.participant", - "pk": 111 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 56, - "paid": false - }, - "model": "bda.participant", - "pk": 112 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 57, - "paid": false - }, - "model": "bda.participant", - "pk": 113 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 57, - "paid": false - }, - "model": "bda.participant", - "pk": 114 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 58, - "paid": false - }, - "model": "bda.participant", - "pk": 115 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 58, - "paid": false - }, - "model": "bda.participant", - "pk": 116 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 59, - "paid": false - }, - "model": "bda.participant", - "pk": 117 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 59, - "paid": false - }, - "model": "bda.participant", - "pk": 118 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 60, - "paid": false - }, - "model": "bda.participant", - "pk": 119 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 60, - "paid": false - }, - "model": "bda.participant", - "pk": 120 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 1, - "user": 61, - "paid": false - }, - "model": "bda.participant", - "pk": 121 -}, -{ - "fields": { - "paymenttype": "", - "tirage": 2, - "user": 61, - "paid": false - }, - "model": "bda.participant", - "pk": 122 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 1, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 1 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 1, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 2 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 1, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 3 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 1, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 4 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 1, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 5 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 2, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 6 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 2, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 7 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 2, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 8 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 2, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 9 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 2, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 10 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 3, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 11 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 3, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 12 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 3, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 13 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 3, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 14 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 3, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 15 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 4, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 16 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 4, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 17 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 4, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 18 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 4, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 19 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 4, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 20 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 5, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 21 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 5, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 22 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 5, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 23 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 5, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 24 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 5, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 25 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 6, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 26 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 6, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 27 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 6, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 28 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 6, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 29 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 6, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 30 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 7, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 31 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 7, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 32 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 7, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 33 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 7, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 34 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 7, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 35 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 8, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 36 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 8, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 37 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 8, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 38 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 8, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 39 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 8, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 40 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 9, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 41 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 9, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 42 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 9, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 43 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 9, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 44 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 9, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 45 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 10, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 46 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 10, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 47 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 10, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 48 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 10, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 49 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 10, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 50 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 11, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 51 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 11, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 52 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 11, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 53 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 11, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 54 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 11, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 55 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 12, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 56 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 12, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 57 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 12, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 58 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 12, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 59 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 12, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 60 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 13, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 61 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 13, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 62 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 13, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 63 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 13, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 64 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 13, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 65 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 14, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 66 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 14, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 67 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 14, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 68 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 14, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 69 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 14, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 70 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 15, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 71 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 15, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 72 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 15, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 73 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 15, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 74 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 15, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 75 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 16, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 76 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 16, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 77 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 16, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 78 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 16, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 79 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 16, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 80 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 17, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 81 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 17, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 82 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 17, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 83 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 17, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 84 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 17, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 85 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 18, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 86 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 18, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 87 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 18, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 88 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 18, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 89 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 18, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 90 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 19, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 91 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 19, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 92 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 19, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 93 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 19, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 94 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 19, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 95 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 20, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 96 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 20, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 97 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 20, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 98 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 20, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 99 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 20, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 100 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 21, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 101 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 21, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 102 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 21, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 103 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 21, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 104 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 21, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 105 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 22, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 106 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 22, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 107 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 22, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 108 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 22, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 109 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 22, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 110 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 23, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 111 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 23, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 112 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 23, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 113 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 23, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 114 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 23, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 115 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 24, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 116 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 24, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 117 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 24, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 118 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 24, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 119 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 24, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 120 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 25, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 121 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 25, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 122 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 25, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 123 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 25, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 124 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 25, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 125 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 26, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 126 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 26, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 127 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 26, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 128 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 26, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 129 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 26, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 130 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 27, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 131 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 27, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 132 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 27, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 133 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 27, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 134 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 27, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 135 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 28, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 136 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 28, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 137 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 28, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 138 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 28, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 139 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 28, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 140 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 29, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 141 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 29, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 142 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 29, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 143 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 29, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 144 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 29, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 145 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 30, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 146 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 30, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 147 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 30, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 148 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 30, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 149 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 30, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 150 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 31, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 151 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 31, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 152 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 31, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 153 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 31, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 154 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 31, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 155 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 32, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 156 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 32, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 157 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 32, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 158 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 32, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 159 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 32, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 160 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 33, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 161 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 33, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 162 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 33, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 163 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 33, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 164 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 33, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 165 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 34, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 166 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 34, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 167 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 34, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 168 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 34, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 169 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 34, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 170 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 35, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 171 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 35, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 172 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 35, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 173 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 35, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 174 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 35, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 175 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 36, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 176 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 36, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 177 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 36, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 178 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 36, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 179 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 36, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 180 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 37, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 181 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 37, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 182 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 37, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 183 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 37, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 184 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 37, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 185 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 38, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 186 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 38, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 187 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 38, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 188 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 38, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 189 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 38, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 190 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 39, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 191 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 39, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 192 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 39, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 193 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 39, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 194 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 39, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 195 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 40, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 196 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 40, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 197 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 40, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 198 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 40, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 199 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 40, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 200 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 41, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 201 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 41, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 202 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 41, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 203 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 41, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 204 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 41, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 205 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 42, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 206 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 42, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 207 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 42, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 208 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 42, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 209 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 42, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 210 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 43, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 211 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 43, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 212 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 43, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 213 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 43, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 214 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 43, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 215 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 44, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 216 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 44, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 217 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 44, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 218 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 44, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 219 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 44, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 220 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 45, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 221 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 45, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 222 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 45, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 223 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 45, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 224 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 45, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 225 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 46, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 226 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 46, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 227 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 46, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 228 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 46, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 229 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 46, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 230 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 47, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 231 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 47, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 232 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 47, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 233 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 47, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 234 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 47, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 235 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 48, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 236 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 48, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 237 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 48, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 238 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 48, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 239 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 48, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 240 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 49, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 241 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 49, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 242 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 49, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 243 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 49, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 244 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 49, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 245 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 50, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 246 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 50, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 247 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 50, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 248 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 50, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 249 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 50, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 250 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 51, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 251 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 51, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 252 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 51, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 253 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 51, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 254 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 51, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 255 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 52, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 256 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 52, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 257 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 52, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 258 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 52, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 259 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 52, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 260 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 53, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 261 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 53, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 262 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 53, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 263 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 53, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 264 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 53, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 265 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 54, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 266 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 54, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 267 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 54, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 268 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 54, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 269 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 54, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 270 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 55, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 271 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 55, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 272 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 55, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 273 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 55, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 274 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 55, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 275 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 56, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 276 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 56, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 277 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 56, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 278 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 56, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 279 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 56, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 280 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 57, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 281 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 57, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 282 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 57, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 283 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 57, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 284 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 57, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 285 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 58, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 286 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 58, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 287 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 58, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 288 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 58, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 289 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 58, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 290 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 59, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 291 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 59, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 292 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 59, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 293 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 59, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 294 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 59, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 295 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 60, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 296 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 60, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 297 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 60, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 298 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 60, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 299 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 60, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 300 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 61, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 301 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 61, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 302 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 61, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 303 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 61, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 304 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 61, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 305 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 62, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 306 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 62, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 307 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 62, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 308 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 62, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 309 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 62, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 310 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 63, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 311 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 63, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 312 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 63, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 313 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 63, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 314 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 63, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 315 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 64, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 316 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 64, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 317 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 64, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 318 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 64, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 319 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 64, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 320 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 65, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 321 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 65, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 322 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 65, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 323 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 65, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 324 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 65, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 325 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 66, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 326 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 66, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 327 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 66, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 328 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 66, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 329 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 66, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 330 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 67, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 331 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 67, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 332 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 67, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 333 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 67, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 334 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 67, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 335 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 68, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 336 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 68, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 337 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 68, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 338 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 68, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 339 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 68, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 340 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 69, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 341 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 69, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 342 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 69, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 343 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 69, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 344 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 69, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 345 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 70, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 346 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 70, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 347 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 70, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 348 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 70, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 349 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 70, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 350 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 71, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 351 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 71, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 352 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 71, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 353 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 71, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 354 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 71, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 355 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 72, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 356 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 72, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 357 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 72, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 358 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 72, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 359 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 72, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 360 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 73, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 361 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 73, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 362 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 73, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 363 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 73, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 364 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 73, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 365 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 74, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 366 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 74, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 367 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 74, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 368 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 74, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 369 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 74, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 370 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 75, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 371 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 75, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 372 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 75, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 373 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 75, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 374 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 75, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 375 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 76, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 376 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 76, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 377 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 76, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 378 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 76, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 379 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 76, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 380 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 77, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 381 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 77, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 382 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 77, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 383 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 77, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 384 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 77, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 385 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 78, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 386 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 78, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 387 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 78, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 388 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 78, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 389 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 78, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 390 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 79, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 391 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 79, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 392 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 79, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 393 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 79, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 394 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 79, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 395 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 80, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 396 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 80, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 397 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 80, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 398 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 80, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 399 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 80, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 400 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 81, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 401 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 81, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 402 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 81, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 403 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 81, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 404 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 81, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 405 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 82, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 406 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 82, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 407 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 82, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 408 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 82, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 409 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 82, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 410 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 83, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 411 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 83, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 412 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 83, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 413 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 83, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 414 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 83, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 415 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 84, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 416 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 84, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 417 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 84, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 418 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 84, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 419 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 84, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 420 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 85, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 421 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 85, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 422 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 85, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 423 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 85, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 424 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 85, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 425 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 86, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 426 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 86, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 427 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 86, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 428 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 86, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 429 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 86, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 430 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 87, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 431 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 87, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 432 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 87, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 433 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 87, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 434 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 87, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 435 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 88, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 436 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 88, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 437 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 88, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 438 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 88, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 439 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 88, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 440 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 89, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 441 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 89, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 442 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 89, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 443 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 89, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 444 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 89, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 445 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 90, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 446 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 90, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 447 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 90, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 448 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 90, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 449 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 90, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 450 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 91, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 451 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 91, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 452 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 91, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 453 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 91, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 454 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 91, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 455 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 92, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 456 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 92, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 457 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 92, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 458 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 92, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 459 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 92, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 460 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 93, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 461 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 93, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 462 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 93, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 463 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 93, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 464 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 93, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 465 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 94, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 466 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 94, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 467 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 94, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 468 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 94, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 469 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 94, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 470 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 95, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 471 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 95, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 472 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 95, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 473 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 95, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 474 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 95, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 475 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 96, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 476 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 96, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 477 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 96, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 478 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 96, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 479 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 96, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 480 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 97, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 481 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 97, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 482 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 97, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 483 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 97, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 484 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 97, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 485 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 98, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 486 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 98, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 487 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 98, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 488 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 98, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 489 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 98, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 490 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 99, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 491 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 99, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 492 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 99, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 493 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 99, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 494 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 99, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 495 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 100, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 496 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 100, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 497 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 100, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 498 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 100, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 499 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 100, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 500 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 101, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 501 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 101, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 502 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 101, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 503 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 101, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 504 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 101, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 505 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 102, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 506 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 102, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 507 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 102, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 508 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 102, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 509 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 102, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 510 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 103, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 511 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 103, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 512 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 103, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 513 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 103, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 514 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 103, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 515 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 104, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 516 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 104, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 517 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 104, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 518 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 104, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 519 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 104, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 520 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 105, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 521 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 105, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 522 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 105, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 523 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 105, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 524 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 105, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 525 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 106, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 526 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 106, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 527 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 106, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 528 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 106, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 529 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 106, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 530 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 107, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 531 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 107, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 532 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 107, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 533 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 107, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 534 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 107, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 535 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 108, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 536 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 108, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 537 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 108, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 538 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 108, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 539 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 108, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 540 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 109, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 541 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 109, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 542 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 109, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 543 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 109, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 544 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 109, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 545 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 110, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 546 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 110, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 547 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 110, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 548 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 110, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 549 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 110, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 550 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 111, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 551 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 111, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 552 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 111, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 553 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 111, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 554 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 111, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 555 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 112, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 556 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 112, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 557 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 112, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 558 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 112, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 559 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 112, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 560 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 113, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 561 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 113, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 562 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 113, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 563 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 113, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 564 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 113, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 565 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 114, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 566 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 114, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 567 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 114, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 568 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 114, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 569 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 114, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 570 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 115, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 571 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 115, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 572 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 115, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 573 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 115, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 574 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 115, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 575 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 116, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 576 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 116, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 577 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 116, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 578 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 116, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 579 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 116, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 580 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 117, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 581 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 117, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 582 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 117, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 583 -}, -{ - "fields": { - "priority": 4, - "double_choice": "double", - "participant": 117, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 584 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 117, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 585 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 118, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 586 -}, -{ - "fields": { - "priority": 2, - "double_choice": "double", - "participant": 118, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 587 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 118, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 588 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 118, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 589 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 118, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 590 -}, -{ - "fields": { - "priority": 1, - "double_choice": "1", - "participant": 119, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 591 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 119, - "spectacle": 1 - }, - "model": "bda.choixspectacle", - "pk": 592 -}, -{ - "fields": { - "priority": 3, - "double_choice": "1", - "participant": 119, - "spectacle": 5 - }, - "model": "bda.choixspectacle", - "pk": 593 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 119, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 594 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 119, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 595 -}, -{ - "fields": { - "priority": 1, - "double_choice": "autoquit", - "participant": 120, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 596 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 120, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 597 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 120, - "spectacle": 9 - }, - "model": "bda.choixspectacle", - "pk": 598 -}, -{ - "fields": { - "priority": 4, - "double_choice": "autoquit", - "participant": 120, - "spectacle": 6 - }, - "model": "bda.choixspectacle", - "pk": 599 -}, -{ - "fields": { - "priority": 5, - "double_choice": "1", - "participant": 120, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 600 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 121, - "spectacle": 3 - }, - "model": "bda.choixspectacle", - "pk": 601 -}, -{ - "fields": { - "priority": 2, - "double_choice": "1", - "participant": 121, - "spectacle": 4 - }, - "model": "bda.choixspectacle", - "pk": 602 -}, -{ - "fields": { - "priority": 3, - "double_choice": "double", - "participant": 121, - "spectacle": 2 - }, - "model": "bda.choixspectacle", - "pk": 603 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 121, - "spectacle": 12 - }, - "model": "bda.choixspectacle", - "pk": 604 -}, -{ - "fields": { - "priority": 5, - "double_choice": "double", - "participant": 121, - "spectacle": 10 - }, - "model": "bda.choixspectacle", - "pk": 605 -}, -{ - "fields": { - "priority": 1, - "double_choice": "double", - "participant": 122, - "spectacle": 14 - }, - "model": "bda.choixspectacle", - "pk": 606 -}, -{ - "fields": { - "priority": 2, - "double_choice": "autoquit", - "participant": 122, - "spectacle": 7 - }, - "model": "bda.choixspectacle", - "pk": 607 -}, -{ - "fields": { - "priority": 3, - "double_choice": "autoquit", - "participant": 122, - "spectacle": 13 - }, - "model": "bda.choixspectacle", - "pk": 608 -}, -{ - "fields": { - "priority": 4, - "double_choice": "1", - "participant": 122, - "spectacle": 11 - }, - "model": "bda.choixspectacle", - "pk": 609 -}, -{ - "fields": { - "priority": 5, - "double_choice": "autoquit", - "participant": 122, - "spectacle": 8 - }, - "model": "bda.choixspectacle", - "pk": 610 -} -] diff --git a/bda/management/commands/loadbdadevdata.py b/bda/management/commands/loadbdadevdata.py new file mode 100644 index 00000000..a8e3f298 --- /dev/null +++ b/bda/management/commands/loadbdadevdata.py @@ -0,0 +1,107 @@ +""" +Crée deux tirages de test et y inscrit les utilisateurs +""" + +import os +import random + +from django.utils import timezone +from django.contrib.auth.models import User + +from gestioncof.management.base import MyBaseCommand +from bda.models import Tirage, Spectacle, Salle, Participant, ChoixSpectacle +from bda.views import do_tirage + + +# Où sont stockés les fichiers json +DATA_DIR = os.path.join(os.path.dirname(os.path.dirname(__file__)), + 'data') + + +class Command(MyBaseCommand): + help = "Crée deux tirages de test et y inscrit les utilisateurs." + + def handle(self, *args, **options): + # --- + # Tirages + # --- + + Tirage.objects.all().delete() + Tirage.objects.bulk_create([ + Tirage( + title="Tirage de test 1", + ouverture=timezone.now()-timezone.timedelta(days=7), + fermeture=timezone.now(), + active=True + ), + Tirage( + title="Tirage de test 2", + ouverture=timezone.now(), + fermeture=timezone.now()+timezone.timedelta(days=60), + active=True + ) + ]) + tirages = Tirage.objects.all() + + # --- + # Salles + # --- + + locations = self.from_json('locations.json', DATA_DIR, Salle) + + # --- + # Spectacles + # --- + + def show_callback(show): + """ + Assigne un tirage, une date et un lieu à un spectacle et décide si + les places sont sur listing. + """ + show.tirage = random.choice(tirages) + show.listing = bool(random.randint(0, 1)) + show.date = ( + show.tirage.fermeture + + timezone.timedelta(days=random.randint(60, 90)) + ) + show.location = random.choice(locations) + return show + shows = self.from_json( + 'shows.json', DATA_DIR, Spectacle, show_callback + ) + + # --- + # Inscriptions + # --- + + self.stdout.write("Inscription des utilisateurs aux tirages") + ChoixSpectacle.objects.all().delete() + choices = [] + for user in User.objects.filter(profile__is_cof=True): + for tirage in tirages: + part, _ = Participant.objects.get_or_create( + user=user, + tirage=tirage + ) + shows = random.sample( + list(tirage.spectacle_set.all()), + tirage.spectacle_set.count() // 2 + ) + for (rank, show) in enumerate(shows): + choices.append(ChoixSpectacle( + participant=part, + spectacle=show, + priority=rank + 1, + double_choice=random.choice( + ['1', 'double', 'autoquit'] + ) + )) + ChoixSpectacle.objects.bulk_create(choices) + self.stdout.write("- {:d} inscriptions générées".format(len(choices))) + + # --- + # On lance le premier tirage + # --- + + self.stdout.write("Lancement du premier tirage") + do_tirage(tirages[0], "dummy_token") diff --git a/bda/management/data/locations.json b/bda/management/data/locations.json new file mode 100644 index 00000000..7208409b --- /dev/null +++ b/bda/management/data/locations.json @@ -0,0 +1,26 @@ +[ +{ + "name": "Cour\u00f4", + "address": "45 rue d'Ulm, cour\u00f4" +}, +{ + "name": "K-F\u00eat", + "address": "45 rue d'Ulm, escalier C, niveau -1" +}, +{ + "name": "Th\u00e9\u00e2tre", + "address": "45 rue d'Ulm, escalier C, niveau -1" +}, +{ + "name": "Cours Pasteur", + "address": "45 rue d'Ulm, cours pasteur" +}, +{ + "name": "Salle des actes", + "address": "45 rue d'Ulm, escalier A, niveau 1" +}, +{ + "name": "Amphi Rataud", + "address": "45 rue d'Ulm, NIR, niveau PB" +} +] diff --git a/bda/management/data/shows.json b/bda/management/data/shows.json new file mode 100644 index 00000000..660f2de9 --- /dev/null +++ b/bda/management/data/shows.json @@ -0,0 +1,100 @@ +[ +{ + "description": "Jazz / Funk", + "title": "Un super concert", + "price": 10.0, + "slots_description": "Debout", + "slots": 5 +}, +{ + "description": "Homemade", + "title": "Une super pi\u00e8ce", + "price": 10.0, + "slots_description": "Assises", + "slots": 60 +}, +{ + "description": "Plein air, soleil, bonne musique", + "title": "Concert pour la f\u00eate de la musique", + "price": 5.0, + "slots_description": "Debout, attention \u00e0 la fontaine", + "slots": 30 +}, +{ + "description": "Sous le regard s\u00e9v\u00e8re de Louis Pasteur", + "title": "Op\u00e9ra sans d\u00e9cors", + "price": 5.0, + "slots_description": "Assis sur l'herbe", + "slots": 20 +}, +{ + "description": "Buffet \u00e0 la fin", + "title": "Concert Trouv\u00e8re", + "price": 20.0, + "slots_description": "Assises", + "slots": 15 +}, +{ + "description": "Vive les maths", + "title": "Dessin \u00e0 la craie sur tableau noir", + "price": 10.0, + "slots_description": "Assises, tablette pour prendre des notes", + "slots": 30 +}, +{ + "description": "Une pi\u00e8ce \u00e0 un personnage", + "title": "D\u00e9cors, d\u00e9montage en musique", + "price": 0.0, + "slots_description": "Assises", + "slots": 20 +}, +{ + "description": "Annulera, annulera pas\u00a0?", + "title": "La Nuit", + "price": 27.0, + "slots_description": "", + "slots": 1000 +}, +{ + "description": "Le boum fait sa carte blanche", + "title": "Turbomix", + "price": 10.0, + "slots_description": "Debout les mains en l'air", + "slots": 20 +}, +{ + "description": "Unique repr\u00e9sentation", + "title": "Carinettes et trombone", + "price": 15.0, + "slots_description": "Chaises ikea", + "slots": 10 +}, +{ + "description": "Suivi d'une jam session", + "title": "Percussion sur rondins", + "price": 5.0, + "slots_description": "B\u00fbches", + "slots": 14 +}, +{ + "description": "\u00c9preuve sportive et artistique", + "title": "Bassin aux ernests, nage libre", + "price": 5.0, + "slots_description": "Humides", + "slots": 10 +}, +{ + "description": "Sonore", + "title": "Chant du barde", + "price": 13.0, + "slots_description": "Ne venez pas", + "slots": 20 +}, +{ + "description": "Cocorico", + "title": "Chant du coq", + "price": 4.0, + "slots_description": "bancs", + "slots": 15 +} +] diff --git a/bda/models.py b/bda/models.py index f9087ac1..19e8b1f7 100644 --- a/bda/models.py +++ b/bda/models.py @@ -118,6 +118,9 @@ class Spectacle(models.Model): # On renvoie la liste des destinataires return members.values() + @property + def is_past(self): + return self.date < timezone.now() class Quote(models.Model): spectacle = models.ForeignKey(Spectacle) diff --git a/bda/static/bda/js/jquery-1.6.2.min.js b/bda/static/bda/js/jquery-1.6.2.min.js deleted file mode 100644 index 48590ecb..00000000 --- a/bda/static/bda/js/jquery-1.6.2.min.js +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * jQuery JavaScript Library v1.6.2 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Thu Jun 30 14:16:56 2011 -0400 - */ -(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"":"")+"
"),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;it |
{{ spectacle.title }} | -{{ spectacle.date }} | +{{ spectacle.date }} | {{ spectacle.location }} |
{{ spectacle.price |floatformat }}€
diff --git a/bda/views.py b/bda/views.py
index 3c448f34..1a864c7f 100644
--- a/bda/views.py
+++ b/bda/views.py
@@ -179,79 +179,96 @@ def inscription(request, tirage_id):
"stateerror": stateerror})
-def do_tirage(request, tirage_id):
- tirage_elt = get_object_or_404(Tirage, id=tirage_id)
- form = TokenForm(request.POST)
- if not form.is_valid():
- return tirage(request, tirage_id)
+def do_tirage(tirage_elt, token):
+ """
+ Fonction auxiliaire à la vue ``tirage`` qui lance effectivement le tirage
+ après qu'on a vérifié que c'est légitime et que le token donné en argument
+ est correct.
+ Rend les résultats
+ """
+ # Initialisation du dictionnaire data qui va contenir les résultats
start = time.time()
- data = {}
- shows = tirage_elt.spectacle_set.select_related().all()
- members = tirage_elt.participant_set.all()
- choices = ChoixSpectacle.objects.filter(spectacle__tirage=tirage_elt) \
- .order_by('participant', 'priority').select_related().all()
- algo = Algorithm(shows, members, choices)
- results = algo(form.cleaned_data["token"])
- total_slots = 0
- total_losers = 0
+ data = {
+ 'shows': tirage_elt.spectacle_set.select_related().all(),
+ 'token': token,
+ 'members': tirage_elt.participant_set.all(),
+ 'total_slots': 0,
+ 'total_losers': 0,
+ 'total_sold': 0,
+ 'total_deficit': 0,
+ 'opera_deficit': 0,
+ }
+
+ # On lance le tirage
+ choices = (
+ ChoixSpectacle.objects
+ .filter(spectacle__tirage=tirage_elt)
+ .order_by('participant', 'priority')
+ .select_related().all()
+ )
+ results = Algorithm(data['shows'], data['members'], choices)(token)
+
+ # On compte les places attribuées et les déçus
for (_, members, losers) in results:
- total_slots += len(members)
- total_losers += len(losers)
- data["total_slots"] = total_slots
- data["total_losers"] = total_losers
- data["shows"] = shows
- data["token"] = form.cleaned_data["token"]
- data["members"] = members
- data["results"] = results
- total_sold = 0
- total_deficit = 0
- opera_deficit = 0
+ data['total_slots'] += len(members)
+ data['total_losers'] += len(losers)
+
+ # On calcule le déficit et les bénéfices pour le BdA
+ # FIXME: le traitement de l'opéra est sale
for (show, members, _) in results:
deficit = (show.slots - len(members)) * show.price
- total_sold += show.slots * show.price
+ data['total_sold'] += show.slots * show.price
if deficit >= 0:
if "Opéra" in show.location.name:
- opera_deficit += deficit
- total_deficit += deficit
- data["total_sold"] = total_sold - total_deficit
- data["total_deficit"] = total_deficit
- data["opera_deficit"] = opera_deficit
+ data['opera_deficit'] += deficit
+ data['total_deficit'] += deficit
+ data["total_sold"] -= data['total_deficit']
+
+ # Participant objects are not shared accross spectacle results,
+ # so assign a single object for each Participant id
+ members_uniq = {}
+ members2 = {}
+ for (show, members, _) in results:
+ for (member, _, _, _) in members:
+ if member.id not in members_uniq:
+ members_uniq[member.id] = member
+ members2[member] = []
+ member.total = 0
+ member = members_uniq[member.id]
+ members2[member].append(show)
+ member.total += show.price
+ members2 = members2.items()
+ data["members2"] = sorted(members2, key=lambda m: m[0].user.last_name)
+
+ # ---
+ # À partir d'ici, le tirage devient effectif
+ # ---
+
+ # On suppression les vieilles attributions, on sauvegarde le token et on
+ # désactive le tirage
+ Attribution.objects.filter(spectacle__tirage=tirage_elt).delete()
+ tirage_elt.tokens += '{:s}\n"""{:s}"""\n'.format(
+ timezone.now().strftime("%y-%m-%d %H:%M:%S"),
+ token)
+ tirage_elt.enable_do_tirage = False
+ tirage_elt.save()
+
+ # On enregistre les nouvelles attributions
+ Attribution.objects.bulk_create([
+ Attribution(spectacle=show, participant=member)
+ for show, members, _ in results
+ for member, _, _, _ in members
+ ])
+
+ # On inscrit à BdA-Revente ceux qui n'ont pas eu les places voulues
+ for (show, _, losers) in results:
+ for (loser, _, _, _) in losers:
+ loser.choicesrevente.add(show)
+ loser.save()
+
data["duration"] = time.time() - start
- if request.user.is_authenticated():
- members2 = {}
- # Participant objects are not shared accross spectacle results,
- # so assign a single object for each Participant id
- members_uniq = {}
- for (show, members, _) in results:
- for (member, _, _, _) in members:
- if member.id not in members_uniq:
- members_uniq[member.id] = member
- members2[member] = []
- member.total = 0
- member = members_uniq[member.id]
- members2[member].append(show)
- member.total += show.price
- members2 = members2.items()
- data["members2"] = sorted(members2, key=lambda m: m[0].user.last_name)
- # À partir d'ici, le tirage devient effectif
- Attribution.objects.filter(spectacle__tirage=tirage_elt).delete()
- tirage_elt.tokens += "%s\n\"\"\"%s\"\"\"\n" % (
- timezone.now().strftime("%y-%m-%d %H:%M:%S"),
- form.cleaned_data['token'])
- tirage_elt.enable_do_tirage = False
- tirage_elt.save()
- Attribution.objects.bulk_create([
- Attribution(spectacle=show, participant=member)
- for show, members, _ in results
- for member, _, _, _ in members])
- # On inscrit à BdA-Revente ceux qui n'ont pas eu les places voulues
- for (show, _, losers) in results:
- for (loser, _, _, _) in losers:
- loser.choicesrevente.add(show)
- loser.save()
- return render(request, "bda-attrib-extra.html", data)
- else:
- return render(request, "bda-attrib.html", data)
+ data["results"] = results
+ return data
@buro_required
@@ -263,7 +280,8 @@ def tirage(request, tirage_id):
if request.POST:
form = TokenForm(request.POST)
if form.is_valid():
- return do_tirage(request, tirage_id)
+ results = do_tirage(tirage_elt, form.cleaned_data['token'])
+ return render(request, "bda-attrib-extra.html", results)
else:
form = TokenForm()
return render(request, "bda-token.html", {"form": form})
diff --git a/cof/settings_dev.py b/cof/settings_dev.py
index f6521222..5ff656cd 100644
--- a/cof/settings_dev.py
+++ b/cof/settings_dev.py
@@ -9,10 +9,6 @@ For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.8/ref/settings/
"""
-from __future__ import division
-from __future__ import print_function
-from __future__ import unicode_literals
-
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os
@@ -162,6 +158,8 @@ AUTHENTICATION_BACKENDS = (
'kfet.backends.GenericTeamBackend',
)
+# LDAP_SERVER_URL = 'ldaps://ldap.spi.ens.fr:636'
+
# EMAIL_HOST="nef.ens.fr"
RECAPTCHA_PUBLIC_KEY = "DUMMY"
diff --git a/cof/urls.py b/cof/urls.py
index b4c4da3c..7ec728da 100644
--- a/cof/urls.py
+++ b/cof/urls.py
@@ -4,10 +4,6 @@
Fichier principal de configuration des urls du projet GestioCOF
"""
-from __future__ import division
-from __future__ import print_function
-from __future__ import unicode_literals
-
import autocomplete_light
from django.conf import settings
@@ -61,7 +57,8 @@ urlpatterns = [
name='password_change_done'),
# Inscription d'un nouveau membre
url(r'^registration$', gestioncof_views.registration),
- url(r'^registration/clipper/(?P ",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=h++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t(" "),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]),s=t(e.target);s.closest(i).length||t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",e,s)===!1)return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=s.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,s=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(s=t.ui.ddmanager.drop(this,e)),this.dropped&&(s=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",e)!==!1&&i._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper),n=s?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return n.parents("body").length||n.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s&&n[0]===this.element[0]&&this._setPositionRelative(),n[0]===this.element[0]||/(fixed|absolute)/.test(n.css("position"))||n.css("position","absolute"),n},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options,o=this.document[0];return this.relativeContainer=null,n.containment?"window"===n.containment?(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):"document"===n.containment?(this.containment=[0,0,t(o).width()-this.helperProportions.width-this.margins.left,(t(o).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):n.containment.constructor===Array?(this.containment=n.containment,void 0):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),i=t(n.containment),s=i[0],s&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i),void 0):(this.containment=null,void 0)
+},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,s=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,s,n,o,a=this.options,r=this._isRootNode(this.scrollParent[0]),h=t.pageX,l=t.pageY;return r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(s=this.relativeContainer.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,t.pageX-this.offset.click.lefti[2]&&(h=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(l=i[3]+this.offset.click.top)),a.grid&&(n=a.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,l=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-a.grid[1]:n+a.grid[1]:n,o=a.grid[0]?this.originalPageX+Math.round((h-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,h=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-a.grid[0]:o+a.grid[0]:o),"y"===a.axis&&(h=this.originalPageX),"x"===a.axis&&(l=this.originalPageY)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top),left:h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,i,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[i,s,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,s){var n=t.extend({},i,{item:s.element});s.sortables=[],t(s.options.connectToSortable).each(function(){var i=t(this).sortable("instance");i&&!i.options.disabled&&(s.sortables.push(i),i.refreshPositions(),i._trigger("activate",e,n))})},stop:function(e,i,s){var n=t.extend({},i,{item:s.element});s.cancelHelperRemoval=!1,t.each(s.sortables,function(){var t=this;t.isOver?(t.isOver=0,s.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,n))})},drag:function(e,i,s){t.each(s.sortables,function(){var n=!1,o=this;o.positionAbs=s.positionAbs,o.helperProportions=s.helperProportions,o.offset.click=s.offset.click,o._intersectsWith(o.containerCache)&&(n=!0,t.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,this!==o&&this._intersectsWith(this.containerCache)&&t.contains(o.element[0],this.element[0])&&(n=!1),n})),n?(o.isOver||(o.isOver=1,s._parent=i.helper.parent(),o.currentItem=i.helper.appendTo(o.element).data("ui-sortable-item",!0),o.options._helper=o.options.helper,o.options.helper=function(){return i.helper[0]},e.target=o.currentItem[0],o._mouseCapture(e,!0),o._mouseStart(e,!0,!0),o.offset.click.top=s.offset.click.top,o.offset.click.left=s.offset.click.left,o.offset.parent.left-=s.offset.parent.left-o.offset.parent.left,o.offset.parent.top-=s.offset.parent.top-o.offset.parent.top,s._trigger("toSortable",e),s.dropped=o.element,t.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,o.fromOutside=s),o.currentItem&&(o._mouseDrag(e),i.position=o.position)):o.isOver&&(o.isOver=0,o.cancelHelperRemoval=!0,o.options._revert=o.options.revert,o.options.revert=!1,o._trigger("out",e,o._uiHash(o)),o._mouseStop(e,!0),o.options.revert=o.options._revert,o.options.helper=o.options._helper,o.placeholder&&o.placeholder.remove(),i.helper.appendTo(s._parent),s._refreshOffsets(e),i.position=s._generatePosition(e,!0),s._trigger("fromSortable",e),s.dropped=!1,t.each(s.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,i,s){var n=t("body"),o=s.options;n.css("cursor")&&(o._cursor=n.css("cursor")),n.css("cursor",o.cursor)},stop:function(e,i,s){var n=s.options;n._cursor&&t("body").css("cursor",n._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i,s){var n=t(i.helper),o=s.options;n.css("opacity")&&(o._opacity=n.css("opacity")),n.css("opacity",o.opacity)},stop:function(e,i,s){var n=s.options;n._opacity&&t(i.helper).css("opacity",n._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,i,s){var n=s.options,o=!1,a=s.scrollParentNotHidden[0],r=s.document[0];a!==r&&"HTML"!==a.tagName?(n.axis&&"x"===n.axis||(s.overflowOffset.top+a.offsetHeight-e.pageY "),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,h=this._change[o];return this._updatePrevProperties(),h?(i=h.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth "),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(e){var i=this,s=this.options;this.opos=[e.pageX,e.pageY],this.elementPos=t(this.element[0]).offset(),this.options.disabled||(this.selectees=t(s.filter,this.element[0]),this._trigger("start",e),t(s.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var s=t.data(this,"selectable-item");s.startselected=!0,e.metaKey||e.ctrlKey||(i._removeClass(s.$element,"ui-selected"),s.selected=!1,i._addClass(s.$element,"ui-unselecting"),s.unselecting=!0,i._trigger("unselecting",e,{unselecting:s.element}))}),t(e.target).parents().addBack().each(function(){var s,n=t.data(this,"selectable-item");return n?(s=!e.metaKey&&!e.ctrlKey||!n.$element.hasClass("ui-selected"),i._removeClass(n.$element,s?"ui-unselecting":"ui-selected")._addClass(n.$element,s?"ui-selecting":"ui-unselecting"),n.unselecting=!s,n.selecting=s,n.selected=s,s?i._trigger("selecting",e,{selecting:n.element}):i._trigger("unselecting",e,{unselecting:n.element}),!1):void 0}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,s=this,n=this.options,o=this.opos[0],a=this.opos[1],r=e.pageX,h=e.pageY;return o>r&&(i=r,r=o,o=i),a>h&&(i=h,h=a,a=i),this.helper.css({left:o,top:a,width:r-o,height:h-a}),this.selectees.each(function(){var i=t.data(this,"selectable-item"),l=!1,c={};i&&i.element!==s.element[0]&&(c.left=i.left+s.elementPos.left,c.right=i.right+s.elementPos.left,c.top=i.top+s.elementPos.top,c.bottom=i.bottom+s.elementPos.top,"touch"===n.tolerance?l=!(c.left>r||o>c.right||c.top>h||a>c.bottom):"fit"===n.tolerance&&(l=c.left>o&&r>c.right&&c.top>a&&h>c.bottom),l?(i.selected&&(s._removeClass(i.$element,"ui-selected"),i.selected=!1),i.unselecting&&(s._removeClass(i.$element,"ui-unselecting"),i.unselecting=!1),i.selecting||(s._addClass(i.$element,"ui-selecting"),i.selecting=!0,s._trigger("selecting",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(s._removeClass(i.$element,"ui-selecting"),i.selecting=!1,s._addClass(i.$element,"ui-selected"),i.selected=!0):(s._removeClass(i.$element,"ui-selecting"),i.selecting=!1,i.startselected&&(s._addClass(i.$element,"ui-unselecting"),i.unselecting=!0),s._trigger("unselecting",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(s._removeClass(i.$element,"ui-selected"),i.selected=!1,s._addClass(i.$element,"ui-unselecting"),i.unselecting=!0,s._trigger("unselecting",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");i._removeClass(s.$element,"ui-unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",e,{unselected:s.element})}),t(".ui-selecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");i._removeClass(s.$element,"ui-selecting")._addClass(s.$element,"ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected",e,{selected:s.element})}),this._trigger("stop",e),this.helper.remove(),!1}}),t.widget("ui.sortable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return t>=e&&e+i>t},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,i){var s=null,n=!1,o=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,o.widgetName+"-item")===o?(s=t(this),!1):void 0}),t.data(e.target,o.widgetName+"-item")===o&&(s=t(e.target)),s?!this.options.handle||i||(t(this.options.handle,s).find("*").addBack().each(function(){this===e.target&&(n=!0)}),n)?(this.currentItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(e,i,s){var n,o,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",a.cursor),this.storedStylesheet=t("").appendTo(o)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.length-1;n>=0;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,s,n,o,a=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY | ",s.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(i)})},_contactContainers:function(e){var i,s,n,o,a,r,h,l,c,u,d=null,p=null;for(i=this.containers.length-1;i>=0;i--)if(!t.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(d&&t.contains(this.containers[i].element[0],d.element[0]))continue;d=this.containers[i],p=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",e,this._uiHash(this)),this.containers[i].containerCache.over=0);if(d)if(1===this.containers.length)this.containers[p].containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1);else{for(n=1e4,o=null,c=d.floating||this._isFloating(this.currentItem),a=c?"left":"top",r=c?"width":"height",u=c?"pageX":"pageY",s=this.items.length-1;s>=0;s--)t.contains(this.containers[p].element[0],this.items[s].item[0])&&this.items[s].item[0]!==this.currentItem[0]&&(h=this.items[s].item.offset()[a],l=!1,e[u]-h>this.items[s][r]/2&&(l=!0),n>Math.abs(e[u]-h)&&(n=Math.abs(e[u]-h),o=this.items[s],this.direction=l?"up":"down"));if(!o&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[p])return this.currentContainer.containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1),void 0;o?this._rearrange(e,o,null,!0):this._rearrange(e,null,this.containers[p].element,!0),this._trigger("change",e,this._uiHash()),this.containers[p]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[p],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1}},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===n.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===n.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=t(n.containment)[0],i=t(n.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n=this.options,o=e.pageX,a=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left
").text(s).appendTo(this.liveRegion)),void 0)},menuselect:function(e,i){var s=i.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==t.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=s})),!1!==this._trigger("select",e,{item:s})&&this._value(s.value),this.term=this._value(),this.close(e),this.selectedItem=s}}),this.liveRegion=t(" ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var i=this.menu.element[0];return e.target===this.element[0]||e.target===i||t.contains(i,e.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,s=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,s){s(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,n){s.xhr&&s.xhr.abort(),s.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){n(t)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),i=this.menu.element.is(":visible"),s=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;(!e||e&&!i&&!s)&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length ").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),this.menu.blur(),void 0):(this.menu[t](e),void 0):(this.search(null,e),void 0)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t(" ").text(i).appendTo(this.liveRegion))}}),t.ui.autocomplete;var d=/ui-corner-([a-z]){2,6}/g;t.widget("ui.controlgroup",{version:"1.12.1",defaultElement:" ",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var e=this,i=[];t.each(this.options.items,function(s,n){var o,a={};return n?"controlgroupLabel"===s?(o=e.element.find(n),o.each(function(){var e=t(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("")}),e._addClass(o,null,"ui-widget ui-widget-content ui-state-default"),i=i.concat(o.get()),void 0):(t.fn[s]&&(a=e["_"+s+"Options"]?e["_"+s+"Options"]("middle"):{classes:{}},e.element.find(n).each(function(){var n=t(this),o=n[s]("instance"),r=t.widget.extend({},a);if("button"!==s||!n.parent(".ui-spinner").length){o||(o=n[s]()[s]("instance")),o&&(r.classes=e._resolveClassesValues(r.classes,o)),n[s](r);var h=n[s]("widget");t.data(h[0],"ui-controlgroup-data",o?o:n[s]("instance")),i.push(h[0])}})),void 0):void 0}),this.childWidgets=t(t.unique(i)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var i=t(this),s=i.data("ui-controlgroup-data");s&&s[e]&&s[e]()})},_updateCornerClass:function(t,e){var i="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all",s=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,i),this._addClass(t,null,s)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,s={classes:{}};return s.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],s},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:e?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(e,i){var s={};return t.each(e,function(n){var o=i.options.classes[n]||"";o=t.trim(o.replace(d,"")),s[n]=(o+" "+e[n]).replace(/\s+/g," ")}),s},_setOption:function(t,e){return"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"===t?(this._callChildMethod(e?"disable":"enable"),void 0):(this.refresh(),void 0)},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],function(t,s){var n=e[s]().data("ui-controlgroup-data");if(n&&i["_"+n.widgetName+"Options"]){var o=i["_"+n.widgetName+"Options"](1===e.length?"only":s);o.classes=i._resolveClassesValues(o.classes,n),n.element[n.widgetName](o)}else i._updateCornerClass(e[s](),s)}),this._callChildMethod("refresh"))}}),t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,i,s=this,n=this._super()||{};return this._readType(),i=this.element.labels(),this.label=t(i[i.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){s.originalLabel+=3===this.nodeType?t(this).text():this.outerHTML}),this.originalLabel&&(n.label=this.originalLabel),e=this.element[0].disabled,null!=e&&(n.disabled=e),n},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e,i=this.element[0].name,s="input[name='"+t.ui.escapeSelector(i)+"']";return i?(e=this.form.length?t(this.form[0].elements).filter(s):t(s).filter(function(){return 0===t(this).form().length}),e.not(this.element)):t([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=t(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){return"label"!==t||e?(this._super(t,e),"disabled"===t?(this._toggleClass(this.label,null,"ui-state-disabled",e),this.element[0].disabled=e,void 0):(this.refresh(),void 0)):void 0},_updateIcon:function(e){var i="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=t(""),this.iconSpace=t(" "),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(i+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):i+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",i),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)
+},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]),t.ui.checkboxradio,t.widget("ui.button",{version:"1.12.1",defaultElement:" |